20 params.
addRequiredParam<
unsigned int>(
"connection_index",
"Index of the connected flow channel");
22 MooseEnum equation(
"mass=0 momentum=1 energy=2");
24 "equation", equation,
"Equation for which to query flux vector");
27 "Retrieves an entry of a flux vector for a connection attached to a 1-phase junction");
35 _connection_index(getParam<unsigned
int>(
"connection_index")),
36 _junction_name(getParam<
std::string>(
"junction")),
37 _junction_uo_name(_junction_name +
":junction_uo"),
39 _equation_index(getParam<
MooseEnum>(
"equation"))
const unsigned int _connection_index
Index of the connected flow channel.
registerMooseObject("ThermalHydraulicsApp", ADFlowJunctionFlux1Phase)
static InputParameters validParams()
virtual Real computeQpIntegral() override
const unsigned int _equation_index
Index within flux vector to query.
ADFlowJunctionFlux1Phase(const InputParameters ¶meters)
const ADFlowJunctionUserObject & _junction_uo
Junction user object.
Provides common interfaces for flow junction user objects.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
Retrieves an entry of a flux vector for a connection attached to a 1-phase junction.
virtual const std::vector< ADReal > & getFlux(const unsigned int &connection_index) const =0
Gets the flux vector for a connection.
static InputParameters validParams()
void ErrorVector unsigned int