From 8cd22c1a836c7a23c2795f2050381f7e66ce8d7f Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 7 Dec 2023 10:22:31 +0000 Subject: [PATCH] TUT: redistributePar does not write dummy meshes anymore. --- tutorials/mesh/parallel/cavity/Allrun | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tutorials/mesh/parallel/cavity/Allrun b/tutorials/mesh/parallel/cavity/Allrun index 3fd4e2e0e5..75a0ebc376 100755 --- a/tutorials/mesh/parallel/cavity/Allrun +++ b/tutorials/mesh/parallel/cavity/Allrun @@ -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: #------------------------------------------------------------------------------