From 90ba6113b597880dd3200bd37284627302bf9cc7 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Fri, 13 May 2016 16:23:02 +0100 Subject: [PATCH] checkMesh: Updated the closed-ness test for ACMI to use FV Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2088 --- .../utilities/mesh/manipulation/checkMesh/checkMesh.C | 5 +---- src/OpenFOAM/meshes/polyMesh/polyMeshIO.C | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C index b11946a28f..93f4b27288 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -149,9 +149,6 @@ int main(int argc, char *argv[]) { Info<< "Time = " << runTime.timeName() << nl << endl; - // Clear mesh before checking - mesh.clearOut(); - // Reconstruct globalMeshData mesh.globalData(); diff --git a/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C b/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C index 2d41380d22..9682c1b400 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C +++ b/src/OpenFOAM/meshes/polyMesh/polyMeshIO.C @@ -438,6 +438,9 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate() points_.transfer(newPoints); points_.instance() = pointsInst; + // Calculate the geometry for the patches (transformation tensors etc.) + boundary_.calcGeometry(); + // Derived info bounds_ = boundBox(points_); -- GitLab