30 template<
class ParcelType>
34 T0_(this->dict_, 0.0),
35 TMin_(this->dict_, 0.0),
36 TMax_(this->dict_, VGREAT),
37 Cp0_(this->dict_, 0.0),
38 epsilon0_(this->dict_, 0.0),
43 template<
class ParcelType>
54 epsilon0_(
cp.epsilon0_),
59 template<
class ParcelType>
66 T0_(this->dict_,
"T0"),
67 TMin_(this->dict_,
"TMin", 200.0),
68 TMax_(this->dict_,
"TMax", 5000.0),
69 Cp0_(this->dict_,
"Cp0"),
70 epsilon0_(this->dict_,
"epsilon0"),
71 f0_(this->dict_,
"f0")
75 template<
class ParcelType>
91 template<
class ParcelType>
99 ParcelType(
mesh, position, celli),
105 template<
class ParcelType>
111 const label tetFacei,
114 const scalar nParticle0,
116 const scalar dTarget0,
119 const vector& angularMomentum0,
121 const constantProperties& constProps
142 Cp_(constProps.Cp0())
148 template<
class ParcelType>
156 template<
class ParcelType>
160 return TMin_.value();
164 template<
class ParcelType>
168 return TMax_.value();
172 template<
class ParcelType>
176 TMax_.setValue(TMax);
180 template<
class ParcelType>
188 template<
class ParcelType>
192 return epsilon0_.value();
196 template<
class ParcelType>
206 template<
class ParcelType>
213 template<
class ParcelType>
220 template<
class ParcelType>
223 return Cp_*(
T_ - 298.15);
227 template<
class ParcelType>
234 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 a number of values (eg...
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.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
const volScalarField & cp
PtrList< coordinateSystem > coordinates(solidRegions.size())
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 [].