38 #ifndef ReactingMultiphaseParcel_H 39 #define ReactingMultiphaseParcel_H 50 template<
class ParcelType>
53 template<
class ParcelType>
71 template<
class ParcelType>
75 public ReactingMultiphaseParcelName
80 static const std::size_t sizeofFields_;
95 public ParcelType::constantProperties
127 inline scalar
TDevol()
const;
130 inline scalar
LDevol()
const;
147 template<
class TrackCloudType>
150 TrackCloudType&
cloud,
160 template<
class TrackCloudType>
163 TrackCloudType&
cloud,
173 template<
class TrackCloudType>
176 TrackCloudType&
cloud,
186 scalar updateMassFractions
222 template<
class TrackCloudType>
225 TrackCloudType&
cloud,
245 template<
class TrackCloudType>
248 TrackCloudType&
cloud,
292 const label tetFacei,
396 template<
class TrackCloudType>
400 template<
class TrackCloudType>
403 TrackCloudType& cloud,
409 template<
class TrackCloudType>
412 TrackCloudType& cloud,
421 template<
class CloudType,
class CompositionType>
425 const CompositionType& compModel
429 template<
class CloudType>
433 template<
class CloudType,
class CompositionType>
437 const CompositionType& compModel
441 template<
class CloudType>
447 friend Ostream& operator<< <ParcelType>
label canCombust() const
Return const access to the canCombust flag.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
A list of keyword definitions, which are a keyword followed by any number of values (e...
label canCombust_
Flag to identify if the particle can devolatilise and combust.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
scalar LDevol() const
Return const access to the latent heat of devolatilisation.
const dimensionedScalar c
Speed of light in a vacuum.
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
static void readFields(CloudType &c, const CompositionType &compModel)
Read.
ReactingMultiphaseParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
ParcelType::trackingData trackingData
Use base tracking data.
scalarField YGas_
Mass fractions of gases [].
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
const scalarField & YGas() const
Return const access to mass fractions of gases.
constantProperties()
Null constructor.
A cloud is a collection of lagrangian particles.
scalar TDevol() const
Return const access to the devolatilisation temperature.
TemplateName(FvFaceCellWave)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
AddToPropertyList(ParcelType, " nGas(Y1..YN)"+" nLiquid(Y1..YN)"+" nSolid(Y1..YN)")
String representation of properties.
void calcSurfaceReactions(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar d, const scalar T, const scalar mass, const label canCombust, const scalar N, const scalarField &YMix, const scalarField &YGas, const scalarField &YLiquid, const scalarField &YSolid, scalarField &dMassSRGas, scalarField &dMassSRLiquid, scalarField &dMassSRSolid, scalarField &dMassSRCarrier, scalar &Sh, scalar &dhsTrans) const
Calculate surface reactions.
scalarField YSolid_
Mass fractions of solids [].
const scalarField & YLiquid() const
Return const access to mass fractions of liquids.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalarField YLiquid_
Mass fractions of liquids [].
friend Ostream & operator(Ostream &, const ReactingMultiphaseParcel< ParcelType > &)
Multiphase variant of the reacting parcel class with one/two-way coupling with the continuous phase...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
void calcDevolatilisation(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Ts, const scalar d, const scalar T, const scalar mass, const scalar mass0, const scalarField &YGasEff, const scalarField &YLiquidEff, const scalarField &YSolidEff, label &canCombust, scalarField &dMassDV, scalar &Sh, scalar &N, scalar &NCpW, scalarField &Cs) const
Calculate Devolatilisation.
Factory class to read-construct particles used for.
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
Templated base class for dsmc cloud.
Class to hold reacting multiphase particle constant properties.
const scalarField & YSolid() const
Return const access to mass fractions of solids.
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.