Files
OpenFOAM-6/tutorials/mesh/foamyQuadMesh/Allrun
2018-06-01 11:58:23 +01:00

24 lines
538 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# 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.
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
if [ -n "$FOAMY_HEX_MESH" ]
then
(
cd jaggedBoundary || exit
./Allrun $*
)
(
cd square || exit
./Allrun $*
)
fi
#------------------------------------------------------------------------------