37#ifndef InjectionModelList_H
38#define InjectionModelList_H
52template<
class CloudType>
55 public PtrList<InjectionModel<CloudType>>
111 template<
class TrackCloudType>
114 TrackCloudType&
cloud,
119 template<
class TrackCloudType>
122 TrackCloudType&
cloud,
124 const scalar trackTime
Templated base class for dsmc cloud.
List of injection models.
void inject(TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td)
Main injection loop.
virtual ~InjectionModelList()
Destructor.
scalar volumeToInject(const scalar time0, const scalar time1)
Volume of parcels to introduce relative to SOI.
virtual void info(Ostream &os)
Write injection info to stream.
scalar timeStart() const
Return the minimum start-of-injection time.
scalar averageParcelMass()
Return the average parcel mass.
void injectSteadyState(TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td, const scalar trackTime)
Main injection loop - steady-state.
virtual autoPtr< InjectionModelList< CloudType > > clone() const
Construct and return a clone.
void updateMesh()
Set injector locations when mesh is updated.
scalar timeEnd() const
Return the maximum end-of-injection time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class used to pass data into container.
OBJstream os(runTime.globalPath()/outputName)