OpenFOAM v5.0

There is a newer version of this software available.

The OpenFOAM® (Open Field Operation and Manipulation) CFD Toolbox can simulate anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics, electromagnetics and the pricing of financial options. OpenFOAM is licensed under the GNU General Public License.

Accessing the software

To load the module and set the environment:

$ module load OpenFOAM/5.0-iomkl-2018a
$ source ${FOAM_BASH}

The command source ${FOAM_BASH} runs the OpenFOAM configuration file in the same bash shell.

An example command to include in your job script:

$ runApplication surfaceFeatureExtract

Paraview 5.4.1 will be loaded automatically with this version of OpenFOAM.


Recommended Setup

By default OpenFOAM creates a project directory in your home directory. This is used to store various items related to running OpenFOAM. However, there is a restriction on your home directory which means that this is often not enough space for OpenFOAM to operate. To avoid issues you should create a directory in a RDS project space and then symlink it, as follows:

  1. Follow the instructions above to load the module and set the environment
  2. $ mkdir /rds/projects/[project]/[my_openfoam_directory]
  3. $ cd ~/
  4. $ ln -s /rds/projects/[project]/[my_openfoam_directory] ${WM_PROJECT}

In this, [project] and [my_openfoam_directory] should be changed to be a suitable directory in a suitable project.


Accessing Previous Versions

Wherever possible, previous versions of this application will be retained for continuity, especially for research projects that require a consistent version of the software throughout the project. Such versions, however, may be unsupported by IT Services or the applications vendor, and may be withdrawn at short or no notice if they can no longer run on the cluster - for example, essential operating system upgrades may be incompatible with old versions.

Previous versions of this application are recorded below:

Known Problems & Limitations


Other Information

The Support Level for this application is An.

Changes can be viewed on the release page.

Visit the OpenFOAM Foundation website for more information about this application.


Last modified: 16 April 2018