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

Go to the source code of this file.

Classes

class  PorousFlowSinglePhaseBase
 Base class for actions involving a single fluid phase. More...
 

Functions

template<>
InputParameters validParams< PorousFlowSinglePhaseBase > ()
 

Function Documentation

◆ validParams< PorousFlowSinglePhaseBase >()

template<>
InputParameters validParams< PorousFlowSinglePhaseBase > ( )

Definition at line 18 of file PorousFlowSinglePhaseBase.C.

19 {
20  InputParameters params = validParams<PorousFlowActionBase>();
21  params.addParam<bool>("add_darcy_aux", true, "Add AuxVariables that record Darcy velocity");
22  params.addParam<bool>("add_stress_aux", true, "Add AuxVariables that record effective stress");
23  params.addParam<bool>("use_brine", false, "Use PorousFlowBrine material for the fluid phase");
24  params.addRequiredParam<VariableName>("porepressure", "The name of the porepressure variable");
25  MooseEnum coupling_type("Hydro ThermoHydro HydroMechanical ThermoHydroMechanical", "Hydro");
26  params.addParam<MooseEnum>("coupling_type",
27  coupling_type,
28  "The type of simulation. For simulations involving Mechanical "
29  "deformations, you will need to supply the correct Biot coefficient. "
30  "For simulations involving Thermal flows, you will need an associated "
31  "ConstantThermalExpansionCoefficient Material");
32  MooseEnum simulation_type_choice("steady transient", "transient");
33  params.addDeprecatedParam<MooseEnum>(
34  "simulation_type",
35  simulation_type_choice,
36  "Whether a transient or steady-state simulation is being performed",
37  "The execution type is now determined automatically. This parameter should no longer be "
38  "used");
39  params.addParam<UserObjectName>("fp",
40  "use_brine_material",
41  "The name of the user object for fluid "
42  "properties. Not required if use_brine is true.");
43  params.addCoupledVar("mass_fraction_vars",
44  "List of variables that represent the mass fractions. With only one fluid "
45  "component, this may be left empty. With N fluid components, the format is "
46  "'f_0 f_1 f_2 ... f_(N-1)'. That is, the N^th component need not be "
47  "specified because f_N = 1 - (f_0 + f_1 + ... + f_(N-1)). It is best "
48  "numerically to choose the N-1 mass fraction variables so that they "
49  "represent the fluid components with small concentrations. This Action "
50  "will associated the i^th mass fraction variable to the equation for the "
51  "i^th fluid component, and the pressure variable to the N^th fluid "
52  "component.");
53  params.addParam<unsigned>("nacl_index",
54  0,
55  "Index of NaCl variable in mass_fraction_vars, for "
56  "calculating brine properties. Only required if use_brine is true.");
57  params.addParam<Real>(
58  "biot_coefficient",
59  1.0,
60  "The Biot coefficient (relevant only for mechanically-coupled simulations)");
61  params.addClassDescription("Base class for single-phase simulations");
62  return params;
63 }

Referenced by validParams< PorousFlowBasicTHM >(), validParams< PorousFlowFullySaturated >(), and validParams< PorousFlowUnsaturated >().

validParams< PorousFlowActionBase >
InputParameters validParams< PorousFlowActionBase >()
Definition: PorousFlowActionBase.C:22