Rate This Document
Findability
Accuracy
Completeness
Readability

Installing OpenFOAM v2206

Procedure

  1. 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
  2. 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]

  1. Check the system environment.
    foamSystemCheck

    If "System check: PASS, Can continue to OpenFOAM installation" is displayed, you can continue to install OpenFOAM.

  2. 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.

  3. Perform the verification.
    foamTestTutorial -full incompressible/simpleFoam/pitzDaily

    If the following information is displayed, the verification is successful.