Esempio n. 1
0
void IdealGasPhase::getCp_R_ref(doublereal* cprt) const
{
    const vector_fp& _cpr = cp_R_ref();
    copy(_cpr.begin(), _cpr.end(), cprt);
}
Esempio n. 2
0
doublereal IdealGasPhase::cp_mole() const
{
    return GasConstant * mean_X(cp_R_ref());
}
Esempio n. 3
0
/*
 * Returns the species standard state Cv in J kmol-1 K-1 at the
 * current temperature and pressure.
 *
 * @return returns the species standard state Cv in J kmol-1 K-1
 */
doublereal PDSS::cpDelp_mole() const {
    doublereal tmp = cp_R_ref();
    return(cp_mole() - GasConstant * tmp);
}
Esempio n. 4
0
void IdealGasPhase::getPartialMolarCp(doublereal* cpbar) const
{
    const vector_fp& _cp = cp_R_ref();
    scale(_cp.begin(), _cp.end(), cpbar, GasConstant);
}
Esempio n. 5
0
 /*
  *  Returns the vector of nondimensional
  *  constant pressure heat capacities of the reference state
  *   at the current temperature and reference pressure.
  */
 void PecosGasPhase::getCp_R_ref(doublereal *cprt) const {
   const array_fp& _cpr = cp_R_ref();
   copy(_cpr.begin(), _cpr.end(), cprt);
 }
Esempio n. 6
0
 /*
  * Molar heat capacity at constant pressure. Units: J/kmol/K.
  * For an ideal gas mixture, 
  * \f[
  * \hat c_p(t) = \sum_k \hat c^0_{p,k}(T).
  * \f]
  * The reference-state pure-species heat capacities  
  * \f$ \hat c^0_{p,k}(T) \f$ are computed by the species thermodynamic 
  * property manager.
  * @see SpeciesThermo
  */
 doublereal PecosGasPhase::cp_mole() const {
   return GasConstant * mean_X(&cp_R_ref()[0]);
 }
doublereal LatticePhase::cp_mole() const
{
    return GasConstant * mean_X(cp_R_ref());
}
void LatticePhase::getCp_R(doublereal* cpr) const
{
    const vector_fp& _cpr = cp_R_ref();
    std::copy(_cpr.begin(), _cpr.end(), cpr);
}
void IdealSolidSolnPhase::getCp_R(doublereal* cpr) const
{
    const vector_fp& _cpr = cp_R_ref();
    copy(_cpr.begin(), _cpr.end(), cpr);
}