38 #ifndef ThermoParcel_H 39 #define ThermoParcel_H 51 template<
class ParcelType>
54 template<
class ParcelType>
73 template<
class ParcelType>
77 public ThermoParcelName
82 static const std::size_t sizeofFields_;
90 public ParcelType::constantProperties
133 inline scalar
T0()
const;
136 inline scalar
TMin()
const;
139 inline scalar
TMax()
const;
142 inline void setTMax(
const scalar TMax);
146 inline scalar
Cp0()
const;
154 inline scalar
f0()
const;
160 public ParcelType::trackingData
210 template <
class TrackCloudType>
243 inline scalar pc()
const;
249 inline scalar Tc()
const;
255 inline scalar Cpc()
const;
258 inline scalar& Cpc();
278 template<
class TrackCloudType>
281 TrackCloudType&
cloud,
316 const label tetFacei,
383 inline scalar
T()
const;
386 inline scalar
Cp()
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>
448 template<
class CloudType,
class CompositionType>
452 const CompositionType& compModel
458 friend Ostream& operator<< <ParcelType>
TemplateName(blendedSchemeBase)
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.
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 [].
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
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 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...
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.
scalar epsilon0() const
Return const access to the particle emissivity [].