CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

reconstructPar for continued Simulation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2020, 09:59
Unhappy reconstructPar for continued Simulation
  #1
New Member
 
Join Date: Aug 2020
Posts: 2
Rep Power: 0
Eller_OF is on a distinguished road
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
Eller_OF is offline   Reply With Quote

Old   August 23, 2020, 11:23
Default
  #2
HPE
Senior Member
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 658
Rep Power: 8
HPE is on a distinguished road
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.
HPE is offline   Reply With Quote

Reply

Tags
openfoam, postprocessing, reconstructpar, timestep

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Convergence Problem - Transient Simulation gemxx Main CFD Forum 0 July 15, 2018 10:36
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 06:28
Surface Source - Fixed Temperature? robtheslob FloEFD, FloWorks & FloTHERM 18 May 12, 2017 03:28
Simulation FPEs - turbulence for transient and steady-state? DaveR OpenFOAM Running, Solving & CFD 5 March 5, 2017 16:06
setting up a simulation with multiple interactions phandy OpenFOAM Running, Solving & CFD 1 October 6, 2014 04:16


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