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/)
-   -   one simple question (https://www.cfd-online.com/Forums/fluent-udf/146644-one-simple-question.html)

adi.ptb January 3, 2015 00:26

one simple question
 
hi guys,i want to write a udf for temperature dependent thermal conductivity for steel(wall-boundary condition),this is my code:
DEFINE_PROPERTY(steel_thermal_conductivity,c,t)
{
real T = C_T(c,t);
return (real)((1871.0374)*pow(T,-0.5522));
}
my question is can we use T=C_T(c,t) for solid temperature or is it just for fluid? since it is temperature in cells

macfly January 5, 2015 10:02

C_T(c,t) will retrieve the temperature where you set the DEFINE_PROPERTY, it will read the temperature of the solid if you apply the DEFINE_PROPERTY to the solid material.


All times are GMT -4. The time now is 01:40.