BUG: LiquidEvaporation[Boil] - updated immediate phase change

This commit is contained in:
andy 2013-08-14 12:23:22 +01:00
parent 98cc307aec
commit f2405e75af
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{