Heat transfer coefficient calculation that employs the patch internal field as the reference temperature. More...
#include <localReferenceTemperature.H>


Public Member Functions | |
| TypeName ("localReferenceTemperature") | |
| Runtime type information. | |
| localReferenceTemperature (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
| Construct from components. | |
| virtual | ~localReferenceTemperature ()=default |
| Destructor. | |
| virtual bool | read (const dictionary &dict) |
| Read the function-object dictionary. | |
| Public Member Functions inherited from heatTransferCoeffModel | |
| TypeName ("heatTransferCoeffModel") | |
| Runtime type information. | |
| 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. | |
| heatTransferCoeffModel (const heatTransferCoeffModel &)=delete | |
| No copy construct. | |
| void | operator= (const heatTransferCoeffModel &)=delete |
| No copy assignment. | |
| virtual | ~heatTransferCoeffModel ()=default |
| Destructor. | |
| const fvMesh & | mesh () const noexcept |
| Return const reference to the mesh. | |
| const labelList & | patchIDs () const noexcept |
| Return const reference to wall patches to process. | |
| const word & | TName () const noexcept |
| Return const reference to name of temperature field. | |
| const word & | qrName () const noexcept |
| Return const reference to name of radiative heat-flux field. | |
| tmp< FieldField< Field, scalar > > | q () const |
| Return boundary fields of heat-flux field. | |
| virtual bool | calc (volScalarField &result, const FieldField< Field, scalar > &q) |
| Calculate the heat transfer coefficient field and return true if successful. | |
Protected Member Functions | |
| virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q) |
| Set the heat transfer coefficient. | |
| localReferenceTemperature (const localReferenceTemperature &)=delete | |
| No copy construct. | |
| void | operator= (const localReferenceTemperature &)=delete |
| No copy assignment. | |
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. | |
| Protected Attributes inherited from heatTransferCoeffModel | |
| const fvMesh & | mesh_ |
| Const reference to the mesh. | |
| labelList | patchIDs_ |
| List of (wall) patches to process (selected by name). | |
| const word | TName_ |
| Name of temperature field. | |
| word | qrName_ |
| Name of radiative heat flux field. | |
Heat transfer coefficient calculation that employs the patch internal field as the reference temperature.
The heat transfer coefficient is calculated by:
![\[ h = \frac{q}{T_c - T_p}
\]](form_261.png)
where
![]() | = | Heat transfer coefficient [W/m^2/K] |
![]() | = | Heat flux [W/m^2] |
![]() | = | Patch internal temperature field [K] |
![]() | = | Patch temperature [K] |
system/controlDict.functions: heatTransferCoeffFO
{
// Inherited entries
...
// Mandatory entries
htcModel localReferenceTemperature;
}
where the entries mean:
| Property | Description | Type | Reqd | Deflt |
|---|---|---|---|---|
type | Model name: localReferenceTemperature | word | yes | - |
Definition at line 110 of file localReferenceTemperature.H.
|
protecteddelete |
No copy construct.
References localReferenceTemperature().
Referenced by localReferenceTemperature(), and operator=().


| localReferenceTemperature | ( | const dictionary & | dict, |
| const fvMesh & | mesh, | ||
| const word & | TName ) |
Construct from components.
Definition at line 65 of file localReferenceTemperature.C.
References dict, heatTransferCoeffModel::heatTransferCoeffModel(), heatTransferCoeffModel::mesh(), read(), and heatTransferCoeffModel::TName().

|
virtualdefault |
Destructor.
References dict.
|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 43 of file localReferenceTemperature.C.
References htc(), heatTransferCoeffModel::mesh_, heatTransferCoeffModel::patchIDs_, heatTransferCoeffModel::q(), Foam::T(), and heatTransferCoeffModel::TName_.
Referenced by htc().


|
protecteddelete |
No copy assignment.
References localReferenceTemperature().

| TypeName | ( | "localReferenceTemperature" | ) |
Runtime type information.
References dict, heatTransferCoeffModel::mesh(), and heatTransferCoeffModel::TName().

|
virtual |
Read the function-object dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 81 of file localReferenceTemperature.C.
References dict, and heatTransferCoeffModel::read().
Referenced by localReferenceTemperature().

