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;
149 template<
class CloudType>
193 trackPart part = ParcelType::template
249 template<
class TrackData>
290 const label tetFacei,
309 const label tetFacei,
312 const scalar nParticle0,
314 const scalar dTarget0,
317 const vector& angularMomentum0,
376 inline scalar
T()
const;
379 inline scalar
Cp()
const;
382 inline scalar
hs()
const;
385 inline scalar
Tc()
const;
388 inline scalar
Cpc()
const;
403 template<
class TrackData>
412 template<
class TrackData>
421 template<
class TrackData>
435 template<
class TrackData>
447 template<
class CloudType>
451 template<
class CloudType>
457 friend Ostream& operator<< <ParcelType>
dimensionedScalar Pr("Pr", dimless, laminarTransport)
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].
void cellValueSourceCorrection(TrackData &td, const scalar dt, const label celli)
Correct cell values using latest transfer information.
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.
scalar calcHeatTransfer(TrackData &td, const scalar dt, const label celli, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW, const scalar Sh, scalar &dhsTrans, scalar &Sph)
Calculate new particle temperature.
void calc(TrackData &td, const scalar dt, const label celli)
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.
void setCellValues(TrackData &td, const scalar dt, const label celli)
Set cell values.
const dimensionedScalar kappa
Coulomb constant: default SI units: [N.m2/C2].
ParcelType::template TrackingData< CloudType >::trackPart trackPart
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.
scalar hs() const
Return the parcel sensible enthalpy.
scalar Cp0() const
Return const access to the particle specific heat capacity.
scalar Cpc_
Specific heat capacity [J/(kg.K)].
static void writeFields(const CloudType &c)
Write.
scalar Tc() const
Return const access to carrier temperature.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void calcSurfaceValues(TrackData &td, const label celli, const scalar T, scalar &Ts, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappas) const
Calculate surface thermo properties.
scalar Cpc() const
Return const access to carrier specific heat capacity.
PtrList< coordinateSystem > coordinates(solidRegions.size())
AddToPropertyList(ParcelType, " T"+" Cp")
String representation of properties.
const dimensionedScalar c
Speed of light in a vacuum.
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 Tc_
Temperature [K].
scalar epsilon0() const
Return const access to the particle emissivity [].