CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   UDF (http://www.cfd-online.com/Forums/fluent/50791-udf.html)

Sean March 6, 2009 19:37

UDF
 
Dear friends, I am writing a UDF on particle tracking, I want to know how I can point out those threads that are arround the walls only? I want to make a loop on these cells/faces and I dont know how should I define it for my UDF.

aas March 7, 2009 01:29

Re: UDF
 
Take note of the zone numbers corresponding to your walls of interest. This macro might be of use: Thread *t = Lookup_Thread(zone number); begin_cell_loop(c,t) { statements... } end_cell_loop(c,t)


All times are GMT -4. The time now is 20:19.