InjectionModelList< CloudType > Class Template Reference

List of injection models. More...

Inheritance diagram for InjectionModelList< CloudType >:

Public Member Functions

 InjectionModelList (CloudType &owner)
 Construct null from owner. More...
 InjectionModelList (const dictionary &dict, CloudType &owner)
 Construct from dictionary and cloud owner. More...
 InjectionModelList (const InjectionModelList< CloudType > &im)
 Construct copy. More...
virtual autoPtr< InjectionModelList< CloudType > > clone () const
 Construct and return a clone. More...
virtual ~InjectionModelList ()
 Destructor. More...
scalar timeStart () const
 Return the minimum start-of-injection time. More...
scalar timeEnd () const
 Return the maximum end-of-injection time. More...
scalar volumeToInject (const scalar time0, const scalar time1)
 Volume of parcels to introduce relative to SOI. More...
scalar averageParcelMass ()
 Return the average parcel mass. More...
void updateMesh ()
 Set injector locations when mesh is updated. More...
template<class TrackCloudType >
void inject (TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td)
 Main injection loop. More...
template<class TrackCloudType >
void injectSteadyState (TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td, const scalar trackTime)
 Main injection loop - steady-state. More...
virtual void info (Ostream &os)
 Write injection info to stream. More...

Detailed Description

template<class CloudType>
class Foam::InjectionModelList< CloudType >

List of injection models.

Source files

Definition at line 83 of file KinematicCloud.H.

Constructor & Destructor Documentation

◆ InjectionModelList() [1/3]

Construct null from owner.

Definition at line 33 of file InjectionModelList.C.

◆ InjectionModelList() [2/3]

InjectionModelList ( const dictionary dict,
CloudType owner 

Construct from dictionary and cloud owner.

Definition at line 41 of file InjectionModelList.C.

◆ InjectionModelList() [3/3]

Construct copy.

Definition at line 100 of file InjectionModelList.C.

◆ ~InjectionModelList()

~InjectionModelList ( )


Definition at line 111 of file InjectionModelList.C.

Member Function Documentation

◆ clone()

virtual autoPtr<InjectionModelList<CloudType> > clone ( ) const

Construct and return a clone.

Definition at line 70 of file InjectionModelList.H.

◆ timeStart()

Foam::scalar timeStart ( ) const

Return the minimum start-of-injection time.

Definition at line 118 of file InjectionModelList.C.

◆ timeEnd()

Foam::scalar timeEnd ( ) const

Return the maximum end-of-injection time.

Definition at line 131 of file InjectionModelList.C.

◆ volumeToInject()

Foam::scalar volumeToInject ( const scalar  time0,
const scalar  time1 

Volume of parcels to introduce relative to SOI.

Definition at line 145 of file InjectionModelList.C.

◆ averageParcelMass()

Foam::scalar averageParcelMass ( )

Return the average parcel mass.

Definition at line 161 of file InjectionModelList.C.

◆ updateMesh()

void updateMesh ( )

Set injector locations when mesh is updated.

Definition at line 177 of file InjectionModelList.C.

◆ inject()

void inject ( TrackCloudType &  cloud,
typename CloudType::parcelType::trackingData &  td 

Main injection loop.

Definition at line 189 of file InjectionModelList.C.

◆ injectSteadyState()

void injectSteadyState ( TrackCloudType &  cloud,
typename CloudType::parcelType::trackingData &  td,
const scalar  trackTime 

Main injection loop - steady-state.

Definition at line 204 of file InjectionModelList.C.

◆ info()

void info ( Ostream os)

Write injection info to stream.

Definition at line 218 of file InjectionModelList.C.

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