openfoam/tutorials/incompressible/pimpleFoam/laminar/contaminatedDroplet2D/Allrun
2021-06-08 20:15:47 +00:00

27 lines
618 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
if ! canCompile
then
echo "skipping tutorial $PWD"
exit 0
fi
restore0Dir
m4 < ./system/blockMeshDict.m4 > ./system/blockMeshDict
runApplication blockMesh
runApplication makeFaMesh
(cd makePerturbation && wmake)
runApplication makePerturbation
runApplication $(getApplication)
#------------------------------------------------------------------------------