CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (http://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   How to do post-processing without GUI for large case? (http://www.cfd-online.com/Forums/openfoam-post-processing/122820-how-do-post-processing-without-gui-large-case.html)

ripperjack August 28, 2013 15:46

How to do post-processing without GUI for large case?
 
Hi guys,

I need to plot some profile, contours, etc. for a large case (mesh > 20M), it is very slow to do it with paraView GUI, so how can I do it using command line? e.g., plot the velocity profile vs channel height. Tons of thanks in advanced.

Regards,

gonpe August 29, 2013 12:45

Hi

I suggest taking a look at the various sampling methods available in foam.

Check out the example sampleDict in the following directory.
applications/utilities/postProcessing/sampling/sample

Goncalo

ripperjack August 30, 2013 10:12

Quote:

Originally Posted by gonpe (Post 448765)
Hi

I suggest taking a look at the various sampling methods available in foam.

Check out the example sampleDict in the following directory.
applications/utilities/postProcessing/sampling/sample

Goncalo

Hi Goncalo,

Thanks very much for your reply. I prefer do the post-processing after the simulation. I might need to plot some iso-surface contour, it might be hard to do it using sample...

Regards,

gonpe August 30, 2013 11:44

You can sample after the simulation. This is done by calling "sample".

There is an iso surface option in the sampleDict but I must confess I haven't tried it. You can output to VTK format which you can open in paraview.

If you are focussed on using paraview, I suggest using pvbatch. I haven't needed to use it up to now but take a look at
http://www.paraview.org/Wiki/ParaView/Users_Guide/Batch_Processing

You can load a state file and output from there.

Goncalo


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