mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Correct initialization for psi and mu for solidThermo
This commit is contained in:
@ -161,6 +161,8 @@ heSolidThermo
|
||||
heThermo<BasicSolidThermo, MixtureType>(mesh, phaseName)
|
||||
{
|
||||
calculate();
|
||||
this->mu_ == dimensionedScalar("zero", this->mu_.dimensions(), 0.0);
|
||||
this->psi_ == dimensionedScalar("zero", this->psi_.dimensions(), 0.0);
|
||||
}
|
||||
|
||||
|
||||
@ -176,6 +178,8 @@ heSolidThermo
|
||||
heThermo<BasicSolidThermo, MixtureType>(mesh, dict, phaseName)
|
||||
{
|
||||
calculate();
|
||||
this->mu_ == dimensionedScalar("zero", this->mu_.dimensions(), 0.0);
|
||||
this->psi_ == dimensionedScalar("zero", this->psi_.dimensions(), 0.0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user