30 template<
class CloudType>
57 template<
class CloudType>
65 msLimit_(bum.msLimit_),
66 weberLimit_(bum.weberLimit_)
72 template<
class CloudType>
79 template<
class CloudType>
101 const label injectori,
106 bool addParcel =
false;
108 const scalar averageParcelMass =
109 this->owner().injectors()[injectori].averageParcelMass();
113 scalar d03 =
pow3(d0);
116 scalar mass = nParticle*d3*rhopi6;
117 scalar mass0 = nParticle*d03*rhopi6;
119 scalar weGas = 0.5*rhoc*
sqr(Urmag)*d/
sigma;
123 scalar reLiquid =
rho*Urmag*r/
mu;
124 scalar ohnesorge =
sqrt(weLiquid)/(reLiquid + vSmall);
125 scalar taylor = ohnesorge*
sqrt(weGas);
127 vector acceleration = Urel/tMom;
129 scalar gt = (g + acceleration) & trajectory;
133 (0.34 + 0.38*
pow(weGas, 1.5))
134 /((1.0 + ohnesorge)*(1.0 + 1.4*
pow(taylor, 0.6)))
141 *(1.0 + 0.45*
sqrt(ohnesorge))
142 *(1.0 + 0.4*
pow(taylor, 0.7))
143 /
pow(1.0 + 0.865*
pow(weGas, 1.67), 0.6);
146 scalar tauKH = 3.726*b1_*r/(omegaKH*lambdaKH);
149 scalar dc = 2.0*b0_*lambdaKH;
152 scalar helpVariable =
mag(gt*(
rho - rhoc));
153 scalar omegaRT =
sqrt
155 2.0*
pow(helpVariable, 1.5)
160 scalar KRT =
sqrt(helpVariable/(3.0*
sigma + vSmall));
167 if ((tc > 0) || (lambdaRT < d) )
173 scalar tauRT = cTau_/(omegaRT + vSmall);
176 if ((tc > tauRT) && (lambdaRT < d))
180 scalar nDrops = d/lambdaRT;
187 if (weGas > weberLimit_)
189 scalar fraction = dt/tauKH;
192 d = (fraction*dc + d)/(1.0 + fraction);
195 ms += mass0*(1.0 -
pow3(d/d0));
197 if (ms/averageParcelMass > msLimit_)
208 scalar de3 = d*d*(dc - d);
210 pow3(be3/(3.0*ae3)) - be3*ce3/(6.0*ae3*ae3) + de3/(2.0*ae3);
211 scalar pe3 = (3.0*ae3*ce3 - be3*be3)/(9.0*ae3*ae3);
212 scalar D3 = qe3*qe3 + pe3*pe3*pe3;
214 if (D3 < 0) br3 =
false;
219 scalar ue3 =
cbrt(-qe3 + D3);
220 scalar ve3 =
cbrt(-qe3 - D3);
221 scalar dParenDrops = ue3 + ve3 - be3/3.;
222 scalar mc = nParticle*(
pow3(d) -
pow3(dParenDrops));
223 scalar nChildDrops = mc/
pow3(dc);
225 if (nChildDrops >= nParticle)
231 massChild = mc*rhopi6;
240 else if (KHindex < 0.5)
247 scalar diameterLargerDrop =
cbrt(1.5*d*d*lengthScale);
248 d = diameterLargerDrop;
254 scalar massDrop =
pow3(d)*rhopi6;
255 nParticle = mass/massDrop;
Templated break-up model class.
Templated base class for dsmc cloud.
secondary breakup model which uses the Kelvin-Helmholtz instability theory to predict the 'stripped' ...
virtual ~ReitzKHRT()
Destructor.
ReitzKHRT(const dictionary &, CloudType &)
Construct from dictionary.
virtual bool update(const scalar dt, const vector &g, scalar &d, scalar &tc, scalar &ms, scalar &nParticle, scalar &KHindex, scalar &y, scalar &yDot, const scalar d0, const scalar rho, const scalar mu, const scalar sigma, const vector &U, const scalar rhoc, const scalar muc, const vector &Urel, const scalar Urmag, const scalar tMom, const label injectori, scalar &dChild, scalar &massChild)
Update the parcel diameter.
A list of keyword definitions, which are a keyword followed by any number of values (e....
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dictionary & coeffDict() const
Return const access to the coefficients dictionary.
virtual bool defaultCoeffs(const bool printMsg) const
Returns true if defaultCoeffs is true and outputs on printMsg.
const scalar twoPi(2 *pi)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
const dimensionedScalar mu
Atomic mass unit.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedScalar cbrt(const dimensionedScalar &ds)