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

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

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

Public Member Functions

 TypeName ("ReynoldsAnalogy")
 
 ReynoldsAnalogy (const dictionary &dict, const fvMesh &mesh, const word &TName)
 
 ReynoldsAnalogy (const ReynoldsAnalogy &)=delete
 
void operator= (const ReynoldsAnalogy &)=delete
 
virtual ~ReynoldsAnalogy ()=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 tmp< Field< scalar > > rho (const label patchi) const
 
virtual tmp< Field< scalar > > Cp (const label patchi) const
 
virtual tmp< volSymmTensorFielddevReff () const
 
tmp< FieldField< Field, scalar > > Cf () const
 
virtual void htc (volScalarField &htc, const FieldField< Field, scalar > &q)
 

Protected Attributes

word UName_
 
vector URef_
 
word rhoName_
 
scalar rhoRef_
 
word CpName_
 
scalar CpRef_
 
- 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 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_\infty |U|^2} \]

as:

\[ h = 0.5 \rho_\infty c_{p,\infty} |U_{\infty}| C_f \]

where

$ h $ = Convective heat transfer coefficient of the flow
$ \rho_\infty $ = Reference fluid density
$ c_{p,\infty} $ = Reference specific heat capacity at constant pressure
$ U_{\infty} $ = Reference velocity
$ C_f $ = Skin friction coefficient
$ \tau_w $ = Wall shear stress
Usage
Minimal example by using system/controlDict.functions:
heatTransferCoeff1
{
    // Mandatory and other optional entries
    ...
    htcModel        ReynoldsAnalogy;

    // Conditional mandatory entries (runtime modifiable)
    UInf            (10 0 0);

    // Conditional optional entries (runtime modifiable)
    Cp              <CpName>;
    rho             <rhoName>;

    // mandatory if Cp == CpInf
    CpInf           1005;

    // mandatory if rho == rhoInf
    rhoInf          1;
}

where the entries mean:

Property Description Type Reqd Dflt
type Model name: ReynoldsAnalogy word yes -
UInf Reference velocity scalar yes -
Cp Name of reference specific heat capacity word no Cp
CpInf Reference specific heat capacity value scalar cndtnl -
rho Name of reference fluid density word no rho
rhoInf Reference fluid density value scalar cndtnl -
Note
  • to use a reference Cp, set Cp to CpInf
  • to use a reference rho, set rho to rhoInf
See also
Source files

Definition at line 182 of file ReynoldsAnalogy.H.

Constructor & Destructor Documentation

◆ ReynoldsAnalogy() [1/2]

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

Definition at line 190 of file ReynoldsAnalogy.C.

References dict, and Foam::read().

Here is the call graph for this function:

◆ ReynoldsAnalogy() [2/2]

ReynoldsAnalogy ( const ReynoldsAnalogy )
delete

◆ ~ReynoldsAnalogy()

virtual ~ReynoldsAnalogy ( )
virtualdefault

Member Function Documentation

◆ rho()

Foam::tmp< Foam::Field< Foam::scalar > > rho ( const label  patchi) const
protectedvirtual

◆ Cp()

Foam::tmp< Foam::Field< Foam::scalar > > Cp ( const label  patchi) const
protectedvirtual

Definition at line 69 of file ReynoldsAnalogy.C.

References basicThermo::dictName, Foam::exit(), Foam::FatalError, FatalErrorInFunction, n, and Foam::New().

Here is the call graph for this function:

◆ devReff()

Foam::tmp< Foam::volSymmTensorField > devReff ( ) const
protectedvirtual

◆ Cf()

Foam::tmp< Foam::FieldField< Foam::Field, Foam::scalar > > Cf ( ) const
protected

Definition at line 154 of file ReynoldsAnalogy.C.

References forAll, Foam::mag(), Foam::magSqr(), Foam::New(), fvPatch::nf(), fvPatchField::patch(), R, U, and Foam::Zero.

Here is the call graph for this function:

◆ htc()

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

Implements heatTransferCoeffModel.

Definition at line 239 of file ReynoldsAnalogy.C.

References GeometricField::boundaryFieldRef(), Cp, Foam::mag(), and rho.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "ReynoldsAnalogy"  )

◆ operator=()

void operator= ( const ReynoldsAnalogy )
delete

◆ read()

bool read ( const dictionary dict)
virtual

Reimplemented from heatTransferCoeffModel.

Definition at line 211 of file ReynoldsAnalogy.C.

References dict, and heatTransferCoeffModel::read().

Here is the call graph for this function:

Member Data Documentation

◆ UName_

word UName_
protected

Definition at line 191 of file ReynoldsAnalogy.H.

◆ URef_

vector URef_
protected

Definition at line 194 of file ReynoldsAnalogy.H.

◆ rhoName_

word rhoName_
protected

Definition at line 197 of file ReynoldsAnalogy.H.

Referenced by ReynoldsAnalogy::rho().

◆ rhoRef_

scalar rhoRef_
protected

Definition at line 200 of file ReynoldsAnalogy.H.

Referenced by ReynoldsAnalogy::rho().

◆ CpName_

word CpName_
protected

Definition at line 203 of file ReynoldsAnalogy.H.

◆ CpRef_

scalar CpRef_
protected

Definition at line 206 of file ReynoldsAnalogy.H.


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