Simulating Rigid Bodies with charged constituents #1789
-
Hello All, I'm trying to run rigid body simulations with charged constituent particles. I need help with the following two points.
Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Unlike the other keys in GSD does store information on the constituent particles (including the charge). When you load the system state from a GSD file containing constituent particles, there is no need to call To restate: If you are migrating from a previous version of HOOMD-blue, then there is no change in the behavior of |
Beta Was this translation helpful? Give feedback.
Unlike the other keys in
body
(type, position, and orientation):constrain.Rigid
has never automatically set charges on constituents on every time step. Moving the dictionary tocreate_bodies
reflects the actual behavior. When you callcreate_bodies
, it will set the charges on the constituent particles that once.GSD does store information on the constituent particles (including the charge). When you load the system state from a GSD file containing constituent particles, there is no need to call
create_bodies
- it is a convenience method to place particles that you could also place by other means.To restate: If you are migrating from a previous version of HOOMD-blue, then there is no cha…