CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   R.e openFoam 1.6 (https://www.cfd-online.com/Forums/openfoam-installation/97628-r-e-openfoam-1-6-a.html)

athurlow February 21, 2012 12:14

R.e openFoam 1.6
 
Hi,
I'm currently trying to install openFoam 1.6 using these instructions:
http://www.tfd.chalmers.se/~hani/kur...OwnLaptop.html
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?

Regards

Adam Thurlow

wyldckat February 21, 2012 15: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 openfoam.org - http://www.openfoam.org/download/ubuntu.php - namely the package "paraviewopenfoam3120" and then hack a bit on 1.6-ext:
  • Check if the "ParaView_DIR" variable is working:
    Code:

    echo $ParaView_DIR
    If this shows anything, then run:
    Code:

    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,
Bruno

athurlow February 22, 2012 07:27

Cheers that worked,


All times are GMT -4. The time now is 13:29.