36 namespace diameterModels
38 namespace coalescenceModels
59 const populationBalanceModel& popBal,
60 const dictionary&
dict 63 coalescenceModel(popBal, dict),
64 LiaoBase(popBal, dict),
73 turbulence_(dict.
lookup(
"turbulence")),
74 buoyancy_(dict.
lookup(
"buoyancy")),
75 laminarShear_(dict.
lookup(
"laminarShear")),
76 eddyCapture_(dict.
lookup(
"eddyCapture")),
77 wakeEntrainment_(dict.
lookup(
"wakeEntrainment")),
211 uRelBuoy_ = CBuoy_*
mag(uTerminal_[i] - uTerminal_[j]);
216 uRelShear_ = CShear_*0.5/
pi*(fi.dSph() + fj.dSph())*shearStrainRate_;
221 neg(kolmogorovLengthScale_ - (fi.dSph() + fj.dSph()))
226 continuousPhase.rho()*dEq
228 *
sqr(
max(uRelTurb_,
max(uRelBuoy_, uRelShear_)))
231 +
pos0(kolmogorovLengthScale_ - (fi.dSph() + fj.dSph()))
234 - 3*continuousPhase.thermo().mu()*dEq*eddyStrainRate_
250 neg(kolmogorovLengthScale_ - (fi.dSph() + fj.dSph()))
251 *CPack_*Aij*uRelTurb_*collisionEfficiency;
256 coalescenceRate += CPack_*0.5*Aij*uRelBuoy_*collisionEfficiency;
261 coalescenceRate += CPack_*0.5*Aij*uRelShear_*collisionEfficiency;
268 CEddy_*0.5/
pi*(fi.dSph() + fj.dSph())*eddyStrainRate_
272 pos0(kolmogorovLengthScale_ - (fi.dSph() + fj.dSph()))
273 *CPack_*0.5*Aij*uRelEddy*collisionEfficiency;
276 if (wakeEntrainment_)
280 CWake_*uTerminal_[i]*
cbrt(Cd_[i])
285 CWake_*uTerminal_[j]*
cbrt(Cd_[j])
291 sqr(fi.dSph())*uRelWakeI
292 *
pos0(fi.dSph() - 0.5*dCrit_)
294 pow6(fi.dSph() - 0.5*dCrit_)
295 /(
pow6(fi.dSph() - 0.5*dCrit_) +
pow6(0.5*dCrit_))
297 +
sqr(fj.dSph())*uRelWakeJ
298 *
pos0(fj.dSph() - 0.5*dCrit_)
300 pow6(fj.dSph() - 0.5*dCrit_)
301 /(
pow6(fj.dSph() - 0.5*dCrit_) +
pow6(0.5*dCrit_))
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void precompute()
Precompute diameter independent expressions.
dimensionedScalar log(const dimensionedScalar &ds)
UniformDimensionedField< vector > uniformDimensionedVectorField
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual void addToCoalescenceRate(volScalarField &coalescenceRate, const label i, const label j)
Add to coalescenceRate.
const phaseCompressible::momentumTransportModel & continuousTurbulence() const
Return reference to turbulence model of the continuous phase.
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual tmp< volScalarField > rho() const =0
Return the density field.
static const scalar SMALL
const dimensionSet dimless
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
const dimensionSet dimLength
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
dimensionedScalar exp(const dimensionedScalar &ds)
const phaseModel & continuousPhase() const
Return continuous phase.
Calculate the gradient of the given field.
LiaoCoalescence(const populationBalanceModel &popBal, const dictionary &dict)
dimensionedScalar cbrt(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar pos0(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const dimensionSet dimVelocity
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
defineTypeNameAndDebug(combustionModel, 0)
const dimensionSet dimEnergy
const UPtrList< sizeGroup > & sizeGroups() const
Return the size groups belonging to this populationBalance.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & alphas() const
Return total void of phases belonging to this populationBalance.
dimensionedScalar pow6(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
const fvMesh & mesh() const
Return reference to the mesh.
const tmp< volScalarField > sigmaWithContinuousPhase(const phaseModel &dispersedPhase) const
Return the surface tension coefficient between a given dispersed.
const doubleScalar e
Elementary charge.
virtual tmp< volScalarField > epsilon() const =0
Return the turbulence kinetic energy dissipation rate.
virtual void precompute()
Precompute diameter independent expressions.