FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Base class for injectors. More...

#include <dieselSpray/injectorType.H>


Detailed Description

Base class for injectors.

Source files

Definition at line 58 of file injectorType.H.

Inheritance diagram for injectorType:

List of all members.

Public Member Functions

 TypeName ("injectorType")
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, injectorType, dictionary,(const Time &t, const dictionary &dict),(t, dict))
 injectorType (const Time &t, const dictionary &dict)
 Construct from components.
virtual  ~injectorType ()
virtual label  nParcelsToInject (const scalar time0, const scalar time1) const =0
 Return number of particles to inject.
virtual const vector  position (const label n) const =0
 Return the injection position.
virtual vector  position (const label n, const scalar time, const bool twoD, const scalar angleOfWedge, const vector &axisOfSymmetry, const vector &axisOfWedge, const vector &axisOfWedgeNormal, Random &rndGen) const =0
 Return the injection position.
virtual label  nHoles () const =0
 Return the number of holes.
virtual scalar  d () const =0
 Return the injector diameter.
virtual const vector &  direction (const label i, const scalar time) const =0
 Return the injection direction for hole i.
virtual scalar  mass (const scalar time0, const scalar time1, const bool twoD, const scalar angleOfWedge) const =0
 Return the mass of the injected liquid between times.
virtual scalar  mass () const =0
 Return the mass injected by the injector.
virtual List< pair >  massFlowRateProfile () const =0
 Return the mass flow rate profile.
virtual scalar  massFlowRate (const scalar time) const =0
 Return the instantaneous mass flow rate profile.
virtual List< pair >  injectionPressureProfile () const =0
 Return the pressure injection profile.
virtual scalar  injectionPressure (const scalar time) const =0
 Return the instantaneous injection pressure.
virtual List< pair >  velocityProfile () const =0
 Return the velocity injection profile.
virtual scalar  velocity (const scalar time) const =0
 Return the instantaneous velocity.
virtual List< pair >  CdProfile () const =0
 Return the discharge coefficient.
virtual scalar  Cd (const scalar time) const =0
 Return the instantaneous discharge coefficient.
virtual const scalarField &  X () const =0
 Return the fuel mass fractions of the injected particle.
virtual List< pair >  T () const =0
 Return the temperatue profile of the injected parcel.
virtual scalar  T (const scalar time) const =0
 Return the temperatue of the injected parcel.
virtual scalar  tsoi () const =0
 Return the start-of-injection time.
virtual scalar  teoi () const =0
 Return the end-of-injection time.
virtual scalar  injectedMass (const scalar t) const =0
virtual bool  pressureIndependentVelocity () const =0
virtual vector  tan1 (const label n) const =0
 Return a vector perpendicular to the injection direction and tan2 for hole n.
virtual vector  tan2 (const label n) const =0
 Return a vector perpendicular to the injection direction and tan1 for hole n.
scalar  getTableValue (const List< pair > &table, const scalar value) const
scalar  integrateTable (const List< pair > &table, const scalar value) const
scalar  integrateTable (const List< pair > &table) const
virtual void  correctProfiles (const liquidMixture &fuel, const scalar referencePressure)=0

Static Public Member Functions

static autoPtr< injectorType >  New (const Time &t, const dictionary &dict)

Constructor & Destructor Documentation

injectorType ( const Time &   t,
const dictionary &   dict  
)

Construct from components.

Definition at line 43 of file injectorType.C.

~injectorType (  ) [virtual]

Definition at line 86 of file injectorType.C.


Member Function Documentation

TypeName ( "injectorType"    )

Runtime type information.

declareRunTimeSelectionTable ( autoPtr   ,
injectorType   ,
dictionary   ,
(const Time &t, const dictionary &dict)   ,
(t, dict)    
)
Foam::autoPtr< Foam::injectorType > New ( const Time &   t,
const dictionary &   dict  
) [static]
virtual label nParcelsToInject ( const scalar   time0,
const scalar   time1  
) const [pure virtual]

Return number of particles to inject.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual const vector position ( const label   n  ) const [pure virtual]

Return the injection position.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

Referenced by LISA::atomizeParcel().

virtual vector position ( const label   n,
const scalar   time,
const bool   twoD,
const scalar   angleOfWedge,
const vector &   axisOfSymmetry,
const vector &   axisOfWedge,
const vector &   axisOfWedgeNormal,
Random &   rndGen  
) const [pure virtual]

Return the injection position.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual label nHoles (  ) const [pure virtual]

Return the number of holes.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

Referenced by LISA::atomizeParcel().

virtual scalar d (  ) const [pure virtual]
virtual const vector& direction ( const label   i,
const scalar   time  
) const [pure virtual]

Return the injection direction for hole i.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

Referenced by LISA::atomizeParcel().

virtual scalar mass ( const scalar   time0,
const scalar   time1,
const bool   twoD,
const scalar   angleOfWedge  
) const [pure virtual]
virtual scalar mass (  ) const [pure virtual]

Return the mass injected by the injector.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual List<pair> massFlowRateProfile (  ) const [pure virtual]

Return the mass flow rate profile.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual scalar massFlowRate ( const scalar   time  ) const [pure virtual]
virtual List<pair> injectionPressureProfile (  ) const [pure virtual]
virtual scalar injectionPressure ( const scalar   time  ) const [pure virtual]

Return the instantaneous injection pressure.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual scalar velocity ( const scalar   time  ) const [pure virtual]

Return the instantaneous velocity.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual List<pair> CdProfile (  ) const [pure virtual]

Return the discharge coefficient.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual scalar Cd ( const scalar   time  ) const [pure virtual]

Return the instantaneous discharge coefficient.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual scalar T ( const scalar   time  ) const [pure virtual]

Return the temperatue of the injected parcel.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual scalar injectedMass ( const scalar   t  ) const [pure virtual]
virtual vector tan1 ( const label   n  ) const [pure virtual]

Return a vector perpendicular to the injection direction and tan2 for hole n.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

virtual vector tan2 ( const label   n  ) const [pure virtual]

Return a vector perpendicular to the injection direction and tan1 for hole n.

Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.

Foam::scalar getTableValue ( const List< pair > &   table,
const scalar   value  
) const
Foam::scalar integrateTable ( const List< pair > &   table  ) const

Definition at line 165 of file injectorType.C.

References List< T >::size().

virtual void correctProfiles ( const liquidMixture &   fuel,
const scalar   referencePressure  
) [pure virtual]

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