|
[Sponsors] |
September 30, 2011, 04:21 |
value of previous time step
|
#1 |
Member
luca
Join Date: Feb 2011
Posts: 34
Rep Power: 15 |
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 |
|
Tags |
field, store, time step |
|
|
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 |