36 #ifndef HeatTransferModel_H 37 #define HeatTransferModel_H 53 template<
class CloudType>
54 class HeatTransferModel
56 public CloudSubModelBase<CloudType>
61 const Switch BirdCorrection_;
76 const dictionary&
dict,
91 const dictionary& dict,
100 virtual autoPtr<HeatTransferModel<CloudType>>
clone()
const = 0;
108 static autoPtr<HeatTransferModel<CloudType>>
New 110 const dictionary& dict,
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_; dimensionedScalar Pr("Pr", dimless, laminarTransport)
DSMCCloud< dsmcParcel > CloudType
virtual ~HeatTransferModel()
Destructor.
static autoPtr< HeatTransferModel< CloudType > > New(const dictionary &dict, CloudType &owner)
Selector.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
const dictionary & dict() const
Return const access to the cloud dictionary.
const CloudType & owner() const
Return const access to the owner cloud.
virtual scalar htc(const scalar dp, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW) const
Return heat transfer coefficient.
TypeName("heatTransferModel")
Runtime type information.
HeatTransferModel(CloudType &owner)
Construct null from owner.
declareRunTimeSelectionTable(autoPtr, HeatTransferModel, dictionary,(const dictionary &dict, CloudType &owner),(dict, owner))
Declare runtime constructor selection table.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
virtual autoPtr< HeatTransferModel< CloudType > > clone() const =0
Construct and return a clone.
const Switch & BirdCorrection() const
Return the Bird htc correction flag.
Macros to ease declaration of run-time selection tables.
virtual scalar Nu(const scalar Re, const scalar Pr) const =0
Nusselt number.
scalarField Re(const UList< complex > &cf)