CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Time varying write interval in controlDict (http://www.cfd-online.com/Forums/openfoam/91801-time-varying-write-interval-controldict.html)

sabin.ceuca August 23, 2011 05:41

Time varying write interval in controlDict
 
Dear foam'ers,
does anybody know how to write the requested fields on a varying period of time rather than a constant interval?
I need a higher frequency after a specific time and don't want to get into troubles with my IT admin while overloading the cluster :)
Is there something for
Code:

writeInterval  0.05;
similar to a variable BC?
Code:

Patch1   
{
  type        timeVaryingUniformFixedValue;
  fileName    "fileToBeRead";
  outOfBounds  clamp;
}

Regards,
sabin

Soder March 7, 2012 05:04

This would be very helpful for me aswell.
Does anyone know how to do it?

Regards
Martin

olivierG March 7, 2012 05:24

hello,

If you use the 2.1 version, there is a new control for timing the writing
(see http://www.openfoam.org/version2.1.0...me-control.php)

regards,
olivier

Bufacchi March 7, 2012 06:02

If you don't use the 2.1 version, you can try changing the parameter manually in controlDict by the time you need the change.

I was running a case and by the end of the run (I checked the log file), I changed the endTime parameter and the case understood my change in controlDict, what made me realize that controlDict is read upon changes in it. So, if you don't mind changing the writeInterval manually, this is one way to make it happen.

Regards,

Paulo


All times are GMT -4. The time now is 04:11.