diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C index 13907839f8..6340010ace 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C @@ -91,6 +91,22 @@ int main(int argc, char *argv[]) // Clear mesh before checking mesh.clearOut(); + pointIOField overrideCCs + ( + IOobject + ( + "cellCentres", + runTime.constant(), + runTime, + IOobject::MUST_READ, + IOobject::NO_WRITE + ) + ); + + Info<< "Read " << overrideCCs.size() << " cell centres" << endl; + + mesh.overrideCellCentres(overrideCCs); + // Reconstruct globalMeshData mesh.globalData();