Go to the documentation of this file.
42 #ifndef ReactingHeterogeneousParcel_H
43 #define ReactingHeterogeneousParcel_H
52 template<
class ParcelType>
55 template<
class ParcelType>
66 template<
class ParcelType>
79 public ParcelType::constantProperties
118 template<
class TrackCloudType>
121 TrackCloudType&
cloud,
129 template<
class TrackCloudType>
132 TrackCloudType&
cloud,
140 template<
class TrackCloudType>
143 TrackCloudType&
cloud,
173 template<
class TrackCloudType>
176 TrackCloudType&
cloud,
201 TypeName(
"ReactingHeterogeneousParcel");
207 +
" nReactions(F1..FN)"
220 const label tetFacei,
239 const label tetFacei,
242 const scalar nParticle0,
244 const scalar dTarget0,
247 const vector& angularMomentum0,
260 bool newFormat =
true
339 template<
class TrackCloudType>
342 TrackCloudType&
cloud,
351 template<
class CloudType,
class CompositionType>
355 const CompositionType& compModel
359 template<
class CloudType>
363 template<
class CloudType,
class CompositionType>
367 const CompositionType& compModel
371 template<
class CloudType>
385 template<
class CloudType>
393 template<
class CloudType,
class CompositionType>
397 const CompositionType& compModel,
403 template<
class CloudType>
411 template<
class CloudType,
class CompositionType>
415 const CompositionType& compModel,
422 friend Ostream& operator<< <ParcelType>
label canCombust() const
Return const access to the canCombust flag.
A class for handling words, derived from Foam::string.
static void readObjects(CloudType &c, const objectRegistry &obr)
Read particle fields as objects from the obr registry.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write - composition supplied.
Class to hold reacting particle constant properties.
label canCombust_
Flag to identify if the particle can devolatilise and combust.
static void writeObjects(const CloudType &c, objectRegistry &obr)
Write particle fields as objects into the obr registry.
virtual autoPtr< particle > clone(const polyMesh &mesh) const
Construct and return a (basic particle) clone.
ParcelType::trackingData trackingData
Use base tracking data.
Mesh consisting of general polyhedral cells.
Registry of regIOobjects.
Reacting heterogeneous Parcel.
scalarField F_
Progress variables for reactions.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
friend Ostream & operator(Ostream &, const ReactingHeterogeneousParcel< ParcelType > &)
void writeProperties(Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly) const
Write individual parcel properties to stream.
PtrList< coordinateSystem > coordinates(solidRegions.size())
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Templated base class for dsmc cloud.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
ReactingHeterogeneousParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, position and topology.
PtrList< volScalarField > & Y
const scalarField & F() const
Return const access to F.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
constantProperties()
Null constructor.
A cloud is a registry collection of lagrangian particles.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
void calcHeterogeneousReactions(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Res, const scalar nu, const scalar d, const scalar T, const scalar mass, const label canCombust, const scalar N, scalar &NCpW, const scalarField &YSolid, scalarField &F, scalarField &dMassSRSolid, scalarField &dMassSRCarrier, scalar &Sh, scalar &dhsTrans) const
Calculate surface reactions.
AddToPropertyList(ParcelType,+" nReactions(F1..FN)")
String representation of properties.
static void readFields(CloudType &c, const CompositionType &compModel)
Read - composition supplied.
A List of wordRe with additional matching capabilities.
scalar hRetentionCoeff() const
Return const access to the fraction of enthalpy retained by.
iNew(const polyMesh &mesh)
const dimensionedScalar c
Speed of light in a vacuum.
TypeName("ReactingHeterogeneousParcel")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Vector< label > N(dict.get< Vector< label >>("N"))
Factory class to read-construct particles used for.
static const std::size_t sizeofFields
Size in bytes of the fields.
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.