mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: wall distance: select wall-point connected cells. See #3215
This commit is contained in:
@ -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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user