massLagrangianScalarFieldSource Class Reference

This source condition provides the mass of introduced particles. It converts between the corresponding volume/diameter/density/etc..., conditions to automatically produce a value for the mass. It is selected automatically by the clouds that need it, so the user should never need to specify this condition explicitly. More...

Inheritance diagram for massLagrangianScalarFieldSource:
Collaboration diagram for massLagrangianScalarFieldSource:

Public Member Functions

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

Detailed Description

This source condition provides the mass of introduced particles. It converts between the corresponding volume/diameter/density/etc..., conditions to automatically produce a value for the mass. It is selected automatically by the clouds that need it, so the user should never need to specify this condition explicitly.

Source files

Definition at line 53 of file massLagrangianScalarFieldSource.H.

Constructor & Destructor Documentation

◆ massLagrangianScalarFieldSource() [1/3]

Construct from internal field.

Definition at line 32 of file massLagrangianScalarFieldSource.C.

Referenced by massLagrangianScalarFieldSource::clone().

Here is the caller graph for this function:

◆ massLagrangianScalarFieldSource() [2/3]

massLagrangianScalarFieldSource ( const regIOobject iIo,
const dictionary dict 
)

Construct from internal field and dictionary.

Definition at line 42 of file massLagrangianScalarFieldSource.C.

◆ massLagrangianScalarFieldSource() [3/3]

Copy constructor setting the internal field reference.

Definition at line 53 of file massLagrangianScalarFieldSource.C.

◆ ~massLagrangianScalarFieldSource()

Destructor.

Definition at line 66 of file massLagrangianScalarFieldSource.C.

Member Function Documentation

◆ TypeName()

TypeName ( "mass"  )

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 80 of file massLagrangianScalarFieldSource.H.

References massLagrangianScalarFieldSource::massLagrangianScalarFieldSource().

Here is the call graph for this function:

◆ value()

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

Return the value for an instantaneous injection.

Definition at line 73 of file massLagrangianScalarFieldSource.C.


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