2.2.5 create_particle
create_particle is used to define the dimension of the simulation box.
Syntax:
create_particle type style args
- type: only this type of particles to be created
- style: type of the create_particle command
- random_no_overlap: microstructure generator for creating particles with no overlap
- N region-id cell-length random-seed
- single: create single particle by coordinates
- spacing: create particle uniformly in a specified region
- region-id: id of the region created by region command
Examples:
create_particle 1 random_no_overlap 100 box1 0.5 23432 create_particle 2 single 0.5 0.5 1.0
Description:
If the style random_no_overlap is used, sphere particles are created randomly over the region domain and no
overlap is allowed. If the style spacing is used, particles are generated uniformly and the lattice spacing is defined
by the lattice command. If the style single is used, only one particle is created based on the user-defined
coordinates.
Restriction:
It has to be after the simulation box is defined.