Jakin,
Does the issue persist when you remove PCND?
The proper way to use ZeroMomentum is not to use it at all. `hoomd.md.methods.NVT` is momentum conserving and there is no need to drastically slow your simulation by applying the CPU implemented ZeroMomentum on every time step.
If you have unknown velocity inputs and prefer not to thermalize the velocities to new random ones, ZeroMomentum is useful to run only on the first timestep to remove any center of mass motion before starting the simulation.
If you have a large amount of momentum drift in your simulation, you may have set too large a step size or may have overlapping particles in the initial configuration. Also check that all forces (such as your new PCND) sum to 0 across the system.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
> --
> You received this message because you are subscribed to the Google Groups "hoomd-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
hoomd-users...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hoomd-users/ff35e91f-d911-4909-b9a7-94a6a7da496en%40googlegroups.com.
> <multi_chain_Xi_0.1_NVT.gsd><
multi_chain_Xi_0.01_MWE.py><MSD_Small_Xi_Tau_100_Zeroer_Comps.png>