Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The benefit of providing OpenFOAM as containers is that older versions installations are easier to manage. And the containerised modules allow to access the containerised OpenFOAM solvers and tools is as if they were common bare-metal installations. With this, users won't need to use specific commands from the Singularity container engine. So, for example, a first access test of the classical pimpleFoam solver inside some of the provided containers would be:

Column
width900px


Code Block
languagebash
themeDJango
titleTerminal 1. Load an OpenFOAM module of a containerised installation and execute a test on a solver
$ module load openfoam-org-container/8
$ pimpleFoam -help

Usage: pimpleFoam [OPTIONS]
options:
  -case <dir>       specify alternate case directory, default is the cwd
  -fileHandler <handler>
                    override the fileHandler
  -hostRoots <(((host1 dir1) .. (hostN dirN))>
                    slave root directories (per host) for distributed running
  -libs <(lib1 .. libN)>
                    pre-load libraries
...
  -srcDoc           display source code in browser
  -doc              display application documentation in browser
  -help             print the usage

Using: OpenFOAM-8 (see https://openfoam.org)
Build: 8-30b264cc33cd


(When accessing Of course, when using a bare metal installation and not a containerised one, then call a simply load the bare metal OpenFOAM module.)

The same applies to the use of OpenFOAM in Slurm batch scripts, where OpenFOAM tools and solvers are directly accessible with their basic name after loading the module.

...