Go to the documentation of this file.
35 template<
class ParcelType>
40 parcelTypeId_(dict_, -1),
43 minParcelMass_(dict_, 0.0)
47 template<
class ParcelType>
54 parcelTypeId_(
cp.parcelTypeId_),
57 minParcelMass_(
cp.minParcelMass_)
61 template<
class ParcelType>
68 parcelTypeId_(dict_,
"parcelTypeId", -1),
69 rhoMin_(dict_,
"rhoMin", 1
e-15),
70 rho0_(dict_,
"rho0", -1),
71 minParcelMass_(dict_,
"minParcelMass", 1
e-15)
75 template<
class ParcelType>
85 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
99 template<
class ParcelType>
107 ParcelType(owner, position, celli),
121 template<
class ParcelType>
127 const label tetFacei,
130 const scalar nParticle0,
132 const scalar dTarget0,
137 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
153 template<
class ParcelType>
161 template<
class ParcelType>
165 return parcelTypeId_.value();
169 template<
class ParcelType>
173 return rhoMin_.value();
177 template<
class ParcelType>
181 return rho0_.value();
185 template<
class ParcelType>
189 return minParcelMass_.value();
195 template<
class ParcelType>
202 template<
class ParcelType>
209 template<
class ParcelType>
216 template<
class ParcelType>
223 template<
class ParcelType>
230 template<
class ParcelType>
237 template<
class ParcelType>
244 template<
class ParcelType>
251 template<
class ParcelType>
258 template<
class ParcelType>
265 template<
class ParcelType>
272 template<
class ParcelType>
279 template<
class ParcelType>
286 template<
class ParcelType>
293 template<
class ParcelType>
300 template<
class ParcelType>
307 template<
class ParcelType>
314 template<
class ParcelType>
321 template<
class ParcelType>
328 template<
class ParcelType>
335 template<
class ParcelType>
342 template<
class ParcelType>
349 template<
class ParcelType>
355 return td.
rhoc()*this->
mesh().cellVolumes()[this->
cell()];
359 template<
class ParcelType>
366 template<
class ParcelType>
373 template<
class ParcelType>
380 template<
class ParcelType>
387 template<
class ParcelType>
394 template<
class ParcelType>
401 template<
class ParcelType>
408 template<
class ParcelType>
415 template<
class ParcelType>
425 template<
class ParcelType>
435 return rhoc*
mag(
U - Uc)*
d/
max(muc, ROOTVSMALL);
439 template<
class ParcelType>
450 template<
class ParcelType>
464 template<
class ParcelType>
475 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 & Uc() const
Return the continuous phase velocity.
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
scalar Re(const trackingData &td) const
Reynolds number.
scalar nParticle() const
Return const access to number of particles.
static constexpr const zero Zero
Global zero (0)
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.
scalar Eo(const trackingData &td, const scalar sigma) const
Eotvos number.
Mesh consisting of general polyhedral cells.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
scalar age() const
Return const access to the age.
const vector & UCorrect() const
Return const access to correction velocity.
dimensionedScalar pow3(const dimensionedScalar &ds)
KinematicParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
vector UTurb_
Turbulent velocity fluctuation [m/s].
PtrList< coordinateSystem > coordinates(solidRegions.size())
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 max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
vector U_
Velocity of Parcel [m/s].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar We(const trackingData &td, const scalar sigma) const
Weber number.
scalar nParticle_
Number of particles in Parcel.
vector UCorrect_
Velocity correction due to collisions MPPIC [m/s].
const uniformDimensionedVectorField & g
scalar rho_
Density [kg/m3].
dictionary subOrEmptyDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
bool active() const
Return const access to active flag.
label typeId_
Parcel type id.
scalar areaS() const
Particle surface area.
scalar rhoMin() const
Return const access to the minimum density.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
constexpr scalar pi(M_PI)
scalar rhoc() const
Return the continuous phase density.
scalar muc() const
Return the continuous phase viscosity.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar e
Elementary charge.
const dictionary & dict() const
Return const access to the constant properties dictionary.
scalar d() const
Return const access to diameter.
scalar rho() const
Return const access to density.
scalar massCell(const trackingData &td) const
Cell owner mass.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
label active_
Active flag - tracking inactive when active = false.
constantProperties()
Default construct.
scalar mass() const
Particle mass.
A cell is defined as a list of faces with extra functionality.
Class to hold kinematic particle constant properties.