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,7 +5,7 @@ cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set application name
application="multiphaseInterFoam"
application=`getApplication`
runApplication blockMesh
runApplication setFields

View File

@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set application name
application="multiphaseInterFoam"
application=`getApplication`
runApplication blockMesh
runApplication setFields