openfoam/tutorials/mesh/foamyHexMesh/Allrun
Mark Olesen 9b1c0786ce TUT: verificationAndValidation Allrun uses bash
STYLE: double-quote "$@" for isTest/notTest
2020-03-30 21:14:29 +02:00

20 lines
647 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# Any cases that are links to solver test cases and are run when the Allrun
# scripts of those solvers are run. This script avoids meshing these cases
# twice.
( cd blob && ./Allrun $* )
( cd simpleShapes && ./Allrun $* )
if notTest "$@"
then
( cd flange && ./Allrun $* )
( cd mixerVessel && ./Allrun $* )
fi
#------------------------------------------------------------------------------