12 #ifndef CT_MASKELLSOLIDSOLNPHASE_H
13 #define CT_MASKELLSOLIDSOLNPHASE_H
32 virtual std::string
type()
const {
33 return "MaskellSolidsoln";
131 void set_h_mix(
const doublereal hmix) {
h_mixing = hmix; }
151 int reactant_species_index;
154 doublereal s()
const;
155 doublereal fm(
const doublereal r)
const;
156 doublereal p(
const doublereal r)
const;
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
Class MaskellSolidSolnPhase represents a condensed phase non-ideal solution with 2 species following ...
doublereal h_mixing
Value of the enthalpy change on mixing due to protons changing from type B to type A configurations.
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of non-dimensional molar-based activity coefficients at the current solution temperatur...
void setProductSpecies(const std::string &name)
Set the product Species. Must be called after species have been added.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies of the species in the solution.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.
virtual doublereal enthalpy_mole() const
Molar enthalpy. Units: J/kmol.
virtual void getPartialMolarVolumes(doublereal *vbar) const
Return an array of partial molar volumes for the species in the mixture.
virtual void getActivityConcentrations(doublereal *c) const
This method returns an array of generalized concentrations.
virtual Units standardConcentrationUnits() const
Returns the units of the "standard concentration" for this phase.
virtual doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of the kth species.
virtual void getPartialMolarCp(doublereal *cpbar) const
Return an array of partial molar heat capacities for the species in the mixture.
virtual void setPressure(doublereal p)
Set the pressure at constant temperature.
virtual void setDensity(const doublereal rho)
Overridden setDensity() function is necessary because the density is not an independent variable.
virtual doublereal entropy_mole() const
Molar entropy. Units: J/kmol/K.
int product_species_index
Index of the species whose mole fraction defines the extent of reduction r.
virtual void initThermo()
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
virtual std::string type() const
String indicating the thermodynamic model implemented.
doublereal m_Pcurrent
m_Pcurrent = The current pressure.
virtual doublereal pressure() const
Pressure.
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 getChemPotentials_RT(doublereal *mu) const
Get the array of non-dimensional species chemical potentials.
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials. Units: J/kmol.
virtual void setMolarDensity(const doublereal rho)
Overridden setMolarDensity() function is necessary because the density is not an independent variable...
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.
virtual void calcDensity()
Calculate the density of the mixture using the partial molar volumes and mole fractions as input.
std::string name() const
Return the name of the phase.
A representation of the units associated with a dimensional quantity.
This is a filter class for ThermoPhase that implements some preparatory steps for efficiently handlin...
Class XML_Node is a tree-based representation of the contents of an XML file.
Namespace for the Cantera kernel.