Compiling OpenFOAM from Source Code
The development of OpenFOAM is accessible to the public through the OpenFOAM source code repositories at GitHub. At any given time there are 2 active repositories, as follows.
OpenFOAM-dev
: the current development line of OpenFOAM, that contains the source code for the next major release of OpenFOAM.OpenFOAM-?:
the source code for compilation on Linux distributions, including all the latest bug fixes. The name of the active repository includes the currentmajor
version number, i.e. currentlyOpenFOAM-10.
In addition, there are corresponding repositories with scripts and instructions for installation of Third Party software used by OpenFOAM, e.g. ThirdParty-dev
.
Installation of the the source repositories of OpenFOAM involves the following steps.
- Installing Software for Compilation, etc.
- Downloading the OpenFOAM Source Code.
- Setting the OpenFOAM Environment.
- Installing Third Party Software.
- Compiling OpenFOAM.
Next: 1. Installing Software for Compilation →