www.mooseframework.org
Functions
GrainAdvectionVelocity.C File Reference

Go to the source code of this file.

Functions

template<>
InputParameters validParams< GrainAdvectionVelocity > ()
 

Function Documentation

template<>
InputParameters validParams< GrainAdvectionVelocity > ( )

Definition at line 11 of file GrainAdvectionVelocity.C.

12 {
13  InputParameters params = validParams<Material>();
14  params.addClassDescription(
15  "Calculation the advection velocity of grain due to rigid vody translation and rotation");
16  params.addRequiredCoupledVarWithAutoBuild(
17  "etas", "var_name_base", "op_num", "Array of other coupled order parameters");
18  params.addCoupledVar("c", "Concentration field");
19  params.addParam<Real>(
20  "translation_constant", 500, "constant value characterizing grain translation");
21  params.addParam<Real>("rotation_constant", 1.0, "constant value characterizing grain rotation");
22  params.addParam<std::string>("base_name",
23  "Optional parameter that allows the user to define "
24  "type of force density under consideration");
25  params.addParam<UserObjectName>("grain_data",
26  "UserObject for getting the center of mass of grains");
27  params.addParam<UserObjectName>("grain_force",
28  "userobject for getting force and torque acting on grains");
29  params.addParam<VectorPostprocessorName>("grain_volumes",
30  "The feature volume VectorPostprocessorValue.");
31  return params;
32 }