Particles¶
Particles are created and initialized in the input_data batch. The rotating drum deck:
init_rcb_gridbuilds the MPI domain decomposition: it must come before every particle-creation operator.particle_typedeclares the type names used by the following operators (spheres only: with polyhedra, the types are the shapes read byread_shape_file).latticefills a region with particles (SC,BCC,FCC, ... structures).set_fieldssets the fields of each type: radius, density (the mass is deduced), velocity with an optional random perturbation, orientation, and thegroupused to select the contact parameters.
See Particle fields for all the field operators, and Particles for polyhedra.
Other ways to create particles
Particles can also be read from a file (XYZ, Rockable, checkpoint) or generated with the RSA algorithm (External Packages).