41 #ifndef ReactingMultiphaseCloud_H 42 #define ReactingMultiphaseCloud_H 58 template<
class CloudType>
61 template<
class CloudType>
76 template<
class CloudType>
80 public ReactingMultiphaseCloudName
109 typename parcelType::constantProperties
constProps_;
217 inline const typename parcelType::constantProperties&
221 inline typename parcelType::constantProperties&
constProps();
261 const scalar lagrangianDt
268 const scalar lagrangianDt,
269 const bool fullyDescribed
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
virtual void autoMap(const polyTopoChangeMap &)
Remap the cells of particles corresponding to the.
autoPtr< IOobject > clone() const
Clone.
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
const word & name() const
Return name.
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const HashSet< word > &selectedFields, LIFOStack< regIOobject *> &storedObjects)
Read the selected GeometricFields of the specified type.
void setModels()
Set cloud sub-models.
const word & cloudName() const
Return the cloud type.
parcelType::constantProperties constProps_
Parcel constant properties.
autoPtr< SurfaceReactionModel< ReactingMultiphaseCloud< CloudType > > > surfaceReactionModel_
Surface reaction model.
const dimensionedScalar c
Speed of light in a vacuum.
Templated base class for multiphase reacting cloud.
void cloudReset(ReactingMultiphaseCloud< CloudType > &c)
Reset state of cloud.
void restoreState()
Reset the current cloud to the previously stored state.
A class for handling words, derived from string.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
CloudType cloudType
Type of cloud this cloud was instantiated for.
Base-class for fluid thermodynamic properties.
TemplateName(FvFaceCellWave)
void resetSourceTerms()
Reset the cloud source terms.
void storeState()
Store the current cloud state.
virtual ~ReactingMultiphaseCloud()
Destructor.
ReactingMultiphaseCloud< CloudType > reactingMultiphaseCloudType
Convenience typedef for this cloud type.
autoPtr< DevolatilisationModel< ReactingMultiphaseCloud< CloudType > > > devolatilisationModel_
Devolatilisation model.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
const fvMesh & mesh() const
Return references to the mesh.
virtual void writeFields() const
Write the field data for the cloud.
Forward declarations of fvMatrix specialisations.
const ReactingMultiphaseCloud & cloudCopy() const
Return a reference to the cloud copy.
Mesh data needed to do the Finite Volume discretisation.
scalar dMassDevolatilisation_
Total mass transferred to continuous phase via devolatilisation.
const SurfaceReactionModel< ReactingMultiphaseCloud< CloudType > > & surfaceReaction() const
Return const access to reacting surface reaction model.
const parcelType::constantProperties & constProps() const
Return the constant properties.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
void operator=(const ReactingMultiphaseCloud &)=delete
Disallow default bitwise assignment.
Templated devolatilisation model class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
ReactingMultiphaseCloud(const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const fluidThermo &carrierThermo, const bool readFields=true)
Construct given carrier fields and thermo.
const dimensionedVector & g
void info()
Print cloud information.
void evolve()
Evolve the cloud.
scalar dMassSurfaceReaction_
Total mass transferred to continuous phase via surface.
Templated surface reaction model class.
Templated base class for dsmc cloud.
const DevolatilisationModel< ReactingMultiphaseCloud< CloudType > > & devolatilisation() const
Return const access to devolatilisation model.