List of injection models. More...
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... | |
List of injection models.
Definition at line 83 of file KinematicCloud.H.
InjectionModelList | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 33 of file InjectionModelList.C.
InjectionModelList | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from dictionary and cloud owner.
Definition at line 41 of file InjectionModelList.C.
InjectionModelList | ( | const InjectionModelList< CloudType > & | im | ) |
Construct copy.
Definition at line 100 of file InjectionModelList.C.
|
virtual |
Destructor.
Definition at line 111 of file InjectionModelList.C.
|
inlinevirtual |
Construct and return a clone.
Definition at line 70 of file InjectionModelList.H.
Foam::scalar timeStart | ( | ) | const |
Return the minimum start-of-injection time.
Definition at line 118 of file InjectionModelList.C.
Foam::scalar timeEnd | ( | ) | const |
Return the maximum end-of-injection time.
Definition at line 131 of file InjectionModelList.C.
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.
Foam::scalar averageParcelMass | ( | ) |
Return the average parcel mass.
Definition at line 161 of file InjectionModelList.C.
void updateMesh | ( | ) |
Set injector locations when mesh is updated.
Definition at line 177 of file InjectionModelList.C.
void inject | ( | TrackCloudType & | cloud, |
typename CloudType::parcelType::trackingData & | td | ||
) |
Main injection loop.
Definition at line 189 of file InjectionModelList.C.
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.
|
virtual |
Write injection info to stream.
Definition at line 218 of file InjectionModelList.C.