diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index c813b28cce..266dc991d7 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -437,6 +437,9 @@ void Foam::cyclicAMIPolyPatch::resetAMI(const UList& points) const // Construct/apply AMI interpolation to determine addressing and weights AMIPtr_->upToDate(false); + // Note: e.g. redistributePar might construct the AMI with a different + // worldComm so reset it to the mesh.comm. + AMIPtr_->comm(boundaryMesh().mesh().comm()); AMIPtr_->calculate(patch0, nbrPatch0, surfPtr()); if (debug)