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

Go to the source code of this file.

Classes

class  GrainAdvectionVelocity
 This Material calculates the advection velocity, it's divergence and derivatives acting on a particle/grain. More...
 

Functions

template<>
InputParameters validParams< GrainAdvectionVelocity > ()
 

Function Documentation

◆ validParams< GrainAdvectionVelocity >()

template<>
InputParameters validParams< GrainAdvectionVelocity > ( )

Definition at line 16 of file GrainAdvectionVelocity.C.

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