BUG: parcel phase change - bypass calc if phase fraction < SMALL - mantis #1298
This commit is contained in:
parent
0eb39ebe0f
commit
71ff5ebd12
1 changed files with 2 additions and 2 deletions
|
|
@ -60,14 +60,14 @@ void Foam::ReactingParcel<ParcelType>::calcPhaseChange
|
|||
typedef typename TrackData::cloudType::reactingCloudType reactingCloudType;
|
||||
PhaseChangeModel<reactingCloudType>& phaseChange = td.cloud().phaseChange();
|
||||
|
||||
if (!phaseChange.active())
|
||||
if (!phaseChange.active() || (YPhase < SMALL))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
scalar Tvap = phaseChange.Tvap(YComponents);
|
||||
|
||||
if (T < Tvap || YPhase < SMALL)
|
||||
if (T < Tvap)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue