localReferenceTemperature Class Reference

Heat transfer coefficient calculation that employs the patch internal field as the reference temperature. More...

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

Public Member Functions

 TypeName ("localReferenceTemperature")
 Runtime type information. More...
 
 localReferenceTemperature (const dictionary &dict, const fvMesh &mesh, const word &TName)
 Construct from components. More...
 
virtual ~localReferenceTemperature ()=default
 Destructor. More...
 
virtual bool read (const dictionary &dict)
 Read from dictionary. More...
 
- Public Member Functions inherited from heatTransferCoeffModel
 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...
 
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 calc (volScalarField &result, const FieldField< Field, scalar > &q)
 
tmp< FieldField< Field, scalar > > q () const
 Return q boundary fields. More...
 

Protected Member Functions

virtual void htc (volScalarField &htc, const FieldField< Field, scalar > &q)
 Set the heat transfer coefficient. More...
 
 localReferenceTemperature (const localReferenceTemperature &)=delete
 No copy construct. More...
 
void operator= (const localReferenceTemperature &)=delete
 No copy assignment. More...
 
- Protected Member Functions inherited from heatTransferCoeffModel
 heatTransferCoeffModel (const heatTransferCoeffModel &)=delete
 No copy construct. More...
 
void operator= (const heatTransferCoeffModel &)=delete
 No copy assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from heatTransferCoeffModel
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 Attributes inherited from heatTransferCoeffModel
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 (default = qr) More...
 

Detailed Description

Heat transfer coefficient calculation that employs the patch internal field as the reference temperature.

The heat transfer coefficient is specified by:

\[ h = \frac{q}{T_c - T_w} \]

Usage
Example of function object specification:
    type            heatTransferCoeff;
    libs            (fieldFunctionObjects);
    ...
    htcModel        localReferenceTemperature;
    ...

Where the entries comprise:

Property Description Required Default value
type type name: heatTransferCoeff yes
htcModel selected htc model yes
Source files
See also
Foam::heatTransferCoeffModel

Definition at line 94 of file localReferenceTemperature.H.

Constructor & Destructor Documentation

◆ localReferenceTemperature() [1/2]

No copy construct.

◆ localReferenceTemperature() [2/2]

localReferenceTemperature ( const dictionary &  dict,
const fvMesh &  mesh,
const word &  TName 
)

Construct from components.

Definition at line 52 of file localReferenceTemperature.C.

References dict, and Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ ~localReferenceTemperature()

virtual ~localReferenceTemperature ( )
virtualdefault

Destructor.

Member Function Documentation

◆ htc()

void htc ( volScalarField &  htc,
const FieldField< Field, scalar > &  q 
)
protectedvirtual

Set the heat transfer coefficient.

const FieldField<Field, scalar> qBf(q());

Implements heatTransferCoeffModel.

Definition at line 76 of file localReferenceTemperature.C.

References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and T.

Here is the call graph for this function:

◆ operator=()

void operator= ( const localReferenceTemperature &  )
protecteddelete

No copy assignment.

◆ TypeName()

TypeName ( "localReferenceTemperature"  )

Runtime type information.

◆ read()

bool read ( const dictionary &  dict)
virtual

Read from dictionary.

Reimplemented from heatTransferCoeffModel.

Definition at line 67 of file localReferenceTemperature.C.

References dict, and Foam::blockMeshTools::read().

Here is the call graph for this function:

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