CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] Reuse state for different simulations reread input files

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By axl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 11, 2008, 07:37
Default Reuse state for different simulations reread input files
  #1
axl
New Member
 
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 17
axl is on a distinguished road
I'm doing several simulations of a similar case (3D-Airfoil) and want to reuse the post-processing settings.
It is possible to save states with paraview, but if you load a state you also load the input data you saved it with. Is there a possibility to change the input data?

Even for the same simulation, it is not possible to reuse the paraview state for the new time folders.

I tried both, foamToVTK under Linux (pv 3.2.1) and Windows (pv 3.3.0) and pvFoam (actually just creating a x.foam file and reading it with Takuyas modified paraview 3.2.1 for windows)

Help is greatly appreciated, since at the moment I always have to recreate the postprocessing steps for each simulation.

Thanks, Axel
axl is offline   Reply With Quote

Old   July 11, 2008, 09:29
Default Hi Axel pvs file state is an
  #2
New Member
 
Nicolas Coste
Join Date: Mar 2009
Location: Marseilles, France
Posts: 11
Rep Power: 17
nikos is on a distinguished road
Hi Axel
pvs file state is an ascci file, so you can open it with a text file editor and change every file name where it appears

nicolas
nikos is offline   Reply With Quote

Old   July 11, 2008, 13:05
Default Hmm, yeah, I had a look into i
  #3
axl
New Member
 
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 17
axl is on a distinguished road
Hmm, yeah, I had a look into it, but it looks quite complicated to also add new time folders, they have to be in there as well...

I managed to find out another workaround, but this somehow doesn't work always. Load the saved state and load the new file into paraview as well. Then Use the change input command on the first filter directly connected to the old file and redirect it to the new file.
You should add a filter that does nothing as the first filter (e.g. calculator), thus you just have to do this 'change input' once, and all filters below will follow.

Just play a bit around, sometimes I got these small green arrows and couldn't delete the old file, no clue why.
SCCSROGER likes this.
axl is offline   Reply With Quote

Reply


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
How to Maintain Zone names when Exporting ABAQUS & APDL Input files from FLUENT? michal28 FLUENT 0 November 15, 2018 14:35
how can i get tutorial input files hskang FLUENT 2 July 25, 2018 22:52
Input to run unsteady simulations with external files for mesh motion renatorm SU2 0 September 1, 2017 13:10
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


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