13 #ifndef CT_IDEALSOLNGASVPSS_H 14 #define CT_IDEALSOLNGASVPSS_H 26 const int cIdealSolnGasPhaseG = 6009;
27 const int cIdealSolnGasPhase0 = 6010;
28 const int cIdealSolnGasPhase1 = 6011;
29 const int cIdealSolnGasPhase2 = 6012;
59 virtual std::string
type()
const {
60 return "IdealSolnGas";
69 virtual doublereal
cp_mole()
const;
70 virtual doublereal
cv_mole()
const;
150 virtual bool addSpecies(shared_ptr<Species> spec);
virtual doublereal cv_mole() const
Molar heat capacity at constant volume. Units: J/kmol/K.
virtual doublereal entropy_mole() const
Molar entropy. Units: J/kmol/K.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual doublereal enthalpy_mole() const
Molar enthalpy. Units: J/kmol.
virtual void getPartialMolarIntEnergies(doublereal *ubar) const
Return an array of partial molar internal energies for the species in the mixture.
virtual bool addSpecies(shared_ptr< Species > spec)
vector_fp m_pp
Temporary storage - length = m_kk.
Base class for a phase with thermodynamic properties.
virtual void calcDensity()
Calculate the density of the mixture using the partial molar volumes and mole fractions as input...
virtual doublereal standardConcentration(size_t k=0) const
Returns the standard concentration , which is used to normalize the generalized concentration.
int m_formGC
form of the generalized concentrations
virtual int eosType() const
Equation of state type flag.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual ThermoPhase * duplMyselfAsThermoPhase() const
Duplication routine for objects which inherit from ThermoPhase.
virtual std::string type() const
String indicating the thermodynamic model implemented.
int m_idealGas
boolean indicating what ideal solution this is
void setPressure(doublereal p)
Set the internally stored pressure (Pa) at constant temperature and composition.
virtual void setParametersFromXML(const XML_Node &thermoNode)
Set equation of state parameter values from XML entries.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
virtual void getPartialMolarCp(doublereal *cpbar) const
Return an array of partial molar heat capacities for the species in the mixture.
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
virtual void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional activity coefficients at the current solution temperature, pressure, and solution concentration.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies of the species in the solution.
Namespace for the Cantera kernel.
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
virtual doublereal cp_mole() const
Molar heat capacity at constant pressure. Units: J/kmol/K.
virtual void setToEquilState(const doublereal *lambda_RT)
This method is used by the ChemEquil equilibrium solver.
An ideal solution or an ideal gas approximation of a phase.
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials. Units: J/kmol.
virtual void getPartialMolarVolumes(doublereal *vbar) const
Return an array of partial molar volumes for the species in the mixture.