OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

swirlInjector Class Reference

The swirl injector. More...

Inheritance diagram for swirlInjector:
Collaboration diagram for swirlInjector:

List of all members.


Public Member Functions

 TypeName ("swirlInjector")
 Runtime type information.
 swirlInjector (const Time &t, const dictionary &dict)
 Construct from components.
 ~swirlInjector ()
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.
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.
const scalarField & X () const
 Return the fuel mass fractions of the injected particle.
List< pair > T () const
 Return the temperatue profile of the injected parcel.
scalar T (const scalar time) const
 Return the temperatue of the injected parcel.
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.
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

Detailed Description

The swirl injector.

Source files

Definition at line 47 of file swirlInjector.H.


Constructor & Destructor Documentation

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

Construct from components.

Definition at line 41 of file swirlInjector.C.

~swirlInjector (  ) 

Definition at line 159 of file swirlInjector.C.


Member Function Documentation

TypeName ( "swirlInjector"   ) 

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 184 of file swirlInjector.C.

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

Return the injection position.

Implements injectorType.

Definition at line 196 of file swirlInjector.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 202 of file swirlInjector.C.

Foam::label nHoles (  )  const [virtual]

Return the number of holes.

Implements injectorType.

Definition at line 246 of file swirlInjector.C.

Foam::scalar d (  )  const [virtual]

Return the injector diameter.

Implements injectorType.

Definition at line 251 of file swirlInjector.C.

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

Return the injection direction.

Implements injectorType.

Definition at line 257 of file swirlInjector.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 266 of file swirlInjector.C.

Foam::scalar mass (  )  const [virtual]

Return the mass injected by the injector.

Implements injectorType.

Definition at line 284 of file swirlInjector.C.

References Foam::mathematicalConstant::pi.

Foam::List< Foam::swirlInjector::pair > massFlowRateProfile (  )  const [virtual]

Return the mass flow rate profile.

Implements injectorType.

Definition at line 290 of file swirlInjector.C.

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

Return the instantaneous mass flow rate profile.

Implements injectorType.

Definition at line 295 of file swirlInjector.C.

Foam::List< Foam::swirlInjector::pair > injectionPressureProfile (  )  const [virtual]

Return the pressure injection profile.

Implements injectorType.

Definition at line 301 of file swirlInjector.C.

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

Return the instantaneous injection pressure.

Implements injectorType.

Definition at line 306 of file swirlInjector.C.

Foam::List< Foam::swirlInjector::pair > velocityProfile (  )  const [virtual]

Return the velocity injection profile.

Implements injectorType.

Definition at line 312 of file swirlInjector.C.

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

Return the instantaneous velocity.

Implements injectorType.

Definition at line 317 of file swirlInjector.C.

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

Return the discharge coefficient.

Implements injectorType.

Definition at line 322 of file swirlInjector.C.

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

Return the instantaneous discharge coefficient.

Implements injectorType.

Definition at line 327 of file swirlInjector.C.

References injectorType::getTableValue().

Here is the call graph for this function:

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

Return the fuel mass fractions of the injected particle.

Implements injectorType.

Definition at line 332 of file swirlInjector.C.

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

Return the temperatue profile of the injected parcel.

Implements injectorType.

Definition at line 337 of file swirlInjector.C.

References injectorType::getTableValue().

Here is the call graph for this function:

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

Return the temperatue of the injected parcel.

Implements injectorType.

Definition at line 342 of file swirlInjector.C.

Foam::scalar tsoi (  )  const [virtual]

Return the start-of-injection time.

Implements injectorType.

Definition at line 347 of file swirlInjector.C.

Foam::scalar teoi (  )  const [virtual]

Return the end-of-injection time.

Implements injectorType.

Definition at line 352 of file swirlInjector.C.

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

Return the injected liquid mass.

Implements injectorType.

Definition at line 363 of file swirlInjector.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 395 of file swirlInjector.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 400 of file swirlInjector.C.

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

Implements injectorType.

Definition at line 371 of file swirlInjector.C.

bool pressureIndependentVelocity (  )  const [inline, virtual]

Implements injectorType.

Definition at line 240 of file swirlInjector.H.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd