diff --git a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C index a69ed17a8e..6f36d2725e 100644 --- a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C +++ b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C @@ -2858,7 +2858,19 @@ int main(int argc, char *argv[]) InfoOrPout << "Setting caseName to " << baseRunTime.caseName() << " to read lagrangian" << endl; - runTime.caseName() = baseRunTime.caseName(); + if (UPstream::master()) + { + // Change case name but only on the master - this will + // hopefully cause the slaves to not read. + runTime.caseName() = baseRunTime.caseName(); + } + else + { + // Explicitly make sure that casename is not recognised as + // a processor case since that has special handling for + // caching processor directories etc. + runTime.caseName() = "#invalid-name#"; + } runTime.processorCase(false); } diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun index 0581bacdfd..4e637595a0 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun @@ -9,10 +9,10 @@ runApplication blockMesh runApplication dsmcInitialise -runParallel redistributePar -decompose -overwrite -withZero +runParallel -s decompose redistributePar -decompose -overwrite -withZero runParallel $(getApplication) -runApplication reconstructPar +runParallel -s reconstruct redistributePar -reconstruct #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict index 1a86dad3d0..2920b1b98b 100644 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/system/controlDict @@ -34,7 +34,7 @@ purgeWrite 0; writeFormat ascii; -writePrecision 10; +writePrecision 16; writeCompression off;