Go to the documentation of this file.
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>
49 ParcelType::constantProperties(
cp),
54 epsilon0_(
cp.epsilon0_),
59 template<
class ParcelType>
65 ParcelType::constantProperties(parentDict),
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,
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>
Class to hold thermo particle constant properties.
scalar epsilon0() const
Return const access to the particle emissivity [].
Mesh consisting of general polyhedral cells.
scalar f0() const
Return const access to the particle scattering factor [].
void setTMax(const scalar TMax)
Set the maximum temperature [K].
scalar T0() const
Return const access to the particle initial temperature [K].
scalar T_
Temperature [K].
scalar Cp_
Specific heat capacity [J/(kg.K)].
PtrList< coordinateSystem > coordinates(solidRegions.size())
scalar T() const
Return const access to temperature.
scalar hs() const
Return the parcel sensible enthalpy.
scalar Cp0() const
Return const access to the particle specific heat capacity.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
scalar TMax() const
Return const access to maximum temperature [K].
constantProperties()
Null constructor.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy the source to the destination (recursively if necessary).
scalar TMin() const
Return const access to minimum temperature [K].
ThermoParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
Construct from mesh, coordinates and topology.
scalar Cp() const
Return const access to specific heat capacity.