CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   R.e openFoam 1.6 (

athurlow February 21, 2012 13:14

R.e openFoam 1.6
I'm currently trying to install openFoam 1.6 using these instructions:
It all worked fine except the paraview installation, I installed it instead through sudo apt get is there a way to link paraview and paraFoam?


Adam Thurlow

wyldckat February 21, 2012 16:25

Greetings Adam,

First detail: it is 1.6-ext, not simply 1.6! There is a very big difference ;)

Second: the ParaView version that comes with Ubuntu 10.04 is very old. You can get the one from - - namely the package "paraviewopenfoam3120" and then hack a bit on 1.6-ext:
  • Check if the "ParaView_DIR" variable is working:

    echo $ParaView_DIR
    If this shows anything, then run:

    rm -r $ParaView_DIR
    ln -s /opt/paraviewopenfoam3120 $ParaView_DIR

  • Edit the file "OpenFOAM-1.6-ext/bin/paraFoam" and change all occurrences of ".OpenFOAM" to ".foam". Notice there is a dot symbol after the first quote ;)
And that should be it and reaaaady to go! At least it should be, if you have properly installed the graphics drivers on your machine ;)

Keep in mind that I haven't tested these instructions myself. This is basically an incomplete hack, since it only gets things half done. For several more detailed instructions, check my signature link :)

Best regards,

athurlow February 22, 2012 08:27

Cheers that worked,

All times are GMT -4. The time now is 17:32.