26 params.
addClassDescription(
"This class imposes a velocity direction component as a Dirichlet "
27 "condition on the appropriate momentum equation.");
42 _rho(coupledValue(
NS::density)),
43 _u_vel(coupledValue(
NS::velocity_x)),
44 _v_vel(_mesh.dimension() == 2 ? coupledValue(
NS::velocity_y) : _zero),
45 _w_vel(_mesh.dimension() == 3 ? coupledValue(
NS::velocity_z) : _zero),
46 _desired_unit_velocity_component(getParam<Real>(
"desired_unit_velocity_component"))
registerMooseObject("NavierStokesApp", NSImposedVelocityDirectionBC)
This class imposes a velocity direction component as a Dirichlet condition on the appropriate momentu...
NSImposedVelocityDirectionBC(const InputParameters ¶meters)
const VariableValue & _u_vel
const VariableValue & _rho
Real _desired_unit_velocity_component
virtual Real computeQpResidual()
const VariableValue & _w_vel
static InputParameters validParams()
const VariableValue & _v_vel
static InputParameters validParams()
static const std::string density
static const std::string velocity_y
static const std::string velocity_z
static const std::string velocity_x