39 #ifndef ThermoParcel_H 40 #define ThermoParcel_H 51 template<
class ParcelType>
54 template<
class ParcelType>
65 template<
class ParcelType>
73 static const std::size_t sizeofFields_;
81 public ParcelType::constantProperties
124 inline scalar
T0()
const;
127 inline scalar
TMin()
const;
130 inline scalar
TMax()
const;
133 inline void setTMax(
const scalar TMax);
137 inline scalar
Cp0()
const;
145 inline scalar
f0()
const;
151 public ParcelType::trackingData
195 template <
class TrackCloudType>
224 inline scalar Tc()
const;
230 inline scalar Cpc()
const;
233 inline scalar& Cpc();
253 template<
class TrackCloudType>
256 TrackCloudType&
cloud,
294 const label tetFacei,
313 const label tetFacei,
316 const scalar nParticle0,
318 const scalar dTarget0,
321 const vector& angularMomentum0,
380 inline scalar
T()
const;
383 inline scalar
Cp()
const;
386 inline scalar
hs()
const;
401 template<
class TrackCloudType>
405 template<
class TrackCloudType>
408 TrackCloudType& cloud,
414 template<
class TrackCloudType>
417 TrackCloudType& cloud,
428 template<
class TrackCloudType>
431 TrackCloudType& cloud,
440 template<
class CloudType>
444 template<
class CloudType>
450 friend Ostream& operator<< <ParcelType>
scalar T0() const
Return const access to the particle initial temperature [K].
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar & kappa
Coulomb constant: default SI units: [N.m2/C2].
scalar TMin() const
Return const access to minimum temperature [K].
A list of keyword definitions, which are a keyword followed by any number of values (e...
scalar Cp_
Specific heat capacity [J/kg/K].
scalar T() const
Return const access to temperature.
Class to hold thermo particle constant properties.
void calc(TrackCloudType &cloud, trackingData &td, const scalar dt)
Update parcel properties over the time interval.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void setTMax(const scalar TMax)
Set the maximum temperature [K].
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.
ThermoParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
constantProperties()
Null constructor.
const dimensionedScalar & c
Speed of light in a vacuum.
Factory class to read-construct particles used for.
virtual autoPtr< particle > clone() const
Construct and return a (basic particle) clone.
scalar f0() const
Return const access to the particle scattering factor [].
TypeName("ThermoParcel")
Runtime type information.
scalar Cp() const
Return const access to specific heat capacity.
scalar T_
Temperature [K].
static void readFields(CloudType &c)
Read.
A cloud is a collection of lagrangian particles.
void calcSurfaceValues(TrackCloudType &cloud, trackingData &td, const scalar T, scalar &Ts, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappas) const
Calculate surface thermo properties.
void cellValueSourceCorrection(TrackCloudType &cloud, trackingData &td, const scalar dt)
Correct cell values using latest transfer information.
scalar hs() const
Return the parcel sensible enthalpy.
scalar Cp0() const
Return const access to the particle specific heat capacity.
static void writeFields(const CloudType &c)
Write.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar calcHeatTransfer(TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW, const scalar Sh, scalar &dhsTrans, scalar &Sph)
Calculate new particle temperature.
AddToPropertyList(ParcelType, " T"+" Cp")
String representation of properties.
void setCellValues(TrackCloudType &cloud, trackingData &td)
Set cell values.
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.
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)
scalar TMax() const
Return const access to maximum temperature [K].
Thermodynamic parcel class with one/two-way coupling with the continuous phase. Includes Kinematic pa...
scalar epsilon0() const
Return const access to the particle emissivity [].