OpenFOAM and ThirdParty installations at NSC

Directory list:

2.1.1 OpenFOAM and ThirdParty 2.1.1
2.2.2 OpenFOAM and ThirdParty 2.2.2
2.3.1 OpenFOAM and ThirdParty 2.3.1
3.0.1 OpenFOAM and ThirdParty 3.0.1
4.1 OpenFOAM and ThirdParty 4.1
5.0 OpenFOAM and ThirdParty 5.0

Level of support

Tier 3 NSC will not be able to help you much with this program, either because we lack the in-house experience, or because it is a test installation. In general, these types of installations are untested, and will not be updated unless you send a request to NSC.

Please see the page describing our software support categories for more information.
You can also contact for further information.

OpenFOAM is a free, open source software for computational fluid dynamics (CFD) Official homepage:

Name of the binary

Many binaries will be on your PATH once the module is loaded.

How to run

Load the OpenFOAM module corresponding to the version you want to use, e.g

module load OpenFOAM/2.2.2

NEW: From version 5.0 onward, you have to source the OpenFOAM bashrc file to set the OpenFOAM environment variables:

source $FOAM_BASHRC 

Then launch using “mpprun” for mpi binary, e.g

mpprun /path/to/OpenFOAM/mpibinary

Example of Job script

#SBATCH --exclusive
blockMesh -case damBreak
setFields -case damBreak
decomposePar -case damBreak
mpprun /software/apps/OpenFOAM/2.2.2/i1214/OpenFOAM-2.2.2/platforms/linux64IccDPOpt/bin/interFoam -parallel -case damBreak &> result.out