11 #ifndef CT_STOICHSUBSTANCE_H 12 #define CT_STOICHSUBSTANCE_H 162 StoichSubstance(
const std::string& infile,
const std::string&
id =
"");
183 virtual std::string
type()
const {
184 return "StoichSubstance";
195 virtual doublereal
pressure()
const;
274 virtual void getCp_R(doublereal* cpr)
const;
328 virtual void getParameters(
int& n, doublereal*
const c)
const;
virtual void getGibbs_RT(doublereal *grt) const
Get the nondimensional Gibbs functions for the species in their standard states at the current T and ...
virtual void getParameters(int &n, doublereal *const c) const
Get the equation of state parameters in a vector.
virtual void initThermo()
Initialize the ThermoPhase object after all species have been set up.
virtual void getCp_R(doublereal *cpr) const
Get the nondimensional Heat Capacities at constant pressure for the species standard states at the cu...
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual int eosType() const
Equation of state flag.
virtual void setPressure(doublereal p)
Set the pressure at constant temperature. Units: Pa.
Class StoichSubstance represents a stoichiometric (fixed composition) incompressible substance...
Base class for a phase with thermodynamic properties.
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
virtual void getIntEnergy_RT_ref(doublereal *urt) const
Returns the vector of nondimensional internal Energies of the reference state at the current temperat...
virtual ThermoPhase * duplMyselfAsThermoPhase() const
Duplication routine for objects which inherit from ThermoPhase.
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
virtual doublereal pressure() const
Report the Pressure. Units: Pa.
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
Header for the SingleSpeciesTP class, which is a filter class for ThermoPhase, that eases the constru...
virtual void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
StoichSubstance()
Default constructor for the StoichSubstance class.
virtual void getIntEnergy_RT(doublereal *urt) const
Returns the vector of nondimensional Internal Energies of the standard state species at the current T...
virtual void setParameters(int n, doublereal *const c)
Set the equation of state parameters.
virtual void getEnthalpy_RT(doublereal *hrt) const
Get the nondimensional Enthalpy functions for the species at their standard states at the current T a...
virtual void getStandardChemPotentials(doublereal *mu0) const
Get the array of chemical potentials at unit activity for the species at their standard states at the...
virtual void setParametersFromXML(const XML_Node &eosdata)
Set equation of state parameter values from XML entries.
Namespace for the Cantera kernel.
virtual void getEntropy_R(doublereal *sr) const
Get the array of nondimensional Entropy functions for the standard state species at the current T and...
virtual std::string type() const
String indicating the thermodynamic model implemented.
virtual doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of the kth species.
The SingleSpeciesTP class is a filter class for ThermoPhase.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.