Particles of diferen diameters and densities

Submitted by rfbrpr on Mon, 08/13/2012 - 01:05

Hello:

I'm a novel user of LIGGGHTS, first of all I'd like to apologise for my simple question. I'd like to generate ten particles that their position, diameters and densities are different. How could I implement that in Liggghts?

Thank you in advance

cstoltz | Mon, 08/13/2012 - 21:49

If you're looking to create a collection of particles, check out the documentation for the 'fix_particletemplate_sphere' and 'fix_particledistribution_template' commands. The first one allows you to specify a radius and density for each particle, and the latter lets you define the distribution of each type that you want to include.

If you're instead just wanting ten specific individual particles, use the command 'create_atoms' to place single particles in the system, and then use 'set' commands to specify the diameter and density of each.

Regards,
Chris