BUG: redistributePar: handle lagrangian in decompose mode. See !605
- only affects recent develop - fixed by supplying invalid casename for non-master ranks
This commit is contained in:
parent
b4b022f283
commit
6c08e995ba
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
@ -34,7 +34,7 @@ purgeWrite 0;
|
||||
|
||||
writeFormat ascii;
|
||||
|
||||
writePrecision 10;
|
||||
writePrecision 16;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user