28 template<
class ParcelType>
32 T0_(this->dict_, 0.0),
33 TMin_(this->dict_, 0.0),
34 TMax_(this->dict_, vGreat),
35 Cp0_(this->dict_, 0.0),
36 epsilon0_(this->dict_, 0.0),
41 template<
class ParcelType>
47 ParcelType::constantProperties(cp),
52 epsilon0_(cp.epsilon0_),
57 template<
class ParcelType>
63 ParcelType::constantProperties(parentDict),
64 T0_(this->dict_,
"T0"),
65 TMin_(this->dict_,
"TMin", 200.0),
66 TMax_(this->dict_,
"TMax", 5000.0),
67 Cp0_(this->dict_,
"Cp0"),
68 epsilon0_(this->dict_,
"epsilon0"),
69 f0_(this->dict_,
"f0")
73 template<
class ParcelType>
83 ParcelType(mesh, coordinates, celli, tetFacei, tetPti),
89 template<
class ParcelType>
97 ParcelType(mesh, position, celli),
103 template<
class ParcelType>
109 const label tetFacei,
112 const scalar nParticle0,
114 const scalar dTarget0,
117 const vector& angularMomentum0,
146 template<
class ParcelType>
154 template<
class ParcelType>
158 return TMin_.
value();
162 template<
class ParcelType>
166 return TMax_.
value();
170 template<
class ParcelType>
178 template<
class ParcelType>
186 template<
class ParcelType>
190 return epsilon0_.
value();
194 template<
class ParcelType>
204 template<
class ParcelType>
211 template<
class ParcelType>
218 template<
class ParcelType>
221 return Cp_*(
T_ - 298.15);
225 template<
class ParcelType>
232 template<
class 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.
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 setTMax(const scalar TMax)
Set the maximum temperature [K].
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.
scalar f0() const
Return const access to the particle scattering factor [].
const Type & value() const
Return the value.
scalar Cp() const
Return const access to specific heat capacity.
scalar T_
Temperature [K].
scalar hs() const
Return the parcel sensible enthalpy.
scalar Cp0() const
Return const access to the particle specific heat capacity.
void setValue(const Type &value)
Set the value.
Mesh consisting of general polyhedral cells.
scalar TMax() const
Return const access to maximum temperature [K].
scalar epsilon0() const
Return const access to the particle emissivity [].