Loading...
Searching...
No Matches
convectiveHeatTransferFvPatchScalarField Class Reference

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

#include <convectiveHeatTransferFvPatchScalarField.H>

Inheritance diagram for convectiveHeatTransferFvPatchScalarField:
Collaboration diagram for convectiveHeatTransferFvPatchScalarField:

Public Member Functions

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

Protected Attributes

const scalar L_
 L Length scale [m].

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 )

Construct from patch and internal field.

Definition at line 35 of file convectiveHeatTransferFvPatchScalarField.C.

References L_, and p.

Referenced by convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), convectiveHeatTransferFvPatchScalarField(), and TypeName().

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 61 of file convectiveHeatTransferFvPatchScalarField.C.

References dict, L_, and p.

◆ convectiveHeatTransferFvPatchScalarField() [3/5]

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

Construct by mapping given.

convectiveHeatTransferFvPatchScalarField onto a new patch

Definition at line 47 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField(), L_, and p.

Here is the call graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [4/5]

convectiveHeatTransferFvPatchScalarField ( const convectiveHeatTransferFvPatchScalarField & htcpsf)

Construct as copy.

Definition at line 74 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField(), and L_.

Here is the call graph for this function:

◆ convectiveHeatTransferFvPatchScalarField() [5/5]

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

Construct as copy setting internal field reference.

Definition at line 85 of file convectiveHeatTransferFvPatchScalarField.C.

References convectiveHeatTransferFvPatchScalarField(), and L_.

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "convectiveHeatTransfer" )

Runtime type information.

References convectiveHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

virtual tmp< fvPatchField< scalar > > clone ( ) const
inlinevirtual

Return a clone.

Definition at line 196 of file convectiveHeatTransferFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ clone() [2/2]

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

Clone with an internal field reference.

Definition at line 204 of file convectiveHeatTransferFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ updateCoeffs()

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 156 of file convectiveHeatTransferFvPatchScalarField.C.

References L_, os(), fvPatchField< Type >::write(), and fvPatchField< Type >::writeValueEntry().

Here is the call graph for this function:

Member Data Documentation

◆ L_


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