Stop meshing if boundarylayer thickness limitation reaches 1e-10

This commit is contained in:
Matthias Hochsteger 2024-10-24 11:32:13 +02:00
parent 600b33edd6
commit be79facdb3

View File

@ -639,6 +639,10 @@ struct GrowthVectorLimiter
for (auto i : Range(3))
EqualizeLimits(smoothing_factors[i_pass]);
for (auto i : Range(growthvectors))
if (limits[i] < 1e-10)
throw NgException("Stop meshing in boundary layer thickness limitation: overlapping regions detected");
if (i_pass == safeties.size() - 1)
FixIntersectingSurfaceTrigs();
}