|
[Sponsors] |
Cleaning out timesteps in processor??? directories |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 15, 2020, 07:18 |
Cleaning out timesteps in processor??? directories
|
#1 |
Senior Member
Gerry Kan
Join Date: May 2016
Posts: 376
Rep Power: 11 |
Howdy Foamers:
I am running a job with about 400+ subdomains. Sometimes when the run went wrong and I want to start the run from scratch, I need to remove the processor??? directories in order to (quickly) remove the timestep data, and rebuild them using decomposePar. This actually takes quite some time because of the number of subdomains involved. So this begs the question, whether there is a more convenient way to just remove the timestep files within the processor??? directories? Thanks in advance, Gerry. |
|
December 15, 2020, 10:01 |
|
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
I would not delete `processor*` directories if you do not change the mesh.
- If you want to replace the `processor*/0` directory from the new `0.orig` directory: -- `rm -rf processor*/<time> && restore0Dir -processor` -- You need to source `/bin/tools/RunFunctions` to use `restore0Dir`. - If you want to decompose fields only, and not the existing mesh: -- `decomposePar -fields` - If you want to perform decompositions in parallel: -- `mpirun -np X redistributePar -decompose -parallel` I am sure the number of methods reducing the computational effort can further be increased. Hope it helps a bit.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Write field data at a few specific timesteps | gary7 | OpenFOAM | 5 | March 11, 2020 13:31 |
How to load only few timesteps from all timesteps that have been loaded in CFD-Post? | vuongcongdat | FLUENT | 2 | August 2, 2019 00:46 |
Transient analysis - timesteps vs iteration | Jiricbeng | CFX | 6 | July 14, 2017 07:35 |
Problem with maximum number of Timesteps | Phantalor | CFX | 5 | July 13, 2013 08:15 |
Adaptive Timesteps | swiss_zhang | CFX | 8 | August 30, 2011 07:51 |