energyLagrangianScalarFieldSource Class Reference

Source condition for energy. Applied to the energy model automatically by the Lagrangian thermodynamic model. This should not need to be specified manually. More...

Inheritance diagram for energyLagrangianScalarFieldSource:
Collaboration diagram for energyLagrangianScalarFieldSource:

Public Member Functions

 TypeName ("energy")
 Runtime type information. More...
 
virtual autoPtr< LagrangianScalarFieldSource > clone (const regIOobject &iIo) const
 Construct and return a clone setting the internal field reference. More...
 
virtual ~energyLagrangianScalarFieldSource ()
 Destructor. More...
 
virtual tmp< LagrangianSubScalarFieldvalue (const LagrangianInjection &, const LagrangianSubMesh &) const
 Return the value for an instantaneous injection. More...
 

Detailed Description

Source condition for energy. Applied to the energy model automatically by the Lagrangian thermodynamic model. This should not need to be specified manually.

Source files

Definition at line 50 of file energyLagrangianScalarFieldSource.H.

Constructor & Destructor Documentation

◆ ~energyLagrangianScalarFieldSource()

Destructor.

Definition at line 32 of file energyLagrangianScalarFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "energy"  )

Runtime type information.

◆ clone()

virtual autoPtr<LagrangianScalarFieldSource> clone ( const regIOobject iIo) const
inlinevirtual

Construct and return a clone setting the internal field reference.

Definition at line 66 of file energyLagrangianScalarFieldSource.H.

◆ value()

Foam::tmp< Foam::LagrangianSubScalarField > value ( const LagrangianInjection injection,
const LagrangianSubMesh subMesh 
) const
virtual

Return the value for an instantaneous injection.

Definition at line 39 of file energyLagrangianScalarFieldSource.C.

References IOobject::groupName(), LagrangianModel::name(), GeometricField< Type, GeoMesh, PrimitiveField >::sources(), basicThermo::T(), thermo, and Foam::typeName().

Here is the call graph for this function:

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