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

Go to the source code of this file.

Classes

class  GrainAdvectionAux
 Calculates the advection velocity of grain due to rigid body motion Reports the components of the velocity on each element. More...
 

Functions

template<>
InputParameters validParams< GrainAdvectionAux > ()
 

Function Documentation

template<>
InputParameters validParams< GrainAdvectionAux > ( )

Definition at line 11 of file GrainAdvectionAux.C.

12 {
13  InputParameters params = validParams<AuxKernel>();
14  params.addClassDescription(
15  "Calculates the advection velocity of grain due to rigid body translation and rotation");
16  params.addParam<Real>(
17  "translation_constant", 1.0, "constant value characterizing grain translation");
18  params.addParam<Real>("rotation_constant", 1.0, "constant value characterizing grain rotation");
19  params.addParam<UserObjectName>("grain_tracker_object",
20  "userobject for getting volume and center of mass of grains");
21  params.addParam<VectorPostprocessorName>("grain_volumes",
22  "The feature volume VectorPostprocessorValue.");
23  params.addParam<UserObjectName>("grain_force",
24  "userobject for getting force and torque acting on grains");
25  MooseEnum component("x=0 y=1 z=2");
26  params.addParam<MooseEnum>("component", component, "The gradient component to compute");
27  return params;
28 }
Real component(const SymmTensor &symm_tensor, unsigned int index)