2.2.5 create_particle

create_particle is used to define the dimension of the simulation box.

Syntax:

create_particle      type style args

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.