OpenFOAM (The OpenFOAM Foundation) 5.0-20180108-foss-2019a

There is a newer version of OpenFOAM (The OpenFOAM Foundation)

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 OpenFOAM (The OpenFOAM Foundation) 5.0-20180108-foss-2019a

To load the module for OpenFOAM (The OpenFOAM Foundation) 5.0-20180108-foss-2019a please use this command on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs):

module load OpenFOAM/5.0-20180108-foss-2019a

BEAR Apps Version

2019a

Architectures

EL8-cascadelakeEL8-haswellUbuntu20.04-haswell

The listed architectures consist of two part: OS-CPU.

  • BlueBEAR: The OS used on BlueBEAR 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.
  • BEAR and CaStLeS Cloud VMs: These VMs can have one of two OSes. Those with access to a BEAR Cloud or CaStLeS VM should check that the listed architectures for an application include the OS of VM being used. The VMs, irrespective of OS, will use the haswell CPU type.

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 (The OpenFOAM Foundation) website.

Dependencies

This version of OpenFOAM (The OpenFOAM Foundation) has a direct dependency on: CGAL/4.14-foss-2019a-Python-2.7.15 foss/2019a libreadline/8.0-GCCcore-8.2.0 METIS/5.1.0-GCCcore-8.2.0 ncurses/6.1-GCCcore-8.2.0 ParaView/5.4.1-foss-2019a-mpi SCOTCH/6.0.6-gompi-2019a

Other Versions

These versions of OpenFOAM (The OpenFOAM Foundation) are available on the BEAR systems (BlueBEAR, BEARCloud VMs, and CaStLeS VMs). These will be retained in accordance with our Applications Support and Retention Policy.

Last modified on 16th October 2020