Heat transfer coefficient calculation based on Reynolds Analogy, which is used to relate turbulent momentum and heat transfer. More...


Public Member Functions | |
| TypeName ("ReynoldsAnalogy") | |
| Runtime type information. More... | |
| ReynoldsAnalogy (const dictionary &dict, const fvMesh &mesh, const word &TName) | |
| Construct from components. More... | |
| ReynoldsAnalogy (const ReynoldsAnalogy &)=delete | |
| No copy construct. More... | |
| void | operator= (const ReynoldsAnalogy &)=delete |
| No copy assignment. More... | |
| virtual | ~ReynoldsAnalogy ()=default |
| Destructor. More... | |
| virtual bool | read (const dictionary &dict) |
| Read the function-object 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 tmp< scalarField > | rho (const label patchi) const |
| Return fluid density field [kg/m^3]. More... | |
| virtual tmp< scalarField > | Cp (const label patchi) const |
| Return heat capacity at constant pressure [J/kg/K]. More... | |
| virtual tmp< volSymmTensorField > | devReff () const |
| Return the effective stress tensor including the laminar stress. More... | |
| tmp< FieldField< Field, scalar > > | Cf () const |
| Return skin friction coefficient field [-]. More... | |
| virtual void | htc (volScalarField &htc, const FieldField< Field, scalar > &q) |
| Set the heat transfer coefficient. More... | |
Protected Attributes | |
| word | UName_ |
| Name of velocity field. More... | |
| vector | URef_ |
| Reference velocity. More... | |
| word | rhoName_ |
| Name of fluid density field. More... | |
| scalar | rhoRef_ |
| Reference fluid density. More... | |
| word | CpName_ |
| Name of specific heat capacity field. More... | |
| scalar | CpRef_ |
| Reference specific heat capacity. 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... | |
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... | |
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:
as:
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 211 of file ReynoldsAnalogy.C.
References dict, and Foam::read().

|
delete |
No copy construct.
|
virtualdefault |
Destructor.
|
protectedvirtual |
Return fluid density field [kg/m^3].
Definition at line 47 of file ReynoldsAnalogy.C.
References fvMesh::boundary(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, objectRegistry::foundObject(), objectRegistry::lookupObject(), heatTransferCoeffModel::mesh_, n, tmp< T >::New(), ReynoldsAnalogy::rhoName_, ReynoldsAnalogy::rhoRef_, and UPtrList< T >::size().

|
protectedvirtual |
Return heat capacity at constant pressure [J/kg/K].
Definition at line 69 of file ReynoldsAnalogy.C.
References dictionary::dictName(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, 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(), dictionary::dictName(), Foam::dimViscosity, Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::fvc::grad(), nu, transportProperties(), turb, and U.

|
protected |
Return skin friction coefficient field [-].
Definition at line 154 of file ReynoldsAnalogy.C.
References forAll, Foam::mag(), Foam::magSqr(), Foam::New(), fvPatch::nf(), fvPatchFieldBase::patch(), R, U, and Foam::Zero.

|
protectedvirtual |
Set the heat transfer coefficient.
Implements heatTransferCoeffModel.
Definition at line 188 of file ReynoldsAnalogy.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryFieldRef(), Cp, Foam::mag(), and rho.

| TypeName | ( | "ReynoldsAnalogy" | ) |
Runtime type information.
|
delete |
No copy assignment.
|
virtual |
Read the function-object dictionary.
Reimplemented from heatTransferCoeffModel.
Definition at line 232 of file ReynoldsAnalogy.C.
References dict, and heatTransferCoeffModel::read().

|
protected |
Name of velocity field.
Definition at line 197 of file ReynoldsAnalogy.H.
|
protected |
Reference velocity.
Definition at line 202 of file ReynoldsAnalogy.H.
|
protected |
Name of fluid density field.
Definition at line 207 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Reference fluid density.
Definition at line 212 of file ReynoldsAnalogy.H.
Referenced by ReynoldsAnalogy::rho().
|
protected |
Name of specific heat capacity field.
Definition at line 217 of file ReynoldsAnalogy.H.
|
protected |
Reference specific heat capacity.
Definition at line 222 of file ReynoldsAnalogy.H.