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>
104 label& nLocateBoundaryHits
107 ParcelType(owner, position, celli, nLocateBoundaryHits),
123 template<
class ParcelType>
131 template<
class ParcelType>
135 return parcelTypeId_.value();
139 template<
class ParcelType>
143 return rhoMin_.value();
147 template<
class ParcelType>
151 return rho0_.value();
155 template<
class ParcelType>
159 return minParcelMass_.value();
165 template<
class ParcelType>
172 template<
class ParcelType>
179 template<
class ParcelType>
186 template<
class ParcelType>
193 template<
class ParcelType>
200 template<
class ParcelType>
207 template<
class ParcelType>
214 template<
class ParcelType>
221 template<
class ParcelType>
228 template<
class ParcelType>
235 template<
class ParcelType>
242 template<
class ParcelType>
249 template<
class ParcelType>
256 template<
class ParcelType>
263 template<
class ParcelType>
270 template<
class ParcelType>
277 template<
class ParcelType>
284 template<
class ParcelType>
291 template<
class ParcelType>
298 template<
class ParcelType>
305 template<
class ParcelType>
311 return td.
rhoc()*td.mesh.cellVolumes()[this->
cell()];
315 template<
class ParcelType>
318 return rho_*volume();
322 template<
class ParcelType>
325 return 0.1*mass()*
sqr(d_);
329 template<
class ParcelType>
336 template<
class ParcelType>
343 template<
class ParcelType>
350 template<
class ParcelType>
353 return 0.25*areaS(d);
357 template<
class ParcelType>
364 template<
class ParcelType>
371 template<
class ParcelType>
381 template<
class ParcelType>
391 return rhoc*
mag(
U - Uc)*d/
max(muc, rootVSmall);
395 template<
class ParcelType>
406 template<
class ParcelType>
420 template<
class ParcelType>
427 return Eo(td.
g(), rho_, td.
rhoc(), U_, d_,
sigma);
431 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)