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")),
33 _component(getParam<unsigned
int>(
"component"))
Computes the component of a vector (given by its magnitude and direction)
const VariableValue & _arhouA
Solution variable arhouA.
virtual Real computeValue()
virtual const std::string & name() const
const MaterialProperty< RealVectorValue > & _dir
Direction.
const unsigned int _component
Vector component to use.
static InputParameters validParams()
const VariableValue & _arhoA
Solution variable arhoA.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
static InputParameters validParams()
ADVectorVelocityComponentAux(const InputParameters ¶meters)
void ErrorVector unsigned int
registerMooseObject("ThermalHydraulicsApp", ADVectorVelocityComponentAux)