diff --git a/src/lagrangian/basic/Cloud/Cloud.C b/src/lagrangian/basic/Cloud/Cloud.C index 3773de6606..8c36579974 100644 --- a/src/lagrangian/basic/Cloud/Cloud.C +++ b/src/lagrangian/basic/Cloud/Cloud.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -413,6 +413,12 @@ void Foam::Cloud::autoMap // polyMesh_.clearCellTree(); cellWallFacesPtr_.clear(); + // Ask for the tetBasePtIs to trigger all processors to build + // them, otherwise, if some processors have no particles then + // there is a comms mismatch. + polyMesh_.tetBasePtIs(); + + forAllIter(typename Cloud, *this, pIter) { ParticleType& p = pIter();