Installing OpenFOAM v2206
Procedure
- Download the source package and decompress it.
cd /path/to/OpenFOAM wget https://dl.openfoam.com/source/v2206/OpenFOAM-v2206.tgz wget https://dl.openfoam.com/source/v2206/ThirdParty-v2206.tgz tar -xvf OpenFOAM-v2206.tgz tar -xvf ThirdParty.v2206.tgz
- Set the environment variables.
source OpenFOAM-v2206/etc/bashrc
The following warning is displayed. Ignore it.
No comletions for /path/to/OpenFOAM/OpenFOAM-v2206/platorms/linuxARM64gGccDPInt320pt/bin/
[ignore if OpenFOAM is not yet compiled]
- Check the system environment.
foamSystemCheck
If "System check: PASS, Can continue to OpenFOAM installation" is displayed, you can continue to install OpenFOAM.
- Perform the compilation and installation.
./OpenFOAM-v2206/Allwmake -j -s -q -l
This will use all kernels (-j), reduced outputs (-s, -silent), queues (-q, -queue), and logs (-l, -log) to record the final output into a file (for example, log.linux64GccDPInt32Opt) for later checks.
- Perform the verification.
foamTestTutorial -full incompressible/simpleFoam/pitzDaily
If the following information is displayed, the verification is successful.

Parent topic: Configuring the Compilation Environment