BUG: redistributePar: symmetric logic. Fixes #1973.
This commit is contained in:
parent
0723bcbf8a
commit
f5e689c6a8
@ -6,7 +6,7 @@
|
|||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright (C) 2011-2017 OpenFOAM Foundation
|
Copyright (C) 2011-2017 OpenFOAM Foundation
|
||||||
Copyright (C) 2015-2020 OpenCFD Ltd.
|
Copyright (C) 2015-2021 OpenCFD Ltd.
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
This file is part of OpenFOAM.
|
This file is part of OpenFOAM.
|
||||||
@ -813,7 +813,9 @@ void correctCoupledBoundaryConditions(fvMesh& mesh)
|
|||||||
|
|
||||||
for (auto& pfld : bfld)
|
for (auto& pfld : bfld)
|
||||||
{
|
{
|
||||||
if (pfld.patch().coupled())
|
const auto& fvp = pfld.patch();
|
||||||
|
|
||||||
|
if (fvp.coupled() && !isA<cyclicACMIFvPatch>(fvp))
|
||||||
{
|
{
|
||||||
pfld.evaluate(Pstream::defaultCommsType);
|
pfld.evaluate(Pstream::defaultCommsType);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user