From 5e7c0aaac11390e9066c4cd44ac97f771c993fa1 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Tue, 5 Mar 2019 12:07:19 +0000 Subject: [PATCH] swirlFlowRateInletVelocityFvPatchVectorField: Added reduction to patch size Resolves bug-report https://bugs.openfoam.org/view.php?id=3185 --- .../swirlFlowRateInletVelocityFvPatchVectorField.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/swirlFlowRateInletVelocity/swirlFlowRateInletVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/swirlFlowRateInletVelocity/swirlFlowRateInletVelocityFvPatchVectorField.C index 367474ded1..f921c67ce0 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/swirlFlowRateInletVelocity/swirlFlowRateInletVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/swirlFlowRateInletVelocity/swirlFlowRateInletVelocityFvPatchVectorField.C @@ -65,7 +65,7 @@ swirlFlowRateInletVelocityFvPatchVectorField dict.lookupOrDefault ( "origin", - patch().size() + returnReduce(patch().size(), sumOp