13 #ifndef CT_SINGLESPECIESTP_H
14 #define CT_SINGLESPECIESTP_H
411 virtual void setState_HP(doublereal h, doublereal p,
412 doublereal tol = 1.e-8);
424 virtual void setState_UV(doublereal u, doublereal v,
425 doublereal tol = 1.e-8);
437 virtual void setState_SP(doublereal s, doublereal p,
438 doublereal tol = 1.e-8);
450 virtual void setState_SV(doublereal s, doublereal v,
451 doublereal tol = 1.e-8);
doublereal cv_mole() const
Molar heat capacity at constant volume. Units: J/kmol/K.
ThermoPhase * duplMyselfAsThermoPhase() const
Duplication function.
virtual void setState_HP(doublereal h, doublereal p, doublereal tol=1.e-8)
Set the internally stored specific enthalpy (J/kg) and pressure (Pa) of the phase.
virtual void getEnthalpy_RT_ref(doublereal *hrt) const
virtual void setState_UV(doublereal u, doublereal v, doublereal tol=1.e-8)
Set the specific internal energy (J/kg) and specific volume (m^3/kg).
virtual void getEntropy_R_ref(doublereal *er) const
void getPartialMolarCp(doublereal *cpbar) const
Get the species partial molar Heat Capacities. Units: J/ kmol /K.
void setMassFractions(const doublereal *const y)
Mass fractions are fixed, with Y[0] = 1.0.
void _updateThermo() const
vector_fp m_s0_R
Dimensionless entropy at the (mtlast, m_p0)
Base class for a phase with thermodynamic properties.
void getChemPotentials_RT(doublereal *murt) const
Get the array of non-dimensional species chemical potentials These are partial molar Gibbs free energ...
void getPartialMolarEnthalpies(doublereal *hbar) const
Get the species partial molar enthalpies. Units: J/kmol.
virtual void getActivities(doublereal *a) const
Get the array of non-dimensional activities at the current solution temperature, pressure, and solution concentration.
virtual void getGibbs_RT_ref(doublereal *grt) const
virtual void getCp_R_ref(doublereal *cprt) const
void getPartialMolarEntropies(doublereal *sbar) const
Get the species partial molar entropy. Units: J/kmol K.
virtual int eosType() const
Returns the equation of state type flag.
doublereal enthalpy_mole() const
Molar enthalpy. Units: J/kmol.
void getChemPotentials(doublereal *mu) const
Get the array of chemical potentials.
SingleSpeciesTP & operator=(const SingleSpeciesTP &right)
Assignment operator.
void getElectrochemPotentials(doublereal *mu) const
Get the species electrochemical potentials. Units: J/kmol.
doublereal entropy_mole() const
Molar entropy. Units: J/kmol/K.
vector_fp m_h0_RT
Dimensionless enthalpy at the (mtlast, m_p0)
vector_fp m_cp0_R
Dimensionless heat capacity at the (mtlast, m_p0)
virtual void getGibbs_ref(doublereal *g) const
virtual void initThermo()
void getStandardVolumes(doublereal *vbar) const
Get the molar volumes of each species in their standard states at the current T and P of the solution...
virtual void setState_SP(doublereal s, doublereal p, doublereal tol=1.e-8)
Set the specific entropy (J/kg/K) and pressure (Pa).
doublereal gibbs_mole() const
Molar Gibbs function. Units: J/kmol.
doublereal intEnergy_mole() const
Molar internal energy. Units: J/kmol.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
virtual void setState_SV(doublereal s, doublereal v, doublereal tol=1.e-8)
Set the specific entropy (J/kg/K) and specific volume (m^3/kg).
virtual void getPartialMolarIntEnergies(doublereal *ubar) const
Get the species partial molar internal energies. Units: J/kmol.
doublereal m_press
The current pressure of the solution (Pa)
void setMoleFractions(const doublereal *const x)
Mole fractions are fixed, with x[0] = 1.0.
doublereal cp_mole() const
Molar heat capacity at constant pressure. Units: J/kmol/K.
void getPartialMolarVolumes(doublereal *vbar) const
Get the species partial molar volumes. Units: m^3/kmol.
void getPureGibbs(doublereal *gpure) const
Get the dimensional Gibbs functions for the standard state of the species at the current T and P...
SingleSpeciesTP()
Base empty constructor.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties, and the text for the Module thermoprops (see Thermodynamic Properties and class ThermoPhase).
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional activity coefficients at the current solution temperature, pressure, and solution concentration.
The SingleSpeciesTP class is a filter class for ThermoPhase.