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

Go to the source code of this file.

Classes

class  RichardsPiecewiseLinearSinkFlux
 This postprocessor computes the fluid flux to a RichardsPiecewiseLinearSink. More...
 

Functions

template<>
InputParameters validParams< RichardsPiecewiseLinearSinkFlux > ()
 

Function Documentation

◆ validParams< RichardsPiecewiseLinearSinkFlux >()

template<>
InputParameters validParams< RichardsPiecewiseLinearSinkFlux > ( )

Definition at line 19 of file RichardsPiecewiseLinearSinkFlux.C.

20 {
21  InputParameters params = validParams<SideIntegralVariablePostprocessor>();
22  params.addRequiredParam<bool>(
23  "use_mobility",
24  "If true, then fluxes are multiplied by (density*permeability_nn/viscosity), "
25  "where the '_nn' indicates the component normal to the boundary. In this "
26  "case bare_flux is measured in Pa.s^-1. This can be used in conjunction "
27  "with use_relperm.");
28  params.addRequiredParam<bool>("use_relperm",
29  "If true, then fluxes are multiplied by relative "
30  "permeability. This can be used in conjunction "
31  "with use_mobility");
32  params.addRequiredParam<std::vector<Real>>(
33  "pressures", "Tuple of pressure values. Must be monotonically increasing.");
34  params.addRequiredParam<std::vector<Real>>(
35  "bare_fluxes",
36  "Tuple of flux values (measured in kg.m^-2.s^-1 for use_mobility=false, and "
37  "in Pa.s^-1 if use_mobility=true). This flux is OUT of the medium: hence "
38  "positive values of flux means this will be a SINK, while negative values "
39  "indicate this flux will be a SOURCE. A piecewise-linear fit is performed to "
40  "the (pressure,bare_fluxes) pairs to obtain the flux at any arbitrary "
41  "pressure, and the first or last bare_flux values are used if the quad-point "
42  "pressure falls outside this range.");
43  params.addRequiredParam<UserObjectName>(
44  "richardsVarNames_UO", "The UserObject that holds the list of Richards variable names.");
45  params.addParam<FunctionName>("multiplying_fcn",
46  1.0,
47  "The flux will be multiplied by this spatially-and-temporally "
48  "varying function. This is useful if the boundary is a moving "
49  "boundary controlled by RichardsExcav.");
50  params.addClassDescription("Records the fluid flow into a sink (positive values indicate fluid "
51  "is flowing from porespace into the sink).");
52  return params;
53 }