Injector model with specified Constant values for the droplet diameter and spray cone angle. More...
#include <dieselSpray/constInjector.H>
Injector model with specified Constant values for the droplet diameter and spray cone angle.
Definition at line 47 of file constInjector.H.
Public Member Functions | |
TypeName ("constInjector") | |
Runtime type information.
| |
constInjector (const dictionary &dict, spray &sm) | |
Construct from components.
| |
~constInjector () | |
scalar | d0 (const label injector, const scalar time) const |
Return the injected droplet diameter.
| |
vector | direction (const label injector, const label hole, const scalar time, const scalar d) const |
Return the spray angle of the injector.
| |
scalar | velocity (const label i, const scalar time) const |
scalar | averageVelocity (const label i) const |
constInjector | ( | const dictionary & | dict, |
spray & | sm | ||
) |
Construct from components.
Definition at line 51 of file constInjector.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::average(), Foam::FatalError, forAll, spray::fuels(), spray::injectors(), spray::p(), PtrList< T >::size(), and dimensioned< Type >::value().
~constInjector | ( | ) |
Definition at line 90 of file constInjector.C.
TypeName | ( | "constInjector" | ) |
Runtime type information.
scalar d0 | ( | const label | injector, |
const scalar | time | ||
) | const [virtual]
|
Return the injected droplet diameter.
Implements injectorModel.
Definition at line 97 of file constInjector.C.
vector direction | ( | const label | injector, |
const label | hole, | ||
const scalar | time, | ||
const scalar | d | ||
) | const [virtual]
|
Return the spray angle of the injector.
Implements injectorModel.
Definition at line 107 of file constInjector.C.
References beta(), Foam::cos(), Foam::mag(), Foam::mathematicalConstant::pi(), Foam::reduce(), Foam::sin(), and Vector< Cmpt >::zero.
scalar velocity | ( | const label | i, |
const scalar | time | ||
) | const [virtual]
|
Implements injectorModel.
Definition at line 171 of file constInjector.C.
References injectorType::getTableValue(), injectorType::injectionPressureProfile(), Foam::max(), injectorType::pressureIndependentVelocity(), rho, Foam::sqrt(), injectorType::T(), injectorType::velocityProfile(), and injectorType::X().
scalar averageVelocity | ( | const label | i ) | const [virtual]
|
Implements injectorModel.
Definition at line 192 of file constInjector.C.
References injectorType::integrateTable(), injectorType::teoi(), injectorType::tsoi(), and injectorType::velocityProfile().