Skip to content
Snippets Groups Projects
Commit 658485a6 authored by andy's avatar andy
Browse files

BUG: corrected lagrangian evaporation models after changes to he thermo

parent 734f853c
Branches
Tags
No related merge requests found
...@@ -216,7 +216,7 @@ Foam::scalar Foam::LiquidEvaporation<CloudType>::dh ...@@ -216,7 +216,7 @@ Foam::scalar Foam::LiquidEvaporation<CloudType>::dh
} }
case (parent::etEnthalpyDifference): case (parent::etEnthalpyDifference):
{ {
scalar hc = this->owner().composition().carrier().Hs(idc, p, T); scalar hc = this->owner().composition().carrier().Ha(idc, p, T);
scalar hp = liquids_.properties()[idl].h(p, T); scalar hp = liquids_.properties()[idl].h(p, T);
dh = hc - hp; dh = hc - hp;
......
...@@ -171,8 +171,8 @@ void Foam::LiquidEvaporationBoil<CloudType>::calculate ...@@ -171,8 +171,8 @@ void Foam::LiquidEvaporationBoil<CloudType>::calculate
forAll(this->owner().thermo().carrier().Y(), i) forAll(this->owner().thermo().carrier().Y(), i)
{ {
scalar Yc = this->owner().thermo().carrier().Y()[i][cellI]; scalar Yc = this->owner().thermo().carrier().Y()[i][cellI];
Hc += Yc*this->owner().thermo().carrier().Hs(i, pc, Tc); Hc += Yc*this->owner().thermo().carrier().Ha(i, pc, Tc);
Hsc += Yc*this->owner().thermo().carrier().Hs(i, ps, Ts); Hsc += Yc*this->owner().thermo().carrier().Ha(i, ps, Ts);
Cpc += Yc*this->owner().thermo().carrier().Cp(i, ps, Ts); Cpc += Yc*this->owner().thermo().carrier().Cp(i, ps, Ts);
kappac += Yc*this->owner().thermo().carrier().kappa(i, ps, Ts); kappac += Yc*this->owner().thermo().carrier().kappa(i, ps, Ts);
} }
...@@ -315,7 +315,7 @@ Foam::scalar Foam::LiquidEvaporationBoil<CloudType>::dh ...@@ -315,7 +315,7 @@ Foam::scalar Foam::LiquidEvaporationBoil<CloudType>::dh
} }
case (parent::etEnthalpyDifference): case (parent::etEnthalpyDifference):
{ {
scalar hc = this->owner().composition().carrier().Hs(idc, p, TDash); scalar hc = this->owner().composition().carrier().Ha(idc, p, TDash);
scalar hp = liquids_.properties()[idl].h(p, TDash); scalar hp = liquids_.properties()[idl].h(p, TDash);
dh = hc - hp; dh = hc - hp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment