CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   writeControl and writeInterval (http://www.cfd-online.com/Forums/openfoam/88999-writecontrol-writeinterval.html)

preichl June 1, 2011 03:34

writeControl and writeInterval
 
Hi All,

Is there a way to directly specify the times at which data files are written?.
i.e. specifying the times and not the time relative to the last restart?

For one of the simulations I am looking at, I need to stop the simulation upon some flow condition being met (stops at an arbitrary flow dependent time). I then modify a boundary condition and restart the simulation with the new BC.
Upon restarting the files are then written at fixed intervals from the restart time, however as the restart time can be rather arbitrary, the times of the data files before and after the restart jump in time.

For example, if I write files every 0.2s and the flow condition required for the BC change occurs at 2.075s, then I will have data files at (0.2, 0.4, 0.6, ...., 2.0 2.075). After restarting I then have files at 2.275, 2.475,2.675 etc.

I want to find a way to get data files at 0.2, 0.4,.... 2.0, 2.075, 2.2, 2.4, 2.6 etc).
Is this possible, without stopping at a desired time point and restarting again from there?.

Thanks in advance,

Paul.


All times are GMT -4. The time now is 20:08.