mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Fixing valueDiff calculation
This commit is contained in:
@ -280,7 +280,7 @@ void Foam::activePressureForceBaffleVelocityFvPatchVectorField::updateCoeffs()
|
||||
|
||||
if (!fBased_) //pressure based then weighted by area
|
||||
{
|
||||
valueDiff =/ patch().magSf();
|
||||
valueDiff = valueDiff/gSum(patch().magSf());
|
||||
}
|
||||
|
||||
reduce(valueDiff, sumOp<scalar>());
|
||||
|
||||
Reference in New Issue
Block a user