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);
Base class for cloud sub-models.
Templated base class for dsmc cloud.
Templated heat transfer model class.
virtual ~HeatTransferModel()
Destructor.
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
HeatTransferModel(CloudType &owner)
Construct null from owner.
const Switch & BirdCorrection() const
Return the Bird htc correction flag.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
dimensionedScalar exp(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensioned< scalar > mag(const dimensioned< Type > &)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
scalarField Re(const UList< complex > &cf)