adding quaternion to fix_insert_pack

Submitted by zamir on Wed, 04/27/2016 - 04:53

Hi All,

Some of you may have seen my old post that describes how to add quaternions to spheres, found here:
http://www.cfdem.com/forums/fix-nvesphereorientation
I'm trying to use it with fix insert/pack but it seems quaternions are not inherent particle properties, even though I set 'atom style hybrid sphere ellipsoid." I have a suspicion that fix insert/pack automatically creates spheres without quaternions, but I'm not sure.

How do I easily add quaternions to particles created by fix insert/pack???

I will post the operators I modify.

Zamir

zamir | Wed, 04/27/2016 - 08:25

Ah nevermind, I figured it out. Before using the set command to define the quaternions, I had to set the 3 shape parameters for the ellipsoid atom style.