TUT: redistributePar does not write dummy meshes anymore.

This commit is contained in:
mattijs 2023-12-07 10:22:31 +00:00
parent 0d16e1a7c6
commit 8cd22c1a83

View File

@ -24,13 +24,16 @@ runParallel -s random icoFoam
# Pick up last result
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
# Run a bit more
runParallel -s 5 $decompDict5 icoFoam
# Reconstruct mesh and results
runParallel -s reconstruct -np 5 redistributePar -reconstruct
# Reconstruct mesh and results. Note the time argument to make sure we
# only pick up the new decomposition
runParallel -s reconstruct -np 5 redistributePar -reconstruct -time 0.505:
#------------------------------------------------------------------------------