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 reach the solide zone in UDF (http://www.cfd-online.com/Forums/fluent-udf/112749-how-reach-solide-zone-udf.html)

Raymond.Leoi February 4, 2013 13:41

how to reach the solide zone in UDF
 
I wonder how to reach thread pointing to the solid zones? I try the following way,

if (FLUID_THREAD_P(thread) && BOUNDARY_FACE_THREAD_P(thread))
{}
else
{
.......;
}

For some reason, the compiler couldn't identifiy 'FLUID_THREAD_P(thread) '. Any suggestion for this problem?

msaeedsadeghi February 5, 2013 01:25

It may be a problem with your compiler.
First you should make a Thread of solid zone, then address it the thread zone you want to patch source terms or other macroes. I have done that for modeling Nephrons of Kidney.

Raymond.Leoi February 5, 2013 07:46

Thanks, Msaeedsadeghi. Since you did some similar thing before, can you give me more detail on how to find out the thread of solid zone?

Quote:

Originally Posted by msaeedsadeghi (Post 406046)
It may be a problem with your compiler.
First you should make a Thread of solid zone, then address it the thread zone you want to patch source terms or other macroes. I have done that for modeling Nephrons of Kidney.



All times are GMT -4. The time now is 14:40.