diff --git a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C index 3e9ec64a87..12db67822b 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C @@ -104,7 +104,7 @@ void pressureInletUniformVelocityFvPatchVectorField::updateCoeffs() pressureInletVelocityFvPatchVectorField::updateCoeffs(); - operator==(patch().nf()*sum(patch().Sf() & *this)/sum(patch().magSf())); + operator==(patch().nf()*gSum(patch().Sf() & *this)/gSum(patch().magSf())); } @@ -115,7 +115,7 @@ void pressureInletUniformVelocityFvPatchVectorField::operator= const fvPatchField& pvf ) { - operator==(patch().nf()*sum(patch().Sf() & pvf)/sum(patch().magSf())); + operator==(patch().nf()*gSum(patch().Sf() & pvf)/gSum(patch().magSf())); }