32 template<
class ParcelType>
37 parcelTypeId_(dict_, -1),
40 minParcelMass_(dict_, 0.0)
44 template<
class ParcelType>
51 parcelTypeId_(cp.parcelTypeId_),
54 minParcelMass_(cp.minParcelMass_)
58 template<
class ParcelType>
65 parcelTypeId_(
dict_,
"parcelTypeId", -1),
66 rhoMin_(
dict_,
"rhoMin", 1
e-15),
68 minParcelMass_(
dict_,
"minParcelMass", 1
e-15)
72 template<
class ParcelType>
82 ParcelType(owner, position, celli, tetFacei, tetPtI),
99 template<
class ParcelType>
105 const label tetFacei,
108 const scalar nParticle0,
110 const scalar dTarget0,
115 ParcelType(owner, position, celli, tetFacei, tetPtI),
134 template<
class ParcelType>
142 template<
class ParcelType>
146 return parcelTypeId_.
value();
150 template<
class ParcelType>
154 return rhoMin_.
value();
158 template<
class ParcelType>
162 return rho0_.
value();
166 template<
class ParcelType>
170 return minParcelMass_.
value();
176 template<
class ParcelType>
183 template<
class ParcelType>
190 template<
class ParcelType>
197 template<
class ParcelType>
204 template<
class ParcelType>
211 template<
class ParcelType>
218 template<
class ParcelType>
225 template<
class ParcelType>
232 template<
class ParcelType>
239 template<
class ParcelType>
246 template<
class ParcelType>
253 template<
class ParcelType>
260 template<
class ParcelType>
267 template<
class ParcelType>
274 template<
class ParcelType>
281 template<
class ParcelType>
288 template<
class ParcelType>
295 template<
class ParcelType>
302 template<
class ParcelType>
309 template<
class ParcelType>
316 template<
class ParcelType>
323 template<
class ParcelType>
330 template<
class ParcelType>
337 template<
class ParcelType>
341 if (this->
cloud().internalFace(this->
face()))
352 template<
class ParcelType>
358 return rhoc_*this->
mesh().cellVolumes()[celli];
362 template<
class ParcelType>
369 template<
class ParcelType>
376 template<
class ParcelType>
383 template<
class ParcelType>
390 template<
class ParcelType>
397 template<
class ParcelType>
400 return 0.25*
areaS(d);
404 template<
class ParcelType>
411 template<
class ParcelType>
418 template<
class ParcelType>
427 return rhoc*
mag(U -
Uc_)*d/(muc + ROOTVSMALL);
431 template<
class ParcelType>
440 return rhoc*
magSqr(U -
Uc_)*d/(sigma + ROOTVSMALL);
444 template<
class ParcelType>
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
scalar mass() const
Particle mass.
A face is a list of labels corresponding to mesh vertices.
const double e
Elementary charge.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar Eo(const vector &a, const scalar d, const scalar sigma) const
Eotvos number.
scalar Re(const vector &U, const scalar d, const scalar rhoc, const scalar muc) const
Reynolds number.
const dictionary & dict() const
Return const access to the constant properties dictionary.
dictionary subOrEmptyDict(const word &, const bool mustRead=false) const
Find and return a sub-dictionary as a copy, or.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
scalar rho0() const
Return const access to the particle density.
Class to hold kinematic particle constant properties.
scalar rho() const
Return const access to density.
scalar tTurb_
Time spent in turbulent eddy [s].
const Type & value() const
Return the value.
KinematicParcel(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from owner, position, and cloud owner.
label faceInterpolation() const
Return the index of the face used in the interpolation routine.
const vector & Uc() const
Return const access to carrier velocity [m/s].
scalar volume() const
Particle volume.
constantProperties()
Null constructor.
scalar massCell(const label celli) const
Cell owner mass.
scalar dTarget() const
Return const access to target diameter.
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
scalar muc() const
Return const access to carrier viscosity [Pa.s].
vector Uc_
Velocity [m/s].
scalar areaS() const
Particle surface area.
scalar dTarget_
Target diameter [m].
scalar rhoc() const
Return const access to carrier density [kg/m3].
scalar tTurb() const
Return const access to time spent in turbulent eddy.
scalar We(const vector &U, const scalar d, const scalar rhoc, const scalar sigma) const
Weber number.
scalar momentOfInertia() const
Particle moment of inertia around diameter axis.
scalar rho_
Density [kg/m3].
scalar muc_
Viscosity [Pa.s].
bool active_
Active flag - tracking inactive when active = false.
const dictionary dict_
Constant properties dictionary.
A cloud is a collection of lagrangian particles.
label typeId_
Parcel type id.
vector UTurb_
Turbulent velocity fluctuation [m/s].
label parcelTypeId() const
Return const access to the parcel type id.
scalar age() const
Return const access to the age.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
scalar nParticle_
Number of particles in Parcel.
dimensionedScalar pow3(const dimensionedScalar &ds)
scalar rhoc_
Density [kg/m3].
vector U_
Velocity of Parcel [m/s].
scalar rhoMin() const
Return const access to the minimum density.
bool active() const
Return const access to active flag.
dimensioned< scalar > mag(const dimensioned< Type > &)
Mesh consisting of general polyhedral cells.
scalar areaP() const
Particle projected area.
scalar d() const
Return const access to diameter.
scalar nParticle() const
Return const access to number of particles.
scalar minParcelMass() const
Return const access to the minimum parcel mass.
const vector & U() const
Return const access to velocity.
label typeId() const
Return const access to type id.