33template<
class CloudType>
37 BirdCorrection_(false)
41template<
class CloudType>
50 BirdCorrection_(this->
coeffDict().template get<
Switch>(
"BirdCorrection"))
54template<
class CloudType>
61 BirdCorrection_(htm.BirdCorrection_)
67template<
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);
Base class for cloud sub-models.
const CloudType & owner() const
Return const access to the owner cloud.
CloudSubModelBase(CloudType &owner)
Construct null from owner cloud.
Templated class to calculate the fluid-particle heat transfer coefficients based on a specified Nusse...
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
virtual scalar Nu(const scalar Re, const scalar Pr) const =0
Return Nusselt number.
HeatTransferModel(CloudType &owner)
Construct null from owner.
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 a number of values (eg,...
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
const dictionary & dict() const
Return const access to the cloud dictionary.
A class for handling words, derived from Foam::string.
DSMCCloud< dsmcParcel > CloudType
dimensionedScalar exp(const dimensionedScalar &ds)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
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.
dimensionedScalar Pr("Pr", dimless, laminarTransport)