An abstract base class for heat transfer coeffcient models. More...
Public Member Functions | |
TypeName ("heatTransferCoeffModel") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, heatTransferCoeffModel, dictionary,(const dictionary &dict, const fvMesh &mesh, const word &TName),(dict, mesh, TName)) | |
heatTransferCoeffModel (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
Construct from components. More... | |
heatTransferCoeffModel (const heatTransferCoeffModel &)=delete | |
No copy construct. More... | |
void | operator= (const heatTransferCoeffModel &)=delete |
No copy assignment. More... | |
virtual | ~heatTransferCoeffModel ()=default |
Destructor. More... | |
const fvMesh & | mesh () const |
The mesh reference. More... | |
const labelHashSet & | patchSet () const |
Wall patches to process. More... | |
const word & | TName () const |
Temperature name. More... | |
const word & | qrName () const |
Name of radiative heat flux. More... | |
virtual bool | read (const dictionary &dict) |
Read from dictionary. More... | |
virtual bool | calc (volScalarField &result, const FieldField< Field, scalar > &q) |
tmp< FieldField< Field, scalar > > | q () const |
Return q boundary fields. More... | |
Static Public Member Functions | |
static autoPtr< heatTransferCoeffModel > | New (const dictionary &dict, const fvMesh &mesh, const word &TName) |
Return a reference to the selected heat transfer coefficient model. More... | |
Protected Member Functions | |
virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q)=0 |
Set the heat transfer coefficient. More... | |
Protected Attributes | |
const fvMesh & | mesh_ |
Mesh reference. More... | |
labelHashSet | patchSet_ |
Optional list of (wall) patches to process. More... | |
const word | TName_ |
Temperature name. More... | |
word | qrName_ |
Name of radiative heat flux. More... | |
An abstract base class for heat transfer coeffcient models.
system/controlDict.functions
: heatTransferCoeff1 { // Mandatory and other optional entries ... // Mandatory (inherited) entries (runtime modifiable) patches (<patch1> <patch2> ... <patchN>); // Optional (inherited) entries (runtime modifiable) qr <qrName>; }
where the entries mean:
Property | Description | Type | Reqd | Dflt |
---|---|---|---|---|
patches | Names of operand patches | wordRes | yes | - |
qr | Name of radiative heat flux | word | no | qr |
Definition at line 104 of file heatTransferCoeffModel.H.
heatTransferCoeffModel | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | TName | ||
) |
Construct from components.
Definition at line 123 of file heatTransferCoeffModel.C.
|
delete |
No copy construct.
|
virtualdefault |
Destructor.
|
protectedpure virtual |
Set the heat transfer coefficient.
Implemented in fixedReferenceTemperature, localReferenceTemperature, and ReynoldsAnalogy.
TypeName | ( | "heatTransferCoeffModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
heatTransferCoeffModel | , | ||
dictionary | , | ||
(const dictionary &dict, const fvMesh &mesh, const word &TName) | , | ||
(dict, mesh, TName) | |||
) |
|
static |
Return a reference to the selected heat transfer coefficient model.
Definition at line 34 of file heatTransferCoeffModelNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, dictionary::get(), Foam::Info, heatTransferCoeffModel::mesh(), and heatTransferCoeffModel::TName().
Referenced by heatTransferCoeffModel::q(), and ReynoldsAnalogy::rho().
|
delete |
No copy assignment.
|
inline |
The mesh reference.
Definition at line 190 of file heatTransferCoeffModel.H.
References heatTransferCoeffModel::mesh_.
Referenced by heatTransferCoeffModel::New().
|
inline |
Wall patches to process.
Definition at line 196 of file heatTransferCoeffModel.H.
References heatTransferCoeffModel::patchSet_.
|
inline |
Temperature name.
Definition at line 202 of file heatTransferCoeffModel.H.
References heatTransferCoeffModel::TName_.
Referenced by heatTransferCoeffModel::New().
|
inline |
Name of radiative heat flux.
Definition at line 208 of file heatTransferCoeffModel.H.
References heatTransferCoeffModel::qrName_.
|
virtual |
Read from dictionary.
Reimplemented in fixedReferenceTemperature, localReferenceTemperature, and ReynoldsAnalogy.
Definition at line 139 of file heatTransferCoeffModel.C.
References dict, dictionary::get(), and dictionary::readIfPresent().
|
virtual |
Definition at line 149 of file heatTransferCoeffModel.C.
References heatTransferCoeffModel::calc().
Referenced by heatTransferCoeffModel::calc().
Foam::tmp< Foam::FieldField< Foam::Field, Foam::scalar > > q | ( | ) | const |
Return q boundary fields.
Definition at line 46 of file heatTransferCoeffModel.C.
References alpha, alphaEff(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), objectRegistry::cfindObject(), basicThermo::dictName, Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, objectRegistry::foundObject(), he, objectRegistry::lookupObject(), heatTransferCoeffModel::mesh_, heatTransferCoeffModel::New(), Foam::nl, heatTransferCoeffModel::patchSet_, heatTransferCoeffModel::q(), heatTransferCoeffModel::qrName_, T, heatTransferCoeffModel::TName_, turb, and Foam::Zero.
Referenced by heatTransferCoeffModel::q().
|
protected |
Mesh reference.
Definition at line 111 of file heatTransferCoeffModel.H.
Referenced by heatTransferCoeffModel::mesh(), heatTransferCoeffModel::q(), and ReynoldsAnalogy::rho().
|
protected |
Optional list of (wall) patches to process.
Definition at line 114 of file heatTransferCoeffModel.H.
Referenced by heatTransferCoeffModel::patchSet(), and heatTransferCoeffModel::q().
|
protected |
Temperature name.
Definition at line 117 of file heatTransferCoeffModel.H.
Referenced by heatTransferCoeffModel::q(), and heatTransferCoeffModel::TName().
|
protected |
Name of radiative heat flux.
Definition at line 120 of file heatTransferCoeffModel.H.
Referenced by heatTransferCoeffModel::q(), and heatTransferCoeffModel::qrName().