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

Go to the source code of this file.

Classes

class  RichardsMaterial
 

Functions

template<>
InputParameters validParams< RichardsMaterial > ()
 

Function Documentation

◆ validParams< RichardsMaterial >()

template<>
InputParameters validParams< RichardsMaterial > ( )

Definition at line 22 of file RichardsMaterial.C.

23 {
24  InputParameters params = validParams<Material>();
25 
26  params.addRequiredParam<Real>(
27  "mat_porosity", "The porosity of the material. Should be between 0 and 1. Eg, 0.1");
28  params.addCoupledVar("por_change",
29  0,
30  "An auxillary variable describing porosity changes. "
31  "Porosity = mat_porosity + por_change. If this is not "
32  "provided, zero is used.");
33  params.addRequiredParam<RealTensorValue>("mat_permeability", "The permeability tensor (m^2).");
34  params.addCoupledVar("perm_change",
35  "A list of auxillary variable describing permeability "
36  "changes. There must be 9 of these, corresponding to the "
37  "xx, xy, xz, yx, yy, yz, zx, zy, zz components respectively. "
38  " Permeability = mat_permeability*10^(perm_change).");
39  params.addRequiredParam<UserObjectName>(
40  "richardsVarNames_UO", "The UserObject that holds the list of Richards variable names.");
41  params.addRequiredParam<std::vector<UserObjectName>>(
42  "relperm_UO", "List of names of user objects that define relative permeability");
43  params.addRequiredParam<std::vector<UserObjectName>>(
44  "seff_UO",
45  "List of name of user objects that define effective saturation as a function of "
46  "pressure list");
47  params.addRequiredParam<std::vector<UserObjectName>>(
48  "sat_UO",
49  "List of names of user objects that define saturation as a function of effective saturation");
50  params.addRequiredParam<std::vector<UserObjectName>>(
51  "density_UO", "List of names of user objects that define the fluid density");
52  params.addRequiredParam<std::vector<UserObjectName>>(
53  "SUPG_UO", "List of names of user objects that define the SUPG");
54  params.addRequiredParam<std::vector<Real>>(
55  "viscosity", "List of viscosity of fluids (Pa.s). Typical value for water is=1E-3");
56  params.addRequiredParam<RealVectorValue>(
57  "gravity",
58  "Gravitational acceleration (m/s^2) as a vector pointing downwards. Eg (0,0,-10)");
59  // params.addRequiredCoupledVar("pressure_vars", "List of variables that represent the pressure");
60  params.addParam<bool>(
61  "linear_shape_fcns",
62  true,
63  "If you are using second-order Lagrange shape functions you need to set this to false.");
64  return params;
65 }