From 40e0fb2eacb1b35991fa5d84464b6e872c4cd355 Mon Sep 17 00:00:00 2001 From: Andrew Heather Date: Thu, 22 Dec 2016 10:09:12 +0000 Subject: [PATCH] ENH: Field function objects using fieldExpression - tidied outpu. See #359 --- src/functionObjects/field/CourantNo/CourantNo.C | 2 +- src/functionObjects/field/blendingFactor/blendingFactor.C | 3 +-- .../field/fieldExpression/fieldExpressionTemplates.C | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/functionObjects/field/CourantNo/CourantNo.C b/src/functionObjects/field/CourantNo/CourantNo.C index 617356f6ca..7e21b4ab4e 100644 --- a/src/functionObjects/field/CourantNo/CourantNo.C +++ b/src/functionObjects/field/CourantNo/CourantNo.C @@ -83,7 +83,7 @@ bool Foam::functionObjects::CourantNo::calc() ) ); - if (foundObject(resultName_)) + if (foundObject(resultName_, false)) { volScalarField& Co ( diff --git a/src/functionObjects/field/blendingFactor/blendingFactor.C b/src/functionObjects/field/blendingFactor/blendingFactor.C index de66522a2f..4c5bcc592b 100644 --- a/src/functionObjects/field/blendingFactor/blendingFactor.C +++ b/src/functionObjects/field/blendingFactor/blendingFactor.C @@ -171,8 +171,7 @@ bool Foam::functionObjects::blendingFactor::write() reduce(nCellsScheme2, sumOp