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

Go to the source code of this file.

Classes

class  ElementPropertyReadFile
 

Functions

template<>
InputParameters validParams< ElementPropertyReadFile > ()
 

Function Documentation

template<>
InputParameters validParams< ElementPropertyReadFile > ( )

Definition at line 16 of file ElementPropertyReadFile.C.

17 {
18  InputParameters params = validParams<GeneralUserObject>();
19  params.addClassDescription("User Object to read property data from an external file and assign "
20  "to elements: Works only for Rectangular geometry (2D-3D)");
21  params.addParam<FileName>("prop_file_name", "", "Name of the property file name");
22  params.addRequiredParam<unsigned int>("nprop", "Number of tabulated property values");
23  params.addParam<unsigned int>("ngrain", 0, "Number of grains");
24  params.addParam<MooseEnum>("read_type",
25  MooseEnum("element grain none", "none"),
26  "Type of property distribution: element:element by element property "
27  "variation; grain:voronoi grain structure");
28  params.addParam<unsigned int>("rand_seed", 2000, "random seed");
29  params.addParam<MooseEnum>(
30  "rve_type",
31  MooseEnum("periodic none", "none"),
32  "Periodic or non-periodic grain distribution: Default is non-periodic");
33  return params;
34 }