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/)
-   -   Temperature BC inside a phase (http://www.cfd-online.com/Forums/fluent-udf/118551-temperature-bc-inside-phase.html)

shashank312 May 29, 2013 16:54

Temperature BC inside a phase
 
Folks,
Do you know how to impose a constant temperature inside one of the phases (in a VOF model) throughout the simulation? I tried the following but it did not work.

Thread *lt = pt[liquidphaseindex];

begin_c_loop_all(c,t)
{
if (C_VOF(c,lt) == 0.0)
{
C_T(c,t) = 329;
}
}
end_c_loop_all(c,t)

The temperature inside that phase is decreasing to a much lower value.


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