www.mooseframework.org
NSStaticPressureOutletBC.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
11 
13 
14 template <>
15 InputParameters
17 {
18  InputParameters params = validParams<MooseObject>();
19  params.addClassDescription("This class facilitates adding specified static pressure outlet BCs "
20  "for the Euler equations.");
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>("specified_pressure", "The specifed static pressure");
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("NSStaticPressureOutletBC");
29 
30  return params;
31 }
32 
33 NSStaticPressureOutletBC::NSStaticPressureOutletBC(const InputParameters & parameters)
34  : MooseObject(parameters)
35 {
36 }
37 
This class facilitates adding specified static pressure outlet BCs for the Euler equations.
NSStaticPressureOutletBC(const InputParameters &parameters)
InputParameters validParams< NSStaticPressureOutletBC >()
registerMooseObject("NavierStokesApp", NSStaticPressureOutletBC)