ENH: Tutorials - updated use of -log to use -s

This commit is contained in:
Andrew Heather
2016-04-26 09:31:44 +01:00
parent 51380edd52
commit a7dcf8fc61
6 changed files with 32 additions and 36 deletions

View File

@ -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
# -----------------------------------------------------------------------------