30 template<
class CloudType>
34 BirdCorrection_(false)
38 template<
class CloudType>
47 BirdCorrection_(this->coeffDict().lookup(
"BirdCorrection"))
51 template<
class CloudType>
58 BirdCorrection_(htm.BirdCorrection_)
64 template<
class CloudType>
71 template<
class CloudType>
74 return BirdCorrection_;
78 template<
class CloudType>
88 const scalar Nu = this->Nu(Re, Pr);
90 scalar htc = Nu*kappa/dp;
92 if (BirdCorrection_ && (
mag(htc) > rootVSmall) && (
mag(NCpW) > rootVSmall))
94 const scalar phit =
min(NCpW/htc, 50);
97 htc *= phit/(
exp(phit) - 1.0);
Templated heat transfer model class.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual ~HeatTransferModel()
Destructor.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
Base class for cloud sub-models.
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
dimensionedScalar exp(const dimensionedScalar &ds)
A class for handling words, derived from string.
HeatTransferModel(CloudType &owner)
Construct null from owner.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
const Switch & BirdCorrection() const
Return the Bird htc correction flag.
dimensioned< scalar > mag(const dimensioned< Type > &)
Templated base class for dsmc cloud.