Public Member Functions | List of all members
totalTemperatureFvPatchScalarField Class Reference

This boundary condition provides a total temperature condition. More...

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

Public Member Functions

 TypeName ("totalTemperature")
 
 totalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 totalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 totalTemperatureFvPatchScalarField (const totalTemperatureFvPatchScalarField &, const DimensionedField< scalar, volMesh > &)
 
virtual tmp< fvPatchScalarFieldclone (const DimensionedField< scalar, volMesh > &iF) const
 
const scalarFieldT0 () const
 
scalarFieldT0 ()
 
virtual void autoMap (const fvPatchFieldMapper &)
 
virtual void rmap (const fvPatchScalarField &, const labelList &)
 
virtual void updateCoeffs ()
 
virtual void write (Ostream &) const
 

Detailed Description

This boundary condition provides a total temperature condition.

Usage
Property Description Required Default value
U Velocity field name no U
phi Flux field name no phi
psi Compressibility field name no thermo:psi
gamma ratio of specific heats (Cp/Cv) yes
T0 total temperature yes

Example of the boundary condition specification:

    <patchName>
    {
        type            totalTemperature;
        gamma           1.4;
        T0              uniform 800;
    }
Source files
See also
Foam::fixedValueFvPatchField

Definition at line 102 of file totalTemperatureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ totalTemperatureFvPatchScalarField() [1/5]

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

Definition at line 31 of file totalTemperatureFvPatchScalarField.C.

Referenced by totalTemperatureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ totalTemperatureFvPatchScalarField() [2/5]

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

Definition at line 63 of file totalTemperatureFvPatchScalarField.C.

References dict, and p.

◆ totalTemperatureFvPatchScalarField() [3/5]

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

Definition at line 46 of file totalTemperatureFvPatchScalarField.C.

◆ totalTemperatureFvPatchScalarField() [4/5]

Definition at line 91 of file totalTemperatureFvPatchScalarField.C.

◆ totalTemperatureFvPatchScalarField() [5/5]

Definition at line 105 of file totalTemperatureFvPatchScalarField.C.

Member Function Documentation

◆ TypeName()

TypeName ( "totalTemperature"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

Definition at line 164 of file totalTemperatureFvPatchScalarField.H.

References totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField().

Here is the call graph for this function:

◆ clone() [2/2]

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

Definition at line 181 of file totalTemperatureFvPatchScalarField.H.

References totalTemperatureFvPatchScalarField::totalTemperatureFvPatchScalarField().

Here is the call graph for this function:

◆ T0() [1/2]

const scalarField& T0 ( ) const
inline

Definition at line 197 of file totalTemperatureFvPatchScalarField.H.

◆ T0() [2/2]

scalarField& T0 ( )
inline

Definition at line 203 of file totalTemperatureFvPatchScalarField.H.

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

Definition at line 122 of file totalTemperatureFvPatchScalarField.C.

◆ rmap()

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

Definition at line 132 of file totalTemperatureFvPatchScalarField.C.

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 146 of file totalTemperatureFvPatchScalarField.C.

References Foam::magSqr(), Foam::foamVersion::patch, and Foam::pos0().

Here is the call graph for this function:

◆ write()

void write ( Ostream os) const
virtual

Definition at line 173 of file totalTemperatureFvPatchScalarField.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: