Set up multiSoverTutorial to be run in parallel

This commit is contained in:
Bernhard F.W. Gschaider 2014-06-06 16:36:06 +02:00
parent 552dc1fadb
commit 9a5893c31a
2 changed files with 26 additions and 0 deletions

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,18 @@
#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=multiSolverDemo
runApplication blockMesh
runApplication -llog.multiSolver.preDecompose multiSolver -preDecompose
runApplication decomposePar
runApplication -llog.multiSolver.postDecompose multiSolver -postDecompose
runParallel $application 2
runApplication -llog.multiSolver.preReconstruct multiSolver -preReconstruct
runApplication reconstructPar
runApplication -llog.multiSolver.postReconstruct multiSolver -postReconstruct