19 params.
addCoupledVar(
"activity_coeff", 1.0,
"Activity coefficient of H+. Default is 1");
25 :
AuxKernel(parameters), _hplus(coupledValue(
"h_conc")), _gamma(coupledValue(
"activity_coeff"))
32 mooseAssert(
_gamma[
_qp] *
_hplus[
_qp] > 0.0,
"Negative activity in pH is not possible");
PHAux(const InputParameters ¶meters)
The pH of the solution is defined as.
const VariableValue & _gamma
Activity coefficient of H+ ions.
virtual Real computeValue() override
const VariableValue & _hplus
Free molar concentration of H+ ions.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
registerMooseObject("ChemicalReactionsApp", PHAux)
static InputParameters validParams()
static InputParameters validParams()