|
[Sponsors] |
December 3, 2012, 07:11 |
Operations with time steps
|
#1 |
Member
Martin
Join Date: Dec 2011
Location: Latvia
Posts: 54
Rep Power: 15 |
Greetings!
Did my search firstly in mother google with "operations with timestep openfoam" and found nothing of interest. I have my case file with "0", "constant", "system" folders. So I run my calculations and then get new time folders, lets say "1", "2" and "3". Inside them I have my vector and scalar field files. Question is how can I compare these field values between different time steps? For example, volVectorField A in time folders "1" and "2". I want a loop where solving is done when two successive A solutions agree within some tolerance. So there is comparison done between A.timestep1 and A.timestep2. How this is written in OpenFoam? I know there is something like A.oldTime() which uses old time step values. I want this process to be iterative - something like A.time(i+1)-A.time(i). Yours, Martin |
|
Tags |
timestep |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple floating objects | CKH | OpenFOAM Running, Solving & CFD | 14 | February 20, 2019 10:08 |
calculation diverge after continue to run | zhajingjing | OpenFOAM | 0 | April 28, 2010 05:35 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
UDF for time steps | David | FLUENT | 0 | August 14, 2007 12:54 |
Time steps - Large Eddy - LES | Gernot | FLUENT | 0 | September 14, 2005 12:54 |