www.mooseframework.org
Classes | Functions
CoupledConvectionReactionSub.h File Reference

Go to the source code of this file.

Classes

class  CoupledConvectionReactionSub
 Define the Kernel for a CoupledConvectionReactionSub operator that looks like: weight * velocity * 10^log_k * u^sto_u * v^sto_v. More...
 

Functions

template<>
InputParameters validParams< CoupledConvectionReactionSub > ()
 

Function Documentation

template<>
InputParameters validParams< CoupledConvectionReactionSub > ( )

Definition at line 11 of file CoupledConvectionReactionSub.C.

12 {
13  InputParameters params = validParams<Kernel>();
14  params.addParam<Real>("weight", 1.0, "Weight of the equilibrium species");
15  params.addParam<Real>("log_k", 0.0, "Equilibrium constant of dissociation equilibrium reaction");
16  params.addParam<Real>("sto_u",
17  1.0,
18  "Stoichiometric coef of the primary species the kernel "
19  "operates on in the equilibrium reaction");
20  params.addRequiredParam<std::vector<Real>>(
21  "sto_v",
22  "The stoichiometric coefficients of coupled primary species in equilibrium reaction");
23  params.addRequiredCoupledVar("p", "Pressure");
24  params.addCoupledVar("v", "List of coupled primary species");
25  RealVectorValue g(0, 0, 0);
26  params.addParam<RealVectorValue>("gravity", g, "Gravity vector (default is (0, 0, 0))");
27  params.addClassDescription("Convection of equilibrium species");
28  return params;
29 }