diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C index dc4a13b717..2562cc496a 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C @@ -36,7 +36,7 @@ Foam::fixedMeanFvPatchField::fixedMeanFvPatchField const dictionary& dict ) : - fixedValueFvPatchField(p, iF, dict), + fixedValueFvPatchField(p, iF), meanValue_ ( Function1::New @@ -47,7 +47,9 @@ Foam::fixedMeanFvPatchField::fixedMeanFvPatchField dict ) ) -{} +{ + this->evaluate(); +} template diff --git a/tutorials/fluid/helmholtzResonance/0/p b/tutorials/fluid/helmholtzResonance/0/p index 7045a60ad5..34ede9fb39 100644 --- a/tutorials/fluid/helmholtzResonance/0/p +++ b/tutorials/fluid/helmholtzResonance/0/p @@ -29,7 +29,6 @@ boundaryField { type fixedMean; meanValue constant 1 [bar]; - value $internalField; } symmetry