mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
ENH: Tutorials - updated use of -log to use -s
This commit is contained in:
@ -10,27 +10,27 @@ runApplication blockMesh
|
||||
#runApplication decomposePar
|
||||
|
||||
# redistributePar to do decomposition
|
||||
runParallel redistributePar 2 -decompose
|
||||
runParallel redistributePar -decompose
|
||||
|
||||
# Bit of renumbering and running
|
||||
runParallel -log log.renumberMesh-CuthillMcKee renumberMesh 2 -overwrite
|
||||
runParallel -log log.icoFoam-CuthillMcKee icoFoam 2
|
||||
runParallel -s CuthillMcKee renumberMesh -overwrite
|
||||
runParallel -s CuthillMcKee icoFoam
|
||||
|
||||
# Bit of bad renumbering and running
|
||||
runParallel -log log.renumberMesh-parallel renumberMesh 2 -overwrite -dict system/renumberMeshDict-random
|
||||
runParallel -log log.icoFoam-random icoFoam 2
|
||||
runParallel -s random renumberMesh -overwrite -dict system/renumberMeshDict-random
|
||||
runParallel -s random icoFoam
|
||||
|
||||
# Pick up last result
|
||||
cp system/controlDict-latestTime system/controlDict
|
||||
|
||||
# Redistribute to 5 processors
|
||||
runParallel -log log.redistributePar-5 redistributePar 5 -decomposeParDict system/decomposeParDict-5 -cellDist
|
||||
runParallel -s 5 redistributePar -np 5 -decomposeParDict system/decomposeParDict-5 -cellDist
|
||||
|
||||
# Run a bit more
|
||||
runParallel -log log.icoFoam-5 icoFoam 5 -decomposeParDict system/decomposeParDict-5
|
||||
runParallel -s 5 icoFoam -np 5 -decomposeParDict system/decomposeParDict-5
|
||||
|
||||
# Reconstruct mesh and results
|
||||
runParallel -log log.redistributePar-1 redistributePar 5 -reconstruct -decomposeParDict system/decomposeParDict
|
||||
runParallel -s 1 redistributePar -np 5 -reconstruct -decomposeParDict system/decomposeParDict
|
||||
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user