www.mooseframework.org
Functions
PorousFlowFluidMass.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PorousFlowApp"  ,
PorousFlowFluidMass   
)

◆ validParams< PorousFlowFluidMass >()

template<>
InputParameters validParams< PorousFlowFluidMass > ( )

Definition at line 20 of file PorousFlowFluidMass.C.

21 {
22  InputParameters params = validParams<ElementIntegralPostprocessor>();
23  params.addParam<unsigned int>(
24  "fluid_component",
25  0,
26  "The index corresponding to the fluid component that this Postprocessor acts on");
27  params.addRequiredParam<UserObjectName>(
28  "PorousFlowDictator", "The UserObject that holds the list of PorousFlow variable names.");
29  params.addParam<std::vector<unsigned int>>("phase",
30  "The index of the fluid phase that this "
31  "Postprocessor is restricted to. Multiple "
32  "indices can be entered");
33  params.addRangeCheckedParam<Real>("saturation_threshold",
34  1.0,
35  "saturation_threshold >= 0 & saturation_threshold <= 1",
36  "The saturation threshold below which the mass is calculated "
37  "for a specific phase. Default is 1.0. Note: only one "
38  "phase_index can be entered");
39  params.addParam<unsigned int>("kernel_variable_number",
40  0,
41  "The PorousFlow variable number (according to the dictator) of "
42  "the fluid-mass kernel. This is required only in the unusual "
43  "situation where a variety of different finite-element "
44  "interpolation schemes are employed in the simulation");
45  params.set<bool>("use_displaced_mesh") = true;
46  params.addClassDescription("Calculates the mass of a fluid component in a region");
47  return params;
48 }