BUG: LiquidEvaporation[Boil] - updated immediate phase change
This commit is contained in:
parent
98cc307aec
commit
f2405e75af
@ -155,7 +155,7 @@ void Foam::LiquidEvaporation<CloudType>::calculate
|
||||
const scalarField X(liquids_.X(Yl));
|
||||
|
||||
// immediately evaporate mass that has reached critical condition
|
||||
if (mag(T - liquids_.Tc(X)) < SMALL)
|
||||
if ((liquids_.Tc(X) - T) < SMALL)
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
|
@ -155,7 +155,7 @@ void Foam::LiquidEvaporationBoil<CloudType>::calculate
|
||||
const scalarField X(liquids_.X(Yl));
|
||||
|
||||
// immediately evaporate mass that has reached critical condition
|
||||
if (mag(T - liquids_.Tc(X)) < SMALL)
|
||||
if ((liquids_.Tc(X) - T) < SMALL)
|
||||
{
|
||||
if (debug)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user