This is the example repository of the "The OpenFOAM Technology Primer" book, version OpenFOAM-v2012.
This offering is not approved or endorsed by OpenCFD Limited, the producer of the OpenFOAM software and owner of the OPENFOAM and OpenCFD trade marks.
The OpenFOAM Technology Primer is available on Zenodo
Tomislav Maric, Jens Hoepken, Kyle Mooney
This example repository follows git tags from OpenFOAM, current version is OpenFOAM-v2012
?> git clone https://gitlab.com/ofbook-/ofprimer.git
?> git checkout OpenFOAM-v2012
Source OpenFOAM's etc/bashrc
, then etc/bashrc
of this project, then run ./Allwmake
. etc/bashrc
./Allwcmake
To set the configuration variable every time a new tab/terminal is opened, source the project's etc/bashrc
file in the $HOME/.bashrc
startup script:
source /path/to/ofprimer/etc/bashrc