tutorials: Use getApplication to set the application rather than hard-coding it

This commit is contained in:
Henry
2011-03-24 21:42:09 +00:00
parent 7db4078ac0
commit e1c9f43c08
24 changed files with 38 additions and 62 deletions

View File

@ -5,8 +5,6 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application="mdEquilibrationFoam"
for caseName in periodicCubeArgon periodicCubeWater
do
(
@ -14,7 +12,7 @@ do
runApplication blockMesh
runApplication mdInitialise
runApplication $application
runApplication `getApplication`
)
done
# ----------------------------------------------------------------- end-of-file