www.mooseframework.org
Functions
INSMomentumBase.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< INSMomentumBase > ()
 

Function Documentation

◆ validParams< INSMomentumBase >()

template<>
InputParameters validParams< INSMomentumBase > ( )

Definition at line 15 of file INSMomentumBase.C.

16 {
17  InputParameters params = validParams<INSBase>();
18 
19  params.addRequiredParam<unsigned>("component", "The velocity component that this is applied to.");
20  params.addParam<bool>(
21  "integrate_p_by_parts", true, "Whether to integrate the pressure term by parts.");
22  params.addParam<bool>(
23  "supg", false, "Whether to perform SUPG stabilization of the momentum residuals");
24  params.addParam<FunctionName>("forcing_func", 0, "The mms forcing function.");
25  return params;
26 }

Referenced by validParams< INSMomentumLaplaceForm >(), and validParams< INSMomentumTractionForm >().

validParams< INSBase >
InputParameters validParams< INSBase >()
Definition: INSBase.C:15