From 3c185e6d431f9debafe3f6f17dbf6d988d79e6e7 Mon Sep 17 00:00:00 2001 From: Henry Weller <http://cfd.direct> Date: Sun, 14 Feb 2016 20:16:32 +0000 Subject: [PATCH] fixedMeanFvPatchField: Updated reading of "meanValue" Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1995 --- .../fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C index 8f5d8f41ba..1637834c9f 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C @@ -49,7 +49,7 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField ) : fixedValueFvPatchField<Type>(p, iF, dict), - meanValue_(Function1<Type>::New(dict.lookup("meanValue"), dict)) + meanValue_(Function1<Type>::New("meanValue", dict)) {} -- GitLab