www.mooseframework.org
Functions
PorousFlowSink.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PorousFlowApp", PorousFlowSink)
 
template<>
InputParameters validParams< PorousFlowSink > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowSink   
)

◆ validParams< PorousFlowSink >()

template<>
InputParameters validParams< PorousFlowSink > ( )

Definition at line 22 of file PorousFlowSink.C.

23 {
24  InputParameters params = validParams<IntegratedBC>();
25  params.addRequiredParam<UserObjectName>(
26  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names");
27  params.addParam<unsigned int>("fluid_phase",
28  "If supplied, then this BC will potentially be a function of fluid "
29  "pressure, and you can use mass_fraction_component, use_mobility, "
30  "use_relperm, use_enthalpy and use_energy. If not supplied, then "
31  "this BC can only be a function of temperature");
32  params.addParam<unsigned int>("mass_fraction_component",
33  "The index corresponding to a fluid "
34  "component. If supplied, the flux will "
35  "be multiplied by the nodal mass "
36  "fraction for the component");
37  params.addParam<bool>("use_mobility",
38  false,
39  "If true, then fluxes are multiplied by "
40  "(density*permeability_nn/viscosity), where the "
41  "'_nn' indicates the component normal to the "
42  "boundary. In this case bare_flux is measured in "
43  "Pa.m^-1. This can be used in conjunction with "
44  "other use_*");
45  params.addParam<bool>("use_relperm",
46  false,
47  "If true, then fluxes are multiplied by relative "
48  "permeability. This can be used in conjunction with "
49  "other use_*");
50  params.addParam<bool>("use_enthalpy",
51  false,
52  "If true, then fluxes are multiplied by enthalpy. "
53  "In this case bare_flux is measured in kg.m^-2.s^-1 "
54  "/ (J.kg). This can be used in conjunction with "
55  "other use_*");
56  params.addParam<bool>("use_internal_energy",
57  false,
58  "If true, then fluxes are multiplied by fluid internal energy. "
59  " In this case bare_flux is measured in kg.m^-2.s^-1 / (J.kg). "
60  " This can be used in conjunction with other use_*");
61  params.addParam<bool>("use_thermal_conductivity",
62  false,
63  "If true, then fluxes are multiplied by "
64  "thermal conductivity projected onto "
65  "the normal direction. This can be "
66  "used in conjunction with other use_*");
67  params.addParam<FunctionName>(
68  "flux_function",
69  1.0,
70  "The flux. The flux is OUT of the medium: hence positive values of "
71  "this function means this BC will act as a SINK, while negative values "
72  "indicate this flux will be a SOURCE. The functional form is useful "
73  "for spatially or temporally varying sinks. Without any use_*, this "
74  "function is measured in kg.m^-2.s^-1 (or J.m^-2.s^-1 for the case "
75  "with only heat and no fluids)");
76  params.addClassDescription("Applies a flux sink to a boundary.");
77  return params;
78 }

Referenced by validParams< PorousFlowSinkPTDefiner >().