Public Member Functions | List of all members
inletOutletTotalTemperatureFvPatchScalarField Class Reference

This boundary condition provides an outflow condition for total temperature for use with supersonic cases, where a user-specified value is applied in the case of reverse flow. More...

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

Public Member Functions

 TypeName ("inletOutletTotalTemperature")
 
 inletOutletTotalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &)
 
 inletOutletTotalTemperatureFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &)
 
 inletOutletTotalTemperatureFvPatchScalarField (const inletOutletTotalTemperatureFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fvPatchFieldMapper &)
 
 inletOutletTotalTemperatureFvPatchScalarField (const inletOutletTotalTemperatureFvPatchScalarField &)
 
virtual tmp< fvPatchScalarFieldclone () const
 
 inletOutletTotalTemperatureFvPatchScalarField (const inletOutletTotalTemperatureFvPatchScalarField &, 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 an outflow condition for total temperature for use with supersonic cases, where a user-specified value is applied in the case of reverse flow.

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 heat capacity ration (Cp/Cv) yes
inletValue reverse flow (inlet) value yes
T0 static temperature [K] yes

Example of the boundary condition specification:

    <patchName>
    {
        type            inletOutletTotalTemperature;
        U               U;
        phi             phi;
        psi             psi;
        gamma           gamma;
        inletValue      uniform 0;
        T0              uniform 0;
        value           uniform 0;
    }
See also
Foam::inletOutletFvPatchField
Source files

Definition at line 115 of file inletOutletTotalTemperatureFvPatchScalarField.H.

Constructor & Destructor Documentation

◆ inletOutletTotalTemperatureFvPatchScalarField() [1/5]

Definition at line 32 of file inletOutletTotalTemperatureFvPatchScalarField.C.

References Foam::Zero.

Referenced by inletOutletTotalTemperatureFvPatchScalarField::clone().

Here is the caller graph for this function:

◆ inletOutletTotalTemperatureFvPatchScalarField() [2/5]

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

Definition at line 68 of file inletOutletTotalTemperatureFvPatchScalarField.C.

References dict, p, and Foam::Zero.

◆ inletOutletTotalTemperatureFvPatchScalarField() [3/5]

◆ inletOutletTotalTemperatureFvPatchScalarField() [4/5]

◆ inletOutletTotalTemperatureFvPatchScalarField() [5/5]

Member Function Documentation

◆ TypeName()

TypeName ( "inletOutletTotalTemperature"  )

◆ clone() [1/2]

virtual tmp<fvPatchScalarField> clone ( ) const
inlinevirtual

◆ clone() [2/2]

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

◆ T0() [1/2]

const scalarField& T0 ( ) const
inline

◆ T0() [2/2]

scalarField& T0 ( )
inline

◆ autoMap()

void autoMap ( const fvPatchFieldMapper m)
virtual

◆ rmap()

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

◆ updateCoeffs()

void updateCoeffs ( )
virtual

Definition at line 158 of file inletOutletTotalTemperatureFvPatchScalarField.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 184 of file inletOutletTotalTemperatureFvPatchScalarField.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: