www.mooseframework.org
NSStagnationBC.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 
10 #include "NSStagnationBC.h"
11 
12 // FluidProperties includes
14 
15 // MOOSE includes
16 #include "MooseMesh.h"
17 
20 {
22  params.addClassDescription(
23  "This is the base class for the 'imposed stagnation' value boundary conditions.");
24  params.addRequiredCoupledVar("mach", "Mach number");
25  params.addRequiredParam<UserObjectName>("fluid_properties",
26  "The name of the user object for fluid properties");
27  return params;
28 }
29 
31  : NodalBC(parameters),
32  _mach(coupledValue("mach")),
33  _fp(getUserObject<IdealGasFluidProperties>("fluid_properties"))
34 {
35 }
NSStagnationBC(const InputParameters &parameters)
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...
static InputParameters validParams()