CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   UDF (

Sean March 6, 2009 19:37

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

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 02:09.