snappyHexMeshConfig: clean surfaces to improve closedness test

This commit is contained in:
Chris Greenshields
2023-07-20 18:08:47 +01:00
parent 1608401ee6
commit 55e5b17d92

View File

@ -88,6 +88,8 @@ Foam::meshingSurface::meshingSurface(const fileName& file, const Time& time)
triSurface(path_/file_)
);
surf.cleanup(false);
boundBox_ = Foam::boundBox(surf.points(), false);
closed_ = surf.hasVolumeType();
nParts_ = nSurfaceParts(surf);