mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: snappyHexMesh: detect gaps
This commit is contained in:
@ -1246,7 +1246,17 @@ bool Foam::meshRefinement::isGap
|
||||
|
||||
if (avg != vector::zero)
|
||||
{
|
||||
return true;
|
||||
avg /= mag(avg);
|
||||
|
||||
// Check normal distance of intersection locations
|
||||
if (mag(avg&d) > mergeDistance())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user