Base class for injectors. More...
#include <dieselSpray/injectorType.H>
Base class for injectors.
Definition at line 58 of file injectorType.H.
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) |
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.
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]
|
Definition at line 52 of file injectorType.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, and dictionary::lookup().
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]
|
Return the injector diameter.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::d0(), and definedPressureSwirlInjector::d0().
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]
|
Return the mass of the injected liquid between times.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), and definedPressureSwirlInjector::averageVelocity().
virtual scalar mass | ( | ) | const [pure virtual]
|
Return the mass injected by the injector.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Return the mass flow rate profile.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
virtual scalar massFlowRate | ( | const scalar | time ) | const [pure virtual]
|
Return the instantaneous mass flow rate profile.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by LISA::atomizeParcel(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), and blobsSwirlInjector::d0().
Return the pressure injection profile.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by spray::spray(), hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
virtual scalar injectionPressure | ( | const scalar | time ) | const [pure virtual]
|
Return the instantaneous injection pressure.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Return the velocity injection profile.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by hollowConeInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), constInjector::averageVelocity(), ChomiakInjector::averageVelocity(), hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
virtual scalar velocity | ( | const scalar | time ) | const [pure virtual]
|
Return the instantaneous velocity.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
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 const scalarField& X | ( | ) | const [pure virtual]
|
Return the fuel mass fractions of the injected particle.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), blobsSwirlInjector::d0(), hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
Return the temperatue profile of the injected parcel.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), blobsSwirlInjector::d0(), hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
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 tsoi | ( | ) | const [pure virtual]
|
Return the start-of-injection time.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), hollowConeInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), constInjector::averageVelocity(), ChomiakInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), and spray::spray().
virtual scalar teoi | ( | ) | const [pure virtual]
|
Return the end-of-injection time.
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), hollowConeInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), constInjector::averageVelocity(), ChomiakInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), and spray::spray().
virtual scalar injectedMass | ( | const scalar | t ) | const [pure virtual]
|
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
virtual bool pressureIndependentVelocity | ( | ) | const [pure virtual]
|
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.
Referenced by hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
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.
Definition at line 90 of file injectorType.C.
References List< T >::size().
Referenced by definedPressureSwirlInjector::d0(), definedHollowConeInjector::direction(), hollowConeInjector::velocity(), definedHollowConeInjector::velocity(), constInjector::velocity(), and ChomiakInjector::velocity().
Definition at line 129 of file injectorType.C.
References Foam::max(), Foam::min(), List< T >::size(), and Foam::sum().
Referenced by pressureSwirlInjector::averageVelocity(), hollowConeInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), constInjector::averageVelocity(), ChomiakInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), and spray::spray().
Definition at line 165 of file injectorType.C.
References List< T >::size().
virtual void correctProfiles | ( | const liquidMixture & | fuel, |
const scalar | referencePressure | ||
) | [pure virtual]
|
Implemented in commonRailInjector, definedInjector, multiHoleInjector, swirlInjector, and unitInjector.