19 "temperature", 298.15,
"The temperature of the aqueous phase (K). Default is 298.15K");
21 "temperature_points",
"Temperature points where log(Keq) data is evaluated (K)");
23 "logk_points",
"log(Keq) data evaluated at each value of temperature_points");
25 "Equilibrium constant for a given equilibrium species (in form log10(Keq))");
31 _temperature(coupledValue(
"temperature")),
32 _temperature_points(getParam<
std::vector<
Real>>(
"temperature_points")),
33 _logk_points(getParam<
std::vector<
Real>>(
"logk_points"))
37 mooseError(
"The number of temperature_points and logk_points must be equal in ",
_name);
std::unique_ptr< PolynomialFit > _linear_logk
Linear least-squares fit.
const std::vector< Real > & _logk_points
log(Keq) values at each temperature point
const std::vector< Real > & _temperature_points
Temperature points in data set (in K)
Equilibrium constant (in the form log10(Keq)) calculated using a least-squares fit to the data provid...
std::unique_ptr< EquilibriumConstantFit > _logk
Least-squares fit to data.
virtual Real computeValue() override
EquilibriumConstantAux(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
static InputParameters validParams()
void mooseError(Args &&... args) const
static InputParameters validParams()
registerMooseObject("ChemicalReactionsApp", EquilibriumConstantAux)
const VariableValue & _temperature
Temperature (in K)