Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source code directory.
cd $FOAM_RUN/../applications/dugksFoam
- 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.
- Perform the compilation and installation.
./Allwmake -j 64
Parent topic: dugksFoam 1.0 Porting Guide (Kylin V10)