Alberto Passalacqua

Installing OpenFOAM 1.5.x on OpenSUSE 11.1

Posted on | December 27, 2008 | 4 Comments

I have recently installed OpenFOAM 1.5.x following the procedure I explained in this post some time ago. With OpenSUSE 11.1, paraview and paraFOAM work properly after being recompiled following these simple instructions:

  • Install OpenSUSE 11.1, which can be downloaded from here.
  • Install qt4-devel: as root, type zypper in libqt4-devel
  • Download OpenFOAM 1.5 from git repository (See here)
  • Download the third-party packages from OpenCFD site
  • Source the bash configuration file for OpenFOAM, as usual.
  • Edit ~/OpenFOAM/ThirdParty/ParaView3.3-cvs/CMakeLists.txt and comment out the line:

MESSAGE(SEND_ERROR “Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).”)

  • Compile paraview and its reader following the instructions provided in OpenFOAM 1.5.x README file:
    • cd $FOAM_INST_DIR/ThirdParty
    • rm -rf ParaView3.3-cvs/platforms
    • buildParaView3.3-cvs
    • cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
    • ./Allwclean
    • ./Allwmake
  • Compile OpenFOAM 1.5 with ./Allwmake in its main directory

Enjoy :-)


4 Responses to “Installing OpenFOAM 1.5.x on OpenSUSE 11.1”

  1. David Schmidt
    February 13th, 2009 @ 6:56 pm

    Thanks for the help! I’ll give it a try. I have one small correction to your post. The path to CMakeLists.txt is: (notice the /)



  2. Problem in Installation of Open Foam -- CFD Online Discussion Forums
    May 28th, 2009 @ 8:32 am

    […] I suggest you have a look at Alberto Passalacqua’s tips and tricks for OpenFOAM on OpenSUSE on his website. There are also some threads on this forum on installation on (open)SUSE. Best regards, […]

  3. carlos
    June 16th, 2009 @ 1:21 am

    “Install qt4-devel: as root, type zypper in libqt4-devel”

    it gives error in every package:

    Failed to mount cd:///?devices=/dev/sr0 on /var/adm/mount/AP_0x00000001: No medium found (mount: No medium found on /dev/sr0)

  4. Alberto
    June 16th, 2009 @ 1:27 am


    that’s because you have the installation DVD among the installation sources in YaST. If the DVD is present in the list and not inserted in the drive, that error is generated due to its higher priority with respect to other installation sources.

    You can insert the DVD or disable it in YaST -> Software -> Installation sources.


  • openSUSE counter

  • Spread Firefox

    Spread Firefox Affiliate Button
  • Thunderbird

    Spread Firefox Affiliate Button
  • License