User specified MFR vs time and velocity vs time. More...
#include <dieselSpray/definedInjector.H>
User specified MFR vs time and velocity vs time.
Definition at line 51 of file definedInjector.H.
Public Member Functions | |
TypeName ("definedInjector") | |
Runtime type information. | |
definedInjector (const Time &t, const dictionary &dict) | |
Construct from components. | |
~definedInjector () | |
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 |
![]() | |
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 autoPtr< injectorType > | New (const Time &t, const dictionary &dict) |
definedInjector | ( | const Time & | t, |
const dictionary & | dict | ||
) |
Construct from components.
Definition at line 51 of file definedInjector.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, forAll, Foam::mag(), TimeState::userTimeToTime(), and WarningIn.
~definedInjector | ( | ) |
Definition at line 142 of file definedInjector.C.
TypeName | ( | "definedInjector" | ) |
Runtime type information.
|
virtual |
Return number of particles to inject.
Implements injectorType.
Definition at line 168 of file definedInjector.C.
|
virtual |
Return the injection position.
Implements injectorType.
Definition at line 180 of file definedInjector.C.
|
virtual |
Return the injection position.
Implements injectorType.
Definition at line 186 of file definedInjector.C.
References Foam::cos(), Foam::mag(), Foam::mathematicalConstant::pi(), Random::scalar01(), and Foam::sin().
|
virtual |
Return the number of holes.
Implements injectorType.
Definition at line 230 of file definedInjector.C.
|
virtual |
Return the injector diameter.
Implements injectorType.
Definition at line 235 of file definedInjector.C.
|
virtual |
Return the injection direction.
Implements injectorType.
Definition at line 241 of file definedInjector.C.
|
virtual |
Return the mass of the injected particle.
Implements injectorType.
Definition at line 250 of file definedInjector.C.
References Foam::mathematicalConstant::pi().
|
virtual |
Return the mass injected by the injector.
Implements injectorType.
Definition at line 268 of file definedInjector.C.
|
virtual |
Return the fuel mass fractions of the injected particle.
Implements injectorType.
Definition at line 288 of file definedInjector.C.
|
virtual |
Return the temperature profile of the injected particle.
Implements injectorType.
Definition at line 293 of file definedInjector.C.
|
virtual |
Return the temperature of the injected particle.
Implements injectorType.
Definition at line 298 of file definedInjector.C.
|
virtual |
Return the start-of-injection time.
Implements injectorType.
Definition at line 303 of file definedInjector.C.
|
virtual |
Return the end-of-injection time.
Implements injectorType.
Definition at line 308 of file definedInjector.C.
|
virtual |
Return the injected liquid mass.
Implements injectorType.
Definition at line 330 of file definedInjector.C.
Return the mass flow rate profile.
Implements injectorType.
Definition at line 192 of file definedInjector.H.
|
virtual |
Return the instantaneous mass flow rate profile.
Implements injectorType.
Definition at line 273 of file definedInjector.C.
Return the pressure injection profile.
Implements injectorType.
Definition at line 199 of file definedInjector.H.
|
virtual |
Return the instantaneous injection pressure.
Implements injectorType.
Definition at line 278 of file definedInjector.C.
Return the velocity injection profile.
Implements injectorType.
Definition at line 206 of file definedInjector.H.
|
virtual |
Return the instantaneous velocity.
Implements injectorType.
Definition at line 322 of file definedInjector.C.
Return the discharge coefficient.
Implements injectorType.
Definition at line 213 of file definedInjector.H.
|
virtual |
Return the instantaneous discharge coefficient.
Implements injectorType.
Definition at line 283 of file definedInjector.C.
|
virtual |
Return a vector perpendicular to the injection direction and tan2 for hole n.
Implements injectorType.
Definition at line 356 of file definedInjector.C.
|
virtual |
Return a vector perpendicular to the injection direction and tan1 for hole n.
Implements injectorType.
Definition at line 361 of file definedInjector.C.
|
virtual |
Implements injectorType.
Definition at line 338 of file definedInjector.C.
References A, forAll, Foam::mathematicalConstant::pi(), Foam::pow(), rho, and liquidMixture::rho().
|
inlinevirtual |
Implements injectorType.
Definition at line 229 of file definedInjector.H.