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

Go to the source code of this file.

Classes

class  PorousFlowActionBase
 Base class for PorousFlow actions. More...
 

Functions

template<>
InputParameters validParams< PorousFlowActionBase > ()
 

Function Documentation

◆ validParams< PorousFlowActionBase >()

template<>
InputParameters validParams< PorousFlowActionBase > ( )

Definition at line 22 of file PorousFlowActionBase.C.

23 {
24  InputParameters params = validParams<Action>();
25  params.addParam<std::string>(
26  "dictator_name",
27  "dictator",
28  "The name of the dictator user object that is created by this Action");
29  params.addClassDescription("Adds the PorousFlowDictator UserObject. This class also contains "
30  "many utility functions for adding other pieces of an input file, "
31  "which may be used by derived classes.");
32  params.addParam<RealVectorValue>("gravity",
33  RealVectorValue(0.0, 0.0, -10.0),
34  "Gravitational acceleration vector downwards (m/s^2)");
35  params.addCoupledVar("temperature",
36  293.0,
37  "For isothermal simulations, this is the temperature "
38  "at which fluid properties (and stress-free strains) "
39  "are evaluated at. Otherwise, this is the name of "
40  "the temperature variable. Units = Kelvin");
41  params.addCoupledVar("mass_fraction_vars",
42  "List of variables that represent the mass fractions. Format is 'f_ph0^c0 "
43  "f_ph0^c1 f_ph0^c2 ... f_ph0^c(N-1) f_ph1^c0 f_ph1^c1 fph1^c2 ... "
44  "fph1^c(N-1) ... fphP^c0 f_phP^c1 fphP^c2 ... fphP^c(N-1)' where "
45  "N=num_components and P=num_phases, and it is assumed that "
46  "f_ph^cN=1-sum(f_ph^c,{c,0,N-1}) so that f_ph^cN need not be given. If no "
47  "variables are provided then num_phases=1=num_components.");
48  params.addParam<unsigned int>("number_aqueous_equilibrium",
49  0,
50  "The number of secondary species in the aqueous-equilibrium "
51  "reaction system. (Leave as zero if the simulation does not "
52  "involve chemistry)");
53  params.addParam<unsigned int>("number_aqueous_kinetic",
54  0,
55  "The number of secondary species in the aqueous-kinetic reaction "
56  "system involved in precipitation and dissolution. (Leave as zero "
57  "if the simulation does not involve chemistry)");
58  params.addParam<std::vector<VariableName>>(
59  "displacements",
60  "The name of the displacement variables (relevant only for "
61  "mechanically-coupled simulations)");
62  params.addParam<std::string>("thermal_eigenstrain_name",
63  "thermal_eigenstrain",
64  "The eigenstrain_name used in the "
65  "ComputeThermalExpansionEigenstrain. Only needed for "
66  "thermally-coupled simulations with thermal expansion.");
67  params.addParam<bool>(
68  "use_displaced_mesh", false, "Use displaced mesh computations in mechanical kernels");
69  MooseEnum flux_limiter_type("MinMod VanLeer MC superbee None", "VanLeer");
70  params.addParam<MooseEnum>(
71  "flux_limiter_type",
72  flux_limiter_type,
73  "Type of flux limiter to use if stabilization=KT. 'None' means that no antidiffusion "
74  "will be added in the Kuzmin-Turek scheme");
75  MooseEnum stabilization("Full KT", "Full");
76  params.addParam<MooseEnum>("stabilization",
77  stabilization,
78  "Numerical stabilization used. 'Full' means full upwinding. 'KT' "
79  "means FEM-TVD stabilization of Kuzmin-Turek");
80  return params;
81 }

Referenced by validParams< PorousFlowSinglePhaseBase >().