ENH: mixerVesselAMI: split into Allrun and Allrun.pre

This commit is contained in:
mattijs
2013-09-13 09:51:22 +01:00
parent 8f1bc166de
commit 121e4346a4
2 changed files with 21 additions and 9 deletions

View File

@ -25,13 +25,4 @@ runApplication createPatch -overwrite
# Initialize alpha
runApplication setFields
# Decompose
runApplication decomposePar -force
# Run
runParallel $application 6
# Reconstruct
runApplication reconstructPar -noFunctionObjects
# ----------------------------------------------------------------- end-of-file

View File

@ -0,0 +1,21 @@
#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=`getApplication`
./Allrun.pre
# Decompose
runApplication decomposePar -force
# Run
runParallel $application 6
# Reconstruct
runApplication reconstructPar -noFunctionObjects
# ----------------------------------------------------------------- end-of-file