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

Go to the source code of this file.

Classes

class  PorousFlowPolyLineSink
 Approximates a line sink by a sequence of Dirac Points. More...
 

Functions

template<>
InputParameters validParams< PorousFlowPolyLineSink > ()
 

Function Documentation

◆ validParams< PorousFlowPolyLineSink >()

template<>
InputParameters validParams< PorousFlowPolyLineSink > ( )

Definition at line 16 of file PorousFlowPolyLineSink.C.

17 {
18  InputParameters params = validParams<PorousFlowLineSink>();
19  params.addRequiredParam<std::vector<Real>>(
20  "p_or_t_vals",
21  "Tuple of pressure (or temperature) values. Must be monotonically increasing.");
22  params.addRequiredParam<std::vector<Real>>(
23  "fluxes",
24  "Tuple of flux values (measured in kg.m^-1.s^-1 if no 'use_*' are employed). "
25  "These flux values are multiplied by the line-segment length to achieve a flux in "
26  "kg.s^-1. A piecewise-linear fit is performed to the (p_or_t_vals,flux) pairs to "
27  "obtain the flux at any arbitrary pressure (or temperature). If a quad-point "
28  "pressure is less than the first pressure value, the first flux value is used. If "
29  "quad-point pressure exceeds the final pressure value, the final flux value is "
30  "used. This flux is OUT of the medium: hence positive values of flux means this "
31  "will be a SINK, while negative values indicate this flux will be a SOURCE.");
32  params.addClassDescription(
33  "Approximates a polyline sink by using a number of point sinks with "
34  "given weighting whose positions are read from a file. NOTE: if you are using "
35  "PorousFlowPorosity that depends on volumetric strain, you should set "
36  "strain_at_nearest_qp=true in your GlobalParams, to ensure the nodal Porosity Material uses "
37  "the volumetric strain at the Dirac quadpoints, and can therefore be computed");
38  return params;
39 }
validParams< PorousFlowLineSink >
InputParameters validParams< PorousFlowLineSink >()
Definition: PorousFlowLineSink.C:15