www.mooseframework.org
Classes | Functions
NSWeakStagnationInletBC.h File Reference

Go to the source code of this file.

Classes

class  NSWeakStagnationInletBC
 This class facilitates adding weak stagnation inlet BCs via an Action by setting up the required parameters. More...
 

Functions

template<>
InputParameters validParams< NSWeakStagnationInletBC > ()
 

Function Documentation

template<>
InputParameters validParams< NSWeakStagnationInletBC > ( )

Definition at line 11 of file NSWeakStagnationInletBC.C.

12 {
13  InputParameters params = validParams<MooseObject>();
14  params.addClassDescription("This class facilitates adding weak stagnation inlet BCs via an "
15  "Action by setting up the required parameters.");
16  params.addRequiredParam<std::vector<BoundaryName>>(
17  "boundary", "The list of boundary IDs from the mesh where this boundary condition applies");
18  params.addRequiredParam<Real>("stagnation_pressure", "The specifed stagnation pressure");
19  params.addRequiredParam<Real>("stagnation_temperature", "The specifed stagnation temperature");
20  params.addRequiredParam<Real>("sx", "x-component of specifed flow direction");
21  params.addParam<Real>(
22  "sy", 0.0, "y-component of specifed flow direction"); // only required in >= 2D
23  params.addParam<Real>("sz", 0.0, "z-component of specifed flow direction"); // only required in 3D
24  params.addRequiredParam<UserObjectName>("fluid_properties",
25  "The name of the user object for fluid properties");
26 
27  // Must be called from every base MOOSE system to create linkage with the Action system.
28  params.registerBase("NSWeakStagnationInletBC");
29 
30  return params;
31 }