35template<
class ParcelType>
40 parcelTypeId_(dict_, -1),
43 minParcelMass_(dict_, 0.0)
47template<
class ParcelType>
54 parcelTypeId_(
cp.parcelTypeId_),
57 minParcelMass_(
cp.minParcelMass_)
61template<
class ParcelType>
67 dict_(parentDict.subOrEmptyDict(
"constantProperties")),
68 parcelTypeId_(dict_,
"parcelTypeId", -1),
69 rhoMin_(dict_,
"rhoMin", 1
e-15),
70 rho0_(dict_,
"rho0", -1),
71 minParcelMass_(dict_,
"minParcelMass", 1
e-15)
75template<
class ParcelType>
85 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
99template<
class ParcelType>
107 ParcelType(owner, position, celli),
121template<
class ParcelType>
127 const label tetFacei,
130 const scalar nParticle0,
132 const scalar dTarget0,
137 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
140 nParticle_(nParticle0),
144 rho_(constProps.
rho0()),
153template<
class ParcelType>
161template<
class ParcelType>
165 return parcelTypeId_.value();
169template<
class ParcelType>
173 return rhoMin_.value();
177template<
class ParcelType>
181 return rho0_.value();
185template<
class ParcelType>
189 return minParcelMass_.value();
195template<
class ParcelType>
202template<
class ParcelType>
209template<
class ParcelType>
216template<
class ParcelType>
223template<
class ParcelType>
230template<
class ParcelType>
237template<
class ParcelType>
244template<
class ParcelType>
251template<
class ParcelType>
258template<
class ParcelType>
265template<
class ParcelType>
272template<
class ParcelType>
279template<
class ParcelType>
286template<
class ParcelType>
293template<
class ParcelType>
300template<
class ParcelType>
307template<
class ParcelType>
314template<
class ParcelType>
321template<
class ParcelType>
328template<
class ParcelType>
335template<
class ParcelType>
342template<
class ParcelType>
349template<
class ParcelType>
359template<
class ParcelType>
362 return rho_*volume();
366template<
class ParcelType>
369 return 0.1*mass()*
sqr(d_);
373template<
class ParcelType>
380template<
class ParcelType>
387template<
class ParcelType>
394template<
class ParcelType>
397 return 0.25*areaS(d);
401template<
class ParcelType>
408template<
class ParcelType>
415template<
class ParcelType>
425template<
class ParcelType>
435 return rhoc*
mag(
U - Uc)*d/
max(muc, ROOTVSMALL);
439template<
class ParcelType>
446 return We(td.
rhoc(), U_, td.
Uc(), d_, sigma);
450template<
class ParcelType>
460 return rhoc*
magSqr(
U - Uc)*d/
max(sigma, ROOTVSMALL);
464template<
class ParcelType>
471 return Eo(td.
g(), rho_, td.
rhoc(), U_, d_, sigma);
475template<
class ParcelType>
const uniformDimensionedVectorField & g
Class to hold kinematic particle constant properties.
constantProperties()
Default construct.
scalar minParcelMass() const
Return const access to the minimum parcel mass.
scalar rho0() const
Return const access to the particle density.
label parcelTypeId() const
Return const access to the parcel type id.
const dictionary & dict() const
Return const access to the constant properties dictionary.
scalar rhoMin() const
Return const access to the minimum density.
const vector & Uc() const
Return the continuous phase velocity.
scalar muc() const
Return the continuous phase viscosity.
scalar rhoc() const
Return the continuous phase density.
Kinematic parcel class with rotational motion (as spherical particles only) and one/two-way coupling ...
const vector & UCorrect() const
Return const access to correction velocity.
label typeId_
Parcel type id.
label typeId() const
Return const access to type id.
vector UTurb_
Turbulent velocity fluctuation [m/s].
scalar momentOfInertia() const
Particle moment of inertia around diameter axis.
scalar tTurb() const
Return const access to time spent in turbulent eddy.
scalar rho_
Density [kg/m3].
const vector & U() const
Return const access to velocity.
label active_
Active flag - tracking inactive when active = false.
scalar d() const
Return const access to diameter.
scalar tTurb_
Time spent in turbulent eddy [s].
scalar volume() const
Particle volume.
scalar dTarget_
Target diameter [m].
scalar nParticle() const
Return const access to number of particles.
scalar massCell(const trackingData &td) const
Cell owner mass.
scalar dTarget() const
Return const access to target diameter.
scalar areaP() const
Particle projected area.
scalar rho() const
Return const access to density.
scalar mass() const
Particle mass.
scalar areaS() const
Particle surface area.
bool active() const
Return const access to active flag.
scalar age() const
Return const access to the age.
vector U_
Velocity of Parcel [m/s].
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
scalar nParticle_
Number of particles in Parcel.
A cell is defined as a list of faces with extra functionality.
scalar Re() const
Real part of complex number.
tmp< volScalarField > We() const
Return the bubble Webber number.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< volScalarField > Eo() const
Eotvos number.
Mesh consisting of general polyhedral cells.
const scalarField & cellVolumes() const
PtrList< coordinateSystem > coordinates(solidRegions.size())
constexpr scalar pi(M_PI)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
scalarField Re(const UList< complex > &cf)
Extract real component.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
const volScalarField & cp