Heat transfer coefficient calculation that employs the patch internal field as the reference temperature. More...
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... | |
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 noexcept |
Return const reference to the mesh. More... | |
const labelList & | patchIDs () const noexcept |
Return const reference to wall patches to process. More... | |
const word & | TName () const noexcept |
Return const reference to name of temperature field. More... | |
const word & | qrName () const noexcept |
Return const reference to name of radiative heat-flux field. More... | |
tmp< FieldField< Field, scalar > > | q () const |
Return boundary fields of heat-flux field. More... | |
virtual bool | calc (volScalarField &result, const FieldField< Field, scalar > &q) |
Calculate the heat transfer coefficient field and return true if successful. 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... | |
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_ |
Const reference to the mesh. More... | |
labelList | patchIDs_ |
List of (wall) patches to process (selected by name) More... | |
const word | TName_ |
Name of temperature field. More... | |
word | qrName_ |
Name of radiative heat flux field. More... | |
Heat transfer coefficient calculation that employs the patch internal field as the reference temperature.
The heat transfer coefficient is calculated by:
where
= | Heat transfer coefficient [W/m^2/K] | |
= | Heat flux [W/m^2] | |
= | Patch internal temperature field [K] | |
= | Patch temperature [K] |
system/controlDict.functions
: heatTransferCoeff1 { // 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.
localReferenceTemperature | ( | const dictionary & | dict, |
const fvMesh & | mesh, | ||
const word & | TName | ||
) |
Construct from components.
Definition at line 67 of file localReferenceTemperature.C.
References dict, and Foam::blockMeshTools::read().
|
virtualdefault |
Destructor.
|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 44 of file localReferenceTemperature.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), and T.
|
protecteddelete |
No copy assignment.
TypeName | ( | "localReferenceTemperature" | ) |
Runtime type information.
|
virtual |
Read from dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 82 of file localReferenceTemperature.C.
References dict, and Foam::blockMeshTools::read().