Skip to content
Snippets Groups Projects
Commit 60e5f0e0 authored by mattijs's avatar mattijs
Browse files

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

parent 14fcd08f
1 merge request!722RELEASE: develop branch to master
......@@ -256,7 +256,7 @@ void Foam::cellDistFuncs::correctBoundaryFaceCells
{
if (areaFraction && (areaFraction()[patchFacei] <= 0.5))
{
// is mostly coupled
// For cyclicACMI: more cyclic than wall
continue;
}
......@@ -311,9 +311,9 @@ void Foam::cellDistFuncs::correctBoundaryPointCells
// Check cells with face on wall
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]);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment