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
No related branches found
No related tags found
1 merge request!722RELEASE: develop branch to master
...@@ -256,7 +256,7 @@ void Foam::cellDistFuncs::correctBoundaryFaceCells ...@@ -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 ...@@ -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]);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment