
OpenFOAM case structure
The typical structure of an OpenFOAM simulation case is shown as:
$case case root directory├─constant polyhedral mesh and transport properties│ ├─polyMesh│ ├─transportProperties│ └─...├─0 initial and boundary conditions│ ├─p│ ├─U│ └─...└─system config.s of time, io, flow and sparse linear system solving ├─controlDict time and io controls ├─fvSchemes FVM operator schemes ├─fvSolution flow and sparse linear system solving algorithms └─...
Slurm job script
Slurm’s sbatch command is used for job submission on LS5,i.e.
1 |
sbatch $yourJobScriptFileName |
Serial job
The job script below requests a serial job and 48 hours of run time in the normal queue:
1 |
|
Parallel job
The job script below requests a parallel job with 8 threads spread over 1 node and 48 hours of run time in the normal queue:
1 |
|
It should be noted that each LS5 computational node has totally 24 threads, once the total number of mpi tasks -n exceeds 24, one more computational nodes -N should be requested.
This post is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) License.




近期评论