32 template<
class ParcelType>
37 parcelTypeId_(dict_, -1),
40 minParcelMass_(dict_, 0.0)
44 template<
class ParcelType>
51 parcelTypeId_(cp.parcelTypeId_),
54 minParcelMass_(cp.minParcelMass_)
58 template<
class ParcelType>
65 parcelTypeId_(
dict_,
"parcelTypeId", -1),
66 rhoMin_(
dict_,
"rhoMin", 1
e-15),
68 minParcelMass_(
dict_,
"minParcelMass", 1
e-15)
72 template<
class ParcelType>
82 ParcelType(owner, coordinates, celli, tetFacei, tetPti),
96 template<
class ParcelType>
104 ParcelType(owner, position, celli),
120 template<
class ParcelType>
128 template<
class ParcelType>
132 return parcelTypeId_.value();
136 template<
class ParcelType>
140 return rhoMin_.
value();
144 template<
class ParcelType>
148 return rho0_.
value();
152 template<
class ParcelType>
156 return minParcelMass_.
value();
162 template<
class ParcelType>
169 template<
class ParcelType>
176 template<
class ParcelType>
183 template<
class ParcelType>
190 template<
class ParcelType>
197 template<
class ParcelType>
204 template<
class ParcelType>
211 template<
class ParcelType>
218 template<
class ParcelType>
225 template<
class ParcelType>
232 template<
class ParcelType>
239 template<
class ParcelType>
246 template<
class ParcelType>
253 template<
class ParcelType>
260 template<
class ParcelType>
267 template<
class ParcelType>
274 template<
class ParcelType>
281 template<
class ParcelType>
288 template<
class ParcelType>
295 template<
class ParcelType>
302 template<
class ParcelType>
308 return td.
rhoc()*this->
mesh().cellVolumes()[this->
cell()];
312 template<
class ParcelType>
319 template<
class ParcelType>
326 template<
class ParcelType>
333 template<
class ParcelType>
340 template<
class ParcelType>
347 template<
class ParcelType>
350 return 0.25*
areaS(d);
354 template<
class ParcelType>
361 template<
class ParcelType>
368 template<
class ParcelType>
378 template<
class ParcelType>
388 return rhoc*
mag(U - Uc)*d/
max(muc, rootVSmall);
392 template<
class ParcelType>
403 template<
class ParcelType>
413 return rhoc*
magSqr(U - Uc)*d/
max(sigma, rootVSmall);
417 template<
class ParcelType>
428 template<
class ParcelType>
440 return mag(g & dir)*
mag(rho - rhoc)*
sqr(d)/
max(sigma, rootVSmall);
scalar volume() const
Particle volume.
const vector & UTurb() const
Return const access to turbulent velocity fluctuation.
bool moving_
Moving flag - tracking stopped when moving = false.
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
scalar areaS() const
Particle surface area.
scalar dTarget_
Target diameter [m].
const dictionary dict_
Constant properties dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
scalar age() const
Return const access to the age.
scalar rho0() const
Return const access to the particle density.
label typeId_
Parcel type id.
scalar minParcelMass() const
Return const access to the minimum parcel mass.
scalar rhoMin() const
Return const access to the minimum density.
scalar We(const trackingData &td, const scalar sigma) const
Weber number.
scalar dTarget() const
Return const access to target diameter.
bool moving() const
Return const access to moving flag.
scalar d() const
Return const access to diameter.
constantProperties()
Null constructor.
const Type & value() const
Return the value.
scalar rho_
Density [kg/m^3].
scalar nParticle_
Number of particles in Parcel.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
scalar massCell(const trackingData &td) const
Cell owner mass.
scalar nParticle() const
Return const access to number of particles.
scalar tTurb_
Time spent in turbulent eddy [s].
label parcelTypeId() const
Return const access to the parcel type id.
scalar Eo(const trackingData &td, const scalar sigma) const
Eotvos number.
scalar momentOfInertia() const
Particle moment of inertia around diameter axis.
scalar muc() const
Return the continuous phase viscosity.
scalar Re(const trackingData &td) const
Reynolds number.
vector U_
Velocity of Parcel [m/s].
dimensioned< scalar > magSqr(const dimensioned< Type > &)
scalar rho() const
Return const access to density.
MomentumParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
scalar mass() const
Particle mass.
scalar rhoc() const
Return the continuous phase density.
dimensionedScalar pow3(const dimensionedScalar &ds)
A cell is defined as a list of faces with extra functionality.
const vector & U() const
Return const access to velocity.
const dictionary & dict() const
Return const access to the constant properties dictionary.
dimensioned< scalar > mag(const dimensioned< Type > &)
const doubleScalar e
Elementary charge.
label typeId() const
Return const access to type id.
Mesh consisting of general polyhedral cells.
const vector & Uc() const
Return the continuous phase velocity.
scalar areaP() const
Particle projected area.
scalar tTurb() const
Return const access to time spent in turbulent eddy.
vector UTurb_
Turbulent velocity fluctuation [m/s].
dictionary subOrEmptyDict(const word &, const bool mustRead=false) const
Find and return a sub-dictionary as a copy, or.
Class to hold momentum parcel constant properties.