diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C index 8f5d8f41ba20061cf263b8dab14af0461ddce6a5..1637834c9fcf48a2185bed2eb96d4c6151fb9865 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)) {}