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