convectiveHeatTransferFvPatchScalarField Class Reference

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

Inheritance diagram for convectiveHeatTransferFvPatchScalarField:
Collaboration diagram for convectiveHeatTransferFvPatchScalarField:

Public Member Functions

 TypeName ("convectiveHeatTransfer")
 Runtime type information. More...
 
 convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field. More...
 
 convectiveHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary. More...
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given. More...
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &)
 Copy constructor. More...
 
virtual tmp< fvPatchScalarFieldclone () const
 Construct and return a clone. More...
 
 convectiveHeatTransferFvPatchScalarField (const convectiveHeatTransferFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field. More...
 
virtual void write (Ostream &) const
 Write. More...
 

Protected Attributes

const scalar L_
 L Length scale [m]. More...
 

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 118 of file convectiveHeatTransferFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ convectiveHeatTransferFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 41 of file convectiveHeatTransferFvPatchScalarField.C.

Referenced by convectiveHeatTransferFvPatchScalarField::clone(), and convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().

Here is the caller graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 67 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [3/5]

Construct by mapping given.

convectiveHeatTransferFvPatchScalarField onto a new patch

Definition at line 53 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [4/5]

◆ convectiveHeatTransferFvPatchScalarField() [5/5]

Copy constructor setting internal field reference.

Definition at line 91 of file convectiveHeatTransferFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "convectiveHeatTransfer"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 171 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

Construct and return a clone setting internal field reference.

Definition at line 188 of file convectiveHeatTransferFvPatchScalarField.H.

References convectiveHeatTransferFvPatchScalarField::convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField::updateCoeffs(), and convectiveHeatTransferFvPatchScalarField::write().

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 162 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField::L_, Foam::compressible::makePatchTypeField(), fvPatchField< Type >::write(), and Foam::writeEntry().

Referenced by convectiveHeatTransferFvPatchScalarField::clone().

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

Member Data Documentation

◆ L_


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