Public Member Functions | List of all members

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

Referenced by wallHeatTransferFvPatchScalarField::clone(), and wallHeatTransferFvPatchScalarField::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 64 of file wallHeatTransferFvPatchScalarField.C.

References dictionary::found(), scalarField(), fvPatch::size(), and wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

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

References wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ wallHeatTransferFvPatchScalarField() [4/5]

Construct as copy.

Definition at line 93 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:

◆ wallHeatTransferFvPatchScalarField() [5/5]

Construct as copy setting internal field reference.

Definition at line 104 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField::autoMap().

Here is the call graph for this function:

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 137 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 154 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 170 of file wallHeatTransferFvPatchScalarField.H.

◆ Tinf() [2/2]

scalarField& Tinf ( )
inline

Return reference to Tinf to allow adjustment.

Definition at line 176 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [1/2]

const scalarField& alphaWall ( ) const
inline

Return alphaWall.

Definition at line 182 of file wallHeatTransferFvPatchScalarField.H.

◆ alphaWall() [2/2]

scalarField& alphaWall ( )
inline

Return reference to alphaWall to allow adjustment.

Definition at line 188 of file wallHeatTransferFvPatchScalarField.H.

References wallHeatTransferFvPatchScalarField::autoMap(), wallHeatTransferFvPatchScalarField::rmap(), wallHeatTransferFvPatchScalarField::updateCoeffs(), and wallHeatTransferFvPatchScalarField::write().

Here is the call graph for this function:

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

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

Definition at line 118 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField::rmap().

Referenced by wallHeatTransferFvPatchScalarField::alphaWall(), and wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField().

Here is the call graph for this function:
Here is the caller 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 129 of file wallHeatTransferFvPatchScalarField.C.

References wallHeatTransferFvPatchScalarField::rmap().

Referenced by wallHeatTransferFvPatchScalarField::alphaWall(), wallHeatTransferFvPatchScalarField::autoMap(), and 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 144 of file wallHeatTransferFvPatchScalarField.C.

References Foam::constant::atomic::group, IOobject::groupName(), ThermalDiffusivity< BasicTurbulenceModel >::kappaEff(), patchi, and turbulenceModel::propertiesName.

Referenced by wallHeatTransferFvPatchScalarField::alphaWall().

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

◆ write()

void write ( Ostream os) const
virtual

Write.

Definition at line 174 of file wallHeatTransferFvPatchScalarField.C.

References Foam::makePatchTypeField(), fvPatchField< Type >::write(), and Field< Type >::writeEntry().

Referenced by wallHeatTransferFvPatchScalarField::alphaWall().

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

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