Go to the documentation of this file.
42 #ifndef HeatTransferModel_H
43 #define HeatTransferModel_H
59 template<
class CloudType>
60 class HeatTransferModel
62 public CloudSubModelBase<CloudType>
67 const Switch BirdCorrection_;
82 const dictionary&
dict,
97 const dictionary&
dict,
106 virtual autoPtr<HeatTransferModel<CloudType>>
clone()
const = 0;
114 static autoPtr<HeatTransferModel<CloudType>>
New
116 const dictionary&
dict,
126 return BirdCorrection_;
157 #define makeHeatTransferModel(CloudType) \
159 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
160 defineNamedTemplateTypeNameAndDebug \
162 Foam::HeatTransferModel<thermoCloudType>, \
167 defineTemplateRunTimeSelectionTable \
169 HeatTransferModel<thermoCloudType>, \
175 #define makeHeatTransferModelType(SS, CloudType) \
177 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
178 defineNamedTemplateTypeNameAndDebug(Foam::SS<thermoCloudType>, 0); \
180 Foam::HeatTransferModel<thermoCloudType>:: \
181 adddictionaryConstructorToTable<Foam::SS<thermoCloudType>> \
182 add##SS##CloudType##thermoCloudType##ConstructorToTable_;
HeatTransferModel(CloudType &owner)
Construct null from owner.
virtual ~HeatTransferModel()
Destructor.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
declareRunTimeSelectionTable(autoPtr, HeatTransferModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
virtual scalar Nu(const scalar Re, const scalar Pr) const =0
Nusselt number.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
bool BirdCorrection() const
The Bird HTC correction flag.
DSMCCloud< dsmcParcel > CloudType
TypeName("heatTransferModel")
Runtime type information.
Macros to ease declaration of run-time selection tables.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
scalarField Re(const UList< complex > &cf)
Extract real component.
virtual autoPtr< HeatTransferModel< CloudType > > clone() const =0
Construct and return a clone.
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
static autoPtr< HeatTransferModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.