Go to the source code of this file.
◆ registerMooseAction()
◆ validParams< AddNavierStokesVariablesAction >()
Definition at line 26 of file AddNavierStokesVariablesAction.C.
30 MooseEnum families(AddVariableAction::getNonlinearVariableFamilies(),
"LAGRANGE");
31 MooseEnum orders(AddVariableAction::getNonlinearVariableOrders(),
"FIRST");
32 params.addClassDescription(
"This class allows us to have a section of the input file like the "
33 "following which automatically adds all the required nonlinear "
34 "variables with the appropriate scaling.");
35 params.addParam<std::vector<SubdomainName>>(
36 "block",
"The list of block ids (SubdomainID) on which this action will be applied");
37 params.addParam<MooseEnum>(
38 "family", families,
"Specifies the family of FE shape functions to use for this variable");
39 params.addParam<MooseEnum>(
"order",
41 "Specifies the order of the FE shape function to use "
42 "for this variable (additional orders not listed are "
44 params.addRequiredParam<std::vector<Real>>(
45 "scaling",
"Specifies a scaling factor to apply to this variable");