Table of Contents
OpenFOAM is a software environment for computational fluid dynamics (CFD) and related computations.
OpenFOAM provides a C++ library and tools for setting up, meshing, solving, computing properties, and post-processing continuum mechanics, especially computational fluid dynamics. OpenFOAM includes solvers for a number of applications and provides an environment in which users can build their own.
A more detailed description can be found here.
The currently available versions of OpenFOAM in our facilities are:
We provide an automatic configuration script to set up the environment for any version of OpenFOAM. To use it, run the following command in the target machine:
where 300 refers to version 3.0.0, and would be replaced, for instance, by 231 for 2.3.1 or 1606 for v1606+.
You can use this command to print a list of versions available in your current machine:
And this command allows you to check an installation:
OpenFOAM benchmark at Pirineus: actual speed-up (green) and ideal speed-up (blue) vs. number of cores for a calculation (motorBike tutorial) with OpenFOAM 2.0.0 involving 60·106 elements, simpleFOAM solver.
LSF example script
Place the appropriate LSF script in a file (for instance openfoam.lsf) and submit the job with the command