Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Go to the source code directory.
    cd $FOAM_RUN/../applications/dugksFoam
  3. Modify the configuration file.
    vi inc/FoamDefs/v2206/foam_defs.h

    For example,

    Before modification:

    #define FOMA_MAJOR v2206

    After modification:

    #define FOMA_MAJOR 10

    Before modification:

    #define FOMA_MINOR

    After modification:

    #define FOMA_MINOR 0

    In this example, 10 indicates the version number of the OpenFOAM community distribution released with OpenFOAM v2206. dugksFoam uses this version number as the benchmark.

  1. Perform the compilation and installation.
    ./Allwmake -j 64