Purpose: Computational Fluid Dynamics
Latest version: 5.0
Availability: All
Licence: Open Source
Documentation: User's Guide
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.
Licence
OpenFOAM operates under a GNU GPL licence.
Available Versions
The currently available versions of OpenFOAM in our facilities are:
- 1.7.1
- 2.0.0
- 2.2.0
- 2.2.1
- 2.3.1
- 3.0.0
- 1606+
- 4.1
- 1612+
- 5.0
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:
source config_OF 300
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:
config_OF -h
And this command allows you to check an installation:
test_OF 1606
Benchmark
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.