OpenFOAM (for "Open-source Field Operation And Manipulation") is a C++ toolbox for the development of customized numerical solvers, and pre-/post-processing utilities for the solution of continuum mechanics problems, including computational fluid dynamics (CFD).
1. Download OpenFOAM v1818 v1906 from below links:
- https://sourceforge.net/projects/openfoamplusopenfoam/files/v1812v1906/OpenFOAM-v1812-v1906.tgz
- https://sourceforge.net/projects/openfoam/files/v1906/ThirdParty-v1906.tgz
Code Block |
---|
$ wget https://sourceforge.net/projects/ |
...
openfoam/files/v1906/OpenFOAM-v1906.tgz $ wget https://sourceforge.net/projects/openfoam/files/ |
...
v1906/ThirdParty- |
...
v1906.tgz |
2. Extract the files and edit OpenFOAM-v1812v1906/etc/bashrc to choose which MPI to use.
...
suit your configuration. See OpenFoam v1906 /etc/bashrc file for details.
3. Make sure to set WM_LABEL_SIZE=32 & WM_PRECISION_OPTION=DP
...