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;
145 template<
class TrackCloudType>
148 TrackCloudType&
cloud,
199 const label tetFacei,
273 inline scalar
mass0()
const;
282 inline scalar&
mass0();
291 template<
class TrackCloudType>
295 template<
class TrackCloudType>
298 TrackCloudType& cloud,
304 template<
class TrackCloudType>
307 TrackCloudType& cloud,
318 template<
class TrackCloudType>
321 TrackCloudType& cloud,
330 template<
class CloudType,
class CompositionType>
334 const CompositionType& compModel
338 template<
class CloudType>
342 template<
class CloudType,
class CompositionType>
346 const CompositionType& compModel
350 template<
class CloudType>
356 friend Ostream& operator<< <ParcelType>
Class to hold reacting parcel constant properties.
A list of keyword definitions, which are a keyword followed by any number of values (e...
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.
Factory class to read-construct particles used for.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
scalar updateMassFraction(const scalar mass0, const scalarField &dMass, scalarField &Y) const
Update mass fraction.
scalarField Y_
Mass fractions of mixture [].
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
ReactingParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
bool constantVolume() const
Return const access to the constant volume flag.
static void writeFields(const CloudType &c, const CompositionType &compModel)
Write.
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
const dimensionedScalar c
Speed of light in a vacuum.
ParcelType::trackingData trackingData
Use base tracking data.
static void readFields(CloudType &c, const CompositionType &compModel)
Read.
scalar pMin() const
Return const access to the minimum pressure.
A cloud is a collection of lagrangian particles.
TemplateName(FvFaceCellWave)
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.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
AddToPropertyList(ParcelType, " mass0"+" nPhases(Y1..YN)")
String representation of properties.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
scalar mass0() const
Return const access to initial mass [kg].
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.
constantProperties()
Null constructor.
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.
Reacting parcel class with one/two-way coupling with the continuous phase.
scalar mass0_
Initial mass [kg].
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)
const scalarField & Y() const
Return const access to mass fractions of mixture [].
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.