Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev

This commit is contained in:
Henry Weller
2024-05-24 10:31:55 +01:00

View File

@ -36,7 +36,13 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField
const dictionary& dict const dictionary& dict
) )
: :
fixedValueFvPatchField<Type>(p, iF), fixedValueFvPatchField<Type>
(
p,
iF,
dict,
!Pstream::parRun() && p.boundaryMesh().mesh().time().processorCase()
),
meanValue_ meanValue_
( (
Function1<Type>::New Function1<Type>::New
@ -48,7 +54,10 @@ Foam::fixedMeanFvPatchField<Type>::fixedMeanFvPatchField
) )
) )
{ {
this->evaluate(); if (Pstream::parRun() || !p.boundaryMesh().mesh().time().processorCase())
{
this->evaluate();
}
} }