|
[Sponsors] |
March 17, 2018, 07:14 |
controlDict - writeControl/Interval
|
#1 |
Senior Member
|
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. |
|
March 17, 2018, 09:53 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Use something in the form of
Code:
writeControl adjustableRunTime; writeInterval 1; purgeWrite 0;
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 17, 2018, 11:01 |
|
#3 | |
Senior Member
|
Quote:
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. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |