Skip to content
Snippets Groups Projects
Commit 2c055f2b authored by Henry Weller's avatar Henry Weller
Browse files

porousBafflePressureFvPatchField: Corrected handling of mass-flux

Resolves the bug-report http://www.openfoam.org/mantisbt/view.php?id=1934
parent 6ed6b93c
Branches
Tags
No related merge requests found
......@@ -130,7 +130,7 @@ void Foam::porousBafflePressureFvPatchField::updateCoeffs()
scalarField Un(phip/patch().magSf());
if (phi.dimensions() == dimensionSet(0, 3, -1, 0, 0))
if (phi.dimensions() == dimDensity*dimVelocity*dimArea)
{
Un /= patch().lookupPatchField<volScalarField, scalar>(rhoName_);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment