www.mooseframework.org
Functions
NSMomentumInviscidFlux.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("NavierStokesApp", NSMomentumInviscidFlux)
 
template<>
InputParameters validParams< NSMomentumInviscidFlux > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesApp"  ,
NSMomentumInviscidFlux   
)

◆ validParams< NSMomentumInviscidFlux >()

template<>
InputParameters validParams< NSMomentumInviscidFlux > ( )

Definition at line 21 of file NSMomentumInviscidFlux.C.

22 {
23  InputParameters params = validParams<NSKernel>();
24  params.addClassDescription(
25  "The inviscid flux (convective + pressure terms) for the momentum conservation equations.");
26  params.addRequiredCoupledVar(NS::pressure, "pressure");
27  params.addRequiredParam<unsigned int>(
28  "component",
29  "0,1,2 depending on if we are solving the x,y,z component of the momentum equation");
30  return params;
31 }
validParams< NSKernel >
InputParameters validParams< NSKernel >()
Definition: NSKernel.C:22
NS::pressure
const std::string pressure
Definition: NS.h:25