FreeFOAM The Cross-Platform CFD Toolkit
definedPressureSwirlInjector Class Reference

Pressure swirl injector model with user-defined cone-angle/interval vs. time. More...

#include <dieselSpray/definedPressureSwirl.H>


Detailed Description

Pressure swirl injector model with user-defined cone-angle/interval vs. time.

Definition at line 49 of file definedPressureSwirl.H.

+ Inheritance diagram for definedPressureSwirlInjector:
+ Collaboration diagram for definedPressureSwirlInjector:

List of all members.

Public Member Functions

 TypeName ("definedPressureSwirlInjector")
 Runtime type information.
 definedPressureSwirlInjector (const dictionary &dict, spray &sm)
 Construct from components.
 ~definedPressureSwirlInjector ()
scalar d0 (const label injector, const scalar time) const
 Return the injected droplet diameter.
vector direction (const label injector, const label hole, const scalar time, const scalar d) const
 Return the spray angle of the injector.
scalar velocity (const label i, const scalar time) const
scalar averageVelocity (const label i) const
- Public Member Functions inherited from injectorModel
 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 ()

Additional Inherited Members

- Static Public Member Functions inherited from injectorModel
static autoPtr< injectorModelNew (const dictionary &dict, spray &sm)
- Protected Attributes inherited from injectorModel
const dictionarydict_
spraysm_
const PtrList< injector > & injectors_
RandomrndGen_

Constructor & Destructor Documentation

Definition at line 79 of file definedPressureSwirl.C.


Member Function Documentation

TypeName ( "definedPressureSwirlInjector"  )

Runtime type information.

vector direction ( const label  injector,
const label  hole,
const scalar  time,
const scalar  d 
) const
virtual

Return the spray angle of the injector.

Implements injectorModel.

Definition at line 196 of file definedPressureSwirl.C.

References beta(), Foam::cos(), Foam::mag(), Foam::mathematicalConstant::pi(), Foam::reduce(), Foam::sin(), and Vector< scalar >::zero.

scalar velocity ( const label  i,
const scalar  time 
) const
virtual

Implements injectorModel.

Definition at line 243 of file definedPressureSwirl.C.

References Foam::pow(), Foam::sqrt(), and Foam::tan().

scalar averageVelocity ( const label  i) const
virtual

The documentation for this class was generated from the following files: