21 "Directional vector of 1D elements in 3D space");
22 params.
addRequiredParam<
unsigned int>(
"component",
"The vector component of interest");
23 params.
addClassDescription(
"Computes the velocity from the 1D phase-fraction and area weighted "
24 "momentum and density variables.");
30 _arhoA(coupledValue(
"arhoA")),
31 _arhouA(coupledValue(
"arhouA")),
32 _dir(getMaterialProperty<RealVectorValue>(
"direction")),
33 _component(getParam<unsigned
int>(
"component"))
registerMooseObject("ThermalHydraulicsApp", ADVectorVelocityComponentAux)
void ErrorVector unsigned int
Computes the component of a vector (given by its magnitude and direction)
const MaterialProperty< RealVectorValue > & _dir
Direction.
const unsigned int _component
Vector component to use.
const VariableValue & _arhoA
Solution variable arhoA.
const VariableValue & _arhouA
Solution variable arhouA.
static InputParameters validParams()
virtual Real computeValue()
ADVectorVelocityComponentAux(const InputParameters ¶meters)
static InputParameters validParams()
const std::string & name() const
void mooseError(Args &&... args) const