Go to the source code of this file.
◆ validParams< Q2PPiecewiseLinearSinkFlux >()
Definition at line 19 of file Q2PPiecewiseLinearSinkFlux.C.
21 InputParameters params = validParams<SideIntegralPostprocessor>();
22 params.addParam<UserObjectName>(
24 "The fluid density as a RichardsDensity UserObject. If this and the "
25 "fluid_viscosity are given, then fluxes are multiplied by "
26 "(density*permeability_nn/viscosity), where the '_nn' indicates the "
27 "component normal to the boundary. In this case bare_flux is measured in "
28 "Pa.s^-1. This can be used in conjunction with fluid_relperm.");
29 params.addParam<Real>(
"fluid_viscosity",
"The fluid dynamic viscosity.");
30 params.addParam<UserObjectName>(
32 "The fluid density as a RichardsRelPerm UserObject (eg RichardsRelPermPower "
33 "for water, or Q2PRelPermPostGas for gas). If this and the saturation "
34 "variable are defined then the flux will be motiplied by relative "
35 "permeability. This can be used in conjunction with fluid_density");
36 params.addCoupledVar(
"saturation",
"The name of the water saturation variable");
37 params.addRequiredCoupledVar(
"porepressure",
"The name of the porepressure variable");
38 params.addRequiredParam<std::vector<Real>>(
39 "pressures",
"Tuple of pressure values. Must be monotonically increasing.");
40 params.addRequiredParam<std::vector<Real>>(
42 "Tuple of flux values (measured in kg.m^-2.s^-1 if not using fluid_density, "
43 "otherwise in Pa.s^-1). This flux is OUT of the medium: hence positive "
44 "values of flux means this will be a SINK, while negative values indicate "
45 "this flux will be a SOURCE. A piecewise-linear fit is performed to the "
46 "(pressure,bare_fluxes) pairs to obtain the flux at any arbitrary pressure, "
47 "and the first or last bare_flux values are used if the quad-point pressure "
48 "falls outside this range.");
49 params.addParam<FunctionName>(
"multiplying_fcn",
51 "The flux will be multiplied by this spatially-and-temporally "
52 "varying function. This is useful if the boundary is a moving "
53 "boundary controlled by RichardsExcav.");
54 params.addClassDescription(
"Records the fluid flow into a sink (positive values indicate fluid "
55 "is flowing from porespace into the sink).");