www.mooseframework.org
HEVPInternalVarRateUOBase.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<DiscreteElementUserObject>();
14  params.addParam<std::string>(
15  "flow_rate_prop_name",
16  "Name of flow rate property: Same as the flow rate user object name specified in input file");
17  params.addClassDescription("User Object");
18  return params;
19 }
20 
21 HEVPInternalVarRateUOBase::HEVPInternalVarRateUOBase(const InputParameters & parameters)
22  : DiscreteElementUserObject(parameters),
23  _flow_rate_prop_name(getParam<std::string>("flow_rate_prop_name")),
24  _flow_rate(getMaterialPropertyByName<Real>(_flow_rate_prop_name))
25 {
26 }
HEVPInternalVarRateUOBase(const InputParameters &parameters)
InputParameters validParams< HEVPInternalVarRateUOBase >()