OpenFOAM
The aim of this guide is to provide basic information and example job scripts for how to run OpenFOAM on the University of Bristol HPC system BlueCrystal Phase 4.
Note
The content of this guide is open source, and contributions are welcomed from the OpenFOAM user community! If you see something wrong in this guide or have something to add, then please see here for how to get involved and contribute.
Some basic familiarity with the Linux command line and remote HPC systems is assumed; if you are unfamiliar or need a refresher, then the following courses are recommended:
You may also want to refer to the official OpenFOAM documentation.
Setup
OpenFOAM is available as a module on BlueCrystal Phase 4, and you can search the modules available using
$ module avail openfoam
To load the module of version 6 into the shell environment use
$ module load apps/openfoam/6
You can verify if OpenFOAM has been setup correctly by running the following command:
$ icoFoam -help
Get started
The tutorials in the following link introduce the basic procedures of running OpenFOAM:
Note
Using ParaView with OpenFOAM on BlueCrystal Phase 4 requires additional setup, which is not covered in this documentation.
Running Jobs
OpenFOAM should be run on BlueCrystal Phase 4 by submitting jobs to Slurm, introduced in the following sections.