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, coordinates, celli, tetFacei, tetPti),
96 template<
class ParcelType>
104 ParcelType(owner, position, celli),
118 template<
class ParcelType>
124 const label tetFacei,
127 const scalar nParticle0,
129 const scalar dTarget0,
134 ParcelType(owner, coordinates, celli, tetFacei, tetPti),
150 template<
class ParcelType>
158 template<
class ParcelType>
162 return parcelTypeId_.
value();
166 template<
class ParcelType>
170 return rhoMin_.
value();
174 template<
class ParcelType>
178 return rho0_.
value();
182 template<
class ParcelType>
186 return minParcelMass_.
value();
192 template<
class ParcelType>
199 template<
class ParcelType>
206 template<
class ParcelType>
213 template<
class ParcelType>
220 template<
class ParcelType>
227 template<
class ParcelType>
234 template<
class ParcelType>
241 template<
class ParcelType>
248 template<
class ParcelType>
255 template<
class ParcelType>
262 template<
class ParcelType>
269 template<
class ParcelType>
276 template<
class ParcelType>
283 template<
class ParcelType>
290 template<
class ParcelType>
297 template<
class ParcelType>
304 template<
class ParcelType>
311 template<
class ParcelType>
318 template<
class ParcelType>
325 template<
class ParcelType>
332 template<
class ParcelType>
338 return td.
rhoc()*this->
mesh().cellVolumes()[this->
cell()];
342 template<
class ParcelType>
349 template<
class ParcelType>
356 template<
class ParcelType>
363 template<
class ParcelType>
370 template<
class ParcelType>
377 template<
class ParcelType>
380 return 0.25*
areaS(d);
384 template<
class ParcelType>
391 template<
class ParcelType>
398 template<
class ParcelType>
408 template<
class ParcelType>
418 return rhoc*
mag(U - Uc)*d/
max(muc, rootVSmall);
422 template<
class ParcelType>
433 template<
class ParcelType>
443 return rhoc*
magSqr(U - Uc)*d/
max(sigma, rootVSmall);
447 template<
class ParcelType>
458 template<
class ParcelType>
470 return mag(g & dir)*
mag(rho - rhoc)*
sqr(d)/
max(sigma, rootVSmall);
scalar massCell(const trackingData &td) const
Cell owner mass.
const vector & U() const
Return const access to velocity.
scalar tTurb() const
Return const access to time spent in turbulent eddy.
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 rhoMin() const
Return const access to the minimum density.
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
scalar nParticle() const
Return const access to number of particles.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionedScalar & sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
Class to hold kinematic particle constant properties.
scalar mass() const
Particle mass.
scalar d() const
Return const access to diameter.
scalar tTurb_
Time spent in turbulent eddy [s].
scalar rho() const
Return const access to density.
scalar rho0() const
Return const access to the particle density.
constantProperties()
Null constructor.
scalar areaP() const
Particle projected area.
KinematicParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
scalar dTarget() const
Return const access to target diameter.
const Type & value() const
Return the value.
label parcelTypeId() const
Return const access to the parcel type id.
scalar dTarget_
Target diameter [m].
scalar age() const
Return const access to the age.
scalar Eo(const trackingData &td, const scalar sigma) const
Eotvos number.
scalar rho_
Density [kg/m^3].
scalar momentOfInertia() const
Particle moment of inertia around diameter axis.
bool active_
Active flag - tracking inactive when active = false.
const dictionary dict_
Constant properties dictionary.
label typeId_
Parcel type id.
vector UTurb_
Turbulent velocity fluctuation [m/s].
bool active() const
Return const access to active flag.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
scalar rhoc() const
Return the continuous phase density.
scalar muc() const
Return the continuous phase viscosity.
scalar nParticle_
Number of particles in Parcel.
scalar minParcelMass() const
Return const access to the minimum parcel mass.
dimensionedScalar pow3(const dimensionedScalar &ds)
vector U_
Velocity of Parcel [m/s].
A cell is defined as a list of faces with extra functionality.
scalar volume() const
Particle volume.
dimensioned< scalar > mag(const dimensioned< Type > &)
scalar Re(const trackingData &td) const
Reynolds number.
const doubleScalar e
Elementary charge.
Mesh consisting of general polyhedral cells.
label typeId() const
Return const access to type id.
scalar areaS() const
Particle surface area.
const vector & Uc() const
Return the continuous phase velocity.
scalar We(const trackingData &td, const scalar sigma) const
Weber number.
dictionary subOrEmptyDict(const word &, const bool mustRead=false) const
Find and return a sub-dictionary as a copy, or.
const dictionary & dict() const
Return const access to the constant properties dictionary.