24 const doublereal* coeffs) :
35 const double* coeffs) :
63 SpeciesThermoInterpType::operator=(b);
69 ConstCpPoly::duplMyselfAsSpeciesThermoInterpType()
const
77 doublereal* s_R)
const
80 doublereal logt = log(t);
81 doublereal rt = 1.0/t;
90 doublereal* s_R)
const
92 doublereal logt = log(temp);
93 doublereal rt = 1.0/temp;
100 doublereal& tlow, doublereal& thigh,
102 doublereal*
const coeffs)
const
126 double temp = 298.15;
140 doublereal delH = Hf298New - hnow;
Pure Virtual Base class for the thermodynamic manager for an individual species' reference state...
#define CONSTANT_CP
Constant Cp.
virtual void modifyOneHf298(const size_t k, const doublereal Hf298New)
Modify the value of the 298 K Heat of Formation of one species in the phase (J kmol-1) ...
size_t m_index
species index
void reportParameters(size_t &n, int &type, doublereal &tlow, doublereal &thigh, doublereal &pref, doublereal *const coeffs) const
This utility function reports back the type of parameterization and all of the parameters for the spe...
virtual void modifyParameters(doublereal *coeffs)
Modify parameters for the standard state.
virtual doublereal reportHf298(doublereal *const h298=0) const
Report the 298 K Heat of Formation of the standard state of one species (J kmol-1) ...
ConstCpPoly & operator=(const ConstCpPoly &)
Assignment operator.
doublereal m_s0_R
Dimensionless value of the entropy at t0.
A constant-heat capacity species thermodynamic property manager class.
doublereal m_highT
Highest valid temperature.
doublereal m_h0_R
dimensionless value of the enthaply at t0
doublereal m_t0
Base temperature.
doublereal m_lowT
lowest valid temperature
void updatePropertiesTemp(const doublereal temp, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Compute the reference-state property of one species.
Headers for the SpeciesThermoInterpType object that employs a constant heat capacity assumption (see ...
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
void updateProperties(const doublereal *tt, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Update the properties for this species, given a temperature polynomial.
doublereal m_Pref
Reference state pressure.
ConstCpPoly()
empty constructor
doublereal m_logt0
log of the t0 value
doublereal m_cp0_R
Dimensionless value of the heat capacity.