BUG: wall distance: select wall-point connected cells. See #3215

This commit is contained in:
mattijs
2024-08-22 16:47:29 +01:00
committed by Andrew Heather
parent 69b2a667c9
commit d6df40a5e2

View File

@ -256,7 +256,7 @@ void Foam::cellDistFuncs::correctBoundaryFaceCells
{ {
if (areaFraction && (areaFraction()[patchFacei] <= 0.5)) if (areaFraction && (areaFraction()[patchFacei] <= 0.5))
{ {
// is mostly coupled // For cyclicACMI: more cyclic than wall
continue; continue;
} }
@ -311,9 +311,9 @@ void Foam::cellDistFuncs::correctBoundaryPointCells
// Check cells with face on wall // Check cells with face on wall
forAll(patch, patchFacei) forAll(patch, patchFacei)
{ {
if (!areaFraction || (areaFraction()[patchFacei] <= 0.5)) if (areaFraction && (areaFraction()[patchFacei] <= 0.5))
{ {
// face mostly coupled // For cyclicACMI: more cyclic than wall
isWallPoint.unset(localFaces[patchFacei]); isWallPoint.unset(localFaces[patchFacei]);
} }
} }