Temperature from previous time step in specific heat UDF
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.
|All times are GMT -4. The time now is 11:24.|