openfoam/tutorials/lagrangian/MPPICFoam/cyclone/Allrun
2021-03-12 11:40:02 +00:00

21 lines
605 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
[ -d constant/triSurface ] || mkdir -p constant/triSurface
cp -f "$FOAM_TUTORIALS"/resources/geometry/cyclone.stl.gz constant/triSurface
restore0Dir
runApplication blockMesh
runApplication snappyHexMesh -overwrite
runApplication decomposePar
runParallel $(getApplication)
#------------------------------------------------------------------------------