|
[Sponsors] |
October 2, 2009, 09:53 |
Define Certain Cell Threads in Udfs
|
#1 |
New Member
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 17 |
Hello to every one,I am beginner with udf and realy need your help!
I want to access to certain cells in computational Domain,For Example I want to specify a celinder in Computational domain And access cell velocities or cell tempretures in this region.It seems that in udfs we should loop over the threads,but unfortunately in udf manual did not explained that how we can define desired cell or face or node threads,And it seems that we apply and hook udfs only in faces that specifed in Boundray conditioan panel or in the total Domain |
|
October 2, 2009, 16:27 |
|
#2 |
New Member
Payan
Join Date: Oct 2009
Posts: 21
Rep Power: 17 |
In other words I would to get flow variables in UDF at specific coordinates. However I only see functions like C_V(c,t) or C_P(c,t) which required the cell and thread pointers.
So it is possible to know the cell and thread pointers with physical coordinates? The only one solution I see for instance is to do a loop over all cells on the domain and to test their coordinate... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 13:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 11:19 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 05:41 |