38 #ifndef Foam_SprayCloud_H 39 #define Foam_SprayCloud_H 59 template<
class CloudType>
87 scalar averageParcelMass_;
191 inline scalar
penetration(
const scalar fraction)
const;
217 const scalar lagrangianDt
224 const scalar lagrangianDt,
225 const bool fullyDescribed
scalar averageParcelMass() const
Return const-access to the average parcel mass.
autoPtr< IOobject > clone() const
Clone.
const word & cloudName() const
Return the cloud type.
void storeState()
Store the current cloud state.
const word & name() const noexcept
Return the object name.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
const AtomizationModel< SprayCloud< CloudType > > & atomization() const
Return const-access to the atomization model.
void restoreState()
Reset the current cloud to the previously stored state.
Templated atomization model class.
void setModels()
Set cloud sub-models.
scalar penetration(const scalar fraction) const
Penetration for fraction [0-1] of the current total mass.
const SprayCloud & cloudCopy() const
Return a reference to the cloud copy.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
CloudType cloudType
Type of cloud this cloud was instantiated for.
virtual ~SprayCloud()
Destructor.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
A class for handling words, derived from Foam::string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
const BreakupModel< SprayCloud< CloudType > > & breakup() const
Return const-access to the breakup model.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Templated base class for spray cloud.
const uniformDimensionedVectorField & g
autoPtr< BreakupModel< SprayCloud< CloudType > > > breakupModel_
Break-up model.
void evolve()
Evolve the spray (inject, move)
SprayCloud< CloudType > sprayCloudType
Convenience typedef for this cloud type.
void info()
Print cloud information.
const fvMesh & mesh() const
Return reference to the mesh.
autoPtr< AtomizationModel< SprayCloud< CloudType > > > atomizationModel_
Atomization model.
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar c
Speed of light in a vacuum.
void cloudReset(SprayCloud< CloudType > &c)
Reset state of cloud.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated break-up model class.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type.
Virtual abstract base class for templated SprayCloud.
Templated base class for dsmc cloud.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.