CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

Reuse state for different simulations reread input files

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2008, 06:37
Default I'm doing several simulations
  #1
axl
New Member
 
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 8
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, 08: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: 8
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, 12:05
Default Hmm, yeah, I had a look into i
  #3
axl
New Member
 
aXeL
Join Date: Mar 2009
Posts: 3
Rep Power: 8
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.
axl is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running simulations continuously without input Jon W CD-adapco 2 March 13, 2007 03:59
transient simulations vs steady state for bouyancy Drauss Main CFD Forum 8 October 29, 2005 13:31
Gambit input files Riaan FLUENT 1 January 14, 2005 10:12
Steady state verses Time accurate simulations Saud khashan Main CFD Forum 2 May 23, 2003 07:00
Reread Grid Files Maurizio Barbato FLUENT 3 October 18, 2000 06:45


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