diff --git a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriverFeature.C b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriverFeature.C index cecee33cef..37e61cbbb7 100644 --- a/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriverFeature.C +++ b/src/mesh/autoMesh/autoHexMesh/autoHexMeshDriver/autoSnapDriverFeature.C @@ -767,7 +767,7 @@ void Foam::autoSnapDriver::binFeatureFace ) const { // What to do with very far attraction? For now just ignore the face - if (magSqr(faceDisp) < sqr(snapDist)) + if (magSqr(faceDisp) < sqr(snapDist) && mag(faceSurfaceNormal) > VSMALL) { const point pt = fc + faceDisp;