heatTransferCoeffModel Class Referenceabstract

An abstract base class for heat transfer coeffcient models. More...

Inheritance diagram for heatTransferCoeffModel:
[legend]
Collaboration diagram for heatTransferCoeffModel:
[legend]

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...
 
virtual ~heatTransferCoeffModel ()=default
 Destructor. More...
 
virtual bool read (const dictionary &dict)
 Read from dictionary. More...
 
virtual bool calc (volScalarField &result)
 

Static Public Member Functions

static autoPtr< heatTransferCoeffModelNew (const dictionary &dict, const fvMesh &mesh, const word &TName)
 Return a reference to the selected heat transfer coefficient model. More...
 

Protected Member Functions

tmp< FieldField< Field, scalar > > q () const
 
virtual void htc (volScalarField &htc)=0
 Set the heat transfer coefficient. More...
 

Protected Attributes

const fvMeshmesh_
 
const word TName_
 
labelHashSet patchSet_
 
word qrName_
 

Detailed Description

An abstract base class for heat transfer coeffcient models.

Source files

Definition at line 63 of file heatTransferCoeffModel.H.

Constructor & Destructor Documentation

◆ heatTransferCoeffModel()

heatTransferCoeffModel ( const dictionary dict,
const fvMesh mesh,
const word TName 
)

Construct from components.

Definition at line 119 of file heatTransferCoeffModel.C.

◆ ~heatTransferCoeffModel()

virtual ~heatTransferCoeffModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ q()

◆ htc()

virtual void htc ( volScalarField htc)
protectedpure virtual

Set the heat transfer coefficient.

Implemented in ReynoldsAnalogy, fixedReferenceTemperature, and localReferenceTemperature.

◆ TypeName()

TypeName ( "heatTransferCoeffModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
heatTransferCoeffModel  ,
dictionary  ,
(const dictionary &dict, const fvMesh &mesh, const word &TName)  ,
(dict, mesh, TName)   
)

◆ New()

Foam::autoPtr< Foam::heatTransferCoeffModel > New ( const dictionary dict,
const fvMesh mesh,
const word TName 
)
static

Return a reference to the selected heat transfer coefficient model.

Definition at line 35 of file heatTransferCoeffModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and mesh.

Referenced by heatTransferCoeffModel::q(), heatTransferCoeff::read(), and ReynoldsAnalogy::rho().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read()

bool read ( const dictionary dict)
virtual

Read from dictionary.

Reimplemented in ReynoldsAnalogy, fixedReferenceTemperature, and localReferenceTemperature.

Definition at line 134 of file heatTransferCoeffModel.C.

References dict, dictionary::get(), and dictionary::readIfPresent().

Referenced by ReynoldsAnalogy::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calc()

bool calc ( volScalarField result)
virtual

Definition at line 144 of file heatTransferCoeffModel.C.

Member Data Documentation

◆ mesh_

const fvMesh& mesh_
protected

Definition at line 79 of file heatTransferCoeffModel.H.

Referenced by heatTransferCoeffModel::q(), and ReynoldsAnalogy::rho().

◆ TName_

const word TName_
protected

Definition at line 81 of file heatTransferCoeffModel.H.

Referenced by heatTransferCoeffModel::q().

◆ patchSet_

labelHashSet patchSet_
protected

Definition at line 83 of file heatTransferCoeffModel.H.

Referenced by heatTransferCoeffModel::q().

◆ qrName_

word qrName_
protected

Definition at line 85 of file heatTransferCoeffModel.H.

Referenced by heatTransferCoeffModel::q().


The documentation for this class was generated from the following files: