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,
246 template<
class TrackCloudType>
249 TrackCloudType&
cloud,
293 const label tetFacei,
397 template<
class TrackCloudType>
401 template<
class TrackCloudType>
404 TrackCloudType& cloud,
410 template<
class TrackCloudType>
413 TrackCloudType& cloud,
422 template<
class CloudType,
class CompositionType>
426 const CompositionType& compModel
430 template<
class CloudType>
434 template<
class CloudType,
class CompositionType>
438 const CompositionType& compModel
442 template<
class CloudType>
448 friend Ostream& operator<< <ParcelType>
TemplateName(blendedSchemeBase)
label canCombust() const
Return const access to the canCombust flag.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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)...
void calcDevolatilisation(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar age, 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.
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.
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.
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.