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.
|
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) | |||
) |
|
static |
Definition at line 39 of file newInjectorModel.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, dictionary::lookup(), and Foam::nl.
|
pure virtual |
Return the initial droplet diameter.
Implemented in blobsSwirlInjector, definedPressureSwirlInjector, pressureSwirlInjector, definedHollowConeInjector, ChomiakInjector, hollowConeInjector, and constInjector.
Referenced by spray::inject().
|
pure virtual |
Return the spray angle of the injector.
Implemented in blobsSwirlInjector, definedPressureSwirlInjector, pressureSwirlInjector, definedHollowConeInjector, ChomiakInjector, hollowConeInjector, and constInjector.
Referenced by spray::inject().
|
pure virtual |
Implemented in blobsSwirlInjector, definedPressureSwirlInjector, pressureSwirlInjector, definedHollowConeInjector, ChomiakInjector, hollowConeInjector, and constInjector.
Referenced by spray::inject().
|
pure virtual |
|
protected |
Definition at line 61 of file injectorModel.H.
|
protected |
Definition at line 62 of file injectorModel.H.
Definition at line 64 of file injectorModel.H.
|
protected |
Definition at line 65 of file injectorModel.H.