20 InputParameters params = validParams<SideIntegralVariablePostprocessor>();
21 params.addRequiredParam<FunctionName>(
22 "excav_geom_function",
23 "The function describing the excavation geometry (type RichardsExcavGeom)");
24 params.addRequiredParam<UserObjectName>(
25 "richardsVarNames_UO",
"The UserObject that holds the list of Richards variable names.");
26 params.addClassDescription(
"Records total flow INTO an excavation (if quantity is positive then "
27 "flow has occured from rock into excavation void)");
32 : SideIntegralVariablePostprocessor(parameters),
35 _pvar(_richards_name_UO.richards_var_num(coupled(
"variable"))),
37 _flux(getMaterialProperty<std::vector<RealVectorValue>>(
"flux")),
39 _func(getFunction(
"excav_geom_function"))
46 return -
_func.value(_t, _q_point[_qp]) * _normals[_qp] *
_flux[_qp][
_pvar] * _dt;