CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Temperature BC inside a phase (

shashank312 May 29, 2013 16:54

Temperature BC inside a phase
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];

if (C_VOF(c,lt) == 0.0)
C_T(c,t) = 329;

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

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