|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Join Date: Aug 2020
Posts: 2
Rep Power: 0 ![]() |
Hello,
how can I use the command reconstructPar on a simulation folder which is already reconstructed for some timesteps? I ran a Simulation (capillary rise) with OpenFoam and to get it ready for my Postprocessing I would always "reconstructPar" the Data. (Making different Folders for timesteps) But during postprocessing I realized that I didn't run the Simulation long enough. So I had a Simulation, that ran until e. g. t=0.2s and was already reconstructed until that timestep. Now I just continued the calculation until t=2s and wanted to reconstruct the thing again. It didnt work. Error says: error in IOstream "filename/0.001/U" for operation Ostream& operator<<(Ostream&, const Scalar&) and From function virtual bool Foam::IOstream::check(const char*) const in file db/IOstreams/IOstreams/IOstream.C at line 96. I would be glad to hear some suggestions ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 12 ![]() |
Hi,
- You can pass "time" option to "reconstructPar" to specify a single time directory or a range of time directories, e.g.: reconstructPar -time <ranges> List of ranges. Eg, ':10,20 40:70 1000:', 'none', etc. or reconstructPar -latestTime // to reconstruct only the last time-step - "reconstructPar" operates in serial mode only. This may slow down your workflow. In order to reconstruct fields in parallel, you can use "redistributePar -reconstruct" by also passing "time" option e.g.: mpirun -np X redistributePar -reconstruct -parallel -time <some time range> Hope these may help.
__________________
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 |
|
![]() |
![]() |
![]() |
Tags |
openfoam, postprocessing, reconstructpar, timestep |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Convergence Problem - Transient Simulation | gemxx | Main CFD Forum | 0 | July 15, 2018 09:36 |
Mapping Field Data for Mesh Regions from Another Simulation | veterator | OpenFOAM Pre-Processing | 1 | July 10, 2018 05:28 |
Surface Source - Fixed Temperature? | robtheslob | FloEFD, FloWorks & FloTHERM | 18 | May 12, 2017 02:28 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 15:06 |
setting up a simulation with multiple interactions | phandy | OpenFOAM Running, Solving & CFD | 1 | October 6, 2014 03:16 |