BUG: redistributePar: symmetric logic. Fixes #1973.

This commit is contained in:
mattijs 2021-01-04 14:42:10 +00:00
parent 0723bcbf8a
commit f5e689c6a8

View File

@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2017 OpenFOAM Foundation
Copyright (C) 2015-2020 OpenCFD Ltd.
Copyright (C) 2015-2021 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -813,7 +813,9 @@ void correctCoupledBoundaryConditions(fvMesh& mesh)
for (auto& pfld : bfld)
{
if (pfld.patch().coupled())
const auto& fvp = pfld.patch();
if (fvp.coupled() && !isA<cyclicACMIFvPatch>(fvp))
{
pfld.evaluate(Pstream::defaultCommsType);
}