www.mooseframework.org
Functions
NSWeakStagnationInletBC.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("NavierStokesApp", NSWeakStagnationInletBC)
 
template<>
InputParameters validParams< NSWeakStagnationInletBC > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesApp"  ,
NSWeakStagnationInletBC   
)

◆ validParams< NSWeakStagnationInletBC >()

template<>
InputParameters validParams< NSWeakStagnationInletBC > ( )

Definition at line 16 of file NSWeakStagnationInletBC.C.

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