Public Member Functions | List of all members
outletMappedUniformInletHeatAdditionFvPatchField Class Reference

This temperature boundary condition averages the temperature over the "outlet" patch specified by name "outletPatchName" and applies an extra heat source. This is set as a uniform temperature value on this patch. Additionally TMin/TMax limits can be applied. More...

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

Public Member Functions

 TypeName ("outletMappedUniformInletHeatAddition")
 
 outletMappedUniformInletHeatAdditionFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 outletMappedUniformInletHeatAdditionFvPatchField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &)
 
virtual tmp< fvPatchField< scalar > > clone () const
 
 outletMappedUniformInletHeatAdditionFvPatchField (const outletMappedUniformInletHeatAdditionFvPatchField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchField< scalar > > clone (const DimensionedField< scalar, volMesh > &iF) const
 
const wordoutletPatchName () const
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

This temperature boundary condition averages the temperature over the "outlet" patch specified by name "outletPatchName" and applies an extra heat source. This is set as a uniform temperature value on this patch. Additionally TMin/TMax limits can be applied.


Patch usage

Property Description Required Default value
outletPatch name of outlet patch yes
Q Heat addition yes
phi flux field name no phi
TMin min temperature limit no 0.0
TMax max temperature limit no 5000.0

Example of the boundary condition specification:

    myPatch
    {
        type            outletMappedUniformInletHeatAddition;
        outletPatch     aPatch;
        Q               10;     // Heat addition in W
        phi             phi;
        value           uniform 0;
    }
See also
Foam::fixedValueFvPatchField
Source files

Definition at line 109 of file outletMappedUniformInletHeatAdditionFvPatchField.H.

Constructor & Destructor Documentation

◆ outletMappedUniformInletHeatAdditionFvPatchField() [1/5]

Definition at line 31 of file outletMappedUniformInletHeatAdditionFvPatchField.C.

Referenced by outletMappedUniformInletHeatAdditionFvPatchField::clone().

Here is the caller graph for this function:

◆ outletMappedUniformInletHeatAdditionFvPatchField() [2/5]

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

◆ outletMappedUniformInletHeatAdditionFvPatchField() [3/5]

◆ outletMappedUniformInletHeatAdditionFvPatchField() [4/5]

◆ outletMappedUniformInletHeatAdditionFvPatchField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "outletMappedUniformInletHeatAddition"  )

◆ clone() [1/2]

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

◆ clone() [2/2]

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

◆ outletPatchName()

const word& outletPatchName ( ) const
inline

◆ updateCoeffs()

void updateCoeffs ( )
virtual

◆ write()

void write ( Ostream os) const
virtual

Definition at line 182 of file outletMappedUniformInletHeatAdditionFvPatchField.C.

References os(), fvPatchField::write(), Ostream::writeEntry(), and Ostream::writeEntryIfDifferent().

Here is the call graph for this function:

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