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.
|
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) | |||
) |
|
static |
Definition at line 52 of file injectorType.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, Foam::Info, and dictionary::lookup().
|
pure virtual |
Return number of particles to inject.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by spray::inject().
|
pure virtual |
Return the injection position.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by LISA::atomizeParcel(), and spray::inject().
|
pure virtual |
Return the injection position.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
|
pure virtual |
Return the number of holes.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by LISA::atomizeParcel(), and spray::inject().
|
pure virtual |
Return the injector diameter.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by pressureSwirlInjector::d0(), and definedPressureSwirlInjector::d0().
Return the injection direction for hole i.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by LISA::atomizeParcel().
|
pure virtual |
Return the mass of the injected liquid between times.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), and spray::inject().
|
pure virtual |
Return the mass injected by the injector.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Return the mass flow rate profile.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
|
pure virtual |
Return the instantaneous mass flow rate profile.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
Referenced by LISA::atomizeParcel(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), and blobsSwirlInjector::d0().
Return the pressure injection profile.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
Referenced by constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
|
pure virtual |
Return the instantaneous injection pressure.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
Return the velocity injection profile.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
Referenced by constInjector::averageVelocity(), hollowConeInjector::averageVelocity(), ChomiakInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
|
pure virtual |
Return the instantaneous velocity.
Implemented in multiHoleInjector, commonRailInjector, definedInjector, unitInjector, and swirlInjector.
Return the discharge coefficient.
Implemented in multiHoleInjector, definedInjector, commonRailInjector, unitInjector, and swirlInjector.
|
pure virtual |
Return the instantaneous discharge coefficient.
Implemented in multiHoleInjector, definedInjector, commonRailInjector, unitInjector, and swirlInjector.
|
pure virtual |
Return the fuel mass fractions of the injected particle.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), blobsSwirlInjector::d0(), spray::inject(), constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
Return the temperatue profile of the injected parcel.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), pressureSwirlInjector::d0(), definedPressureSwirlInjector::d0(), blobsSwirlInjector::d0(), spray::inject(), constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
|
pure virtual |
Return the temperatue of the injected parcel.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
|
pure virtual |
Return the start-of-injection time.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by constInjector::averageVelocity(), hollowConeInjector::averageVelocity(), ChomiakInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), and spray::inject().
|
pure virtual |
Return the end-of-injection time.
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
Referenced by constInjector::averageVelocity(), hollowConeInjector::averageVelocity(), ChomiakInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), blobsSwirlInjector::averageVelocity(), and spray::inject().
|
pure virtual |
Implemented in swirlInjector, multiHoleInjector, commonRailInjector, definedInjector, and unitInjector.
|
pure virtual |
Implemented in swirlInjector, multiHoleInjector, definedInjector, commonRailInjector, and unitInjector.
Referenced by spray::inject(), constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
|
pure virtual |
Return a vector perpendicular to the injection direction and tan2 for hole n.
Implemented in swirlInjector, multiHoleInjector, definedInjector, commonRailInjector, and unitInjector.
|
pure virtual |
Return a vector perpendicular to the injection direction and tan1 for hole n.
Implemented in swirlInjector, multiHoleInjector, definedInjector, commonRailInjector, and unitInjector.
Definition at line 90 of file injectorType.C.
References List< T >::size().
Referenced by definedPressureSwirlInjector::d0(), definedHollowConeInjector::direction(), constInjector::velocity(), hollowConeInjector::velocity(), ChomiakInjector::velocity(), and definedHollowConeInjector::velocity().
Definition at line 129 of file injectorType.C.
References Foam::max(), Foam::min(), List< T >::size(), and Foam::sum().
Referenced by constInjector::averageVelocity(), hollowConeInjector::averageVelocity(), ChomiakInjector::averageVelocity(), definedHollowConeInjector::averageVelocity(), pressureSwirlInjector::averageVelocity(), definedPressureSwirlInjector::averageVelocity(), and blobsSwirlInjector::averageVelocity().
Definition at line 165 of file injectorType.C.
References List< T >::size().
|
pure virtual |
Implemented in swirlInjector, multiHoleInjector, definedInjector, commonRailInjector, and unitInjector.
Referenced by spray::inject().