Create multiple rigid body

Dear Lammps User,

I have created one sphere and make it rigid through fix rigid command. Is it possible to replicate this rigid sphere multiple times (let’s say 10 ) in the same region without overlapping each other?

Regards,

Tan

If you want to have those simulated as individual rigid spheres, then you cannot simply use the replicate command.

You could just create new non-overlapping regions and create new atoms inside those regions, turn them into groups or set different molecule IDs and then change the fix rigid settings accordingly.

axel.

If you are using the molecule option of fix rigid to identify rigid bodies,
and you have defined a sphere as a set of atoms with the same molecule
ID, then when you use the replicate command, each new sphere will be
assigned a new molecule ID. Thus if you use fix rigid after the
replicate, you will have 10 rigid bodies.

Steve