38 #ifndef ReactingParcel_H
39 #define ReactingParcel_H
51 template<
class ParcelType>
54 template<
class ParcelType>
73 template<
class ParcelType>
77 public ReactingParcelName
82 static const std::size_t sizeofFields_;
90 public ParcelType::constantProperties
118 inline scalar
pMin()
const;
142 template<
class TrackCloudType>
145 TrackCloudType&
cloud,
195 const label tetFacei,
207 label& nLocateBoundaryHits
246 template<
class TrackCloudType>
250 template<
class TrackCloudType>
253 TrackCloudType&
cloud,
259 template<
class TrackCloudType>
262 TrackCloudType&
cloud,
273 template<
class TrackCloudType>
276 TrackCloudType&
cloud,
285 template<
class CloudType,
class CompositionType>
289 const CompositionType& compModel
293 template<
class CloudType>
297 template<
class CloudType,
class CompositionType>
301 const CompositionType& compModel
305 template<
class CloudType>
311 friend Ostream& operator<< <ParcelType>
Templated base class for dsmc cloud.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to hold reacting parcel constant properties.
bool constantVolume() const
Return const access to the constant volume flag.
scalar pMin() const
Return const access to the minimum pressure.
constantProperties()
Null constructor.
Reacting parcel class with one/two-way coupling with the continuous phase.
static autoPtr< ReactingParcel > New(Istream &is)
Construct from Istream and return.
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
void calcPhaseChange(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar Pr, const scalar Ts, const scalar nus, const scalar d, const scalar T, const scalar mass, const label idPhase, const scalar YPhase, const scalarField &YComponents, scalarField &dMassPC, scalar &Sh, scalar &N, scalar &NCpW, scalarField &Cs)
Calculate Phase change.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
const scalarField & Y() const
Return const access to mass fractions of mixture [].
void correctSurfaceValues(TrackCloudType &cloud, trackingData &td, const scalar T, const scalarField &Cs, scalar &rhos, scalar &mus, scalar &Prs, scalar &kappas)
Correct surface values due to emitted species.
scalarField Y_
Mass fractions of mixture [].
ParcelType::trackingData trackingData
Use base tracking data.
scalar updateMassFraction(const scalar mass0, const scalarField &dMass, scalarField &Y) const
Update mass fraction.
virtual autoPtr< particle > clone() const
Construct and return a clone.
AddToPropertyList(ParcelType, " nPhases(Y1..YN)")
String representation of properties.
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.
ReactingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
static void readFields(CloudType &c, const CompositionType &compModel)
Read.
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A cloud is a collection of lagrangian particles.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
const dimensionedScalar c
Speed of light in a vacuum.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
TemplateName(FvFaceCellWave)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
scalarField Re(const UList< complex > &cf)