From d80028744705050b1ab6a666d84c2e7d962cf6af Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 25 Jul 2017 23:05:44 +0100 Subject: [PATCH] tutorials/incompressible/porousSimpleFoam/straightDuctImplicit: Only run if FOAMY_HEX_MESH set --- .../porousSimpleFoam/straightDuctImplicit/Allrun | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun index f3df03720..b9793e43a 100755 --- a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun +++ b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun @@ -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 #------------------------------------------------------------------------------