OpenFOAM-Extend 5.0-20230821-foss-2022a

OpenFOAM is a free, open source CFD software package. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.

Accessing OpenFOAM-Extend 5.0-20230821-foss-2022a

To load the module for OpenFOAM-Extend 5.0-20230821-foss-2022a please use this command on the BEAR systems (BlueBEAR and BEAR Cloud VMs):

📋 module load bear-apps/2022a
module load OpenFOAM-Extend/5.0-20230821-foss-2022a

BEAR Apps Version




The listed architectures consist of two part: OS-CPU. The OS used is represented by EL and there are several different processor (CPU) types available on BlueBEAR. More information about the processor types on BlueBEAR is available on the BlueBEAR Job Submission page.

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. First load an OpenFOAM module and then follow these instructions:

mkdir /rds/projects/[project]/[my_openfoam_directory]
cd ~/
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.

OpenFOAM Environment Setup

The command:

source ${FOAM_BASH}

runs the OpenFOAM configuration file in the current bash shell session. In some cases the source ${FOAM_BASH} will return an error code even though it has successfully completed. If you use set -e then this should be placed after the source command.

Note, some older versions of OpenFOAM require the command ${FOAM_CONFIG} instead.

More Information

For more information visit the OpenFOAM-Extend website.


This version of OpenFOAM-Extend has a direct dependency on: foss/2022a hwloc/2.7.1-GCCcore-11.3.0 Mesquite/2.3.0-GCCcore-11.3.0 METIS/5.1.0-GCCcore-11.3.0 ParMETIS/4.0.3-gompi-2022a ParMGridGen/1.0-gompi-2022a Python/3.10.4-GCCcore-11.3.0 SCOTCH/7.0.1-gompi-2022a

Other Versions

These versions of OpenFOAM-Extend are available on the BEAR systems (BlueBEAR and BEAR Cloud VMs). These will be retained in accordance with our Applications Support and Retention Policy.

Version BEAR Apps Version
4.1-20200408-foss-2019b-Python-2.7.16 2019b

Last modified on 7th November 2023