Get the application from the controlDict where necessary.

This commit is contained in:
henry
2009-07-09 17:44:50 +01:00
parent 4c3c9f2c38
commit 9f46545159
47 changed files with 112 additions and 223 deletions

View File

@ -1,10 +0,0 @@
#!/bin/sh
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
cd nanoNozzle
rm -rf constant/polyMesh/sets
rm -rf processor[0-9]
cleanCase
cd ..

View File

@ -1,19 +0,0 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application="mdFoam"
cd nanoNozzle
runApplication blockMesh
runApplication decomposePar
hostname > system/machines
runParallel mdInitialise 4 system/machines
runParallel $application 4 system/machines
runApplication reconstructPar
cd ..

View File

@ -0,0 +1,8 @@
#!/bin/sh
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
rm -rf constant/polyMesh/sets
rm -rf processor[0-9]
cleanCase

View File

@ -0,0 +1,16 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
runApplication blockMesh
runApplication decomposePar
hostname > system/machines
runParallel mdInitialise 4 system/machines
runParallel $application 4 system/machines
runApplication reconstructPar