CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   how to access old-old time step value ?? (https://www.cfd-online.com/Forums/openfoam/131728-how-access-old-old-time-step-value.html)

manju819 March 20, 2014 02:23

how to access old-old time step value ??
 
Hiii,

I want to access old-old time step values
i.e
old-old values: φoo ≡ φ(t − ∆t) stored from a time step previous to the last.

for last time step i know p.oldTime(),

what is the function to access olo-old value??

Please help me,

Thank you,

Regards
Manjunath

ahmmedshakil March 20, 2014 20:54

Hi Reddy,
it just : p.oldTime().oldTime() you will got the old-old value.

cheers
#shakil

manju819 March 21, 2014 01:54

Hiii shakil
 
Thank you very much Shakil.


Regards
N.Manjunath


All times are GMT -4. The time now is 13:46.