www.mooseframework.org
Functions
BimodalSuperellipsoidsIC.C File Reference

Go to the source code of this file.

Functions

 registerMooseObject ("PhaseFieldApp", BimodalSuperellipsoidsIC)
 
template<>
InputParameters validParams< BimodalSuperellipsoidsIC > ()
 

Function Documentation

◆ registerMooseObject()

registerMooseObject ( "PhaseFieldApp"  ,
BimodalSuperellipsoidsIC   
)

◆ validParams< BimodalSuperellipsoidsIC >()

template<>
InputParameters validParams< BimodalSuperellipsoidsIC > ( )

Definition at line 20 of file BimodalSuperellipsoidsIC.C.

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

Referenced by validParams< BimodalInverseSuperellipsoidsIC >().

validParams< SpecifiedSmoothSuperellipsoidIC >
InputParameters validParams< SpecifiedSmoothSuperellipsoidIC >()
Definition: SpecifiedSmoothSuperellipsoidIC.C:17