Go to the documentation of this file.
40 #ifndef ReactingCloud_H
41 #define ReactingCloud_H
52 template<
class CloudType>
55 template<
class CloudType>
62 template<
class CloudType>
104 typename parcelType::constantProperties
constProps_;
206 inline const typename parcelType::constantProperties&
210 inline typename parcelType::constantProperties&
constProps();
269 const scalar lagrangianDt
276 const scalar lagrangianDt,
277 const bool fullyDescribed
PtrList< DimensionedField< scalar, volMesh > > rhoTrans_
Mass transfer fields - one per carrier phase specie.
Templated phase change model class.
void resetSourceTerms()
Reset the cloud source terms.
autoPtr< CompositionModel< ReactingCloud< CloudType > > > compositionModel_
Reacting composition model.
virtual void writeFields() const
Write the field data for the cloud.
CloudType cloudType
Type of cloud this cloud was instantiated for.
A class for handling words, derived from string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
A class for managing temporary objects.
void evolve()
Evolve the cloud.
virtual ~ReactingCloud()
Destructor.
const PhaseChangeModel< ReactingCloud< CloudType > > & phaseChange() const
Return const access to reacting phase change model.
tmp< fvScalarMatrix > SYi(const label i, volScalarField &Yi) const
Return mass source term for specie i - specie eqn.
autoPtr< PhaseChangeModel< ReactingCloud< CloudType > > > phaseChangeModel_
Reacting phase change model.
ReactingCloud< CloudType > reactingCloudType
Convenience typedef for this cloud type.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
virtual autoPtr< Cloud< parcelType > > cloneBare(const word &name) const
Construct and return bare clone based on (this) with new name.
const dimensionedVector & g
parcelType::constantProperties constProps_
Parcel constant properties.
This function object reads fields from the time directories and adds them to the mesh database for fu...
ReactingCloud(const ReactingCloud &)
Disallow default bitwise copy construct.
void scaleSources()
Apply scaling to (transient) cloud sources.
Templated reacting parcel composition model class Consists of carrier species (via thermo package),...
autoPtr< ReactingCloud< CloudType > > cloudCopyPtr_
Cloud copy pointer.
const word & cloudName() const
Return the cloud type.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const fvMesh & mesh() const
Return refernce to the mesh.
void setModels()
Set cloud sub-models.
const CompositionModel< ReactingCloud< CloudType > > & composition() const
Return const access to reacting composition model.
Virtual abstract base class for templated ReactingCloud.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
const PtrList< DimensionedField< scalar, volMesh > > & rhoTrans() const
Return const access to mass source fields.
void storeState()
Store the current cloud state.
Templated base class for dsmc cloud.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const ReactingCloud & cloudCopy() const
Return a reference to the cloud copy.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
CloudType::particleType parcelType
Type of parcel the cloud was instantiated for.
void operator=(const ReactingCloud &)
Disallow default bitwise assignment.
virtual void autoMap(const mapPolyMesh &)
Remap the cells of particles corresponding to the.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const dimensionedScalar c
Speed of light in a vacuum.
void restoreState()
Reset the current cloud to the previously stored state.
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
Check parcel properties.
void info()
Print cloud information.
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
Set parcel thermo properties.
void relaxSources(const ReactingCloud< CloudType > &cloudOldTime)
Apply relaxation to (steady state) cloud sources.
Generic GeometricField class.
tmp< DimensionedField< scalar, volMesh > > Srho() const
Return tmp total mass source for carrier phase.
word name(const complex &)
Return a string representation of a complex.
PtrList< volScalarField > & Y
void checkSuppliedComposition(const scalarField &YSupplied, const scalarField &Y, const word &YName)
Check that size of a composition field is valid.
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Construct and return clone based on (this) with new name.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const parcelType::constantProperties & constProps() const
Return the constant properties.
Templated base class for reacting cloud.
void cloudReset(ReactingCloud< CloudType > &c)
Reset state of cloud.