CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   paraFoam- how to save *.foam (

Sebaj August 2, 2011 08:40

paraFoam- how to save *.foam
Welcome everyone,

maybe someone know, how to save file " *.foam "? i'm working on cluster and i can't visualize my results..

using command paraFoam -touch it create only empty file. :(

i wish check my results on my own laptop (copy file *.foam to my laptop..)


Phicau August 2, 2011 08:59


*.foam is always an empty file which helps paraView to realize that there is a case there with folders and all that stuff.

In order to see your data you can run paraFoam (or paraView, loading the *.foam file) directly on the cluster (remember to enable X) or you will be forced to download all the data to your own computer.

Sebaj August 2, 2011 09:10


so there is no chance to save data with time step in format .foam?
i can see my results on the cluster, but it's very slowly and slash? all the time.. so i wonder that is any other way to check results?


akidess August 2, 2011 10:37

You can use foamToVTK -time X to save your results in a VTK file which you can copy to your local computer and visualize with paraview.

Sebaj August 3, 2011 03:47


It's works :D

i just save results by foamToVTK -allPatches it's also copy every time step.

linch August 4, 2011 08:41

Hi guys.

I have a rather simple question:

paraFoam creates a .OpenFOAM file, but paraview associates the .foam file type with OF. How can I make the paraFoam to create ".foam" files instead of ".OpenFOAM"

akidess August 4, 2011 08:52

Illya, paraFoam is a bash script located in /OpenFOAM/OpenFOAM-1.6.x/bin/paraFoam (adapt to your version accordingly). You can easily edit that bash script to create .foam files instead of .OpenFOAM files. Please be aware that by doing so, you will invoke a different file reader plugin in paraview! (Native plugin vs. OpenCFD plugin)

linch August 4, 2011 10:19

Thanks Anton!

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