CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   how to read data from the previous time step (http://www.cfd-online.com/Forums/openfoam-programming-development/82690-how-read-data-previous-time-step.html)

jaming December 2, 2010 13:19

how to read data from the previous time step
 
Hi OFis
my quation is :how to read data from the previous time step, I need the cooling rate i.e. T_old -T_now for my solidification modell

many thanks.

akidess December 3, 2010 05:56

Use T.oldTime(): http://foam.sourceforge.net/docs/cpp...c7d231aa6b5f3f

jaming December 4, 2010 07:14

many thanks ;)


All times are GMT -4. The time now is 21:38.