Loading...
Searching...
No Matches
wallHeatTransferFvPatchScalarField Class Reference

This boundary condition provides an enthalpy condition for wall heat transfer. More...

#include <wallHeatTransferFvPatchScalarField.H>

Inheritance diagram for wallHeatTransferFvPatchScalarField:
Collaboration diagram for wallHeatTransferFvPatchScalarField:

Public Member Functions

 TypeName ("wallHeatTransfer")
 Runtime type information.
 wallHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 Construct from patch and internal field.
 wallHeatTransferFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 Construct from patch, internal field and dictionary.
 wallHeatTransferFvPatchScalarField (const wallHeatTransferFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 Construct by mapping given wallHeatTransferFvPatchScalarField.
 wallHeatTransferFvPatchScalarField (const wallHeatTransferFvPatchScalarField &)
 Construct as copy.
 wallHeatTransferFvPatchScalarField (const wallHeatTransferFvPatchScalarField &, 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.
const scalarFieldTinf () const
 Return Tinf.
scalarFieldTinf ()
 Return reference to Tinf to allow adjustment.
const scalarFieldalphaWall () const
 Return alphaWall.
scalarFieldalphaWall ()
 Return reference to alphaWall to allow adjustment.
virtual void autoMap (const fvPatchFieldMapper &)
 Map (and resize as needed) from self given a mapping object.
virtual void rmap (const fvPatchScalarField &, const labelList &)
 Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs ()
 Update the coefficients associated with the patch field.
virtual void write (Ostream &) const
 Write.

Detailed Description

This boundary condition provides an enthalpy condition for wall heat transfer.

Usage
Property Description Required Default value
Tinf wall temperature yes
alphaWall thermal diffusivity yes

Example of the boundary condition specification:

    <patchName>
    {
        type            wallHeatTransfer;
        Tinf            uniform 500;
        alphaWall       uniform 1;
    }
Source files

Definition at line 82 of file wallHeatTransferFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ wallHeatTransferFvPatchScalarField() [1/5]

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

Construct from patch and internal field.

Definition at line 28 of file wallHeatTransferFvPatchScalarField.C.

References p, and Foam::Zero.

Referenced by rmap(), TypeName(), wallHeatTransferFvPatchScalarField(), wallHeatTransferFvPatchScalarField(), and wallHeatTransferFvPatchScalarField().

Here is the caller graph for this function:

◆ wallHeatTransferFvPatchScalarField() [2/5]

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

Construct from patch, internal field and dictionary.

Definition at line 58 of file wallHeatTransferFvPatchScalarField.C.

References dict, p, and Foam::Zero.

◆ wallHeatTransferFvPatchScalarField() [3/5]

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

Construct by mapping given wallHeatTransferFvPatchScalarField.

onto a new patch

Definition at line 44 of file wallHeatTransferFvPatchScalarField.C.

References p, and wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ wallHeatTransferFvPatchScalarField() [4/5]

wallHeatTransferFvPatchScalarField ( const wallHeatTransferFvPatchScalarField & tppsf)

Construct as copy.

Definition at line 80 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ wallHeatTransferFvPatchScalarField() [5/5]

wallHeatTransferFvPatchScalarField ( const wallHeatTransferFvPatchScalarField & tppsf,
const DimensionedField< scalar, volMesh > & iF )

Construct as copy setting internal field reference.

Definition at line 91 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "wallHeatTransfer" )

Runtime type information.

References wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [1/2]

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

Return a clone.

Definition at line 161 of file wallHeatTransferFvPatchScalarField.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 169 of file wallHeatTransferFvPatchScalarField.H.

References fvPatchField< Type >::Clone().

Here is the call graph for this function:

◆ Tinf() [1/2]

const scalarField & Tinf ( ) const
inline

Return Tinf.

Definition at line 185 of file wallHeatTransferFvPatchScalarField.H.

◆ Tinf() [2/2]

scalarField & Tinf ( )
inline

Return reference to Tinf to allow adjustment.

Definition at line 193 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [1/2]

const scalarField & alphaWall ( ) const
inline

Return alphaWall.

Definition at line 201 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [2/2]

scalarField & alphaWall ( )
inline

Return reference to alphaWall to allow adjustment.

Definition at line 209 of file wallHeatTransferFvPatchScalarField.H.

◆ autoMap()

void autoMap ( const fvPatchFieldMapper & m)
virtual

Map (and resize as needed) from self given a mapping object.

Definition at line 105 of file wallHeatTransferFvPatchScalarField.C.

References Field< scalar >::autoMap().

Here is the call graph for this function:

◆ rmap()

void rmap ( const fvPatchScalarField & ptf,
const labelList & addr )
virtual

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 116 of file wallHeatTransferFvPatchScalarField.C.

References Foam::refCast(), and wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Update the coefficients associated with the patch field.

Definition at line 132 of file wallHeatTransferFvPatchScalarField.C.

References IOobject::groupName(), ThermalDiffusivity< BasicTurbulenceModel >::kappaEff(), and turbulenceModel::propertiesName.

Here is the call graph for this function:

◆ write()

void write ( Ostream & os) const
virtual

Write.

Definition at line 162 of file wallHeatTransferFvPatchScalarField.C.

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

Here is the call graph for this function:

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