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