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

Go to the source code of this file.

Classes

class  AddNavierStokesVariablesAction
 This class allows us to have a section of the input file like the following which automatically adds all the required nonlinear variables with the appropriate scaling. More...
 

Functions

template<>
InputParameters validParams< AddNavierStokesVariablesAction > ()
 

Function Documentation

template<>
InputParameters validParams< AddNavierStokesVariablesAction > ( )

Definition at line 19 of file AddNavierStokesVariablesAction.C.

20 {
21  InputParameters params = validParams<NSAction>();
22 
23  MooseEnum families(AddVariableAction::getNonlinearVariableFamilies(), "LAGRANGE");
24  MooseEnum orders(AddVariableAction::getNonlinearVariableOrders(), "FIRST");
25  params.addClassDescription("This class allows us to have a section of the input file like the "
26  "following which automatically adds all the required nonlinear "
27  "variables with the appropriate scaling.");
28  params.addParam<std::vector<SubdomainName>>(
29  "block", "The list of block ids (SubdomainID) on which this action will be applied");
30  params.addParam<MooseEnum>(
31  "family", families, "Specifies the family of FE shape functions to use for this variable");
32  params.addParam<MooseEnum>("order",
33  orders,
34  "Specifies the order of the FE shape function to use "
35  "for this variable (additional orders not listed are "
36  "allowed)");
37  params.addRequiredParam<std::vector<Real>>(
38  "scaling", "Specifies a scaling factor to apply to this variable");
39 
40  return params;
41 }
InputParameters validParams< NSAction >()
Definition: NSAction.C:17