CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

how to access old-old time step value ??

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 3 Post By ahmmedshakil

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 20, 2014, 02:23
Default how to access old-old time step value ??
  #1
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
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
manju819 is offline   Reply With Quote

Old   March 20, 2014, 20:54
Default
  #2
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Hi Reddy,
it just : p.oldTime().oldTime() you will got the old-old value.

cheers
#shakil
mm.abdollahzadeh, babala and nado like this.
ahmmedshakil is offline   Reply With Quote

Old   March 21, 2014, 01:54
Default Hiii shakil
  #3
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
Thank you very much Shakil.


Regards
N.Manjunath
manju819 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 13:40
Rapidly decreasing deltaT for interDyMFoam chrisb2244 OpenFOAM Running, Solving & CFD 3 July 1, 2014 16:40
calculation stops after few time steps sivakumar OpenFOAM Running, Solving & CFD 7 March 17, 2013 06:37
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 09:20
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 04:35


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