Raad2: OpenFoam

From Research Computing @ TAMUQ
Jump to navigation Jump to search


Sample Job File

#!/bin/bash
#SBATCH -J OFsampleJob
#SBATCH -p s_debug
#SBATCH --qos sd
#SBATCH --time=2:00:00
#SBATCH --ntasks=24
#SBATCH --output=OFsampleJob.o%j
#SBATCH --error=OFsampleJob.o%j
#SBATCH --hint=nomultithread

module unload PrgEnv-cray
module load intel/mpi
# The modulefile is currently buggy; please source the openfoam bashrc file directly
source /lustre/sw/xc40ac/openfoam/50/cnl5.2_gcc4.8.5/OpenFOAM/OpenFOAM-5.x/etc/bashrc

decomposePar
srun -n 24 renumberMesh -overwrite
srun -n 24 pisoFoam -parallel >> log
reconstructPar