mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: snappyHexMesh: parallel consistency. Fixes #2331.
Coupled boundary faces should behave as internal faces
This commit is contained in:
@ -737,6 +737,13 @@ void Foam::meshRefinement::getZoneFaces
|
||||
nBaffles.setSize(zoneIDs.size());
|
||||
nBaffles = Zero;
|
||||
|
||||
|
||||
//- Get per face whether it is internal or coupled
|
||||
const bitSet isInternalOrCoupled
|
||||
(
|
||||
syncTools::getInternalOrCoupledFaces(mesh_)
|
||||
);
|
||||
|
||||
forAll(zoneIDs, j)
|
||||
{
|
||||
label zoneI = zoneIDs[j];
|
||||
@ -756,7 +763,7 @@ void Foam::meshRefinement::getZoneFaces
|
||||
forAll(fz, i)
|
||||
{
|
||||
label faceI = fz[i];
|
||||
if (mesh_.isInternalFace(faceI))
|
||||
if (isInternalOrCoupled[faceI])
|
||||
{
|
||||
if (fz.flipMap()[i])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user