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

commonRailInjector Class Reference

Common-rail injector. More...

#include <dieselSpray/commonRailInjector.H>


Detailed Description

Common-rail injector.

Source files

Definition at line 52 of file commonRailInjector.H.

Inheritance diagram for commonRailInjector:
Collaboration diagram for commonRailInjector:

List of all members.

Public Member Functions

 TypeName ("commonRailInjector")
 Runtime type information.
 commonRailInjector (const Time &t, const dictionary &dict)
 Construct from components.
 ~commonRailInjector ()
label  nParcelsToInject (const scalar t0, const scalar t1) const
 Return number of particles to inject.
const vector  position (const label n) const
 Return the injection position.
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
 Return the injection position.
label  nHoles () const
 Return the number of holes.
scalar  d () const
 Return the injector diameter.
const vector &  direction (const label i, const scalar time) const
 Return the injection direction.
scalar  mass (const scalar t0, const scalar t1, const bool twoD, const scalar angleOfWedge) const
 Return the mass of the injected particle.
scalar  mass () const
 Return the mass injected by the injector.
const scalarField &  X () const
 Return the fuel mass fractions of the injected particle.
List< pair >  T () const
 Return the temperature profile of the injected particle.
scalar  T (const scalar time) const
 Return the temperature of the injected particle.
scalar  tsoi () const
 Return the start-of-injection time.
scalar  teoi () const
 Return the end-of-injection time.
scalar  injectedMass (const scalar t) const
 Return the injected liquid mass.
List< pair >  massFlowRateProfile () const
 Return the mass flow rate profile.
scalar  massFlowRate (const scalar time) const
 Return the instantaneous mass flow rate profile.
List< pair >  injectionPressureProfile () const
 Return the pressure injection profile.
scalar  injectionPressure (const scalar time) const
 Return the instantaneous injection pressure.
List< pair >  velocityProfile () const
 Return the velocity injection profile.
scalar  velocity (const scalar time) const
 Return the instantaneous velocity.
List< pair >  CdProfile () const
 Return the discharge coefficient.
scalar  Cd (const scalar time) const
 Return the instantaneous discharge coefficient.
vector  tan1 (const label n) const
 Return a vector perpendicular to the injection direction and tan2 for hole n.
vector  tan2 (const label n) const
 Return a vector perpendicular to the injection direction and tan1 for hole n.
void  correctProfiles (const liquidMixture &fuel, const scalar referencePressure)
bool  pressureIndependentVelocity () const

Constructor & Destructor Documentation

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

Construct from components.

Definition at line 50 of file commonRailInjector.C.

References Foam::abort(), Foam::endl(), Foam::FatalError, forAll, Foam::Info, Foam::mag(), and TimeState::userTimeToTime().

Definition at line 150 of file commonRailInjector.C.


Member Function Documentation

TypeName ( "commonRailInjector"    )

Runtime type information.

Foam::label nParcelsToInject ( const scalar   t0,
const scalar   t1  
) const [virtual]

Return number of particles to inject.

Implements injectorType.

Definition at line 177 of file commonRailInjector.C.

const Foam::vector position ( const label   n  ) const [virtual]

Return the injection position.

Implements injectorType.

Definition at line 189 of file commonRailInjector.C.

Foam::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 [virtual]

Return the injection position.

Implements injectorType.

Definition at line 195 of file commonRailInjector.C.

References Foam::cos(), Foam::mag(), Foam::mathematicalConstant::pi(), Random::scalar01(), and Foam::sin().

Foam::label nHoles (  ) const [virtual]

Return the number of holes.

Implements injectorType.

Definition at line 239 of file commonRailInjector.C.

Foam::scalar d (  ) const [virtual]

Return the injector diameter.

Implements injectorType.

Definition at line 244 of file commonRailInjector.C.

const Foam::vector & direction ( const label   i,
const scalar   time  
) const [virtual]

Return the injection direction.

Implements injectorType.

Definition at line 250 of file commonRailInjector.C.

Foam::scalar mass ( const scalar   t0,
const scalar   t1,
const bool   twoD,
const scalar   angleOfWedge  
) const [virtual]

Return the mass of the injected particle.

Implements injectorType.

Definition at line 259 of file commonRailInjector.C.

References Foam::mathematicalConstant::pi().

Foam::scalar mass (  ) const [virtual]

Return the mass injected by the injector.

Implements injectorType.

Definition at line 277 of file commonRailInjector.C.

const Foam::scalarField & X (  ) const [virtual]

Return the fuel mass fractions of the injected particle.

Implements injectorType.

Definition at line 282 of file commonRailInjector.C.

Foam::List< Foam::commonRailInjector::pair > T (  ) const [virtual]

Return the temperature profile of the injected particle.

Implements injectorType.

Definition at line 287 of file commonRailInjector.C.

Foam::scalar T ( const scalar   time  ) const [virtual]

Return the temperature of the injected particle.

Implements injectorType.

Definition at line 292 of file commonRailInjector.C.

Foam::scalar tsoi (  ) const [virtual]

Return the start-of-injection time.

Implements injectorType.

Definition at line 297 of file commonRailInjector.C.

Foam::scalar teoi (  ) const [virtual]

Return the end-of-injection time.

Implements injectorType.

Definition at line 302 of file commonRailInjector.C.

Foam::scalar injectedMass ( const scalar   t  ) const [virtual]

Return the injected liquid mass.

Implements injectorType.

Definition at line 350 of file commonRailInjector.C.

List<pair> massFlowRateProfile (  ) const [inline, virtual]

Return the mass flow rate profile.

Implements injectorType.

Definition at line 192 of file commonRailInjector.H.

Foam::scalar massFlowRate ( const scalar   time  ) const [virtual]

Return the instantaneous mass flow rate profile.

Implements injectorType.

Definition at line 308 of file commonRailInjector.C.

List<pair> injectionPressureProfile (  ) const [inline, virtual]

Return the pressure injection profile.

Implements injectorType.

Definition at line 199 of file commonRailInjector.H.

Foam::scalar injectionPressure ( const scalar   time  ) const [virtual]

Return the instantaneous injection pressure.

Implements injectorType.

Definition at line 316 of file commonRailInjector.C.

List<pair> velocityProfile (  ) const [inline, virtual]

Return the velocity injection profile.

Implements injectorType.

Definition at line 206 of file commonRailInjector.H.

Foam::scalar velocity ( const scalar   time  ) const [virtual]

Return the instantaneous velocity.

Implements injectorType.

Definition at line 324 of file commonRailInjector.C.

Foam::List< Foam::commonRailInjector::pair > CdProfile (  ) const [virtual]

Return the discharge coefficient.

Implements injectorType.

Definition at line 331 of file commonRailInjector.C.

Foam::scalar Cd ( const scalar   time  ) const [virtual]

Return the instantaneous discharge coefficient.

Implements injectorType.

Definition at line 337 of file commonRailInjector.C.

Foam::vector tan1 ( const label   n  ) const [virtual]

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

Implements injectorType.

Definition at line 379 of file commonRailInjector.C.

Foam::vector tan2 ( const label   n  ) const [virtual]

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

Implements injectorType.

Definition at line 384 of file commonRailInjector.C.

void correctProfiles ( const liquidMixture &   fuel,
const scalar   referencePressure  
) [virtual]
bool pressureIndependentVelocity (  ) const [inline, virtual]

Implements injectorType.

Definition at line 225 of file commonRailInjector.H.


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