tutorials/incompressible/porousSimpleFoam/straightDuctImplicit: Only run if FOAMY_HEX_MESH set

This commit is contained in:
Henry Weller
2017-07-25 23:05:44 +01:00
parent 793aa95738
commit d800287447

View File

@ -4,8 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
./Allrun.pre
if [ -n "$FOAMY_HEX_MESH" ]
then
./Allrun.pre
runApplication `getApplication`
runApplication `getApplication`
fi
#------------------------------------------------------------------------------