diff --git a/src/meshTools/searchableSurface/searchableSphere.C b/src/meshTools/searchableSurface/searchableSphere.C index 04f3f2f2b52c0f410487a6b68a13518682be0a80..74ac1929a6cc7968883451b715745fc4bb9d1c1a 100644 --- a/src/meshTools/searchableSurface/searchableSphere.C +++ b/src/meshTools/searchableSurface/searchableSphere.C @@ -292,7 +292,8 @@ void Foam::searchableSphere::getNormal if (info[i].hit()) { normal[i] = info[i].hitPoint() - centre_; - normal[i] /= mag(normal[i]); + + normal[i] /= mag(normal[i])+VSMALL; } else {