diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C index 2562cc496a..7ff184159b 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fixedMean/fixedMeanFvPatchField.C @@ -36,7 +36,13 @@ Foam::fixedMeanFvPatchField::fixedMeanFvPatchField const dictionary& dict ) : - fixedValueFvPatchField(p, iF), + fixedValueFvPatchField + ( + p, + iF, + dict, + !Pstream::parRun() && p.boundaryMesh().mesh().time().processorCase() + ), meanValue_ ( Function1::New @@ -48,7 +54,10 @@ Foam::fixedMeanFvPatchField::fixedMeanFvPatchField ) ) { - this->evaluate(); + if (Pstream::parRun() || !p.boundaryMesh().mesh().time().processorCase()) + { + this->evaluate(); + } }