57 hollowConeDict_(dict.
subDict(typeName +
"Coeffs")),
62 hollowConeDict_.subDict(
"dropletPDF"),
66 innerAngle_(hollowConeDict_.lookup(
"innerConeAngle")),
67 outerAngle_(hollowConeDict_.lookup(
"outerConeAngle"))
72 FatalError <<
"hollowConeInjector::hollowConeInjector"
73 <<
"(const dictionary& dict, spray& sm)\n"
74 <<
"Wrong number of entries in innerAngle"
80 FatalError <<
"hollowConeInjector::hollowConeInjector"
81 <<
"(const dictionary& dict, spray& sm)\n"
82 <<
"Wrong number of entries in outerAngle"
91 sm.
injectors()[i].properties()->correctProfiles(sm.
fuels(), referencePressure);
111 return dropletPDF_->sample();
123 scalar angle = innerAngle_[n] + rndGen_.scalar01()*(outerAngle_[n]-innerAngle_[n]);
138 beta += reduce*sm_.angleOfWedge();
141 sm_.axisOfWedge()*
cos(beta) +
142 sm_.axisOfWedgeNormal()*
sin(beta)
149 injectors_[n].properties()->tan1(hole)*
cos(beta) +
150 injectors_[n].properties()->tan2(hole)*
sin(beta)
155 vector dir = dcorr*injectors_[n].properties()->direction(hole, time) + normal;
168 const injectorType& it = sm_.injectors()[i].properties();
175 scalar Pref = sm_.ambientPressure();
177 scalar
rho = sm_.fuels().rho(Pinj, it.
T(time), it.
X());
178 scalar dp =
max(0.0, Pinj - Pref);
179 return sqrt(2.0*dp/rho);
189 const injectorType& it = sm_.injectors()[i].properties();