How to add different types of atoms in simulation

Submitted by skepticalgavin on Fri, 04/05/2024 - 16:50

Hello,

I want to use spheres and one superquadric (cylinder) in my simulation. However, it turned out to be illegal when I tried using two types of atom (atom_style granular; atom_style superquadric).

I know I can still use superquadrics to represent sphere (just set both "blockiness" as 2), but, in this case, the rotation is not updated and the angular velocity is always 0.

I use nve/superquadric (scheme 1) for integration:

fix integ bed nve/superquadric integration_scheme 1

So, how should I deal with either problems?

Thanks

skepticalgavin | Fri, 04/05/2024 - 17:11

The latter problem (no rotation using only superquadric) is solved. However, I would still like to know whether we could use different types of atoms.