densityLagrangianScalarFieldSource Class Reference

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

Inheritance diagram for densityLagrangianScalarFieldSource:
Collaboration diagram for densityLagrangianScalarFieldSource:

Public Member Functions

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

Detailed Description

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

Source files

Definition at line 50 of file densityLagrangianScalarFieldSource.H.

Constructor & Destructor Documentation

◆ ~densityLagrangianScalarFieldSource()

Destructor.

Definition at line 32 of file densityLagrangianScalarFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "density"  )

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 densityLagrangianScalarFieldSource.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 densityLagrangianScalarFieldSource.C.

References IOobject::groupName(), LagrangianModel::name(), basicThermo::rho(), 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: