bin/tools/RunFunctions: runParallel now obtains the number of processors from numberOfSubdomains

in decomposeParDict.

This default number of processors may be overridden by the new "-np"
option to runParallel which must be specified before the application
name e.g.:

runParallel -np 4 pisoFoam
This commit is contained in:
Henry Weller
2016-01-27 14:19:25 +00:00
parent cd265693f5
commit b3d47f0423
40 changed files with 73 additions and 83 deletions

View File

@ -39,9 +39,9 @@ runApplication setFields
runApplication decomposePar
runParallel renumberMesh 8 -overwrite
runParallel renumberMesh -overwrite
runParallel $(getApplication) 8
runParallel $(getApplication)
runApplication reconstructPar

View File

@ -13,7 +13,7 @@ application=`getApplication`
runApplication decomposePar -force
# Run
runParallel $application 6
runParallel $application
# Reconstruct
runApplication reconstructPar -noFunctionObjects