15 #ifndef CT_MINERALEQ3_H
16 #define CT_MINERALEQ3_H
107 MineralEQ3(
const std::string& infile, std::string
id =
"");
155 virtual doublereal
pressure()
const;
283 int sizeUA = 6)
const;
320 virtual void getCp_R(doublereal* cpr)
const;
394 virtual void getParameters(
int& n, doublereal*
const c)
const;
410 doublereal LookupGe(
const std::string& elemName);
411 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 void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
virtual doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of the kth species.
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 void getGibbs_RT(doublereal *grt) const
Get the nondimensional Gibbs functions for the species in their standard states at the current T and ...
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual void getParameters(int &n, doublereal *const c) const
Get the equation of state parameters in a vector.
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 void getUnitsStandardConc(doublereal *uA, int k=0, int sizeUA=6) const
Returns the units of the standard and generalized concentrations.
ThermoPhase * duplMyselfAsThermoPhase() const
Duplication function.
virtual void getStandardChemPotentials(doublereal *mu0) const
Get the array of chemical potentials at unit activity for the species at their standard states at the...
Base class for a phase with thermodynamic properties.
Class StoichSubstanceSSTP represents a stoichiometric (fixed composition) incompressible substance...
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
doublereal m_c
c coefficient (cal K gmol-1 K) x 10^-5
MineralEQ3()
Default constructor for the StoichSubstanceSSTP 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 int eosType() const
Equation of state flag.
virtual void getCp_R(doublereal *cpr) const
Get the nondimensional Heat Capacities at constant pressure for the species standard states at the cu...
MineralEQ3 & operator=(const MineralEQ3 &right)
Assignment operator.
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 getEnthalpy_RT(doublereal *hrt) const
Get the nondimensional Enthalpy functions for the species at their standard states at the current T a...
virtual void setParametersFromXML(const XML_Node &eosdata)
Set equation of state parameter values from XML entries.
Header file for the StoichSubstanceSSTP class, which represents a fixed-composition incompressible su...
virtual doublereal pressure() const
Report the Pressure. Units: Pa.
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
Class MineralEQ3 represents a stoichiometric (fixed composition) incompressible substance based on EQ...
virtual doublereal isothermalCompressibility() const
Returns the isothermal compressibility. Units: 1/Pa.
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 getIntEnergy_RT_ref(doublereal *urt) const
Returns the vector of nondimensional internal Energies of the reference state at the current temperat...
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)
Initialize the phase parameters from an XML file.