Set up multiSoverTutorial to be run in parallel
This commit is contained in:
parent
552dc1fadb
commit
9a5893c31a
2 changed files with 26 additions and 0 deletions
8
tutorials/multiSolver/multiSolverDemo/parTeeFitting2d/Allclean
Executable file
8
tutorials/multiSolver/multiSolverDemo/parTeeFitting2d/Allclean
Executable 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
|
18
tutorials/multiSolver/multiSolverDemo/parTeeFitting2d/Allrun
Executable file
18
tutorials/multiSolver/multiSolverDemo/parTeeFitting2d/Allrun
Executable 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
|
Reference in a new issue