43 template<
class ParcelType>
46 template<
class ParcelType>
57 template<
class ParcelType>
65 static const std::size_t sizeofFields_;
73 public ParcelType::constantProperties
100 const label parcelTypeId,
103 const scalar minParcelMass,
104 const scalar youngsModulus,
105 const scalar poissonsRatio,
114 const Switch& constantVolume,
123 inline scalar
sigma0()
const;
126 inline scalar
mu0()
const;
194 const label tetFacei,
204 const label tetFacei,
207 const scalar nParticle0,
209 const scalar dTarget0,
212 const vector& angularMomentum0,
224 const typename ParcelType::constantProperties& constProps
288 inline scalar
d0()
const;
294 inline scalar
sigma()
const;
297 inline scalar
mu()
const;
306 inline scalar
y()
const;
309 inline scalar
yDot()
const;
312 inline scalar
tc()
const;
315 inline scalar
ms()
const;
321 inline scalar
tMom()
const;
324 inline scalar
user()
const;
336 inline scalar&
sigma();
351 inline scalar&
yDot();
363 inline scalar&
tMom();
366 inline scalar&
user();
372 template<
class TrackData>
381 template<
class TrackData>
390 template<
class TrackData>
399 template<
class TrackData>
408 template<
class TrackData>
422 template<
class TrackData>
432 template<
class TrackData>
440 template<
class TrackData>
451 template<
class CloudType,
class CompositionType>
455 const CompositionType& compModel
459 template<
class CloudType>
463 template<
class CloudType,
class CompositionType>
467 const CompositionType& compModel
471 template<
class CloudType>
477 friend Ostream& operator<< <ParcelType>
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Factory class to read-construct particles used for.
void solveTABEq(TrackData &td, const scalar dt)
Solve the TAB equation.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar d0() const
Return const access to initial droplet diameter.
scalar tMom_
Momentum relaxation time (needed for calculating parcel acc.)
scalar mu0() const
Return const access to the initial dynamic viscosity.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
void calc(TrackData &td, const scalar dt, const label celli)
Update parcel properties over the time interval.
scalar yDot() const
Return const access to rate of change of spherical deviation.
A simple wrapper around bool so that it can be read as a word: true/false, on/off, yes/no, y/n, t/f, or none.
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar y() const
Return const access to spherical deviation.
void calcAtomization(TrackData &td, const scalar dt, const label celli)
Correct parcel properties according to atomization model.
scalar liquidCore_
Part of liquid core ( >0.5=liquid, <0.5=droplet )
scalar tMom() const
Return const access to momentum relaxation time.
scalarList Y0(nSpecie, 0.0)
scalar chi(TrackData &td, const scalarField &X) const
Calculate the chi-factor for flash-boiling for the.
void correctSurfaceValues(TrackData &td, const label celli, const scalar T, const scalarField &Cs, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappa)
Correct surface values due to emitted species.
scalar liquidCore() const
Return const access to liquid core.
scalar injector() const
Return const access to injector id.
scalar sigma0() const
Return const access to the initial surface tension.
SprayParcel(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from owner, position, and cloud owner.
const vector & position0() const
Return const access to initial droplet position.
scalar ms() const
Return const access to stripped parcel mass.
scalar injector_
Injected from injector (needed e.g. for calculating distance.
Class to hold reacting particle constant properties.
scalar user_
Passive scalar (extra variable to be defined by user)
static void readFields(CloudType &c, const CompositionType &compModel)
Read.
void cellValueSourceCorrection(TrackData &td, const scalar dt, const label celli)
Correct cell values using latest transfer information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
scalar KHindex() const
Return const access to Kelvin-Helmholtz breakup index.
constantProperties()
Null constructor.
scalar sigma_
Liquid surface tension [N/m].
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
dimensionedScalar pMin("pMin", dimPressure, fluid)
scalar sigma() const
Return const access to the liquid surface tension.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
vector position0_
Injection position.
void calcBreakup(TrackData &td, const scalar dt, const label celli)
Correct parcel properties according to breakup model.
scalar yDot_
Rate of change of spherical deviation.
const dimensionedScalar c
Speed of light in a vacuum.
scalar ms_
Stripped parcel mass due to breakup.
scalar d0_
Initial droplet diameter.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
scalar mu() const
Return const access to the liquid dynamic viscosity.
scalar tc() const
Return const access to atomization characteristic time.
scalar tc_
Characteristic time (used in atomization and/or breakup model)
scalar mu_
Liquid dynamic viscosity [Pa.s].
TypeName("SprayParcel")
Runtime type information.
scalar y_
Spherical deviation.
scalar KHindex_
Index for KH Breakup.
Templated base class for dsmc cloud.
scalar user() const
Return const access to passive user scalar.
void setCellValues(TrackData &td, const scalar dt, const label celli)
Set cell values.
Reacing spray parcel, with added functionality for atomization and breakup.