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

controlDict - writeControl/Interval

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 17, 2018, 07:14
Default controlDict - writeControl/Interval
  #1
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Dear all,

I'm not getting the write out behavior from writeControl and writeInterval when running simpleFoam in parallel (4 cpu) that I was expecting.

I want to write out a time/iteration directory every 100 steps, with some purgeWrite value. Instead, my simulation is writing out every single iteration directory.

Before starting to mess around with the functions sub-dictionaries I have included in my controlDict, I'm seeking help over here.

The controlDict I attach shows 'timeStep' as the condition for writeControl. I have tried other options though, but still getting the same behavior.

Any ideas, please? (the functions sub-directories were copied directly from someone else running similar physics to mine)

C.
Attached Files
File Type: zip dicts.zip (2.9 KB, 9 views)
aerospain is offline   Reply With Quote

Old   March 17, 2018, 09:53
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Use something in the form of

Code:
writeControl    adjustableRunTime;

writeInterval   1;

purgeWrite      0;
aerospain likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   March 17, 2018, 11:01
Default
  #3
Senior Member
 
aerospain
Join Date: Sep 2009
Location: Madrid, Spain
Posts: 149
Rep Power: 16
aerospain is on a distinguished road
Send a message via Skype™ to aerospain
Quote:
Originally Posted by piu58 View Post
Use something in the form of

Code:
writeControl    adjustableRunTime;

writeInterval   1;

purgeWrite      0;
Thanks Uwe,

If I set purgeWrite 2; I avoid having the ./processor*/ directories cluttered with iteration steps. My concern is that, if I set writeInterval <number>;, where <number> is any value different than 1, let's say 50, I get the original situation when I got all iteration steps inside the ./processor*/ directories

Regards,
C.
aerospain is offline   Reply With Quote

Reply


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
[Gmsh] gmshToFoam: missing controlDict file? gsal OpenFOAM Meshing & Mesh Conversion 1 August 26, 2016 10:07
controlDict and sampleDict giving different results Shenan OpenFOAM Post-Processing 2 November 15, 2014 10:15
Different errors when linking custom library via solver vs controlDict chrisb2244 OpenFOAM Programming & Development 0 February 21, 2014 03:12
Forces not calculated when including a library in controlDict fusij OpenFOAM 2 May 13, 2011 07:25
writing controlDict as otherfields ubaid OpenFOAM 5 September 29, 2010 07:28


All times are GMT -4. The time now is 01:32.