www.mooseframework.org
Functions
NSImposedVelocityDirectionBC.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< NSImposedVelocityDirectionBC > ()
 

Function Documentation

template<>
InputParameters validParams< NSImposedVelocityDirectionBC > ( )

Definition at line 18 of file NSImposedVelocityDirectionBC.C.

19 {
20  // Initialize the params object from the base class
21  InputParameters params = validParams<NodalBC>();
22 
23  params.addClassDescription("This class imposes a velocity direction component as a Dirichlet "
24  "condition on the appropriate momentum equation.");
25  // Coupled variables
26  params.addRequiredCoupledVar(NS::density, "density");
27  params.addRequiredCoupledVar(NS::velocity_x, "x-velocity");
28  params.addCoupledVar(NS::velocity_y, "y-velocity"); // only required in >= 2D
29  params.addCoupledVar(NS::velocity_z, "z-velocity"); // only required in 3D
30 
31  // Coupled parameters
32  params.addRequiredParam<Real>("desired_unit_velocity_component", "");
33 
34  return params;
35 }
const std::string velocity_z
Definition: NS.h:23
const std::string density
Definition: NS.h:15
const std::string velocity_x
Definition: NS.h:21
const std::string velocity_y
Definition: NS.h:22