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

Go to the source code of this file.

Classes

class  PorousFlowDarcyBase
 Darcy advective flux. More...
 

Functions

template<>
InputParameters validParams< PorousFlowDarcyBase > ()
 

Function Documentation

template<>
InputParameters validParams< PorousFlowDarcyBase > ( )

Definition at line 20 of file PorousFlowDarcyBase.C.

Referenced by validParams< PorousFlowAdvectiveFlux >(), and validParams< PorousFlowHeatAdvection >().

21 {
22  InputParameters params = validParams<Kernel>();
23  params.addRequiredParam<RealVectorValue>("gravity",
24  "Gravitational acceleration vector downwards (m/s^2)");
25  params.addRequiredParam<UserObjectName>(
26  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names");
27  params.addParam<unsigned>("full_upwind_threshold",
28  5,
29  "If, for each timestep, the number of "
30  "upwind-downwind swaps in an element is less than "
31  "this quantity, then full upwinding is used for that element. "
32  "Otherwise the fallback scheme is employed.");
33  MooseEnum fallback_enum("quick harmonic", "quick");
34  params.addParam<MooseEnum>("fallback_scheme",
35  fallback_enum,
36  "quick: use nodal mobility without "
37  "preserving mass. harmonic: use a "
38  "harmonic mean of nodal mobilities "
39  "and preserve fluid mass");
40  params.addClassDescription("Fully-upwinded advective Darcy flux");
41  return params;
42 }