|
[Sponsors] |
Can OpenFOAM auto-delete out of date time steps? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 11 ![]() |
Hi foamers,
I am running some OpenFOAM cases on a cluster for the first time and they keep stopping. The log files just end mid-time step so I am trying to guess at the problem... I think the cluster may be running out of memory. Is there a way to tell an OpenFOAM case to just save the latest time step, or overwrite the previous time step as it writes the new ones? I only need the latest time step, but I do not want to wait to save a step until it has converged, in case it crashes again. I am trying to run 10 different cases simultaneously that take 4-5 days each to converge properly. I hope someone can help!! ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Sep 2013
Posts: 10
Rep Power: 12 ![]() |
in controlDict, there is an entry called purgeWrite. Set this to 5 for example, and only the latest 5 time steps are being kept. If this is set to zero, the function is turned off and all steps are kept.
Last edited by simon-2; December 10, 2015 at 10:00. Reason: typo |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Nicole Andrew
Join Date: Sep 2014
Location: Pretoria, South Africa
Posts: 58
Rep Power: 11 ![]() |
You just totally saved my day!! Thanks so much
![]() |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Andrew O. Winter
Join Date: Aug 2015
Location: Seattle, WA, USA
Posts: 78
Rep Power: 11 ![]() |
Same here! You've saved me a huge amount of time and worrying about filling up my research group's storage drives.
|
|
![]() |
![]() |
![]() |
Tags |
cluster, controldict, memory, time step, write control |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 02:50 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 09:34 |
Problems about compiling OF1.5.x on Bluegene/P | ywang | OpenFOAM | 1 | August 25, 2011 05:22 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |