From f5e689c6a8afcac0066f1efc92cbaddf07ffff65 Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Mon, 4 Jan 2021 14:42:10 +0000 Subject: [PATCH] BUG: redistributePar: symmetric logic. Fixes #1973. --- .../parallelProcessing/redistributePar/redistributePar.C | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C index e7c58ad4624..b2d6547dedd 100644 --- a/applications/utilities/parallelProcessing/redistributePar/redistributePar.C +++ b/applications/utilities/parallelProcessing/redistributePar/redistributePar.C @@ -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); } -- GitLab