www.mooseframework.org
Functions
NSMomentumInviscidFluxWithGradP.C File Reference

Go to the source code of this file.

Functions

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

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "NavierStokesApp"  ,
NSMomentumInviscidFluxWithGradP   
)

◆ validParams< NSMomentumInviscidFluxWithGradP >()

template<>
InputParameters validParams< NSMomentumInviscidFluxWithGradP > ( )

Definition at line 18 of file NSMomentumInviscidFluxWithGradP.C.

19 {
20  InputParameters params = validParams<NSKernel>();
21  params.addClassDescription(
22  "This class computes the inviscid flux with pressure gradient in the momentum equation.");
23  params.addRequiredCoupledVar(NS::pressure, "pressure");
24  params.addRequiredParam<unsigned int>("component", "");
25  return params;
26 }
validParams< NSKernel >
InputParameters validParams< NSKernel >()
Definition: NSKernel.C:22
NS::pressure
const std::string pressure
Definition: NS.h:25