Go to the documentation of this file.
30 template<
class CloudType>
34 BirdCorrection_(false)
38 template<
class CloudType>
47 BirdCorrection_(this->coeffDict().
lookup(
"BirdCorrection"))
51 template<
class CloudType>
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);
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
HeatTransferModel(CloudType &owner)
Construct null from owner.
virtual ~HeatTransferModel()
Destructor.
scalarField Re(const UList< complex > &cf)
Base class for cloud sub-models.
dimensionedScalar exp(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Switch BirdCorrection_
Apply Bird's correction to the htc.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
stressControl lookup("compactNormalStress") >> compactNormalStress
const Switch & BirdCorrection() const
Return the Bird htc correction flag.