CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Need Help for define-adjust (https://www.cfd-online.com/Forums/fluent-udf/106035-need-help-define-adjust.html)

landa August 16, 2012 05:03

Need Help for define-adjust
 
Hi
Could some one please let me know how to write a UDF to assign a volume averaged temperature in a domain.
i know i should use define_adjust but i didn't find an appropriate sample in udf's manual.
in fact the problem is that there is a tank full of water, with no lid and in contact with air. so a fraction of water volume which is in the top of the tank has the same temperature as air. i want to put it as a BC. another thing is that the air tempurature isn't constant.
thanks in advance

eng_s_sadeghi August 21, 2012 04:30

You can fix temperature of a block of domain in cell conditions without UDF writing.

landa August 22, 2012 04:02

dear Mr. Sadeghi, i saw your site and weblog. it is very great, thanks alot.
can you tell me more about the BC that i told about. how can i set it in the fluent?


All times are GMT -4. The time now is 15:13.