energyFvScalarFieldSource Class Reference

This source condition provides a value for the energy derived from the corresponding condition for the temperature, and the conditions for other relevant thermodynamic variables. This is constructed automatically by the thermodynamic model. The user does not specify it. More...

Inheritance diagram for energyFvScalarFieldSource:
Collaboration diagram for energyFvScalarFieldSource:

Public Member Functions

 TypeName ("energy")
 Runtime type information. More...
 
 energyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &)
 Construct from internal field. More...
 
 energyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 energyFvScalarFieldSource (const energyFvScalarFieldSource &, const DimensionedField< scalar, volMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual autoPtr< fvScalarFieldSource > clone (const DimensionedField< scalar, volMesh > &iF) const
 Construct and return a clone setting internal field reference. More...
 
virtual ~energyFvScalarFieldSource ()
 Destructor. More...
 
virtual tmp< scalarFieldsourceValue (const fvSource &) const
 Return the source value. More...
 
virtual tmp< scalarFieldinternalCoeff (const fvSource &) const
 Return the internal coefficient. More...
 

Detailed Description

This source condition provides a value for the energy derived from the corresponding condition for the temperature, and the conditions for other relevant thermodynamic variables. This is constructed automatically by the thermodynamic model. The user does not specify it.

Source files

Definition at line 51 of file energyFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ energyFvScalarFieldSource() [1/3]

Construct from internal field.

Definition at line 35 of file energyFvScalarFieldSource.C.

Referenced by energyFvScalarFieldSource::clone().

Here is the caller graph for this function:

◆ energyFvScalarFieldSource() [2/3]

energyFvScalarFieldSource ( const DimensionedField< scalar, volMesh > &  iF,
const dictionary dict 
)

Construct from internal field and dictionary.

Definition at line 44 of file energyFvScalarFieldSource.C.

◆ energyFvScalarFieldSource() [3/3]

energyFvScalarFieldSource ( const energyFvScalarFieldSource field,
const DimensionedField< scalar, volMesh > &  iF 
)

Copy constructor setting internal field reference.

Definition at line 54 of file energyFvScalarFieldSource.C.

◆ ~energyFvScalarFieldSource()

Destructor.

Definition at line 66 of file energyFvScalarFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "energy"  )

Runtime type information.

◆ clone()

virtual autoPtr<fvScalarFieldSource> clone ( const DimensionedField< scalar, volMesh > &  iF) const
inlinevirtual

Construct and return a clone setting internal field reference.

Definition at line 81 of file energyFvScalarFieldSource.H.

References energyFvScalarFieldSource::energyFvScalarFieldSource().

Here is the call graph for this function:

◆ sourceValue()

Foam::tmp< Foam::scalarField > sourceValue ( const fvSource source) const
virtual

Return the source value.

Definition at line 73 of file energyFvScalarFieldSource.C.

References basicThermo::he(), basicThermo::lookupThermo(), fvModel::name(), GeometricField< Type, PatchField, GeoMesh >::sources(), basicThermo::T(), and thermo.

Here is the call graph for this function:

◆ internalCoeff()

Foam::tmp< Foam::scalarField > internalCoeff ( const fvSource source) const
virtual

Return the internal coefficient.

Definition at line 92 of file energyFvScalarFieldSource.C.

References basicThermo::lookupThermo(), fvModel::name(), GeometricField< Type, PatchField, GeoMesh >::sources(), basicThermo::T(), and thermo.

Here is the call graph for this function:

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