tutorials/incompressible/porousSimpleFoam/straightDuctImplicit: Only run if FOAMY_HEX_MESH set
This commit is contained in:
parent
43183115b2
commit
019c14b8cf
1 changed files with 5 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue