diff --git a/etc/controlDict b/etc/controlDict index 1334cc1bb1e1e6128f998ecff0a75bb1f92797c1..067fa7361d31448b3475436e71c23b0a368dd857 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -62,6 +62,15 @@ OptimisationSwitches floatTransfer 0; nProcsSimpleSum 0; + // Optional max size (bytes) for unstructured data exchanges. In some + // phases of OpenFOAM it can send over very large data chunks + // (e.g. in parallel load balancing) and some Pstream implementations have + // problems with this. Setting this variable > 0 indicates that the + // data exchange needs to be done in multiple passes, each of maxCommsSize. + // This is not switched on by default since it requires an additional + // global reduction, even if multi-pass is not needed) + maxCommsSize 0; + // Force dumping (at next timestep) upon signal (-1 to disable) writeNowSignal -1; // 10;