mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
re-instating Tbp
This commit is contained in:
@ -298,7 +298,7 @@ void Foam::ReactingParcel<ParcelType>::calcPhaseChange
|
|||||||
dt,
|
dt,
|
||||||
cellI,
|
cellI,
|
||||||
d,
|
d,
|
||||||
T,
|
min(T, td.constProps().Tbp()), // Limit to boiling temperature
|
||||||
pc_,
|
pc_,
|
||||||
this->Tc_,
|
this->Tc_,
|
||||||
this->muc_/(this->rhoc_ + ROOTVSMALL),
|
this->muc_/(this->rhoc_ + ROOTVSMALL),
|
||||||
|
|||||||
@ -91,6 +91,9 @@ public:
|
|||||||
//- Vaporisation temperature [K]
|
//- Vaporisation temperature [K]
|
||||||
const scalar Tvap_;
|
const scalar Tvap_;
|
||||||
|
|
||||||
|
//- Boiling point [K]
|
||||||
|
const scalar Tbp_;
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -107,7 +110,10 @@ public:
|
|||||||
|
|
||||||
//- Return const access to the vaporisation temperature
|
//- Return const access to the vaporisation temperature
|
||||||
inline scalar Tvap() const;
|
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
|
//- Class used to pass reacting tracking data to the trackToFace function
|
||||||
|
|||||||
@ -35,7 +35,8 @@ inline Foam::ReactingParcel<ParcelType>::constantProperties::constantProperties
|
|||||||
ThermoParcel<ParcelType>::constantProperties(parentDict),
|
ThermoParcel<ParcelType>::constantProperties(parentDict),
|
||||||
pMin_(dimensionedScalar(this->dict().lookup("pMin")).value()),
|
pMin_(dimensionedScalar(this->dict().lookup("pMin")).value()),
|
||||||
constantVolume_(this->dict().lookup("constantVolume")),
|
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 * * * * * * * * * * * * //
|
// * * * * * * * * * * * trackData Member Functions * * * * * * * * * * * * //
|
||||||
|
|
||||||
template<class ParcelType>
|
template<class ParcelType>
|
||||||
|
|||||||
Reference in New Issue
Block a user