The installations instructions for OpenFOAM 1.7.0 on openSUSE 11.3 are almost identical to those for openSUSE 11.2 reported here. However, one additional package is necessary. For the reader’s convenience, I report the whole procedure, highlighting in orange the differences with the installation on openSUSE 11.2.
The steps of the procedure are the following:
- Use YaST to install
- the C/C++ development pattern in YaST
- libqt4-devel (required to build paraview)
- libQtWebKit-devel (required to build paraview)
- Create a directory called OpenFOAM in your home directory
- mkdir ~/OpenFOAM
- Enter the OpenFOAM directory
- cd ~/OpenFOAM
- Download both the OpenFOAM and ThirdParty packages from here and save them in your ~/OpenFOAM directory
- Extract the OpenFOAM-1.7.0.gtgz package with the command: tar xzf OpenFOAM-1.7.0.gtgz
- Extract the ThirdParty-1.7.0.gtgz package with the command: tar xzf ThirdParty-1.7.0.gtgz
- Open your ~/.bashrc file in a text editor and add the line:
- . $HOME/OpenFOAM/OpenFOAM-1.7.0/etc/bashrc
and source your ~/.bashrc file with the command: source ~/.bashrc
- Enter the OpenFOAM-1.7.0 directory with the command: cd $FOAM_INST_DIR/OpenFOAM-1.7.0
- Compile OpenFOAM with the command: ./Allwmake
- Rebuild Paraview with the following commands:
- cd $WM_THIRD_PARTY_DIR
- Rebuild the PV3FoamReader as follows:
- cd $FOAM_UTILITIES/postProcessing/graphicsPV3FoamReader
- Download the SVN version of the reader, required for Paraview 3.8 (you need the svn package installed):
- svn co https://of-interfaces.svn.sourceforge.net/svnroot/of-interfaces/trunk/vtkPOpenFOAMReader
- I will assume you saved it in ~/vtkPOpenFOAMReader
- Create a directory where to build the reader. For convenience I will call it ~/vtkReader.
- Open a terminal and enter that directory
- cd vtkReader.
- Type the command:
- cmake ~/vtkPOpenFOAMReader
- If OpenFOAM is properly configured, the build configuration will be written.
- In the same terminal execute the commands
- make install
- Copy the file pvFoam in ~/vtkPOpenFOAMReader into your ~/OpenFOAM/OpenFOAM-1.7.0/bin directory, to be able to run paraview with pvFoam, exactly as done with paraFoam.
- Note that both the temporary directories vtkReader and vtkPOpenFOAMReader can be removed.
This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM® and OpenCFD® trade marks.