CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Need Help for define-adjust (

landa August 16, 2012 04:03

Need Help for define-adjust
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 03:30

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

landa August 22, 2012 03: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 01:46.