mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: snappyHexMesh: growing cellZones. Fixes #1528
This commit is contained in:
@ -2448,6 +2448,19 @@ void Foam::meshRefinement::growCellZone
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix any left-over unvisited cells
|
||||||
|
if (backgroundZoneID != -2)
|
||||||
|
{
|
||||||
|
forAll(cellToZone, celli)
|
||||||
|
{
|
||||||
|
if (cellToZone[celli] == -2)
|
||||||
|
{
|
||||||
|
cellToZone[celli] = backgroundZoneID;
|
||||||
|
nBackgrounded++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Make sure to unset faces of changed cell
|
// Make sure to unset faces of changed cell
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user