Hello everyone!
I’m currently implementing a model of a linear molecule composed of three particles, where the intramolecular interaction is defined using bond and angle harmonic potentials. The intermolecular interaction is modeled using a Lennard-Jones potential with a cutoff of 2.2. However, I’m facing an issue with the dynamics of the system after a certain simulation time when trying to fix the angle using the rigid/small
style.
Upon analyzing the results using VMD, I observed a significant discrepancy in the particle coordinates when utilizing the xu yu zu
and x y z
styles. Specifically, the “unwrapped” coordinates show an abrupt drift of the entire simulation box in a certain direction. I have tried different ensembles, but it is intriguing that in NPT (constant number of particles, pressure, and temperature) simulations, the x y z
coordinates remain centered, and the system does not exhibit any drift. Additionally, all thermodynamic parameters seem to be stable without any temporal drift.
I have attempted several variations, such as adjusting the time_step, using fix_recenter
, fix_momentum
, and neigh_modify exclude
, but none of these approaches have resolved the issue. In all cases, using the xu yu zu
styles, the system experiences unexpected behavior. However, when using rattle
and fixing the angle, I have not encountered any problems, although it is not recommended for linear molecules.
I would greatly appreciate any guidance or suggestions on why this discrepancy in the particle coordinates is occurring and how I can effectively resolve it. Are there any special considerations I should be aware of when using the rigid/small
style in such simple linear molecule systems?
Thank you all for your time and expertise! Any help would be highly appreciated.
Best regards,
Cristian