12 #ifndef CT_MASKELLSOLIDSOLNPHASE_H 13 #define CT_MASKELLSOLIDSOLNPHASE_H 32 virtual std::string
type()
const {
33 return "MaskellSolidsoln";
125 void set_h_mix(
const doublereal hmix) {
h_mixing = hmix; }
164 int reactant_species_index;
167 doublereal s()
const;
168 doublereal fm(
const doublereal r)
const;
169 doublereal p(
const doublereal r)
const;
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional molar-based activity coefficients at the current solution temperatur...
vector_fp m_cp0_R
Vector containing the species reference constant pressure heat capacities at T = m_tlast.
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials. Units: J/kmol.
vector_fp m_h0_RT
Vector containing the species reference enthalpies at T = m_tlast.
virtual void setMolarDensity(const doublereal rho)
Overridden setMolarDensity() function is necessary because the density is not an independent variable...
void setProductSpecies(const std::string &name)
Set the product Species. Must be called after species have been added.
virtual std::string type() const
String indicating the thermodynamic model implemented.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual doublereal entropy_mole() const
Molar entropy. Units: J/kmol/K.
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies of the species in the solution.
doublereal h_mixing
Value of the enthalpy change on mixing due to protons changing from type B to type A configurations...
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.
virtual void getPureGibbs(doublereal *gpure) const
Get the Gibbs functions for the standard state of the species at the current T and P of the solution...
int product_species_index
Index of the species whose mole fraction defines the extent of reduction r.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies 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 getStandardChemPotentials(doublereal *mu) const
Get the array of chemical potentials at unit activity for the species at their standard states at the...
virtual void setDensity(const doublereal rho)
Overridden setDensity() function is necessary because the density is not an independent variable...
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual void getPartialMolarCp(doublereal *cpbar) const
Return an array of partial molar heat capacities for the species in the mixture.
virtual doublereal pressure() const
Pressure.
vector_fp m_s0_R
Vector containing the species reference entropies at T = m_tlast.
virtual void getChemPotentials_RT(doublereal *mu) const
Get the array of non-dimensional species chemical potentials.
doublereal m_Pcurrent
m_Pcurrent = The current pressure.
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
virtual doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of the kth species.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
void _updateThermo() const
Function to call through to m_spthermo->update and fill m_h0_RT, m_cp0_R, m_g0_RT, m_s0_R.
virtual doublereal enthalpy_mole() const
Molar enthalpy. Units: J/kmol.
std::string name() const
Return the name of the phase.
virtual void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
Class MaskellSolidSolnPhase represents a condensed phase non-ideal solution with 2 species following ...
virtual void getPartialMolarVolumes(doublereal *vbar) const
Return an array of partial molar volumes for the species in the mixture.
virtual void setPressure(doublereal p)
Set the pressure at constant temperature.
Namespace for the Cantera kernel.
vector_fp m_g0_RT
Vector containing the species reference Gibbs functions at T = m_tlast.