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

This commit is contained in:
Henry Weller
2017-07-25 23:04:09 +01:00
parent 43183115b2
commit 019c14b8cf

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
#------------------------------------------------------------------------------