mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: distanceSurface has gaps in mesh (#1374)
- need to be more generous when prefiltering the cell selection
This commit is contained in:
committed by
Andrew Heather
parent
658d660333
commit
bb35d784a2
@ -209,6 +209,9 @@ void Foam::distanceSurface::createGeometry()
|
|||||||
cellBb.clear();
|
cellBb.clear();
|
||||||
cellBb.add(fvm.points(), fvm.cellPoints(i));
|
cellBb.add(fvm.points(), fvm.cellPoints(i));
|
||||||
|
|
||||||
|
// Expand slightly to catch corners
|
||||||
|
cellBb.inflate(0.1);
|
||||||
|
|
||||||
if (!cellBb.contains(nearest[i].hitPoint()))
|
if (!cellBb.contains(nearest[i].hitPoint()))
|
||||||
{
|
{
|
||||||
ignoreCells.set(i);
|
ignoreCells.set(i);
|
||||||
|
|||||||
Reference in New Issue
Block a user