11 #ifndef CT_MINERALEQ3_H 12 #define CT_MINERALEQ3_H 108 MineralEQ3(
const std::string& infile,
const std::string&
id =
"");
129 virtual std::string
type()
const {
141 virtual doublereal
pressure()
const;
220 virtual void getCp_R(doublereal* cpr)
const;
270 virtual void getParameters(
int& n, doublereal*
const c)
const;
277 doublereal LookupGe(
const std::string& elemName);
278 void convertDGFormation();
doublereal m_Entrop_pr_tr
Input value of S_j at Tr and Pr (cal gmol-1 K-1)
doublereal m_deltaH_formation_pr_tr
Input Value of deltaH of Formation at Tr and Pr (cal gmol-1)
virtual doublereal pressure() const
Report the Pressure. Units: Pa.
virtual int eosType() const
Equation of state flag.
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 doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of 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 void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual void getStandardChemPotentials(doublereal *mu0) const
Get the array of chemical potentials at unit activity for the species at their standard states at the...
doublereal m_deltaG_formation_pr_tr
Input Value of deltaG of Formation at Tr and Pr (cal gmol-1)
virtual void setPressure(doublereal p)
Set the pressure at constant temperature. Units: Pa.
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
virtual void getGibbs_RT(doublereal *grt) const
Get the nondimensional Gibbs functions for the species in their standard states at the current T and ...
Class StoichSubstance represents a stoichiometric (fixed composition) incompressible substance...
virtual void getIntEnergy_RT(doublereal *urt) const
Returns the vector of nondimensional Internal Energies of the standard state species at the current T...
Base class for a phase with thermodynamic properties.
doublereal m_c
c coefficient (cal K gmol-1 K) x 10^-5
MineralEQ3()
Default constructor for the MineralEQ3 class.
virtual void setParameters(int n, doublereal *const c)
Set the equation of state parameters.
doublereal m_a
a coefficient (cal gmol-1 K-1)
virtual void getCp_R(doublereal *cpr) const
Get the nondimensional Heat Capacities at constant pressure for the species standard states at the cu...
virtual std::string type() const
String indicating the thermodynamic model implemented.
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 getParameters(int &n, doublereal *const c) const
Get the equation of state parameters in a vector.
doublereal m_V0_pr_tr
Input Value of the molar volume at T_r and P_r.
doublereal m_b
b coefficient (cal gmol-1 K-2) x 10^3
virtual void setParametersFromXML(const XML_Node &eosdata)
Set equation of state parameter values from XML entries.
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
Header file for the StoichSubstance class, which represents a fixed-composition incompressible substa...
virtual ThermoPhase * duplMyselfAsThermoPhase() const
Duplication routine for objects which inherit from ThermoPhase.
Namespace for the Cantera kernel.
Class MineralEQ3 represents a stoichiometric (fixed composition) incompressible substance based on EQ...
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
doublereal m_Mu0_pr_tr
Value of the Absolute Gibbs Free Energy NIST scale at T_r and P_r.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.