Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fixedReferenceTemperature Class Reference

Heat transfer coefficient calculation that employs a fixed reference temperature. More...

Inheritance diagram for fixedReferenceTemperature:
Inheritance graph
[legend]
Collaboration diagram for fixedReferenceTemperature:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("fixedReferenceTemperature")
 
 fixedReferenceTemperature (const dictionary &dict, const fvMesh &mesh, const word &TName)
 
 fixedReferenceTemperature (const fixedReferenceTemperature &)=delete
 
void operator= (const fixedReferenceTemperature &)=delete
 
virtual ~fixedReferenceTemperature ()=default
 
virtual bool read (const dictionary &dict)
 
- Public Member Functions inherited from heatTransferCoeffModel
 TypeName ("heatTransferCoeffModel")
 
 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)
 
 heatTransferCoeffModel (const heatTransferCoeffModel &)=delete
 
void operator= (const heatTransferCoeffModel &)=delete
 
virtual ~heatTransferCoeffModel ()=default
 
const fvMeshmesh () const
 
const labelHashSetpatchSet () const
 
const wordTName () const
 
const wordqrName () const
 
virtual bool calc (volScalarField &result, const FieldField< Field, scalar > &q)
 
tmp< FieldField< Field, scalar > > q () const
 

Protected Member Functions

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

Protected Attributes

scalar TRef_
 
- Protected Attributes inherited from heatTransferCoeffModel
const fvMeshmesh_
 
labelHashSet patchSet_
 
const word TName_
 
word qrName_
 

Additional Inherited Members

- Static Public Member Functions inherited from heatTransferCoeffModel
static autoPtr< heatTransferCoeffModelNew (const dictionary &dict, const fvMesh &mesh, const word &TName)
 

Detailed Description

Heat transfer coefficient calculation that employs a fixed reference temperature.

The heat transfer coefficient is specified by:

\[ h = \frac{q}{T_{ref} - T_w} \]

where

$ h $ = Convective heat transfer coefficient of the flow [W/(m2 K)]
$ q $ = Heat flux [W/m2]
$ T_{ref} $ = Reference temperature of surrounding fluid [K]
$ T_w $ = Patch temperature [K]
Usage
Minimal example by using system/controlDict.functions:
heatTransferCoeff1
{
    // Mandatory and other optional entries
    ...
    htcModel        fixedReferenceTemperature;

    // Conditional mandatory entries (runtime modifiable)
    Tref            0;
}

where the entries mean:

Property Description Type Reqd Dflt
type Model name: fixedReferenceTemperature word yes -
Tref Reference temperature of surrounding fluid scalar yes -
See also
Source files

Definition at line 123 of file fixedReferenceTemperature.H.

Constructor & Destructor Documentation

◆ fixedReferenceTemperature() [1/2]

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

Definition at line 44 of file fixedReferenceTemperature.C.

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

Here is the call graph for this function:

◆ fixedReferenceTemperature() [2/2]

◆ ~fixedReferenceTemperature()

virtual ~fixedReferenceTemperature ( )
virtualdefault

Member Function Documentation

◆ htc()

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

Implements heatTransferCoeffModel.

Definition at line 76 of file fixedReferenceTemperature.C.

References GeometricField::boundaryFieldRef(), and T.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "fixedReferenceTemperature"  )

◆ operator=()

void operator= ( const fixedReferenceTemperature )
delete

◆ read()

bool read ( const dictionary dict)
virtual

Reimplemented from heatTransferCoeffModel.

Definition at line 60 of file fixedReferenceTemperature.C.

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

Here is the call graph for this function:

Member Data Documentation

◆ TRef_

scalar TRef_
protected

Definition at line 132 of file fixedReferenceTemperature.H.


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