12#ifndef CT_MASKELLSOLIDSOLNPHASE_H
13#define CT_MASKELLSOLIDSOLNPHASE_H
35 string type()
const override {
36 return "MaskellSolidsoln";
107 void set_h_mix(
const double hmix) {
h_mixing = hmix; }
127 int reactant_species_index = -1;
131 double fm(
const double r)
const;
132 double p(
const double r)
const;
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
A map of string keys to values whose type can vary at runtime.
Class MaskellSolidSolnPhase represents a condensed phase non-ideal solution with 2 species following ...
double enthalpy_mole() const override
Molar enthalpy. Units: J/kmol.
double logStandardConc(size_t k=0) const override
Natural logarithm of the standard concentration of the kth species.
void getPartialMolarEnthalpies(double *hbar) const override
Returns an array of partial molar enthalpies for the species in the mixture.
void getChemPotentials(double *mu) const override
Get the species chemical potentials. Units: J/kmol.
double pressure() const override
Pressure.
double h_mixing
Value of the enthalpy change on mixing due to protons changing from type B to type A configurations.
void getStandardChemPotentials(double *mu) const override
Get the array of chemical potentials at unit activity for the species at their standard states at the...
void getParameters(AnyMap &phaseNode) const override
Store the parameters of a ThermoPhase object such that an identical one could be reconstructed using ...
string type() const override
String indicating the thermodynamic model implemented.
void initThermo() override
Initialize the ThermoPhase object after all species have been set up.
void getActivityConcentrations(double *c) const override
This method returns an array of generalized concentrations.
void setPressure(double p) override
Set the pressure at constant temperature.
void getPartialMolarVolumes(double *vbar) const override
Return an array of partial molar volumes for the species in the mixture.
void getPureGibbs(double *gpure) const override
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.
double entropy_mole() const override
Molar entropy. Units: J/kmol/K.
void calcDensity() override
Calculate the density of the mixture using the partial molar volumes and mole fractions as input.
Units standardConcentrationUnits() const override
Returns the units of the "standard concentration" for this phase.
void getPartialMolarCp(double *cpbar) const override
Return an array of partial molar heat capacities for the species in the mixture.
void setProductSpecies(const string &name)
Set the product Species. Must be called after species have been added.
double standardConcentration(size_t k=0) const override
Return the standard concentration for the kth species.
void getChemPotentials_RT(double *mu) const override
void getActivityCoefficients(double *ac) const override
Get the array of non-dimensional molar-based activity coefficients at the current solution temperatur...
void getPartialMolarEntropies(double *sbar) const override
Returns an array of partial molar entropies of the species in the solution.
double m_Pcurrent
m_Pcurrent = The current pressure.
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...
const double OneAtm
One atmosphere [Pa].
Namespace for the Cantera kernel.