CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Postprocessing of parallel cases (https://www.cfd-online.com/Forums/paraview/117171-postprocessing-parallel-cases.html)

santiagomarquezd May 3, 2013 09:32

Postprocessing of parallel cases
 
Hi, is the post-processing of fully decomposed cases deactivated in last versions of FOAM?

"Once the case has completed running, the decomposed fields and mesh must be reassembled for post-processing using the reconstructPar utility"

(http://www.openfoam.org/docs/user/da...x7-620002.3.12)

Regards

haakon May 4, 2013 05:54

I think the postprocessing of fully decomposed cases is a feature in Paraview itself. I use native Paraview, without any OpenFOAM libraries and modifications. I open the case by freating a file with extension .foam, and opening this in Paraview. Remember to select "Decomposed case" in the left-hand pane.

So the command to open a decomposed case in Paraview is:
Code:

touch caseName.foam
paraview caseName.foam

If one wants to use the paraFoam command (this is OpenFOAM's wrapper script to Paraview, but only work for reconstructed cases), one can define this as an alias:

Code:

alias paraFoam='touch ${PWD##*/}.foam; paraview ${PWD##*/}.foam'
Note that this command does not support any of the command line arguments of the "real" paraFoam.


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