re-instating Tbp

This commit is contained in:
andy
2009-07-14 11:45:06 +01:00
parent beb66860e1
commit 61a8ed2cd1
3 changed files with 18 additions and 3 deletions

View File

@ -298,7 +298,7 @@ void Foam::ReactingParcel<ParcelType>::calcPhaseChange
dt,
cellI,
d,
T,
min(T, td.constProps().Tbp()), // Limit to boiling temperature
pc_,
this->Tc_,
this->muc_/(this->rhoc_ + ROOTVSMALL),

View File

@ -91,6 +91,9 @@ public:
//- Vaporisation temperature [K]
const scalar Tvap_;
//- Boiling point [K]
const scalar Tbp_;
public:
@ -107,7 +110,10 @@ public:
//- Return const access to the vaporisation temperature
inline scalar Tvap() const;
};
//- Return const access to the boiling point
inline scalar Tbp() const;
};
//- Class used to pass reacting tracking data to the trackToFace function

View File

@ -35,7 +35,8 @@ inline Foam::ReactingParcel<ParcelType>::constantProperties::constantProperties
ThermoParcel<ParcelType>::constantProperties(parentDict),
pMin_(dimensionedScalar(this->dict().lookup("pMin")).value()),
constantVolume_(this->dict().lookup("constantVolume")),
Tvap_(dimensionedScalar(this->dict().lookup("Tvap")).value())
Tvap_(dimensionedScalar(this->dict().lookup("Tvap")).value()),
Tbp_(dimensionedScalar(this->dict().lookup("Tbp")).value())
{}
@ -145,6 +146,14 @@ Foam::ReactingParcel<ParcelType>::constantProperties::Tvap() const
}
template<class ParcelType>
inline Foam::scalar
Foam::ReactingParcel<ParcelType>::constantProperties::Tbp() const
{
return Tbp_;
}
// * * * * * * * * * * * trackData Member Functions * * * * * * * * * * * * //
template<class ParcelType>