diff --git a/applications/utilities/preProcessing/snappyHexMeshConfig/meshingSurface.C b/applications/utilities/preProcessing/snappyHexMeshConfig/meshingSurface.C index 35b1450793..822d1a707d 100644 --- a/applications/utilities/preProcessing/snappyHexMeshConfig/meshingSurface.C +++ b/applications/utilities/preProcessing/snappyHexMeshConfig/meshingSurface.C @@ -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);