FreeFOAM The Cross-Platform CFD Toolkit
pressureSwirlInjector Class Reference

Randomly distribute the parcels between the inner and outer cone angle. More...

#include <dieselSpray/pressureSwirlInjector.H>


Detailed Description

Randomly distribute the parcels between the inner and outer cone angle.

Set inner angle to zero for solid cone.

Definition at line 49 of file pressureSwirlInjector.H.

+ Inheritance diagram for pressureSwirlInjector:
+ Collaboration diagram for pressureSwirlInjector:

List of all members.

Public Member Functions

 TypeName ("pressureSwirlInjector")
 Runtime type information.
 pressureSwirlInjector (const dictionary &dict, spray &sm)
 Construct from components.
 ~pressureSwirlInjector ()
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 87 of file pressureSwirlInjector.C.


Member Function Documentation

TypeName ( "pressureSwirlInjector"  )

Runtime type information.

scalar d0 ( const label  injector,
const scalar  time 
) const
virtual
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 125 of file pressureSwirlInjector.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 172 of file pressureSwirlInjector.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: