30 template<
class CloudType>
34 BirdCorrection_(false)
38 template<
class CloudType>
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);
const dictionary & dict() const
Return const access to the cloud dictionary.
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.
const Switch & BirdCorrection() const
Return the Bird htc correction flag.
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 > &)
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
dimensioned< scalar > mag(const dimensioned< Type > &)
const CloudType & owner() const
Return const access to the owner cloud.
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
virtual scalar Nu(const scalar Re, const scalar Pr) const =0
Nusselt number.
Templated base class for dsmc cloud.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.