One temperature interval of the caloric description of a species. More...
#include <cl_GT_HeatPoly.hpp>
Public Member Functions | |
| HeatPoly (const real aTmin, const real aTmax, const real aEnthalpyConstant, const real aEntropyConstant, const Vector< real > &aCoefficients) | |
| virtual | ~HeatPoly ()=default |
| virtual real | Cp (const real T) const |
| virtual real | H (const real T) const |
| virtual real | S (const real T) const |
| virtual real | dSdT (const real T) const |
| virtual real | dCpdT (const real T) const |
| virtual real | d2CpdT2 (const real T) const |
| const real & | T_min () const |
| const real & | T_max () const |
| void | set_T_min (const real aTmin) |
| void | set_T_max (const real aTmax) |
| void | set_enthalpy_constant (const real &aEnthalpyConstant) |
| void | set_entropy_constant (const real &aEntropyConstant) |
| real | enthalpy_constant () const |
| real | entropy_constant () const |
Protected Attributes | |
| real | mTmin |
| real | mTmax |
| real | mEnthalpyConstant |
| real | mEntropyConstant |
| const Vector< real > | mCoefficients |
One temperature interval of the caloric description of a species.
Evaluates the NASA-9 form of NASA RP-1311 Eqs. ( 4.9 ) to ( 4.11 ),
cp/R = a1 T^-2 + a2 T^-1 + a3 + a4 T + a5 T^2 + a6 T^3 + a7 T^4
with H and S following by integration, which is where the two constants come in: mEnthalpyConstant is b1 of the record and mEntropyConstant is b2. They are not properties of the polynomial but of the reference state, and RefGas rewrites both when it stitches the intervals together, so an interval taken out of its parent is not self contained.
Returns molar quantities: Cp and S in J/(mol K), H in J/mol.
The subclasses cover what the tables do not: HeatPolyGlue smooths a junction between two tabulated intervals, HeatPolyCustom carries a fitted interval such as the cryogenic extrapolation, and HeatPolyEmpty stands in for a species with no caloric data at all.
| belfem::gastables::HeatPoly::HeatPoly | ( | const real | aTmin, |
| const real | aTmax, | ||
| const real | aEnthalpyConstant, | ||
| const real | aEntropyConstant, | ||
| const Vector< real > & | aCoefficients ) |
|
virtualdefault |
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
| real belfem::gastables::HeatPoly::enthalpy_constant | ( | ) | const |
| real belfem::gastables::HeatPoly::entropy_constant | ( | ) | const |
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
Reimplemented in belfem::gastables::HeatPolyCustom, belfem::gastables::HeatPolyEmpty, and belfem::gastables::HeatPolyGlue.
| void belfem::gastables::HeatPoly::set_enthalpy_constant | ( | const real & | aEnthalpyConstant | ) |
| void belfem::gastables::HeatPoly::set_entropy_constant | ( | const real & | aEntropyConstant | ) |
| void belfem::gastables::HeatPoly::set_T_max | ( | const real | aTmax | ) |
| void belfem::gastables::HeatPoly::set_T_min | ( | const real | aTmin | ) |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |