CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Temperature from previous time step in specific heat UDF (http://www.cfd-online.com/Forums/fluent/125807-temperature-previous-time-step-specific-heat-udf.html)

Thomas William October 31, 2013 11:59

Temperature from previous time step in specific heat UDF
 
Hello

I am using the DEFINE_SPECIFIC_HEAT macro for a Cp relationship based on temperature.

I would like to access the temperature from the previous time step.

Iv tried C_T_M1(c,t) but it does not work.

The purpose is to determine whether the dT is positive or negative, heating or cooling, from which I call different Cp relationships.

Any help appreciated.
Thank you.
Tom


All times are GMT -4. The time now is 09:55.