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;
198 const label tetFacei,
217 const label tetFacei,
220 const scalar nParticle0,
222 const scalar dTarget0,
225 const vector& angularMomentum0,
237 const typename ParcelType::constantProperties& constProps
301 inline scalar
d0()
const;
307 inline scalar
sigma()
const;
310 inline scalar
mu()
const;
319 inline scalar
y()
const;
322 inline scalar
yDot()
const;
325 inline scalar
tc()
const;
328 inline scalar
ms()
const;
334 inline scalar
tMom()
const;
337 inline scalar
user()
const;
349 inline scalar&
sigma();
364 inline scalar&
yDot();
376 inline scalar&
tMom();
379 inline scalar&
user();
385 template<
class TrackCloudType>
389 template<
class TrackCloudType>
392 TrackCloudType& cloud,
398 template<
class TrackCloudType>
401 TrackCloudType& cloud,
407 template<
class TrackCloudType>
410 TrackCloudType& cloud,
416 template<
class TrackCloudType>
419 TrackCloudType& cloud,
430 template<
class TrackCloudType>
433 TrackCloudType& cloud,
440 template<
class TrackCloudType>
443 TrackCloudType& cloud,
449 template<
class TrackCloudType>
452 TrackCloudType& cloud,
461 template<
class CloudType,
class CompositionType>
465 const CompositionType& compModel
469 template<
class CloudType>
473 template<
class CloudType,
class CompositionType>
477 const CompositionType& compModel
481 template<
class CloudType>
487 friend Ostream& operator<< <ParcelType>
dimensionedScalar Pr("Pr", dimless, laminarTransport)
scalar mu0() const
Return const access to the initial dynamic viscosity.
Factory class to read-construct particles used for.
void correctSurfaceValues(TrackCloudType &cloud, trackingData &td, const scalar T, const scalarField &Cs, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappa)
Correct surface values due to emitted species.
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 tMom_
Momentum relaxation time (needed for calculating parcel acc.)
scalar KHindex() const
Return const access to Kelvin-Helmholtz breakup index.
scalar tMom() const
Return const access to momentum relaxation time.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar sigma0() const
Return const access to the initial surface tension.
scalar liquidCore() const
Return const access to liquid core.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
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.
void calcAtomization(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct parcel properties according to atomization model.
void calcBreakup(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct parcel properties according to breakup model.
scalar ms() const
Return const access to stripped parcel mass.
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar liquidCore_
Part of liquid core ( >0.5=liquid, <0.5=droplet )
SprayParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
scalar y() const
Return const access to spherical deviation.
scalarList Y0(nSpecie, 0.0)
scalar chi(TrackCloudType &cloud, trackingData &td, const scalarField &X) const
Calculate the chi-factor for flash-boiling for the.
scalar d0() const
Return const access to initial droplet diameter.
A cloud is a collection of lagrangian particles.
scalar mu() const
Return const access to the liquid dynamic viscosity.
scalar tc() const
Return const access to atomization characteristic time.
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.
scalar yDot() const
Return const access to rate of change of spherical deviation.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.
scalar user() const
Return const access to passive user scalar.
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)
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
vector position0_
Injection position.
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar injector() const
Return const access to injector id.
const vector & position0() const
Return const access to initial droplet position.
scalar yDot_
Rate of change of spherical deviation.
const dimensionedScalar c
Speed of light in a vacuum.
void solveTABEq(TrackCloudType &cloud, trackingData &td, const scalar dt)
Solve the TAB equation.
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.
scalar ms_
Stripped parcel mass due to breakup.
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
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...
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
Mesh consisting of general polyhedral cells.
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.
ParcelType::trackingData trackingData
Use base tracking data.
scalar KHindex_
Index for KH Breakup.
Templated base class for dsmc cloud.
scalar sigma() const
Return const access to the liquid surface tension.
Reaching spray parcel, with added functionality for atomization and breakup.