Go to the documentation of this file.
13 #ifndef CT_IDEALSOLNGASVPSS_H
14 #define CT_IDEALSOLNGASVPSS_H
47 virtual std::string
type()
const {
48 return "IdealSolnGas";
70 "To be removed after Cantera 2.5. Use class IdealGasPhase instead.");
90 virtual doublereal
cp_mole()
const;
91 virtual doublereal
cv_mole()
const;
172 virtual bool addSpecies(shared_ptr<Species> spec);
virtual void setToEquilState(const doublereal *lambda_RT)
This method is used by the ChemEquil equilibrium solver.
int m_formGC
form of the generalized concentrations
virtual Units standardConcentrationUnits() const
Returns the units of the "standard concentration" for this phase.
int m_idealGas
boolean indicating what ideal solution this is
virtual void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
virtual doublereal standardConcentration(size_t k=0) const
Returns the standard concentration , which is used to normalize the generalized concentration.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
virtual void setParametersFromXML(const XML_Node &thermoNode)
Set equation of state parameter values from XML entries.
virtual void getPartialMolarVolumes(doublereal *vbar) const
Return an array of partial molar volumes for the species in the mixture.
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
void setSolnMode()
Set this phase to represent an ideal liquid or solid solution.
virtual std::string phaseOfMatter() const
String indicating the mechanical phase of the matter in this Phase.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
void setGasMode()
Set this phase to represent an ideal gas.
virtual doublereal entropy_mole() const
Molar entropy. Units: J/kmol/K.
virtual void getPartialMolarIntEnergies(doublereal *ubar) const
Return an array of partial molar internal energies for the species in the mixture.
virtual void calcDensity()
Calculate the density of the mixture using the partial molar volumes and mole fractions as input.
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials. Units: J/kmol.
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional activity coefficients at the current solution temperature,...
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual void initThermo()
virtual doublereal enthalpy_mole() const
Molar enthalpy. Units: J/kmol.
virtual std::string type() const
String indicating the thermodynamic model implemented.
virtual bool addSpecies(shared_ptr< Species > spec)
virtual void getPartialMolarCp(doublereal *cpbar) const
Return an array of partial molar heat capacities for the species in the mixture.
void setPressure(doublereal p)
Set the internally stored pressure (Pa) at constant temperature and composition.
virtual doublereal cp_mole() const
Molar heat capacity at constant pressure. Units: J/kmol/K.
A representation of the units associated with a dimensional quantity.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies of the species in the solution.
void setStandardConcentrationModel(const std::string &model)
Set the standard concentration model.
virtual doublereal cv_mole() const
Molar heat capacity at constant volume. Units: J/kmol/K.
Namespace for the Cantera kernel.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.
vector_fp m_pp
Temporary storage - length = m_kk.