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 component of a vector-valued velocity field given by " 24 "its magnitude and direction.");
30 _arhoA(coupledValue(
"arhoA")),
31 _arhouA(coupledValue(
"arhouA")),
33 _component(getParam<unsigned
int>(
"component"))
42 mooseAssert(
_arhoA[
_qp] != 0,
"alpha*rho*A is 0, unable to compute velocity");
const VariableValue & _arhouA
Solution variable arhouA.
const unsigned int _component
Vector component to use.
registerMooseObject("ThermalHydraulicsApp", VectorVelocityComponentAux)
const MaterialProperty< RealVectorValue > & _dir
Direction.
virtual const std::string & name() const
virtual Real computeValue()
Computes the component of a vector (given by its magnitude and direction)
VectorVelocityComponentAux(const InputParameters ¶meters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void mooseError(Args &&... args) const
static InputParameters validParams()
static InputParameters validParams()
void ErrorVector unsigned int
const VariableValue & _arhoA
Solution variable arhoA.