porousBafflePressureFvPatchField: Corrected handling of mass-flux
Resolves the bug-report http://www.openfoam.org/mantisbt/view.php?id=1934
This commit is contained in:
parent
a3301464bd
commit
27e8b3d282
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ void Foam::porousBafflePressureFvPatchField::updateCoeffs()
|
||||||
|
|
||||||
scalarField Un(phip/patch().magSf());
|
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_);
|
Un /= patch().lookupPatchField<volScalarField, scalar>(rhoName_);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue