mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: script cleanup, provide cleanCase0 for commonly used operation
This commit is contained in:
@ -1,32 +1,18 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
||||
|
||||
# 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
|
||||
|
||||
(
|
||||
cd blob || exit
|
||||
./Allrun $*
|
||||
)
|
||||
(
|
||||
cd simpleShapes || exit
|
||||
./Allrun $*
|
||||
)
|
||||
( cd blob && ./Allrun $* )
|
||||
( cd simpleShapes && ./Allrun $* )
|
||||
|
||||
if ! isTest $@
|
||||
then
|
||||
(
|
||||
cd flange || exit
|
||||
./Allrun $*
|
||||
)
|
||||
(
|
||||
cd mixerVessel || exit
|
||||
./Allrun $*
|
||||
)
|
||||
( cd flange && ./Allrun $* )
|
||||
( cd mixerVessel && ./Allrun $* )
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user