ReynoldsAnalogy Class Reference

Calculates and writes the estimated flow heat transfer coefficient at wall patches as the volScalarField field 'wallHeatTransferCoeff' using Reynolds Analogy. More...

Inheritance diagram for ReynoldsAnalogy:
Collaboration diagram for ReynoldsAnalogy:

Public Member Functions

 TypeName ("ReynoldsAnalogy")
 Runtime type information. More...
 
 ReynoldsAnalogy (const word &name, const fvMesh &mesh, const dictionary &dict)
 Construct from name, mesh and dict. More...
 
 ReynoldsAnalogy (const ReynoldsAnalogy &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~ReynoldsAnalogy ()
 Destructor. More...
 
virtual bool read (const dictionary &)
 Read the ReynoldsAnalogy data. More...
 
virtual tmp< volScalarFieldhtcByRhoCp (const momentumTransportModel &mmtm, const labelHashSet &patches) const
 Calculate the heat transfer coefficient. More...
 
void operator= (const ReynoldsAnalogy &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from wallHeatTransferCoeffModel
 TypeName ("wallHeatTransferCoeffModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, wallHeatTransferCoeffModel, word,(const word &name, const fvMesh &mesh, const dictionary &dict),(name, mesh, dict))
 
 wallHeatTransferCoeffModel (const word &name, const fvMesh &mesh, const dictionary &)
 Construct from name, mesh and dict. More...
 
 wallHeatTransferCoeffModel (const wallHeatTransferCoeffModel &)=delete
 Disallow default bitwise copy construction. More...
 
autoPtr< wallHeatTransferCoeffModelclone () const
 Clone. More...
 
virtual ~wallHeatTransferCoeffModel ()
 Destructor. More...
 
tmp< volSymmTensorFieldtau (const momentumTransportModel &mmtm, const fvMesh &mesh) const
 Calculate wall shear stress. More...
 
void operator= (const wallHeatTransferCoeffModel &)=delete
 Disallow default bitwise assignment. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from wallHeatTransferCoeffModel
static autoPtr< wallHeatTransferCoeffModelNew (const word &name, const fvMesh &mesh, const dictionary &)
 Return a reference to the selected subset. More...
 

Detailed Description

Calculates and writes the estimated flow heat transfer coefficient at wall patches as the volScalarField field 'wallHeatTransferCoeff' using Reynolds Analogy.

Reynolds Analogy model, given by:

\[ htc = 0.5 \rho C_p |U_{ref}| C_f \]

where

$ rho $ = Density [kg/m^3]
$ Cp $ = Specific heat capacity [m^2/K/s^2)]
$ Uref $ = Far field velocity magnitude [m/s]
$ Cf $ = Skin friction coefficient []

All wall patches are included by default; to restrict the calculation to certain patches, use the optional 'patches' entry.

Example of function object specification:

    ReynoldsAnalogy1
    {
        type       wallHeatTransferCoeff;
        libs       ("libfieldFunctionObjects.so");
        model      ReynoldsAnalogy;
        ...
        region     fluid;
        patches    (".*Wall");
        rho        1.225;
        Cp         1005;
        Uref       1.0;
    }
Usage
Property Description Required Default value
type type name: wallHeatTransferCoeff yes
model Type name: ReynoldsAnalogy no kappaEff
patches List of patches to process no all wall patches
region Region to be evaluated no default region
rho Density yes
Cp Specific heat capacity yes
Uref Reference velocity magnitude yes no

Note: Cp and rho are required only for incompressible flow calculations.

Source files

Definition at line 157 of file ReynoldsAnalogy.H.

Constructor & Destructor Documentation

◆ ReynoldsAnalogy() [1/2]

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

Construct from name, mesh and dict.

Definition at line 50 of file ReynoldsAnalogy.C.

References dict, and ReynoldsAnalogy::read().

Here is the call graph for this function:

◆ ReynoldsAnalogy() [2/2]

ReynoldsAnalogy ( const ReynoldsAnalogy )
delete

Disallow default bitwise copy construction.

◆ ~ReynoldsAnalogy()

~ReynoldsAnalogy ( )
virtual

Destructor.

Definition at line 67 of file ReynoldsAnalogy.C.

Member Function Documentation

◆ TypeName()

TypeName ( "ReynoldsAnalogy"  )

Runtime type information.

◆ read()

bool read ( const dictionary dict)
virtual

Read the ReynoldsAnalogy data.

Implements wallHeatTransferCoeffModel.

Definition at line 73 of file ReynoldsAnalogy.C.

References dict.

Referenced by ReynoldsAnalogy::ReynoldsAnalogy().

Here is the caller graph for this function:

◆ htcByRhoCp()

Foam::tmp< Foam::volScalarField > htcByRhoCp ( const momentumTransportModel mmtm,
const labelHashSet patches 
) const
virtual

Calculate the heat transfer coefficient.

Implements wallHeatTransferCoeffModel.

Definition at line 84 of file ReynoldsAnalogy.C.

References Foam::dimLength, Foam::dimTime, forAll, Foam::mag(), GeometricField< Type, PatchField, GeoMesh >::New(), patchi, tmp< T >::ref(), Foam::sqr(), and Foam::type().

Here is the call graph for this function:

◆ operator=()

void operator= ( const ReynoldsAnalogy )
delete

Disallow default bitwise assignment.


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