mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Corrected porosity model functions
This commit is contained in:
@ -155,7 +155,7 @@ Foam::tmp<Foam::vectorField> Foam::porosityModel::porosityModel::force
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::porosityModel::porosityModel::addResistance
|
void Foam::porosityModel::addResistance
|
||||||
(
|
(
|
||||||
fvVectorMatrix& UEqn
|
fvVectorMatrix& UEqn
|
||||||
) const
|
) const
|
||||||
@ -169,7 +169,7 @@ void Foam::porosityModel::porosityModel::addResistance
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::porosityModel::porosityModel::addResistance
|
void Foam::porosityModel::addResistance
|
||||||
(
|
(
|
||||||
fvVectorMatrix& UEqn,
|
fvVectorMatrix& UEqn,
|
||||||
const volScalarField& rho,
|
const volScalarField& rho,
|
||||||
@ -185,7 +185,7 @@ void Foam::porosityModel::porosityModel::addResistance
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::porosityModel::porosityModel::addResistance
|
void Foam::porosityModel::addResistance
|
||||||
(
|
(
|
||||||
const fvVectorMatrix& UEqn,
|
const fvVectorMatrix& UEqn,
|
||||||
volTensorField& AU,
|
volTensorField& AU,
|
||||||
@ -209,14 +209,14 @@ void Foam::porosityModel::porosityModel::addResistance
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool Foam::porosityModel::porosityModel::movePoints()
|
bool Foam::porosityModel::movePoints()
|
||||||
{
|
{
|
||||||
// no updates necessary; all member data independent of mesh
|
// no updates necessary; all member data independent of mesh
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Foam::porosityModel::porosityModel::updateMesh(const mapPolyMesh& mpm)
|
void Foam::porosityModel::updateMesh(const mapPolyMesh& mpm)
|
||||||
{
|
{
|
||||||
// no updates necessary; all member data independent of mesh
|
// no updates necessary; all member data independent of mesh
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user