CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Time varying write interval in controlDict

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2011, 06:41
Post Time varying write interval in controlDict
  #1
Member
 
Sabin Ceuca
Join Date: Mar 2010
Location: Munich
Posts: 42
Rep Power: 16
sabin.ceuca is on a distinguished road
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
sabin.ceuca is offline   Reply With Quote

Old   March 7, 2012, 05:04
Default
  #2
New Member
 
Martin Söder
Join Date: Jun 2011
Posts: 8
Rep Power: 15
Soder is on a distinguished road
This would be very helpful for me aswell.
Does anyone know how to do it?

Regards
Martin
Soder is offline   Reply With Quote

Old   March 7, 2012, 05:24
Default
  #3
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
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
olivierG is offline   Reply With Quote

Old   March 7, 2012, 06:02
Default
  #4
Member
 
Paulo Bufacchi
Join Date: Jun 2010
Posts: 50
Rep Power: 16
Bufacchi is on a distinguished road
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
Bufacchi is offline   Reply With Quote

Reply

Tags
controldict, output data, writeinterval


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mesh file for flow over a circular cylinder Ardalan Main CFD Forum 7 December 15, 2020 14:06
Full pipe 3D using icoFoam cyberbrain OpenFOAM 4 March 16, 2011 10:20
FSI with time interval remeshing ? realanony87 CFX 8 September 17, 2010 13:04
calculation diverge after continue to run zhajingjing OpenFOAM 0 April 28, 2010 05:35
why did my time interval set for output nouse? ShFlow FLOW-3D 2 January 11, 2009 21:25


All times are GMT -4. The time now is 16:02.