72 const std::vector<Real> & basis_species_molality,
73 const std::vector<Real> & eqm_species_molality,
74 const std::vector<Real> & kin_species_molality)
override;
79 std::vector<Real> & basis_activity_coef,
80 std::vector<Real> & eqm_activity_coef)
const override;
const GeochemistryNeutralSpeciesActivity _database_dh_neutral
Debye-Huckel parameters found in the database for computing the neutral (CO2) activities.
const GeochemistryNeutralSpeciesActivity _database_dh_water
Debye-Huckel parameters found in the database for computing the water activities. ...
GeochemistryActivityCoefficientsDebyeHuckel(const GeochemistryIonicStrength &is_calculator, const GeochemicalDatabaseReader &db)
const unsigned _numT
number of temperature points in the database file
Real _stoichiometric_ionic_strength
current value of stoichiometric ionic strength
Real getIonicStrength() const
Return the current value of ionic strength.
const ModelGeochemicalDatabase mgd
EquilibriumConstantInterpolator _interp_c_water
Interpolator object for the Debye-Huckel parameter c_water.
Fit the equilibrium constant values read from the thermodynamic databse at specified temperature valu...
EquilibriumConstantInterpolator _interp_d_neutral
Interpolator object for the Debye-Huckel parameter d_neutral.
const GeochemistryIonicStrength & _is_calculator
ionic-strength calculator
Real getStoichiometricIonicStrength() const
Return the current value of stoichiometric ionic strength.
bool operator==(const DebyeHuckelParameters &rhs) const
void buildActivityCoefficients(const ModelGeochemicalDatabase &mgd, std::vector< Real > &basis_activity_coef, std::vector< Real > &eqm_activity_coef) const override
Compute the activity coefficients and store them in basis_activity_coef and eqm_activity_coef Note: ...
unsigned _num_basis
number of basis species
static const std::string temperature
Real _sqrt_ionic_strength
current value of sqrt(ionic strength)
Real waterActivity() const override
Computes and returns the activity of water.
Data structure for Debye-Huckel activity coefficients.
EquilibriumConstantInterpolator _interp_a_water
Interpolator object for the Debye-Huckel parameter a_water.
const GeochemicalDatabaseReader db("database/moose_testdb.json", true, true, false)
EquilibriumConstantInterpolator _interp_B
Interpolator object for the Debye-Huckel parameter B.
EquilibriumConstantInterpolator _interp_Bdot
Interpolator object for the Debye-Huckel parameter Bdot.
Computes activity coefficients for non-minerals and non-gases (since these species do not have activi...
EquilibriumConstantInterpolator _interp_b_water
Interpolator object for the Debye-Huckel parameter b_water.
Data structure for neutral species activity coefficients.
EquilibriumConstantInterpolator _interp_b_neutral
Interpolator object for the Debye-Huckel parameter b_neutral.
Calculators to compute ionic strength and stoichiometric ionic strength.
Base class to compute activity coefficients for non-minerals and non-gases (since these species do no...
const GeochemistryDebyeHuckel _database_dh_params
Debye-Huckel parameters found in the database.
EquilibriumConstantInterpolator _interp_c_neutral
Interpolator object for the Debye-Huckel parameter c_neutral.
const DebyeHuckelParameters & getDebyeHuckel() const
unsigned _num_eqm
number of equilibrium species
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
EquilibriumConstantInterpolator _interp_d_water
Interpolator object for the Debye-Huckel parameter d_water.
Data structure to hold all relevant information from the database file.
EquilibriumConstantInterpolator _interp_A
Interpolator object for the Debye-Huckel parameter A.
Real _ionic_strength
current value of ionic strength
DebyeHuckelParameters _dh
Debye-Huckel parameters.
void setInternalParameters(Real temperature, const ModelGeochemicalDatabase &mgd, const std::vector< Real > &basis_species_molality, const std::vector< Real > &eqm_species_molality, const std::vector< Real > &kin_species_molality) override
Sets internal parameters, such as the ionic strength and Debye-Huckel parameters, prior to computing ...
Class for reading geochemical reactions from a MOOSE geochemical database.
EquilibriumConstantInterpolator _interp_a_neutral
Interpolator object for the Debye-Huckel parameter a_neutral.