Go to the documentation of this file.
43 template<
class ParcelType>
46 template<
class ParcelType>
57 template<
class ParcelType>
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;
213 const label tetFaceI,
223 const label tetFaceI,
226 const scalar nParticle0,
228 const scalar dTarget0,
231 const vector& angularMomentum0,
243 const typename ParcelType::constantProperties& constProps
307 inline scalar
d0()
const;
313 inline scalar
sigma()
const;
316 inline scalar
mu()
const;
325 inline scalar
y()
const;
328 inline scalar
yDot()
const;
331 inline scalar
tc()
const;
334 inline scalar
ms()
const;
340 inline scalar
tMom()
const;
343 inline scalar
user()
const;
355 inline scalar&
sigma();
370 inline scalar&
yDot();
382 inline scalar&
tMom();
385 inline scalar&
user();
391 template<
class TrackData>
400 template<
class TrackData>
409 template<
class TrackData>
418 template<
class TrackData>
427 template<
class TrackData>
441 template<
class TrackData>
451 template<
class TrackData>
459 template<
class TrackData>
470 template<
class CloudType,
class CompositionType>
474 const CompositionType& compModel
478 template<
class CloudType>
482 template<
class CloudType,
class CompositionType>
486 const CompositionType& compModel
490 template<
class CloudType>
496 friend Ostream& operator<< <ParcelType>
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
scalar y() const
Return const access to spherical deviation.
vector position0_
Injection position.
scalar tc() const
Return const access to atomization characteristic time.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
scalar tc_
Characteristic time (used in atomization and/or breakup model)
TypeName("SprayParcel")
Runtime type information.
dimensionedScalar pMin("pMin", dimPressure, fluid)
scalar liquidCore_
Part of liquid core ( >0.5=liquid, <0.5=droplet )
static const std::size_t sizeofFields_
Size in bytes of the fields.
bool cp(const fileName &src, const fileName &dst)
Copy, recursively if necessary, the source to the destination.
This function object reads fields from the time directories and adds them to the mesh database for fu...
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
static void readFields(CloudType &c, const CompositionType &compModel)
Read.
scalar d0_
Initial droplet diameter.
const vector & position0() const
Return const access to initial droplet position.
Mesh consisting of general polyhedral cells.
const dimensionedScalar epsilon0
Electric constant: default SI units: [F/m].
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 ms_
Stripped parcel mass due to breakup.
scalar ms() const
Return const access to stripped parcel mass.
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
scalar sigma() const
Return const access to the liquid surface tension.
scalar user() const
Return const access to passive user scalar.
Factory class to read-construct particles used for.
scalar sigma_
Liquid surface tension [N/m].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalar mu() const
Return const access to the liquid dynamic viscosity.
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.
demandDrivenEntry< scalar > mu0_
Particle initial dynamic viscosity [Pa.s].
scalarList Y0(nSpecie, 0.0)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
constantProperties()
Null constructor.
void solveTABEq(TrackData &td, const scalar dt)
Solve the TAB equation.
autoPtr< SprayParcel< ParcelType > > operator()(Istream &is) const
scalar injector() const
Return const access to injector id.
scalar chi(TrackData &td, const scalarField &X) const
Calculate the chi-factor for flash-boiling for the.
scalar yDot() const
Return const access to rate of change of spherical deviation.
Reacing spray parcel, with added functionality for atomization and breakup.
void cellValueSourceCorrection(TrackData &td, const scalar dt, const label cellI)
Correct cell values using latest transfer information.
dimensionedScalar Pr("Pr", dimless, laminarTransport)
Templated base class for dsmc cloud.
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.)
virtual autoPtr< particle > clone(const polyMesh &mesh) const
Construct and return a (basic particle) clone.
scalar tMom() const
Return const access to momentum relaxation time.
iNew(const polyMesh &mesh)
scalar y_
Spherical deviation.
void setCellValues(TrackData &td, const scalar dt, const label cellI)
Set cell values.
scalar KHindex_
Index for KH Breakup.
scalar mu_
Liquid dynamic viscosity [Pa.s].
scalar KHindex() const
Return const access to Kelvin-Helmholtz breakup index.
scalar user_
Passive scalar (extra variable to be defined by user)
void calcBreakup(TrackData &td, const scalar dt, const label cellI)
Correct parcel properties according to breakup model.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
void calc(TrackData &td, const scalar dt, const label cellI)
Update parcel properties over the time interval.
AddToPropertyList(ParcelType,+" d0"+" position0"+" sigma"+" mu"+" liquidCore"+" KHindex"+" y"+" yDot"+" tc"+" ms"+" injector"+" tMom"+" user")
String representation of properties.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar yDot_
Rate of change of spherical deviation.
scalar liquidCore() const
Return const access to liquid core.
void calcAtomization(TrackData &td, const scalar dt, const label cellI)
Correct parcel properties according to atomization model.
const dimensionedScalar c
Speed of light in a vacuum.
scalar injector_
Injected from injector (needed e.g. for calculating distance.
SprayParcel(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from owner, position, and cloud owner.
scalar mu0() const
Return const access to the initial dynamic viscosity.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalar d0() const
Return const access to initial droplet diameter.
demandDrivenEntry< scalar > sigma0_
Particle initial surface tension [N/m].
Class to hold reacting particle constant properties.