37 #ifndef InjectionModelList_H 38 #define InjectionModelList_H 52 template<
class CloudType>
53 class InjectionModelList
55 public PtrList<InjectionModel<CloudType>>
71 virtual autoPtr<InjectionModelList<CloudType>>
clone()
const 73 return autoPtr<InjectionModelList<CloudType>>
111 template<
class TrackCloudType>
114 TrackCloudType&
cloud,
115 typename CloudType::parcelType::trackingData&
td 119 template<
class TrackCloudType>
122 TrackCloudType&
cloud,
123 typename CloudType::parcelType::trackingData&
td,
124 const scalar trackTime
void inject(TrackCloudType &cloud, typename CloudType::parcelType::trackingData &td)
Main injection loop.
scalar volumeToInject(const scalar time0, const scalar time1)
Volume of parcels to introduce relative to SOI.
DSMCCloud< dsmcParcel > CloudType
InjectionModelList(CloudType &owner)
Construct null from owner.
void updateMesh()
Set injector locations when mesh is updated.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
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.
scalar timeStart() const
Return the minimum start-of-injection time.
scalar averageParcelMass()
Return the average parcel mass.
A cloud is a registry collection of lagrangian particles.
virtual ~InjectionModelList()=default
Destructor.
List of injection models.
virtual void info()
Write injection info.
scalar timeEnd() const
Return the maximum end-of-injection time.