-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
If you are unsure if the conventions for quaternions are the same between rowan and Lammps, you can check it in rowans docs here . In particular it says: Quaternions are encoded as arrays of shape It seems you are using the old version of Freud. For old API the compute expects QUATERNIONS not orientations. If you use the new freud nematic API (v3.0+), the Nematic constructor no longer requires a "director". Instead you can just provide the orientations to the compute. |
Beta Was this translation helpful? Give feedback.
The [1,0,0] vector should be the starting, reference orientation of your shapes you simulated in lammps. The quaternion defines the rotation of this starting orientation into a new orientation (presumably at a given simulation frame/snapshot) for each particle. The nematic director has nothing to do with this starting orientation of your particles.
The computed nematic director is [0,0,-1] - blue arrow, which is along the z axis. Based on the figure, your orientations seem to be pointing along the z axis, so the result makes sense. Two things that might have gone wrong here is the starting orientation of your particles ([1,0,0]), and computation of the orientations. You should go back to …