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/)
-   -   what does FLUID_THREAD_P(t) macro do in udf? (http://www.cfd-online.com/Forums/fluent-udf/119059-what-does-fluid_thread_p-t-macro-do-udf.html)

borhan_sd@yahoo.com June 9, 2013 03:53

what does FLUID_THREAD_P(t) macro do in udf?
 
Hi all,I want to know what does FLUID_THREAD_P(t) macro do in the udf?
For example in the reaction of a fliud onto the surface of a solid, does it points to the reactant?Or in contrary it points to the location of reaction?
(In the first state the answer is fluid and macro is true and in the second one, reversely the answer of macro is false because the reaction takes place on the solid surface).
please help me.

yashganatra June 10, 2013 02:19

Checks if the given zone is a fluid or not. It's a structure reference

borhan_sd@yahoo.com June 10, 2013 05:49

Ok,thanks,Isn't it necessary in surface reactions' UDFs?
I didn't see it in UDF examples of surface reactions at all.


All times are GMT -4. The time now is 00:10.