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>
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)
75 template<
class ParcelType>
85 ParcelType(owner,
coordinates, celli, tetFacei, tetPti),
99 template<
class ParcelType>
102 const polyMesh& owner,
107 ParcelType(owner, position, celli),
121 template<
class ParcelType>
124 const polyMesh& owner,
127 const label tetFacei,
130 const scalar nParticle0,
132 const scalar dTarget0,
134 const constantProperties& constProps
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>
352 const trackingData& td
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>
418 const trackingData& td
421 return Re(td.rhoc(),
U_, td.Uc(),
d_, td.muc());
425 template<
class ParcelType>
435 return rhoc*
mag(
U - Uc)*
d/
max(muc, ROOTVSMALL);
439 template<
class ParcelType>
442 const trackingData& td,
450 template<
class ParcelType>
464 template<
class ParcelType>
467 const trackingData& td,
475 template<
class ParcelType>
label parcelTypeId() const
const vector & Uc() const
const vector & UTurb() const
scalar Re(const trackingData &td) const
static constexpr const zero Zero
scalar Eo(const trackingData &td, const scalar sigma) const
Mesh consisting of general polyhedral cells.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
const vector & UCorrect() const
dimensionedScalar pow3(const dimensionedScalar &ds)
KinematicParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar momentOfInertia() const
scalar minParcelMass() const
label max(const labelHashSet &set, label maxValue=labelMin)
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
const uniformDimensionedVectorField & g
Vector< scalar > vector
A scalar version of the templated Vector.
dictionary subOrEmptyDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX, const bool mandatory=false) const
dimensionedSymmTensor sqr(const dimensionedVector &dv)
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
constexpr scalar pi(M_PI)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar e
const dictionary & dict() const
scalar massCell(const trackingData &td) const
Barycentric< scalar > barycentric
A scalar version of the templated Barycentric.
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
A cell is defined as a list of faces with extra functionality.