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 TrackData > | |
void | inject (TrackData &td) |
Main injection loop. More... | |
template<class TrackData > | |
void | injectSteadyState (TrackData &td, const scalar trackTime) |
Main injection loop - steady-state. More... | |
virtual void | info (Ostream &os) |
Write injection info to stream. More... | |
InjectionModelList | ( | CloudType & | owner | ) |
Construct null from owner.
Definition at line 31 of file InjectionModelList.C.
InjectionModelList | ( | const dictionary & | dict, |
CloudType & | owner | ||
) |
Construct from dictionary and cloud owner.
Definition at line 39 of file InjectionModelList.C.
InjectionModelList | ( | const InjectionModelList< CloudType > & | im | ) |
Construct copy.
|
virtual |
Destructor.
Definition at line 106 of file InjectionModelList.C.
|
inlinevirtual |
Construct and return a clone.
Definition at line 68 of file InjectionModelList.H.
Foam::scalar timeStart | ( | ) | const |
Return the minimum start-of-injection time.
Definition at line 113 of file InjectionModelList.C.
Foam::scalar timeEnd | ( | ) | const |
Return the maximum end-of-injection time.
Definition at line 126 of file InjectionModelList.C.
Foam::scalar volumeToInject | ( | const scalar | time0, |
const scalar | time1 | ||
) |
Volume of parcels to introduce relative to SOI.
Definition at line 140 of file InjectionModelList.C.
Foam::scalar averageParcelMass | ( | ) |
Return the average parcel mass.
Definition at line 156 of file InjectionModelList.C.
void updateMesh | ( | ) |
Set injector locations when mesh is updated.
Definition at line 172 of file InjectionModelList.C.
void inject | ( | TrackData & | td | ) |
Main injection loop.
Definition at line 183 of file InjectionModelList.C.
void injectSteadyState | ( | TrackData & | td, |
const scalar | trackTime | ||
) |
Main injection loop - steady-state.
Definition at line 195 of file InjectionModelList.C.
|
virtual |
Write injection info to stream.
Definition at line 208 of file InjectionModelList.C.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.