Classes | Functions
BimodalSuperellipsoidsIC.h File Reference

Go to the source code of this file.


class  BimodalSuperellipsoidsIC
 BimodalSuperellipsoidsIC takes a specified number of superellipsoids, each with given parameters These are intended to be the larger particles. More...


InputParameters validParams< BimodalSuperellipsoidsIC > ()

Function Documentation

InputParameters validParams< BimodalSuperellipsoidsIC > ( )

Definition at line 16 of file BimodalSuperellipsoidsIC.C.

Referenced by validParams< BimodalInverseSuperellipsoidsIC >().

17 {
18  InputParameters params = validParams<SpecifiedSmoothSuperellipsoidIC>();
19  params.addClassDescription("Bimodal size distribution of large particles (specified in input "
20  "file) and small particles (placed randomly outside the larger "
21  "particles)");
22  params.addRequiredParam<unsigned int>("npart", "The number of random (small) particles to place");
23  params.addRequiredParam<Real>(
24  "small_spac",
25  "minimum spacing between small particles, measured from closest edge to closest edge");
26  params.addRequiredParam<Real>("large_spac",
27  "minimum spacing between large and small particles, "
28  "measured from closest edge to closest edge");
29  params.addRequiredParam<Real>(
30  "small_a", "Mean semiaxis a value for the randomly placed (small) superellipsoids");
31  params.addRequiredParam<Real>(
32  "small_b", "Mean semiaxis b value for the randomly placed (small) superellipsoids");
33  params.addRequiredParam<Real>(
34  "small_c", "Mean semiaxis c value for the randomly placed (small) superellipsoids");
35  params.addRequiredParam<Real>("small_n",
36  "Exponent n for the randomly placed (small) superellipsoids");
37  params.addParam<Real>("size_variation",
38  0.0,
39  "Plus or minus fraction of random variation in the "
40  "semiaxes for uniform, standard deviation for "
41  "normal");
42  MooseEnum rand_options("uniform normal none", "none");
43  params.addParam<MooseEnum>(
44  "size_variation_type", rand_options, "Type of distribution that random semiaxes will follow");
45  params.addParam<unsigned int>(
46  "numtries", 1000, "The number of tries to place the random particles");
47  return params;
48 }
InputParameters validParams< SpecifiedSmoothSuperellipsoidIC >()