www.mooseframework.org
Classes | Functions
NSEnergyInviscidSpecifiedDensityAndVelocityBC.h File Reference

Go to the source code of this file.

Classes

class  NSEnergyInviscidSpecifiedDensityAndVelocityBC
 The inviscid energy BC term with specified density and velocity components. More...
 

Functions

template<>
InputParameters validParams< NSEnergyInviscidSpecifiedDensityAndVelocityBC > ()
 

Function Documentation

◆ validParams< NSEnergyInviscidSpecifiedDensityAndVelocityBC >()

Definition at line 19 of file NSEnergyInviscidSpecifiedDensityAndVelocityBC.C.

20 {
21  InputParameters params = validParams<NSEnergyInviscidBC>();
22 
23  // Coupled variables
24  params.addRequiredCoupledVar(NS::pressure, "pressure");
25 
26  // Required parameters
27  params.addRequiredParam<Real>("specified_density", "The specified density for this boundary");
28  params.addRequiredParam<Real>("specified_u",
29  "The x-component of the specified velocity for this boundary");
30  params.addRequiredParam<Real>("specified_v",
31  "The y-component of the specified velocity for this boundary");
32  params.addParam<Real>(
33  "specified_w",
34  0.0,
35  "The z-component of the specified velocity for this boundary"); // only required in 3D
36 
37  return params;
38 }
validParams< NSEnergyInviscidBC >
InputParameters validParams< NSEnergyInviscidBC >()
Definition: NSEnergyInviscidBC.C:19
NS::pressure
const std::string pressure
Definition: NS.h:25