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

BUG: Correct initialization for psi and mu for solid thermo

parent da10a8e6
No related branches found
No related tags found
No related merge requests found
...@@ -161,6 +161,8 @@ heSolidThermo ...@@ -161,6 +161,8 @@ heSolidThermo
heThermo<BasicSolidThermo, MixtureType>(mesh, phaseName) heThermo<BasicSolidThermo, MixtureType>(mesh, phaseName)
{ {
calculate(); calculate();
this->mu_ == dimensionedScalar(this->mu_.dimensions(), Zero);
this->psi_ == dimensionedScalar(this->psi_.dimensions(), Zero);
} }
...@@ -176,6 +178,8 @@ heSolidThermo ...@@ -176,6 +178,8 @@ heSolidThermo
heThermo<BasicSolidThermo, MixtureType>(mesh, dict, phaseName) heThermo<BasicSolidThermo, MixtureType>(mesh, dict, phaseName)
{ {
calculate(); calculate();
this->mu_ == dimensionedScalar(this->mu_.dimensions(), Zero);
this->psi_ == dimensionedScalar(this->psi_.dimensions(), Zero);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment