33 template<
class ParcelType>
38 parcelTypeId_(dict_, -1),
41 minParcelMass_(dict_, 0.0)
45 template<
class ParcelType>
52 parcelTypeId_(
cp.parcelTypeId_),
55 minParcelMass_(
cp.minParcelMass_)
59 template<
class ParcelType>
65 dict_(parentDict.subOrEmptyDict(
"constantProperties")),
66 parcelTypeId_(dict_,
"parcelTypeId", -1),
67 rhoMin_(dict_,
"rhoMin", 1
e-15),
69 minParcelMass_(dict_,
"minParcelMass", 1
e-15)
73 template<
class ParcelType>
84 ParcelType(mesh, coordinates, celli, tetFacei, tetPti, facei),
98 template<
class ParcelType>
106 ParcelType(owner, position, celli),
122 template<
class ParcelType>
130 template<
class ParcelType>
134 return parcelTypeId_.value();
138 template<
class ParcelType>
142 return rhoMin_.value();
146 template<
class ParcelType>
150 return rho0_.value();
154 template<
class ParcelType>
158 return minParcelMass_.value();
164 template<
class ParcelType>
171 template<
class ParcelType>
178 template<
class ParcelType>
185 template<
class ParcelType>
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>
310 return td.
rhoc()*td.mesh.cellVolumes()[this->
cell()];
314 template<
class ParcelType>
317 return rho_*volume();
321 template<
class ParcelType>
324 return 0.1*mass()*
sqr(d_);
328 template<
class ParcelType>
335 template<
class ParcelType>
342 template<
class ParcelType>
349 template<
class ParcelType>
352 return 0.25*areaS(d);
356 template<
class ParcelType>
363 template<
class ParcelType>
370 template<
class ParcelType>
380 template<
class ParcelType>
390 return rhoc*
mag(
U - Uc)*d/
max(muc, rootVSmall);
394 template<
class ParcelType>
405 template<
class ParcelType>
419 template<
class ParcelType>
426 return Eo(td.
g(), rho_, td.
rhoc(), U_, d_,
sigma);
430 template<
class ParcelType>
Class to hold momentum parcel constant properties.
constantProperties()
Null constructor.
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() const
Return const access to the constant properties dictionary.
scalar rhoMin() const
Return const access to the minimum density.
const vector & Uc() const
Return the continuous phase velocity.
scalar muc() const
Return the continuous phase viscosity.
scalar rhoc() const
Return the continuous phase density.
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/m^3].
const vector & U() const
Return const access to velocity.
bool moving_
Moving flag - tracking stopped when moving = 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.
MomentumParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
scalar areaS() const
Particle surface area.
scalar Eo(const trackingData &td, const scalar sigma) const
Eotvos number.
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.
bool moving() const
Return const access to moving flag.
A cell is defined as a list of faces with extra functionality.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow3(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
scalarField Re(const UList< complex > &cf)