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

This boundary condition provides a convective heat transfer coefficient condition. More...

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

Public Member Functions

 TypeName ("convectiveHeatTransfer")
 
 convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Protected Attributes

const scalar L_
 

Detailed Description

This boundary condition provides a convective heat transfer coefficient condition.

if Re > 500000

\[ htc_p = \frac{0.664 Re^{0.5} Pr^{0.333} \kappa_p}{L} \]

else

\[ htc_p = \frac{0.037 Re^{0.8} Pr^{0.333} \kappa_p}{L} \]

where

$ htc_p $ = patch convective heat transfer coefficient
$ Re $ = Reynolds number
$ Pr $ = Prandtl number
$ \kappa_p $ = thermal conductivity
$ L $ = length scale
Usage
Property Description Required Default value
L Length scale [m] yes

Example of the boundary condition specification:

    <patchName>
    {
        type            convectiveHeatTransfer;
        L               0.1;
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 119 of file convectiveHeatTransferFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ convectiveHeatTransferFvPatchScalarField() [1/5]

convectiveHeatTransferFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF 
)

Definition at line 37 of file convectiveHeatTransferFvPatchScalarField.C.

Referenced by convectiveHeatTransferFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [2/5]

convectiveHeatTransferFvPatchScalarField ( const fvPatch p,
const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Definition at line 63 of file convectiveHeatTransferFvPatchScalarField.C.

◆ convectiveHeatTransferFvPatchScalarField() [3/5]

Definition at line 49 of file convectiveHeatTransferFvPatchScalarField.C.

◆ convectiveHeatTransferFvPatchScalarField() [4/5]

Definition at line 76 of file convectiveHeatTransferFvPatchScalarField.C.

◆ convectiveHeatTransferFvPatchScalarField() [5/5]

Definition at line 87 of file convectiveHeatTransferFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "convectiveHeatTransfer"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Definition at line 172 of file convectiveHeatTransferFvPatchScalarField.H.

References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

virtual tmp<fvPatchScalarField> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Definition at line 189 of file convectiveHeatTransferFvPatchScalarField.H.

References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 156 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField::L_, os(), and fvPatchField::write().

Here is the call graph for this function:

Member Data Documentation

◆ L_

const scalar L_
protected

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