kappaEff Class Reference

Calculates the estimated flow heat transfer coefficient at wall patches as the volScalarField field 'kappaEff' using one of equeations bellow. More...

Inheritance diagram for kappaEff:
Collaboration diagram for kappaEff:

Public Member Functions

 TypeName ("kappaEff")
 Runtime type information. More...
 
 kappaEff (const word &name, const fvMesh &mesh, const dictionary &)
 Construct from name, mesh and dict. More...
 
 kappaEff (const kappaEff &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~kappaEff ()
 Destructor. More...
 
virtual bool read (const dictionary &)
 Read the kappaEff data. More...
 
virtual tmp< volScalarFieldhtcByRhoCp (const momentumTransportModel &mmtm, const labelHashSet &patches) const
 Calculate the wall heat transfer coefficient. More...
 
void operator= (const kappaEff &)=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 the estimated flow heat transfer coefficient at wall patches as the volScalarField field 'kappaEff' using one of equeations bellow.

kappaEff model, given by:

\[ htc = \rho*C_p*({\frac{\nu}{Pr} + \frac{\nu_t}{Prt}}) \]

kappaEff model with characteristic length, given by:

\[ htc = \rho*C_p*({\frac{\nu}{Pr} + \frac{\nu_t}{Prt}})\frac{1}{L_{char}}; \]

where

$ rho $ = Density [kg/m^3]
$ Cp $ = Specific heat capacity [m^2/K/s^2)]
$ Pr $ = Fluid laminar Prandtl number []
$ Prt $ = Fluid turbulent Prandtl number []
$ Lchar $ = Characteristic length [m]

Example of function object specification:

    kappaEff1
    {
        type        wallHeatTransferCoeff;
        libs        ("libfieldFunctionObjects.so");
        model       kappaEff;
        ...
        region      fluid;
        patches     (".*Wall");
        rho         1.225;
        Cp          1005;
        Pr          0.707;
        Prt         0.9;
    }
    kappaEff2
    {
        type        wallHeatTransferCoeff;
        libs        ("libfieldFunctionObjects.so");
        model       kappaEff;
        ...
        region      fluid;
        patches     (".*Wall");
        rho         1.225;
        Cp          1005;
        Pr          0.707;
        Prt         0.9;
        Lchar       0.001;
    }
Usage
Property Description Required Default value
type Type name: wallHeatTransferCoeff yes
model Type name: kappaEff no kappaEff
patches List of patches to process no all wall patches
region Region to be evaluated no default region
rho Fluid density yes
Cp Fluid heat capacity yes
Pr Fluid laminar Prandtl number yes
Prt Fluid turbulent Prandtl number yes
Lchar Characteristic length no no
Note
Cp and rho are required only for incompressible flow calclulations.
Source files

Definition at line 194 of file kappaEff.H.

Constructor & Destructor Documentation

◆ kappaEff() [1/2]

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

Construct from name, mesh and dict.

Definition at line 50 of file kappaEff.C.

References Foam::read().

Here is the call graph for this function:

◆ kappaEff() [2/2]

kappaEff ( const kappaEff )
delete

Disallow default bitwise copy construction.

◆ ~kappaEff()

~kappaEff ( )
virtual

Destructor.

Definition at line 74 of file kappaEff.C.

Member Function Documentation

◆ TypeName()

TypeName ( "kappaEff"  )

Runtime type information.

◆ read()

bool read ( const dictionary dict)
virtual

Read the kappaEff data.

Implements wallHeatTransferCoeffModel.

Definition at line 80 of file kappaEff.C.

References dictionary::found(), and kappaEff::htcByRhoCp().

Here is the call graph for this function:

◆ htcByRhoCp()

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

Calculate the wall heat transfer coefficient.

Implements wallHeatTransferCoeffModel.

Definition at line 97 of file kappaEff.C.

References Foam::dimArea, Foam::dimLength, Foam::dimTime, forAllConstIter(), GeometricField< scalar, fvPatchField, volMesh >::New(), momentumTransportModel::nu(), momentumTransportModel::nut(), patchi, tmp< T >::ref(), and Foam::type().

Referenced by kappaEff::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const kappaEff )
delete

Disallow default bitwise assignment.


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