Get the application from the controlDict where necessary.
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application directory
|
||||
application="laplacianFoam"
|
||||
# Get application name
|
||||
application=`getApplication`
|
||||
|
||||
runAnsysToFoam()
|
||||
{
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application="potentialFoam"
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application="potentialFoam"
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
Reference in New Issue
Block a user