Public Member Functions | List of all members
wallHeatTransferFvPatchScalarField Class Reference

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

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

Public Member Functions

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

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 29 of file wallHeatTransferFvPatchScalarField.C.

References Foam::Zero.

Referenced by wallHeatTransferFvPatchScalarField::clone().

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 59 of file wallHeatTransferFvPatchScalarField.C.

References dict, Foam::stringOps::evaluate(), and Foam::Zero.

Here is the call graph for this function:

◆ 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 45 of file wallHeatTransferFvPatchScalarField.C.

◆ wallHeatTransferFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 81 of file wallHeatTransferFvPatchScalarField.C.

◆ wallHeatTransferFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 92 of file wallHeatTransferFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "wallHeatTransfer"  )

Runtime type information.

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Construct and return a clone.

Definition at line 152 of file wallHeatTransferFvPatchScalarField.H.

References wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

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 173 of file wallHeatTransferFvPatchScalarField.H.

References wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ Tinf() [1/2]

const scalarField& Tinf ( ) const
inline

Return Tinf.

Definition at line 191 of file wallHeatTransferFvPatchScalarField.H.

◆ Tinf() [2/2]

scalarField& Tinf ( )
inline

Return reference to Tinf to allow adjustment.

Definition at line 199 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [1/2]

const scalarField& alphaWall ( ) const
inline

Return alphaWall.

Definition at line 207 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [2/2]

scalarField& alphaWall ( )
inline

Return reference to alphaWall to allow adjustment.

Definition at line 215 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 106 of file wallHeatTransferFvPatchScalarField.C.

◆ rmap()

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

Reverse map the given fvPatchField onto this fvPatchField.

Definition at line 117 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField::rmap().

Referenced by wallHeatTransferFvPatchScalarField::rmap().

Here is the call graph for this function:
Here is the caller 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 Foam::constant::atomic::group, IOobject::groupName(), ThermalDiffusivity< BasicTurbulenceModel >::kappaEff(), Foam::foamVersion::patch, 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: