www.mooseframework.org
PHAux.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "AuxKernel.h"
13 
14 class PHAux;
15 
16 template <>
17 InputParameters validParams<PHAux>();
18 
31 class PHAux : public AuxKernel
32 {
33 public:
34  PHAux(const InputParameters & parameters);
35 
36 protected:
37  virtual Real computeValue() override;
38 
40  const VariableValue & _hplus;
42  const VariableValue & _gamma;
43 };
44 
PHAux::PHAux
PHAux(const InputParameters &parameters)
Definition: PHAux.C:25
PHAux::_gamma
const VariableValue & _gamma
Activity coefficient of H+ ions.
Definition: PHAux.h:42
PHAux::computeValue
virtual Real computeValue() override
Definition: PHAux.C:31
PHAux::_hplus
const VariableValue & _hplus
Free molar concentration of H+ ions.
Definition: PHAux.h:40
validParams< PHAux >
InputParameters validParams< PHAux >()
Definition: PHAux.C:16
PHAux
The pH of the solution is defined as.
Definition: PHAux.h:31