mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -30,7 +30,7 @@ decomposePar -region panelRegion > log.decomposeParPanelRegion 2>&1
|
||||
|
||||
decomposePar -fields > log.decomposePar 2>&1
|
||||
|
||||
runParallel `getApplication` 6
|
||||
runParallel `getApplication`
|
||||
|
||||
paraFoam -touch
|
||||
paraFoam -touch -region panelRegion
|
||||
|
||||
@ -12,6 +12,6 @@ runApplication createPatch -overwrite
|
||||
runApplication decomposePar -force
|
||||
|
||||
# Run
|
||||
runParallel $application 4
|
||||
runParallel $application
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user