The injectormodel is used to set initial droplet size and the velocity direction. More...
#include <dieselSpray/injectorModel.H>
The injectormodel is used to set initial droplet size and the velocity direction.
Definition at line 54 of file injectorModel.H.
Public Member Functions | |
TypeName ("injectorModel") | |
Runtime type information.
| |
declareRunTimeSelectionTable (autoPtr, injectorModel, dictionary,(const dictionary &dict, spray &sm),(dict, sm)) | |
injectorModel (const dictionary &dict, spray &sm) | |
Construct from components.
| |
virtual | ~injectorModel () |
virtual scalar | d0 (const label injector, const scalar time) const =0 |
Return the initial droplet diameter.
| |
virtual vector | direction (const label injector, const label hole, const scalar time, const scalar d) const =0 |
Return the spray angle of the injector.
| |
virtual scalar | velocity (const label i, const scalar time) const =0 |
virtual scalar | averageVelocity (const label i) const =0 |
Static Public Member Functions | |
static autoPtr< injectorModel > | New (const dictionary &dict, spray &sm) |
Protected Attributes | |
const dictionary & | dict_ |
spray & | sm_ |
const PtrList< injector > & | injectors_ |
Random & | rndGen_ |
injectorModel | ( | const dictionary & | dict, |
spray & | sm | ||
) |
Construct from components.
Definition at line 46 of file injectorModel.C.
~injectorModel | ( | ) | [virtual]
|
Definition at line 59 of file injectorModel.C.
TypeName | ( | "injectorModel" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
injectorModel | , | ||
dictionary | , | ||
(const dictionary &dict, spray &sm) | , | ||
(dict, sm) | |||
) |
autoPtr< injectorModel > New | ( | const dictionary & | dict, |
spray & | sm | ||
) | [static]
|
Definition at line 39 of file newInjectorModel.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, dictionary::lookup(), and Foam::nl.
virtual scalar d0 | ( | const label | injector, |
const scalar | time | ||
) | const [pure virtual]
|
Return the initial droplet diameter.
Implemented in blobsSwirlInjector, ChomiakInjector, constInjector, definedHollowConeInjector, definedPressureSwirlInjector, hollowConeInjector, and pressureSwirlInjector.
Referenced by spray::inject().
virtual vector direction | ( | const label | injector, |
const label | hole, | ||
const scalar | time, | ||
const scalar | d | ||
) | const [pure virtual]
|
Return the spray angle of the injector.
Implemented in blobsSwirlInjector, ChomiakInjector, constInjector, definedHollowConeInjector, definedPressureSwirlInjector, hollowConeInjector, and pressureSwirlInjector.
Referenced by spray::inject().
virtual scalar velocity | ( | const label | i, |
const scalar | time | ||
) | const [pure virtual]
|
Implemented in blobsSwirlInjector, ChomiakInjector, constInjector, definedHollowConeInjector, definedPressureSwirlInjector, hollowConeInjector, and pressureSwirlInjector.
Referenced by spray::inject().
virtual scalar averageVelocity | ( | const label | i ) | const [pure virtual]
|
const dictionary& dict_ [protected]
|
Definition at line 61 of file injectorModel.H.
Definition at line 62 of file injectorModel.H.
const PtrList<injector>& injectors_ [protected]
|
Definition at line 64 of file injectorModel.H.
Definition at line 65 of file injectorModel.H.