FreeFOAM The Cross-Platform CFD Toolkit
multiHoleInjector Class Reference

The unit injector. More...

#include <dieselSpray/multiHoleInjector.H>


Detailed Description

The unit injector.

Source files

Definition at line 52 of file multiHoleInjector.H.

+ Inheritance diagram for multiHoleInjector:
+ Collaboration diagram for multiHoleInjector:

List of all members.

Public Member Functions

 TypeName ("multiHoleInjector")
 Runtime type information.
 multiHoleInjector (const Time &t, const dictionary &dict)
 Construct from components.
 ~multiHoleInjector ()
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 vectordirection (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 scalarFieldX () const
 Return the fuel mass fractions of the injected particle.
List< pairT () 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< pairmassFlowRateProfile () const
 Return the mass flow rate profile.
scalar massFlowRate (const scalar time) const
 Return the instantaneous mass flow rate profile.
List< pairinjectionPressureProfile () const
 Return the pressure injection profile.
scalar injectionPressure (const scalar time) const
 Return the instantaneous injection pressure.
List< pairvelocityProfile () const
 Return the velocity injection profile.
scalar velocity (const scalar time) const
 Return the instantaneous velocity.
List< pairCdProfile () 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
- Public Member Functions inherited from injectorType
 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 ()
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

Additional Inherited Members

- Static Public Member Functions inherited from injectorType
static autoPtr< injectorTypeNew (const Time &t, const dictionary &dict)

Constructor & Destructor Documentation

multiHoleInjector ( const Time t,
const dictionary dict 
)

Construct from components.

Definition at line 50 of file multiHoleInjector.C.

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

Definition at line 146 of file multiHoleInjector.C.


Member Function Documentation

TypeName ( "multiHoleInjector"  )

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 210 of file multiHoleInjector.C.

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

Return the injection position.

Implements injectorType.

Definition at line 222 of file multiHoleInjector.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 228 of file multiHoleInjector.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 271 of file multiHoleInjector.C.

Foam::scalar d ( ) const
virtual

Return the injector diameter.

Implements injectorType.

Definition at line 276 of file multiHoleInjector.C.

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

Return the injection direction.

Implements injectorType.

Definition at line 282 of file multiHoleInjector.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 291 of file multiHoleInjector.C.

References Foam::mathematicalConstant::pi().

Foam::scalar mass ( ) const
virtual

Return the mass injected by the injector.

Implements injectorType.

Definition at line 309 of file multiHoleInjector.C.

const Foam::scalarField & X ( ) const
virtual

Return the fuel mass fractions of the injected particle.

Implements injectorType.

Definition at line 314 of file multiHoleInjector.C.

Foam::List< Foam::multiHoleInjector::pair > T ( ) const
virtual

Return the temperature profile of the injected particle.

Implements injectorType.

Definition at line 319 of file multiHoleInjector.C.

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

Return the temperature of the injected particle.

Implements injectorType.

Definition at line 324 of file multiHoleInjector.C.

Foam::scalar tsoi ( ) const
virtual

Return the start-of-injection time.

Implements injectorType.

Definition at line 329 of file multiHoleInjector.C.

Foam::scalar teoi ( ) const
virtual

Return the end-of-injection time.

Implements injectorType.

Definition at line 334 of file multiHoleInjector.C.

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

Return the injected liquid mass.

Implements injectorType.

Definition at line 382 of file multiHoleInjector.C.

List<pair> massFlowRateProfile ( ) const
inlinevirtual

Return the mass flow rate profile.

Implements injectorType.

Definition at line 198 of file multiHoleInjector.H.

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

Return the instantaneous mass flow rate profile.

Implements injectorType.

Definition at line 340 of file multiHoleInjector.C.

List<pair> injectionPressureProfile ( ) const
inlinevirtual

Return the pressure injection profile.

Implements injectorType.

Definition at line 205 of file multiHoleInjector.H.

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

Return the instantaneous injection pressure.

Implements injectorType.

Definition at line 348 of file multiHoleInjector.C.

List<pair> velocityProfile ( ) const
inlinevirtual

Return the velocity injection profile.

Implements injectorType.

Definition at line 212 of file multiHoleInjector.H.

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

Return the instantaneous velocity.

Implements injectorType.

Definition at line 356 of file multiHoleInjector.C.

Foam::List< Foam::multiHoleInjector::pair > CdProfile ( ) const
virtual

Return the discharge coefficient.

Implements injectorType.

Definition at line 363 of file multiHoleInjector.C.

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

Return the instantaneous discharge coefficient.

Implements injectorType.

Definition at line 369 of file multiHoleInjector.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 409 of file multiHoleInjector.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 414 of file multiHoleInjector.C.

void correctProfiles ( const liquidMixture fuel,
const scalar  referencePressure 
)
virtual
bool pressureIndependentVelocity ( ) const
inlinevirtual

Implements injectorType.

Definition at line 231 of file multiHoleInjector.H.


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