https://mooseframework.inl.gov
Loading...
Searching...
No Matches
NSStagnationBC.C
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
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}
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature.
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()
NSStagnationBC(const InputParameters &parameters)
static InputParameters validParams()