Go to the documentation of this file.
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,
112 const constantProperties& constProps
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>
404 template<
class ParcelType>
411 template<
class ParcelType>
418 template<
class ParcelType>
431 template<
class ParcelType>
444 template<
class ParcelType>
label parcelTypeId() const
Return const access to the parcel type id.
label typeId() const
Return const access to type id.
scalar tTurb_
Time spent in turbulent eddy [s].
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
scalar nParticle() const
Return const access to number of particles.
scalar muc_
Viscosity [Pa.s].
scalar dTarget_
Target diameter [m].
const vector & U() const
Return const access to velocity.
scalar tTurb() const
Return const access to time spent in turbulent eddy.
scalar dTarget() const
Return const access to target diameter.
scalar rho0() const
Return const access to the particle density.
dimensioned< scalar > mag(const dimensioned< Type > &)
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
Mesh consisting of general polyhedral cells.
scalar age() const
Return const access to the age.
scalar muc() const
Return const access to carrier viscosity [Pa.s].
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 rhoc() const
Return const access to carrier density [kg/m3].
dimensionedScalar pow3(const dimensionedScalar &ds)
vector UTurb_
Turbulent velocity fluctuation [m/s].
vector Uc_
Velocity [m/s].
scalar momentOfInertia() const
Particle moment of inertia around diameter axis.
scalar volume() const
Particle volume.
scalar minParcelMass() const
Return const access to the minimum parcel mass.
scalar areaP() const
Particle projected area.
label faceInterpolation() const
Return the index of the face used in the interpolation routine.
vector U_
Velocity of Parcel [m/s].
scalar Re(const vector &U, const scalar d, const scalar rhoc, const scalar muc) const
Reynolds number.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar massCell(const label cellI) const
Cell owner mass.
scalar nParticle_
Number of particles in Parcel.
scalar rho_
Density [kg/m3].
const double e
Elementary charge.
bool active_
Active flag - tracking inactive when active = false.
bool active() const
Return const access to active flag.
label typeId_
Parcel type id.
scalar rhoc_
Density [kg/m3].
scalar areaS() const
Particle surface area.
scalar rhoMin() const
Return const access to the minimum density.
scalar We(const vector &U, const scalar d, const scalar rhoc, const scalar sigma) const
Weber number.
A cloud is a collection of lagrangian particles.
scalar Eo(const vector &a, const scalar d, const scalar sigma) const
Eotvos number.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dictionary subOrEmptyDict(const word &, const bool mustRead=false) const
Find and return a sub-dictionary as a copy, or.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
const dictionary & dict() const
Return const access to the constant properties dictionary.
const vector & Uc() const
Return const access to carrier velocity [m/s].
A face is a list of labels corresponding to mesh vertices.
scalar d() const
Return const access to diameter.
scalar rho() const
Return const access to density.
KinematicParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
constantProperties()
Null constructor.
scalar mass() const
Particle mass.
Class to hold kinematic particle constant properties.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
A class representing the concept of 0 used to avoid unnecessary manipulations for objects that are kn...