Heat transfer coefficient calculation based on Reynolds Analogy, which is used to relate turbulent momentum and heat transfer. More...
#include <ReynoldsAnalogy.H>


Public Member Functions | |
| TypeName ("ReynoldsAnalogy") | |
| Runtime type information. | |
| ReynoldsAnalogy (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
| Construct from components. | |
| ReynoldsAnalogy (const ReynoldsAnalogy &)=delete | |
| No copy construct. | |
| void | operator= (const ReynoldsAnalogy &)=delete |
| No copy assignment. | |
| virtual | ~ReynoldsAnalogy ()=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 tmp< scalarField > | rho (const label patchi) const |
| Return fluid density field [kg/m^3]. | |
| virtual tmp< scalarField > | Cp (const label patchi) const |
| Return heat capacity at constant pressure [J/kg/K]. | |
| virtual tmp< volSymmTensorField > | devReff () const |
| Return the effective stress tensor including the laminar stress. | |
| tmp< FieldField< Field, scalar > > | Cf () const |
| Return skin friction coefficient field [-]. | |
| virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q) |
| Set the heat transfer coefficient. | |
Protected Attributes | |
| word | UName_ |
| Name of velocity field. | |
| vector | URef_ |
| Reference velocity. | |
| word | rhoName_ |
| Name of fluid density field. | |
| scalar | rhoRef_ |
| Reference fluid density. | |
| word | CpName_ |
| Name of specific heat capacity field. | |
| scalar | CpRef_ |
| Reference specific heat capacity. | |
| 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. | |
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. | |
Heat transfer coefficient calculation based on Reynolds Analogy, which is used to relate turbulent momentum and heat transfer.
The heat transfer coefficient is derived from the skin friction coefficient:
![\[ C_f = \frac{\tau_w}{0.5 \rho_{ref} |U|^2}
\]](form_263.png)
as:
![\[ h = 0.5 \rho_{ref} c_{p,ref} |U_{ref}| C_f
\]](form_264.png)
where
![]() | = | Heat transfer coefficient [W/m^2/K] |
![]() | = | Reference fluid density [kg/m^3] |
![]() | = | Reference specific heat capacity at constant pressure [J/kg/K] |
![]() | = | Reference velocity [m/s] |
![]() | = | Skin friction coefficient [-] |
![]() | = | Wall shear stress [m^2/s^2] |
system/controlDict.functions: heatTransferCoeffFO
{
// Inherited entries
...
// Mandatory entries
htcModel ReynoldsAnalogy;
UInf <vector>;
// Optional entries
U <word>;
Cp <word>;
rho <word>;
// Conditional mandatory entries
// when Cp == CpInf
CpInf <scalar>;
// when rho == rhoInf
rhoInf <scalar>;
}
where the entries mean:
| Property | Description | Type | Reqd | Deflt |
|---|---|---|---|---|
type | Model name: ReynoldsAnalogy | word | yes | - |
UInf | Reference velocity | vector | yes | - |
U | Name of velocity field | word | no | U |
Cp | Name of reference specific heat capacity | word | no | Cp |
CpInf | Reference specific heat capacity value | scalar | choice | - |
rho | Name of fluid density field | word | no | rho |
rhoInf | Reference fluid density value | scalar | choice | - |
Cp, set Cp to CpInf.rho, set rho to rhoInf.Definition at line 186 of file ReynoldsAnalogy.H.
| ReynoldsAnalogy | ( | const dictionary & | dict, |
| const fvMesh & | mesh, | ||
| const word & | TName ) |
Construct from components.
Definition at line 210 of file ReynoldsAnalogy.C.
References CpName_, CpRef_, dict, heatTransferCoeffModel::heatTransferCoeffModel(), heatTransferCoeffModel::mesh(), read(), rhoName_, rhoRef_, heatTransferCoeffModel::TName(), UName_, URef_, and Foam::Zero.
Referenced by operator=(), and ReynoldsAnalogy().


|
delete |
|
virtualdefault |
Destructor.
References dict.
|
protectedvirtual |
Return fluid density field [kg/m^3].
Definition at line 47 of file ReynoldsAnalogy.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, heatTransferCoeffModel::mesh_, n, tmp< T >::New(), rho(), rhoName_, and rhoRef_.
Referenced by rho().


|
protectedvirtual |
Return heat capacity at constant pressure [J/kg/K].
Definition at line 69 of file ReynoldsAnalogy.C.
References CpName_, CpRef_, basicThermo::dictName, Foam::exit(), Foam::FatalError, FatalErrorInFunction, heatTransferCoeffModel::mesh_, n, tmp< T >::New(), and pp().

|
protectedvirtual |
Return the effective stress tensor including the laminar stress.
Definition at line 96 of file ReynoldsAnalogy.C.
References Foam::devTwoSymm(), basicThermo::dictName, Foam::dimViscosity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::grad(), heatTransferCoeffModel::mesh_, nu, transportProperties(), turb, U, and UName_.
Referenced by Cf().


|
protected |
Return skin friction coefficient field [-].
Definition at line 154 of file ReynoldsAnalogy.C.
References Cf(), devReff(), forAll, Foam::mag(), Foam::magSqr(), heatTransferCoeffModel::mesh_, Foam::New(), fvPatch::nf(), fvPatchFieldBase::patch(), heatTransferCoeffModel::patchIDs_, R, U, UName_, URef_, and Foam::Zero.
Referenced by Cf(), and htc().


|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 187 of file ReynoldsAnalogy.C.
References Cf(), Cp, htc(), Foam::mag(), heatTransferCoeffModel::patchIDs_, heatTransferCoeffModel::q(), rho, and URef_.
Referenced by htc().


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

|
delete |
|
virtual |
Read the function-object dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 231 of file ReynoldsAnalogy.C.
References CpName_, CpRef_, dict, heatTransferCoeffModel::read(), rhoName_, rhoRef_, UName_, and URef_.
Referenced by ReynoldsAnalogy().


|
protected |
Name of velocity field.
Definition at line 197 of file ReynoldsAnalogy.H.
Referenced by Cf(), devReff(), read(), and ReynoldsAnalogy().
|
protected |
Reference velocity.
Definition at line 202 of file ReynoldsAnalogy.H.
Referenced by Cf(), htc(), read(), and ReynoldsAnalogy().
|
protected |
Name of fluid density field.
Definition at line 207 of file ReynoldsAnalogy.H.
Referenced by read(), ReynoldsAnalogy(), and rho().
|
protected |
Reference fluid density.
Definition at line 212 of file ReynoldsAnalogy.H.
Referenced by read(), ReynoldsAnalogy(), and rho().
|
protected |
Name of specific heat capacity field.
Definition at line 217 of file ReynoldsAnalogy.H.
Referenced by Cp(), read(), and ReynoldsAnalogy().
|
protected |
Reference specific heat capacity.
Definition at line 222 of file ReynoldsAnalogy.H.
Referenced by Cp(), read(), and ReynoldsAnalogy().