tutorials/mesh/foamy.*Mesh::Allrun: Only run if FOAMY_HEX_MESH set
This commit is contained in:
@ -8,6 +8,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
if [ -n "$FOAMY_HEX_MESH" ]
|
||||
then
|
||||
(
|
||||
cd blob || exit
|
||||
./Allrun $*
|
||||
@ -28,5 +30,6 @@ then
|
||||
./Allrun $*
|
||||
)
|
||||
fi
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
27
tutorials/mesh/foamyQuadMesh/Allrun
Executable file
27
tutorials/mesh/foamyQuadMesh/Allrun
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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 OpenCFD || exit
|
||||
./Allrun $*
|
||||
)
|
||||
(
|
||||
cd square || exit
|
||||
./Allrun $*
|
||||
)
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user