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),
105 template<
class ParcelType>
113 template<
class ParcelType>
117 return TMin_.
value();
121 template<
class ParcelType>
125 return TMax_.
value();
129 template<
class ParcelType>
137 template<
class ParcelType>
145 template<
class ParcelType>
149 return epsilon0_.
value();
153 template<
class ParcelType>
163 template<
class ParcelType>
170 template<
class ParcelType>
177 template<
class ParcelType>
184 template<
class ParcelType>
scalar T0() const
Return const access to the particle initial temperature [K].
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 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 [].