CFD Online URL
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

How to identify the cells near the interface?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2010, 03:53
Default How to identify the cells near the interface?
  #1
New Member
 
Yang Xiaoguang
Join Date: Apr 2009
Posts: 24
Rep Power: 7
legendyxg is on a distinguished road
Dear All

Here is my question. There are two regions A and B with an interior interface I in my model. Now I want to identify the neighboring cells near the interface, so that I can add an source term into these cells. How can I identify these cells?

Thank u very much!

Xiaoguang
legendyxg is offline   Reply With Quote

Old   April 8, 2010, 05:35
Default
  #2
Senior Member
 
Ji Junjie
Join Date: Feb 2010
Location: Shanghai, China
Posts: 105
Rep Power: 6
gearboy is on a distinguished road
Quote:
Originally Posted by legendyxg View Post
Dear All

Here is my question. There are two regions A and B with an interior interface I in my model. Now I want to identify the neighboring cells near the interface, so that I can add an source term into these cells. How can I identify these cells?

Thank u very much!


Xiaoguang
You can define the face as interior in Gambit. Then it will have an id in fluent.
Use Lookup_Thread(id) to get the face.
Use F_C0, F_C1 to get the neighbour cells
gearboy is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind turbine simulation Saturn CFX 34 October 16, 2014 06:27
Import netgen mesh to OpenFOAM hsieh Open Source Meshers: Gmsh, Netgen, CGNS, ... 32 September 13, 2011 06:50
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05
physical boundary error!! kris CD-adapco 2 August 3, 2005 01:32


All times are GMT -4. The time now is 08:21.