Go to the documentation of this file.
46 #ifndef ReactingCloud_H
47 #define ReactingCloud_H
58 template<
class CloudType>
61 template<
class CloudType>
68 template<
class CloudType>
110 typename parcelType::constantProperties
constProps_;
209 inline const ReactingCloud&
cloudCopy()
const;
212 inline const typename parcelType::constantProperties&
216 inline typename parcelType::constantProperties&
constProps();
222 inline const CompositionModel<ReactingCloud<CloudType>>&
226 inline const PhaseChangeModel<ReactingCloud<CloudType>>&
230 inline PhaseChangeModel<ReactingCloud<CloudType>>&
243 inline const PtrList<volScalarField::Internal>&
247 inline PtrList<volScalarField::Internal>&
251 inline tmp<fvScalarMatrix>
SYi
258 inline tmp<volScalarField::Internal>
259 Srho(
const label i)
const;
263 inline tmp<volScalarField::Internal>
Srho()
const;
275 const scalar lagrangianDt
282 const scalar lagrangianDt,
283 const bool fullyDescribed
296 void relaxSources(
const ReactingCloud<CloudType>& cloudOldTime);
309 virtual void autoMap(
const mapPolyMesh&);
virtual ~ReactingCloud()=default
Templated phase change model class.
autoPtr< CompositionModel< ReactingCloud< CloudType > > > compositionModel_
virtual void writeFields() const
A class for handling words, derived from Foam::string.
Thermo package for (S)olids (L)iquids and (G)ases Takes reference to thermo package,...
A class for managing temporary objects.
const PhaseChangeModel< ReactingCloud< CloudType > > & phaseChange() const
tmp< fvScalarMatrix > SYi(const label i, volScalarField &Yi) const
autoPtr< PhaseChangeModel< ReactingCloud< CloudType > > > phaseChangeModel_
ReactingCloud< CloudType > reactingCloudType
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
parcelType::constantProperties constProps_
Registry of regIOobjects.
Templated reacting parcel composition model class Consists of carrier species (via thermo package),...
const word & cloudName() const
Generic templated field type.
const fvMesh & mesh() const
DimensionedField< Type, GeoMesh > Internal
PtrList< volScalarField::Internal > rhoTrans_
const CompositionModel< ReactingCloud< CloudType > > & composition() const
Virtual abstract base class for templated ReactingCloud.
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
const PtrList< volScalarField::Internal > & rhoTrans() const
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Templated base class for dsmc cloud.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
ParticleType particleType
const uniformDimensionedVectorField & g
PtrList< volScalarField > & Y
void readFields(const typename GeoFieldType::Mesh &mesh, const IOobjectList &objects, const wordHashSet &selectedFields, LIFOStack< regIOobject * > &storedObjects)
const ReactingCloud & cloudCopy() const
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
CloudType::particleType parcelType
virtual void autoMap(const mapPolyMesh &)
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
const dimensionedScalar c
word name(const expressions::valueTypeCode typeCode)
void checkParcelProperties(parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed)
void setParcelThermoProperties(parcelType &parcel, const scalar lagrangianDt)
virtual void writeObjects(objectRegistry &obr) const
void relaxSources(const ReactingCloud< CloudType > &cloudOldTime)
Generic GeometricField class.
tmp< volScalarField::Internal > Srho() const
void checkSuppliedComposition(const scalarField &YSupplied, const scalarField &Y, const word &YName)
virtual autoPtr< Cloud< parcelType > > clone(const word &name)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const parcelType::constantProperties & constProps() const
Templated base class for reacting cloud.
void cloudReset(ReactingCloud< CloudType > &c)