Go to the documentation of this file.
41 #ifndef HeatTransferModel_H
42 #define HeatTransferModel_H
58 template<
class CloudType>
59 class HeatTransferModel
61 public CloudSubModelBase<CloudType>
66 const Switch BirdCorrection_;
81 const dictionary&
dict,
96 const dictionary&
dict,
105 virtual autoPtr<HeatTransferModel<CloudType>>
clone()
const = 0;
113 static autoPtr<HeatTransferModel<CloudType>>
New
115 const dictionary&
dict,
155 #define makeHeatTransferModel(CloudType) \
157 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
158 defineNamedTemplateTypeNameAndDebug \
160 Foam::HeatTransferModel<thermoCloudType>, \
165 defineTemplateRunTimeSelectionTable \
167 HeatTransferModel<thermoCloudType>, \
173 #define makeHeatTransferModelType(SS, CloudType) \
175 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
176 defineNamedTemplateTypeNameAndDebug(Foam::SS<thermoCloudType>, 0); \
178 Foam::HeatTransferModel<thermoCloudType>:: \
179 adddictionaryConstructorToTable<Foam::SS<thermoCloudType>> \
180 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)
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.
const Switch & BirdCorrection() const
Return the Bird htc correction flag.