Installation on openSUSE Leap


Installing OpenQBMM on openSUSE Leap can be done leveraging the packaged version of OpenFOAM for openSUSE Leap. The steps to follow are the following:

  1. Install OpenFOAM RPM packages:
    • Execute the following commands in sequence (as root):
      • zypper addrepo https://download.opensuse.org/repositories/science/openSUSE_Leap_15.6/science.repo
      • zypper refresh
      • zypper install openfoam2412-default gnuplot git
    • Execute (as root):
      • openfoam-selector-menu
    • Select openfoam2412
    • Apply to the system (it is necessary to log out and log into the system again).
    • You will have OpenQBMM as part of OpenFOAM.

If you prefer to use the source code and compile it yourself, follow the installation instruction to install OpenFOAM from source code reported here.

  1. Verify the functionality of OpenFOAM by invoking the command:
    • icoFoam -help
  2. Verify the functionality of wmake by invoking it:
    • wmake
  3. Create a directory called OpenQBMM (or OpenQBMM-dev for the development version)
  4. Open a terminal in that directory
  5. Use the command
    • git clone https://github.com/OpenQBMM/OpenQBMM.git
  6. Optional: If the development version is desired, checkout the development branch:
    • git checkout -b development origin/development-openfoam.com
  7. Build OpenQBMM by running the following command in the OpenQBMM directory:
    • ./Allwmake -j

This will generate the binaries of OpenQBMM. Functionality can be tested by running, for example, pbeFoam validation cases.