CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

writeControl and writeInterval

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   June 1, 2011, 03:34
Default writeControl and writeInterval
Paul Reichl
Join Date: Feb 2010
Location: Melbourne, Victoria, Australia
Posts: 33
Rep Power: 9
preichl is on a distinguished road
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,

preichl is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
help: results depend on writeInterval ckoch OpenFOAM 2 September 1, 2010 18:42
Modifying writeInterval during execution kdarc OpenFOAM Running, Solving & CFD 0 February 17, 2009 13:39

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