LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands
Syntax:
fix ID group-ID particletemplate/sphere seed keyword values ...
ID, group-ID are documented in fix command
particletemplate/sphere = style name of this fix command
seed = random number generator seed (integer value)
zero or more keyword/value pairs can be appended
keyword = atom_type or density or radius
atom_type
value = atom type assigned to this particle template
density
values = random_style param1 (param2)
random_style = 'constant' or 'uniform' or 'gaussian' param1 = density for 'constant', low value of density for 'uniform', expectancy value for 'gaussian' param2 = omitted for 'constant', high value of density for 'uniform', sigma value for 'gaussian'
radius values = random_style param1 (param2)
random_style = 'constant' or 'uniform' param1 = radius for 'constant', low value of radius for 'uniform' param2 = omitted for 'constant', high value of radius for 'uniform'
Examples:
fix pts1 all particletemplate/sphere 1 atom_type 1 density constant 2500 radius constant 0.0015
LIGGGHTS vs. LAMMPS Info:
This LIGGGHTS command is not available in LAMMPS.
Description:
Define a particle that is used as input for a fix_particledistribution_discrete command. You can choose the atom type, density and radius of the particles. For density and radius, you can choose between 'constant', 'uniform' and 'gaussian' random styles. It is thus possible to define a uniform or gaussian distribution on top of the discrete distribution defined by fix_particledistribution_discrete
IMPORTANT NOTE: As opposed to the number-based distributions used by fix_pour and fix_pour_legacy, this fix uses the more common distribution based on mass-% for the radius distribution (as does fix_particledistribution_discrete).
Restart, fix_modify, output, run start/stop, minimize info:
Information about the random state in this fix is written to binary restart files so you can restart a simulation with the same particles being chosen for insertion. None of the fix_modify options are relevant to this fix. No global scalar or vector or per-atom quantities are stored by this fix for access by various output commands. No parameter of this fix can be used with the start/stop keywords of the run command. This fix is not invoked during energy minimization.
Restrictions: none
Related commands:
fix_particletemplate_sphere fix_pour_dev
Default: radius = 1.0, density = 1.0, atom_type = 1