Go to the documentation of this file.
46 #ifndef ReactingMultiphaseCloud_H
47 #define ReactingMultiphaseCloud_H
58 template<
class CloudType>
61 template<
class CloudType>
68 template<
class CloudType>
110 typename parcelType::constantProperties
constProps_;
216 inline const typename parcelType::constantProperties&
220 inline typename parcelType::constantProperties&
constProps();
260 const scalar lagrangianDt
267 const scalar lagrangianDt,
268 const bool fullyDescribed
Templated surface reaction model class.
void cloudReset(ReactingMultiphaseCloud< CloudType > &c)
Reset state of cloud.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
ReactingMultiphaseCloud< CloudType > reactingMultiphaseCloudType
Convenience typedef for this cloud type.
void restoreState()
Reset the current cloud to the previously stored state.
A class for handling words, derived from Foam::string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
scalar dMassSurfaceReaction_
Total mass transferred to continuous phase via surface.
void storeState()
Store the current cloud state.
const parcelType::constantProperties & constProps() const
Return the constant properties.
Virtual abstract base class for templated reactingMultiphaseCloud.
const SurfaceReactionModel< ReactingMultiphaseCloud< CloudType > > & surfaceReaction() const
Return const access to reacting surface reaction model.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
scalar dMassDevolatilisation_
Total mass transferred to continuous phase via devolatilisation.
void info()
Print cloud information.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
virtual void writeFields() const
Write the field data for the cloud.
autoPtr< SurfaceReactionModel< ReactingMultiphaseCloud< CloudType > > > surfaceReactionModel_
Surface reaction model.
void setModels()
Set cloud sub-models.
const word & cloudName() const
Return the cloud type.
const fvMesh & mesh() const
Return reference to the mesh.
Templated devolatilisation model class.
CloudType cloudType
Type of cloud this cloud was instantiated for.
Templated base class for dsmc cloud.
const DevolatilisationModel< ReactingMultiphaseCloud< CloudType > > & devolatilisation() const
Return const access to devolatilisation model.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const uniformDimensionedVectorField & g
parcelType::constantProperties constProps_
Parcel constant properties.
virtual ~ReactingMultiphaseCloud()
Destructor.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
Read the selected GeometricFields of the templated type.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Construct and return clone based on (this) with new name.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
void evolve()
Evolve the cloud.
const ReactingMultiphaseCloud & cloudCopy() const
Return a reference to the cloud copy.
void resetSourceTerms()
Reset the cloud source terms.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const dimensionedScalar c
Speed of light in a vacuum.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
autoPtr< DevolatilisationModel< ReactingMultiphaseCloud< CloudType > > > devolatilisationModel_
Devolatilisation model.
Templated base class for multiphase reacting cloud.