Go to the source code of this file.
◆ registerMooseObject()
◆ validParams< PorousFlowSink >()
Definition at line 22 of file PorousFlowSink.C.
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",
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 "
45 params.addParam<
bool>(
"use_relperm",
47 "If true, then fluxes are multiplied by relative "
48 "permeability. This can be used in conjunction with "
50 params.addParam<
bool>(
"use_enthalpy",
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 "
56 params.addParam<
bool>(
"use_internal_energy",
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",
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>(
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.");
Referenced by validParams< PorousFlowSinkPTDefiner >().