mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
patchInteractionDataList: Ignore empty patches
This commit is contained in:
@ -25,6 +25,7 @@ License
|
|||||||
|
|
||||||
#include "patchInteractionDataList.H"
|
#include "patchInteractionDataList.H"
|
||||||
#include "stringListOps.H"
|
#include "stringListOps.H"
|
||||||
|
#include "emptyPolyPatch.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
@ -74,7 +75,12 @@ Foam::patchInteractionDataList::patchInteractionDataList
|
|||||||
forAll(bMesh, patchI)
|
forAll(bMesh, patchI)
|
||||||
{
|
{
|
||||||
const polyPatch& pp = bMesh[patchI];
|
const polyPatch& pp = bMesh[patchI];
|
||||||
if (!pp.coupled() && applyToPatch(pp.index()) < 0)
|
if
|
||||||
|
(
|
||||||
|
!pp.coupled()
|
||||||
|
&& !isA<emptyPolyPatch>(pp)
|
||||||
|
&& applyToPatch(pp.index()) < 0
|
||||||
|
)
|
||||||
{
|
{
|
||||||
badPatches.append(pp.name());
|
badPatches.append(pp.name());
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,6 +115,11 @@ subModels
|
|||||||
{
|
{
|
||||||
type rebound;
|
type rebound;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"inlet|outlet"
|
||||||
|
{
|
||||||
|
type escape;
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user