35 namespace diameterModels
37 namespace coalescenceModels
71 turbulence_(
dict.lookup(
"turbulence")),
72 buoyancy_(
dict.lookup(
"buoyancy")),
73 laminarShear_(
dict.lookup(
"laminarShear")),
74 eddyCapture_(
dict.lookup(
"eddyCapture")),
75 wakeEntrainment_(
dict.lookup(
"wakeEntrainment")),
81 popBal_.time().
name(),
98 popBal_.time().
name(),
114 popBal_.time().
name(),
130 popBal_.time().
name(),
146 popBal_.time().
name(),
166 CPack_ =
min(PMax_/
max(PMax_ - popBal_.alphas(), small), CPackMax_);
168 const sizeGroup& f0 = popBal_.sizeGroups().first();
190 const sizeGroup& fi = popBal_.sizeGroups()[i];
191 const sizeGroup& fj = popBal_.sizeGroups()[j];
217 uRelBuoy_ = CBuoy_*
mag(uTerminal_[i] - uTerminal_[j]);
222 uRelShear_ = CShear_*0.5/
pi*(fi.
dSph() + fj.
dSph())*shearStrainRate_;
227 neg(kolmogorovLengthScale_ - (fi.
dSph() + fj.
dSph()))
236 *
sqr(
max(uRelTurb_,
max(uRelBuoy_, uRelShear_)))
239 +
pos0(kolmogorovLengthScale_ - (fi.
dSph() + fj.
dSph()))
254 neg(kolmogorovLengthScale_ - (fi.
dSph() + fj.
dSph()))
258 *collisionEfficiency;
263 coalescenceRate += CPack_*0.5*Aij*uRelBuoy_*collisionEfficiency;
268 coalescenceRate += CPack_*0.5*Aij*uRelShear_*collisionEfficiency;
275 CEddy_*0.5/
pi*(fi.
dSph() + fj.
dSph())*eddyStrainRate_
284 *collisionEfficiency;
287 if (wakeEntrainment_)
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Base class for coalescence and breakup models of Liao et al. (2015).
virtual void precompute()
Precompute diameter independent expressions.
Base class for coalescence models.
Bubble coalescence model of Liao et al. (2015). The terminal velocities and drag coefficients are com...
virtual void precompute()
Precompute diameter independent expressions.
LiaoCoalescence(const populationBalanceModel &popBal, const dictionary &dict)
virtual void addToCoalescenceRate(volScalarField::Internal &coalescenceRate, const label i, const label j)
Add to coalescenceRate.
Model for tracking the evolution of a dispersed phase size distribution due to coalescence (synonymou...
Single size class fraction field representing a fixed particle volume as defined by the user through ...
const dimensionedScalar & dSph() const
Return representative spherical diameter of the sizeGroup.
const phaseModel & phase() const
Return const-reference to the phase.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
virtual const volScalarField & rho() const =0
Return the density field.
A class for managing temporary objects.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
addToRunTimeSelectionTable(coalescenceModel, AdachiStuartFokkink, dictionary)
defineTypeNameAndDebug(AdachiStuartFokkink, 0)
dimensionedScalar exp(const dimensionedScalar &ds)
dimensionedScalar pos0(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.
const dimensionSet dimEnergy
const dimensionSet dimless
const dimensionSet dimLength
void pow6(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
dimensionedScalar log(const dimensionedScalar &ds)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar neg(const dimensionedScalar &ds)
void cbrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const dimensionSet dimVelocity
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)