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
autoPtr< IOobject > clone() const
Clone.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
const word & cloudName() const
Return the cloud type.
const word & name() const noexcept
Return the object name.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
CloudType cloudType
Type of cloud this cloud was instantiated for.
void restoreState()
Reset the current cloud to the previously stored state.
label nF() const
Return progress variable dimension.
Templated base class for reacting heterogeneous cloud.
Virtual abstract base class for templated ReactingCloud.
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
void storeState()
Store the current cloud state.
void cloudReset(ReactingHeterogeneousCloud< CloudType > &c)
Reset state of cloud.
virtual void writeObjects(objectRegistry &obr) const
Write particle fields as objects into the obr registry.
ReactingHeterogeneousCloud< CloudType > reactingHeterogeneousCloudType
Convenience typedef for this cloud type.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const NameMatchPredicate &selectedFields, DynamicList< regIOobject *> &storedObjects)
Read the selected GeometricFields of the templated type and store on the objectRegistry.
A class for handling words, derived from Foam::string.
void setModels()
Set cloud sub-models.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package, and provides:
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.
const uniformDimensionedVectorField & g
const fvMesh & mesh() const
Return reference to the mesh.
autoPtr< HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > > heterogeneousReactionModel_
Heterogeneous reaction model.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
void evolve()
Evolve the cloud.
void info()
Print cloud information.
Base class for heterogeneous reacting models.
Mesh data needed to do the Finite Volume discretisation.
const dimensionedScalar c
Speed of light in a vacuum.
virtual void writeFields() const
Write the field data for the cloud.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Registry of regIOobjects.
const HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > & heterogeneousReaction() const
Return reference to model.
virtual ~ReactingHeterogeneousCloud()=default
Destructor.
Templated base class for dsmc cloud.
const ReactingHeterogeneousCloud & cloudCopy() const
Return a reference to the cloud copy.
virtual void readObjects(const objectRegistry &obr)
Read particle fields as objects from the obr registry.