Precompiled packages (openSUSE)
For openSUSE users, OpenCFD Ltd. is a maintainer on the community Science Portal and provides RPM binary packages for the most recent OpenFOAM versions via its build system: https://build.opensuse.org/project/show/science
The quick access is via the download page: https://software.opensuse.org//download.html?project=science&package=openfoam and follow the instructions there. But note that this is a meta-package and individual version downloads are also possible. For example, https://software.opensuse.org//download.html?project=science&package=openfoam2012
If you already have the Science repository registered on your system,
you should be able to install it directly with
sudo zypper install openfoam
Or with a graphical tool such as YaST2:
Supported versions and distributions
These may change from time to time, but the general goal would be maintain the last two (or three) versions of OpenFOAM supported on current and upcoming openSUSE Leap versions. Support for SLES is not always possible (missing packages). Tumbleweed support should be regarded as a purely random event.
Following the precompiled packages - sub-packages descriptions, the following represent typical installation commands:
As documented in precompiled packages - locations.
After installation - using the OpenFOAM environment
As documented in precompiled packages - OpenFOAM environment.
|openSUSE science||package openfoam, download||Actively maintained by OpenCFD|
Copyright (C) 2020 OpenCFD Ltd.