Randomly distribute the parcels between the inner and outer cone angle. More...
#include <dieselSpray/pressureSwirlInjector.H>
Randomly distribute the parcels between the inner and outer cone angle.
Set inner angle to zero for solid cone.
Definition at line 49 of file pressureSwirlInjector.H.
Inheritance diagram for pressureSwirlInjector:
Collaboration diagram for pressureSwirlInjector:Public Member Functions | |
| TypeName ("pressureSwirlInjector") | |
| Runtime type information.
| |
| pressureSwirlInjector (const dictionary &dict, spray &sm) | |
| Construct from components.
| |
| ~pressureSwirlInjector () | |
| 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 |
| pressureSwirlInjector | ( | const dictionary & | dict, |
| spray & | sm | ||
| ) |
Construct from components.
Definition at line 51 of file pressureSwirlInjector.C.
References Foam::abort(), DimensionedField< Type, GeoMesh >::average(), Foam::FatalError, forAll, spray::fuels(), spray::injectors(), spray::p(), PtrList< T >::size(), and dimensioned< Type >::value().
Definition at line 87 of file pressureSwirlInjector.C.
| TypeName | ( | "pressureSwirlInjector" | ) |
Runtime type information.
| scalar d0 | ( | const label | injector, |
| const scalar | time | ||
| ) | const [virtual]
|
Return the injected droplet diameter.
Implements injectorModel.
Definition at line 94 of file pressureSwirlInjector.C.
References A, Foam::cos(), injectorType::d(), injectorType::massFlowRate(), Foam::mathematicalConstant::pi(), Foam::pow(), Foam::sqrt(), injectorType::T(), and injectorType::X().
| 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 125 of file pressureSwirlInjector.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 172 of file pressureSwirlInjector.C.
References Foam::pow(), Foam::sqrt(), and Foam::tan().
| scalar averageVelocity | ( | const label | i ) | const [virtual]
|
Implements injectorModel.
Definition at line 181 of file pressureSwirlInjector.C.
References averagePressure, injectorType::integrateTable(), injectorType::mass(), Foam::sqrt(), injectorType::T(), injectorType::teoi(), injectorType::tsoi(), and injectorType::X().