Go to the documentation of this file.
36 #ifndef HeatTransferModel_H
37 #define HeatTransferModel_H
53 template<
class CloudType>
54 class HeatTransferModel
56 public CloudSubModelBase<CloudType>
150 #define makeHeatTransferModel(CloudType) \
152 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
153 defineNamedTemplateTypeNameAndDebug \
155 Foam::HeatTransferModel<thermoCloudType>, \
160 defineTemplateRunTimeSelectionTable \
162 HeatTransferModel<thermoCloudType>, \
168 #define makeHeatTransferModelType(SS, CloudType) \
170 typedef Foam::CloudType::thermoCloudType thermoCloudType; \
171 defineNamedTemplateTypeNameAndDebug(Foam::SS<thermoCloudType>, 0); \
173 Foam::HeatTransferModel<thermoCloudType>:: \
174 adddictionaryConstructorToTable<Foam::SS<thermoCloudType> > \
175 add##SS##CloudType##thermoCloudType##ConstructorToTable_;
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)
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.
Templated heat transfer model class.
virtual scalar Nu(const scalar Re, const scalar Pr) const =0
Nusselt number.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Templated base class for dsmc cloud.
TypeName("heatTransferModel")
Runtime type information.
A list of keyword definitions, which are a keyword followed by any number of values (e....
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Macros to ease declaration of run-time selection tables.
virtual autoPtr< HeatTransferModel< CloudType > > clone() const =0
Construct and return a clone.
const Switch BirdCorrection_
Apply Bird's correction to the htc.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
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.