www.mooseframework.org
AddCoupledSolidKinSpeciesAction.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef ADDCOUPLEDSOLIDKINSPECIESACTION_H
8 #define ADDCOUPLEDSOLIDKINSPECIESACTION_H
9 
10 #include "Action.h"
11 
13 
14 template <>
16 
17 class AddCoupledSolidKinSpeciesAction : public Action
18 {
19 public:
20  AddCoupledSolidKinSpeciesAction(const InputParameters & params);
21 
22  virtual void act() override;
23 
24 private:
26  const std::vector<NonlinearVariableName> _primary_species;
28  const std::vector<AuxVariableName> _secondary_species;
30  std::vector<VariableName> _solid_kinetic_species;
32  std::vector<std::vector<VariableName>> _primary_species_involved;
34  std::vector<std::vector<VariableName>> _kinetic_species_involved;
36  std::vector<std::vector<Real>> _stos;
38  std::vector<std::vector<Real>> _weights;
40  std::string _input_reactions;
42  std::vector<std::string> _reactions;
44  unsigned int _num_reactions;
46  const std::vector<Real> _logk;
48  const std::vector<Real> _r_area;
50  const std::vector<Real> _ref_kconst;
52  const std::vector<Real> _e_act;
54  const Real _gas_const;
56  const std::vector<Real> _ref_temp;
58  const std::vector<VariableName> _sys_temp;
59 };
60 
61 #endif // ADDCOUPLEDSOLIDKINSPECIESACTION_H
std::vector< std::vector< Real > > _stos
Stoichiometric coefficients for each primary species in each reaction.
const std::vector< Real > _ref_kconst
Reference kinetic rate constant.
std::vector< std::vector< VariableName > > _primary_species_involved
Primary species involved in the ith kinetic reaction.
const std::vector< Real > _logk
Log10 of equilibrium constant.
InputParameters validParams< AddCoupledSolidKinSpeciesAction >()
const std::vector< VariableName > _sys_temp
Actual system temperature.
AddCoupledSolidKinSpeciesAction(const InputParameters &params)
const std::vector< Real > _ref_temp
Reference temperature.
std::vector< std::string > _reactions
Vector of parsed reactions.
unsigned int _num_reactions
Number of reactions.
std::vector< std::vector< VariableName > > _kinetic_species_involved
Secondary solid species involved the ith primary species.
const std::vector< Real > _r_area
Specific reactive surface area, m^2/L solution.
const Real _gas_const
Gas constant, (Default 8.314 J/mol/K)
const std::vector< AuxVariableName > _secondary_species
Secondary species added as AuxVariables.
const std::vector< NonlinearVariableName > _primary_species
Basis set of primary species.
const std::vector< Real > _e_act
Activation energy.
std::string _input_reactions
Reaction network read from input file.
std::vector< VariableName > _solid_kinetic_species
Secondary solid species read by the parser.
std::vector< std::vector< Real > > _weights
Weight of each primary species in each reaction.