unityLewisFourier,unityLewisEddyDiffusivity: Changed the specie diffusivity to be based on the enthalpy diffusivity

such that the Lewis number is unity with respect to enthalpy even when solving
for internal energy providing more consistent behaviour between the energy
choices.
This commit is contained in:
Henry Weller
2021-06-11 12:06:01 +01:00
parent 0ea1b2cb00
commit 8106c1bef4
2 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ public:
return volScalarField::New
(
"DEff",
this->alphaEff()
this->thermo().alpha()
);
}
@ -125,7 +125,7 @@ public:
const label patchi
) const
{
return this->alphaEff(patchi);
return this->thermo().alpha(patchi);
}
//- Return the heat flux [W/m^2]

View File

@ -185,7 +185,7 @@ public:
return volScalarField::New
(
"DEff",
alphaEff()
this->thermo().alpha() + alphat()
);
}
@ -197,7 +197,7 @@ public:
const label patchi
) const
{
return alphaEff(patchi);
return this->thermo().alpha(patchi) + alphat(patchi);
}
//- Return the heat flux [W/m^2]