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

Go to the source code of this file.

Classes

class  NonconservedAction
 

Functions

template<>
InputParameters validParams< NonconservedAction > ()
 

Function Documentation

◆ validParams< NonconservedAction >()

template<>
InputParameters validParams< NonconservedAction > ( )

Definition at line 27 of file NonconservedAction.C.

28 {
29  InputParameters params = validParams<Action>();
30  params.addClassDescription(
31  "Set up the variable and the kernels needed for a non-conserved phase field variable");
32  // Get MooseEnums for the possible order/family options for this variable
33  MooseEnum families(AddVariableAction::getNonlinearVariableFamilies());
34  MooseEnum orders(AddVariableAction::getNonlinearVariableOrders());
35  params.addParam<MooseEnum>("family",
36  families,
37  "Specifies the family of FE "
38  "shape functions to use for this variable");
39  params.addParam<MooseEnum>("order",
40  orders,
41  "Specifies the order of the FE "
42  "shape function to use for this variable");
43  params.addParam<Real>("scaling", 1.0, "Specifies a scaling factor to apply to this variable");
44  params.addParam<bool>("implicit", true, "Whether kernels are implicit or not");
45  params.addParam<bool>(
46  "use_displaced_mesh", false, "Whether to use displaced mesh in the kernels");
47  params.addParamNamesToGroup("scaling implicit use_displaced_mesh", "Advanced");
48  params.addParam<MaterialPropertyName>("mobility", "L", "The mobility used with the kernel");
49  params.addParam<std::vector<VariableName>>("args",
50  "Vector of variable arguments this kernel depends on");
51  params.addRequiredParam<MaterialPropertyName>(
52  "free_energy", "Base name of the free energy function F defined in a free energy material");
53  params.addParam<MaterialPropertyName>("kappa", "kappa_op", "The kappa used with the kernel");
54  params.addParam<bool>("variable_mobility",
55  true,
56  "The mobility is a function of any MOOSE variable (if "
57  "this is set to false, L must be constant over the "
58  "entire domain!)");
59 
60  return params;
61 }