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

value of previous time step

Register Blogs Community New Posts Updated Threads Search

Like Tree17Likes

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 30, 2011, 04:21
Unhappy value of previous time step
  #1
Member
 
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 15
lulo is on a distinguished road
Hi
In OpenFoam is it possible to know the old time step value of any variable.
I need to store a vectorField and use it in the next time step.
I had a look in the forum and found the commands:

fieldName.storeOldTime(); // to store an old time field
fieldName.oldTime(); // to recover it

I tried to compile these and got the error:

#
error: 'class Foam::vectorField' has no member named 'storeOldTime'
error: 'class Foam::vectorField' has no member named 'storeOldTime'
#

My question is, how to handle with those?

Luca
hua1015 likes this.
lulo is offline   Reply With Quote

 

Tags
field, store, time step


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
Reading forces from previous time step within solver SD@TUB OpenFOAM Programming & Development 5 April 24, 2023 11:51
Time step size and max iterations per time step pUl| FLUENT 33 October 23, 2020 22:50
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
UDF: Previous time step macros NOT working jpapg FLUENT 0 April 30, 2011 21:35
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


All times are GMT -4. The time now is 10:34.