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
This commit is contained in:
Henry Weller
2016-05-13 16:23:02 +01:00
parent ded5f35dd6
commit bd52e35f77
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -149,9 +149,6 @@ int main(int argc, char *argv[])
{ {
Info<< "Time = " << runTime.timeName() << nl << endl; Info<< "Time = " << runTime.timeName() << nl << endl;
// Clear mesh before checking
mesh.clearOut();
// Reconstruct globalMeshData // Reconstruct globalMeshData
mesh.globalData(); mesh.globalData();

View File

@ -438,6 +438,9 @@ Foam::polyMesh::readUpdateState Foam::polyMesh::readUpdate()
points_.transfer(newPoints); points_.transfer(newPoints);
points_.instance() = pointsInst; points_.instance() = pointsInst;
// Calculate the geometry for the patches (transformation tensors etc.)
boundary_.calcGeometry();
// Derived info // Derived info
bounds_ = boundBox(points_); bounds_ = boundBox(points_);