Skip to content
Snippets Groups Projects
Commit 4c2af2bb authored by sergio's avatar sergio
Browse files

BUG: Correct initialization for psi and mu for solidThermo

parent b23375ab
Branches
Tags
No related merge requests found
......@@ -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);
}
......
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