mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: EP:1070. Adding check for coupled patches in faceReflecting
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2018-2019 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -412,6 +412,10 @@ void Foam::faceReflecting::calculate()
|
||||
|
||||
// Fill patchr
|
||||
forAll(patchr, patchi)
|
||||
{
|
||||
const polyPatch& pp = patches[patchi];
|
||||
|
||||
if (!pp.coupled() && !isA<cyclicAMIPolyPatch>(pp))
|
||||
{
|
||||
for (label bandI = 0; bandI < nBands; bandI++)
|
||||
{
|
||||
@ -432,6 +436,7 @@ void Foam::faceReflecting::calculate()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
List<scalarField> r(nBands);
|
||||
for (label bandI = 0; bandI < nBands; bandI++)
|
||||
|
||||
Reference in New Issue
Block a user