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

Go to the source code of this file.

Classes

class  NSStagnationPressureBC
 This Dirichlet condition imposes the condition p_0 = p_0_desired, where p_0 is the stagnation pressure, defined as: p_0 = p * (1 + (gam-1)/2 * M^2)^(gam/(gam-1)) More...
 

Functions

template<>
InputParameters validParams< NSStagnationPressureBC > ()
 

Function Documentation

template<>
InputParameters validParams< NSStagnationPressureBC > ( )

Definition at line 18 of file NSStagnationPressureBC.C.

19 {
20  InputParameters params = validParams<NSStagnationBC>();
21  params.addClassDescription("This Dirichlet condition imposes the condition p_0 = p_0_desired.");
22  params.addRequiredCoupledVar(NS::pressure, "pressure");
23  params.addRequiredParam<Real>("desired_stagnation_pressure", "");
24  return params;
25 }
InputParameters validParams< NSStagnationBC >()
const std::string pressure
Definition: NS.h:24