www.mooseframework.org
NSStaticPressureOutletBC.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
8 
9 template <>
10 InputParameters
12 {
13  InputParameters params = validParams<MooseObject>();
14  params.addClassDescription("This class facilitates adding specified static pressure outlet BCs "
15  "for the Euler equations.");
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>("specified_pressure", "The specifed static pressure");
19  params.addRequiredParam<UserObjectName>("fluid_properties",
20  "The name of the user object for fluid properties");
21 
22  // Must be called from every base MOOSE system to create linkage with the Action system.
23  params.registerBase("NSStaticPressureOutletBC");
24 
25  return params;
26 }
27 
28 NSStaticPressureOutletBC::NSStaticPressureOutletBC(const InputParameters & parameters)
29  : MooseObject(parameters)
30 {
31 }
32 
NSStaticPressureOutletBC(const InputParameters &parameters)
InputParameters validParams< NSStaticPressureOutletBC >()