CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (http://www.cfd-online.com/Forums/fluent-udf/)
-   -   How to identify the cells near the interface? (http://www.cfd-online.com/Forums/fluent-udf/74758-how-identify-cells-near-interface.html)

legendyxg April 8, 2010 02:53

How to identify the cells near the interface?
 
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

gearboy April 8, 2010 04:35

Quote:

Originally Posted by legendyxg (Post 253701)
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


All times are GMT -4. The time now is 15:01.