TUT: redistributePar does not write dummy meshes anymore.
This commit is contained in:
parent
0d16e1a7c6
commit
8cd22c1a83
@ -24,13 +24,16 @@ runParallel -s random icoFoam
|
|||||||
# Pick up last result
|
# Pick up last result
|
||||||
cp system/controlDict-latestTime system/controlDict
|
cp system/controlDict-latestTime system/controlDict
|
||||||
|
|
||||||
# Redistribute to 5 processors
|
# Redistribute to 5 processors. Note that new processors only get written
|
||||||
|
# a mesh to the current time (0.505). Use -overwrite instead to write the
|
||||||
|
# mesh to constant.
|
||||||
runParallel -s 5 $decompDict5 redistributePar -cellDist
|
runParallel -s 5 $decompDict5 redistributePar -cellDist
|
||||||
|
|
||||||
# Run a bit more
|
# Run a bit more
|
||||||
runParallel -s 5 $decompDict5 icoFoam
|
runParallel -s 5 $decompDict5 icoFoam
|
||||||
|
|
||||||
# Reconstruct mesh and results
|
# Reconstruct mesh and results. Note the time argument to make sure we
|
||||||
runParallel -s reconstruct -np 5 redistributePar -reconstruct
|
# only pick up the new decomposition
|
||||||
|
runParallel -s reconstruct -np 5 redistributePar -reconstruct -time 0.505:
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user