30 template<
class CloudType>
51 AWe_ = (k21*
sqrt(WeTransition_) - 1.0)/
pow4(WeTransition_);
55 template<
class CloudType>
61 WeTransition_(bum.WeTransition_),
68 template<
class CloudType>
75 template<
class CloudType>
97 const label injectori,
106 scalar semiMass = nParticle*
pow3(d);
109 scalar rtd = 0.5*this->TABCmu_*
mu/(
rho*r2);
112 scalar omega2 = this->TABComega_*
sigma/(
rho*r3) - rtd*rtd;
117 scalar romega = 1.0/
omega;
119 scalar We = rhoc*
sqr(Urmag)*r/
sigma;
120 scalar Wetmp = We/this->TABtwoWeCrit_;
122 scalar
y1 =
y - Wetmp;
123 scalar y2 = yDot*romega;
133 phic =
max(
min(phic, 1), -1);
135 scalar phit =
acos(phic);
147 scalar theta =
acos((1.0 - Wetmp)/a);
157 tb = (theta - phi)*romega;
170 scalar sqrtWe = AWe_*
pow4(We) + 1.0;
171 scalar Kbr = k1_*
omega*sqrtWe;
173 if (We > WeTransition_)
176 Kbr =k2_*
omega*sqrtWe;
179 scalar rWetmp = 1.0/Wetmp;
180 scalar cosdtbu =
max(-1.0,
min(1.0, 1.0 - rWetmp));
181 scalar dtbu = romega*
acos(cosdtbu);
182 scalar decay =
exp(-Kbr*dtbu);
184 scalar
rNew = decay*r;
202 nParticle = semiMass/
pow3(d);
Templated break-up model class.
Templated base class for dsmc cloud.
virtual ~ETAB()
Destructor.
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 properties.
ETAB(const dictionary &, CloudType &)
Construct from dictionary.
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.
Convenience class to handle the input of constant rotational speed. Reads an omega entry with default...
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.
dimensionedScalar exp(const dimensionedScalar &ds)
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)
dimensionedScalar sin(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar y1(const dimensionedScalar &ds)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedScalar pow4(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar acos(const dimensionedScalar &ds)