Discussion about this post

User's avatar
Connor Stephens's avatar

"Because MD time-steps are limited to femtoseconds — due to increasing instability and inaccuracy upon integrating Newton’s second law if pushed beyond that..."

There are some interesting things that go into the fs timescale stability limit, and even getting stable 2fs timesteps is nontrivial. In particular, when you discretize the time of your simulation you come up against the Nyquist–Shannon sampling theorem — essentially if you want to approximate the continuous time dynamics of your system, then you need to take small enough timesteps to capture the fastest timescales of motion. If you just naively set up your system, then you run into a real problem with hydrogen.

Because hydrogen is so light, H-X bond-length vibrations have a period of ~10fs. If you were to take ~10fs timesteps, then you could very easily ‘clip’ a hydrogen into its bonded partner, leading to VdW forces blowing the atoms apart on the next simulation step. Instead, you need to take ~0.1 fs or so timesteps so that you correctly model these vibrations — rough. A simple way to fix the above problem is just to treat the H-X bond length as fixed (e.g. the SHAKE / RATTLE algorithms), then you have no bond-length vibrations, and now you can worry about the next fastest timescale in your system (hint, still hydrogen)! This is the default setting in most MD software, and usually allows for stable ~2fs timesteps for biomolecule simulations in water.

Even having fixed the H-X bond lengths, the torsional period of hydrogen e.g. H-C-H is ~100fs, contributing to instability when you integrate over timesteps larger than 2fs. We can’t apply the same fix as last time, since simply fixing these torsion angles would make simulated molecules behave super unrealistically. A clever trick people use is to instead do something called ‘hydrogen mass repartitioning’ (HMR), in which you distribute some of the mass of the heavy partner in the H-X bond into the hydrogen atom — e.g. often the hydrogen mass is set to 2 amu, in which case each hydrogen in an H-X bond ‘borrows’ 1 amu of mass from its heavy partner. This more-or-less maintains the centre of mass / moment of inertia etc of most molecules, but effectively doubles the natural period of fast motions like H-X-H bond torsions, often allowing for a doubling of the stable timestep to 4fs. This seems kinda lame, but when your simulations take on the order of days we take these wins. This does make hydrogens behave differently in simulation, and so depending on what kind of systems / interactions the MD simulations are being used to study this isn’t always a great option, so 2fs is more or less the granularity of 95% of MD work on proteins.

Expand full comment

No posts