openfoam/tutorials/multiphase/overInterDyMFoam/rigidBodyHull/overset-1/Allrun

24 lines
702 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
mkdir -p constant/triSurface
cp -f \
"$FOAM_TUTORIALS"/resources/geometry/rigidBodyHull/HULL.obj.gz \
constant/triSurface/
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication decomposePar
runParallel snappyHexMesh -overwrite
runParallel redistributePar -reconstruct -constant -overwrite
runApplication renumberMesh -constant -overwrite
#------------------------------------------------------------------------------