Go to the documentation of this file.
44 #ifndef ReactingHeterogeneousCloud_H
45 #define ReactingHeterogeneousCloud_H
55 template<
class CloudType>
63 template<
class CloudType>
191 inline label
nF()
const;
215 const scalar lagrangianDt
222 const scalar lagrangianDt,
223 const bool fullyDescribed
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
label nF() const
Return progress variable dimension.
Base class for heterogeneous reacting models.
virtual void readObjects(const objectRegistry &obr)
Read particle fields as objects from the obr registry.
const ReactingHeterogeneousCloud & cloudCopy() const
Return a reference to the cloud copy.
A class for handling words, derived from Foam::string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
void restoreState()
Reset the current cloud to the previously stored state.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
const HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > & heterogeneousReaction() const
Return reference to model.
void storeState()
Store the current cloud state.
Templated base class for reacting heterogeneous cloud.
void evolve()
Evolve the cloud.
Virtual abstract base class for templated ReactingCloud.
void cloudReset(ReactingHeterogeneousCloud< CloudType > &c)
Reset state of cloud.
Registry of regIOobjects.
const word & cloudName() const
Return the cloud type.
virtual void writeObjects(objectRegistry &obr) const
Write particle fields as objects into the obr registry.
const fvMesh & mesh() const
Return reference to the mesh.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
virtual void writeFields() const
Write the field data for the cloud.
Templated base class for dsmc cloud.
void setModels()
Set cloud sub-models.
virtual ~ReactingHeterogeneousCloud()=default
Destructor.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const uniformDimensionedVectorField & g
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.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
ReactingHeterogeneousCloud< CloudType > reactingHeterogeneousCloudType
Convenience typedef for this cloud type.
void info()
Print cloud information.
CloudType cloudType
Type of cloud this cloud was instantiated for.
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Construct and return clone based on (this) with new name.
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.
autoPtr< HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > > heterogeneousReactionModel_
Heterogeneous reaction model.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.