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>
86 ParcelType(mesh, coordinates, celli, tetFacei, tetPti, facei),
92 template<
class ParcelType>
98 label& nLocateBoundaryHits
101 ParcelType(mesh, position, celli, nLocateBoundaryHits),
109 template<
class ParcelType>
117 template<
class ParcelType>
121 return TMin_.value();
125 template<
class ParcelType>
129 return TMax_.value();
133 template<
class ParcelType>
137 TMax_.setValue(TMax);
141 template<
class ParcelType>
149 template<
class ParcelType>
153 return epsilon0_.value();
157 template<
class ParcelType>
167 template<
class ParcelType>
174 template<
class ParcelType>
181 template<
class ParcelType>
188 template<
class ParcelType>
Class to hold thermo particle constant properties.
constantProperties()
Null constructor.
void setTMax(const scalar TMax)
Set the maximum temperature [K].
scalar f0() const
Return const access to the particle scattering factor [].
scalar TMin() const
Return const access to minimum temperature [K].
scalar epsilon0() const
Return const access to the particle emissivity [].
scalar Cp0() const
Return const access to the particle specific heat capacity.
scalar TMax() const
Return const access to maximum temperature [K].
scalar T0() const
Return const access to the particle initial temperature [K].
scalar Cp() const
Return const access to specific heat capacity.
scalar T() const
Return const access to temperature.
scalar Cp_
Specific heat capacity [J/kg/K].
scalar T_
Temperature [K].
ThermoParcel(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei)
Construct from mesh, coordinates and topology.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh consisting of general polyhedral cells.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool cp(const fileName &src, const fileName &dst, const bool followLink=true)
Copy, recursively if necessary, the source to the destination.