TUT: consistency in Allclean Allrun scripts

This commit is contained in:
Mark Olesen
2018-06-21 15:19:09 +02:00
parent 736d358782
commit 8717f9936e
44 changed files with 161 additions and 187 deletions

View File

@ -1,9 +1,9 @@
#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/CleanFunctions # Tutorial clean functions
cleanCase
rm -rf constant/*/polyMesh 0/cellToRegion 0/*/cellToRegion
#------------------------------------------------------------------------------

View File

@ -1,8 +1,6 @@
#!/bin/sh
cd ${0%/*} || exit 1
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
runApplication blockMesh
@ -18,3 +16,5 @@ runApplication decomposePar -allRegions
runParallel $(getApplication)
runApplication reconstructPar -allRegions -newTimes
#------------------------------------------------------------------------------