33 template<
class CloudType>
37 BirdCorrection_(false)
41 template<
class CloudType>
50 BirdCorrection_(this->coeffDict().template
get<
Switch>(
"BirdCorrection"))
54 template<
class CloudType>
61 BirdCorrection_(htm.BirdCorrection_)
67 template<
class CloudType>
77 const scalar Nu = this->Nu(
Re,
Pr);
79 scalar htc = Nu*
kappa/dp;
81 if (BirdCorrection_ && (
mag(htc) > ROOTVSMALL) && (
mag(NCpW) > ROOTVSMALL))
83 const scalar phit =
min(NCpW/htc, 50);
86 htc *= phit/(
exp(phit) - 1.0);
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
List of values generated by applying the access operation to each list item.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Templated class to calculate the fluid-particle heat transfer coefficients based on a specified Nusse...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, any/none. Also accepts 0/1 as a string and shortcuts t/f, y/n.
Base class for cloud sub-models.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
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 Foam::string.
HeatTransferModel(CloudType &owner)
Construct null from owner.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
Templated base class for dsmc cloud.