Molecular dynamics simulation

From apm
Revision as of 10:00, 30 April 2022 by Apm (Talk | contribs) (added link to yet unwritten page Molecular dynamics implementation cheat sheet)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is about non-quantum-mechanical classical mass and spring simulations of molecular systems.

A classical non-quantum mechanical simulation can work quite well because
nanomechanics is barely mechanical quantummechanics.

Especially in the case of crystolecules their dynamic behavior is usually not at all sensitive on small
inaccuracies/perturbations which can be the case for protein folding problems.

For things like tooltip chemistry in piezomechanosynthesis more accurate quantumchemistry simulation metods are needed.

Suitability for simulation of cog & gear style gemstone based nanomachinery

Unlike in the problem of predicting the folding of natural proteins (a common application of molecular dynamics)
nanomachinery out of crystolecules will typically be designed to not feature highly unstabel states where
tiny differences in the starting conditions leads to vastly different states at the end of the simulation (the hallmark of chaotic systems).

Concrete example:

  • A half folded protein might be at a state where a tiny nudge leads to completely different folding states. E.g. one ball-like, one rod-like.
  • A diamond bearing in operation needs an extremely brutal "nudge" that obliterates it (deshells it) to end up in a state vastly apart from prediction.

In short: Gem-gum nanomachinery is robust against perturbations.
As such successful nanomachinery operation in simulations indicates real-world functionality with very high reliability.
Well, that is as long as material strains are not put to the absolute limit (easy) and other potential issues are engineered around.
Potential issues include badly modeled:

Regarding the accuracy of predictions for the level of friction losses from such simulations the situation is less clear cut.
See related paper: Evaluating the Friction of Rotary Joints in Molecular Machines (paper) and Friction in gem-gum technology
Overall the predictions for friction are very favorable for feasibility of practically useful highly performant production and other devices.

The three kind of springs

There are three forces/moments that nead to be treated:
stretchning/compression, bending, and torsion

  • bond stretch and compression - e.g. modeled by the Lennard Jones potential
  • bond bending relative to other bonds
  • bond torsion over three bonds - dihedral angle

MD simulation models need two things:

  • The force field models – how forces/moments change with lenght-changes and angle-changes
  • Parameters for these models

Computational complexity

With larger sizes of simulated systems molecular dynamic simulations can
quickly become quite computationally expensive and slow.

Calculating all non-local interactions of atoms gives (n^2-n)/2 interactions to handle.
So this would scale with O(n^2). Practically a cutoff distance is implemented.
Unfortunately such a cutoff is not sufficient to drop the complexity down to O(n).

The problem are indirect interactions of the kind:
Atom1 pushes atom2 pushes atom three pushes .... pushes atom N.
Where in naive molecular dynamic simulation implementations it will take
n steps for the pushing to propagate n atoms.
Worse if the equilibration is a wave needing to run back and forth the chain of atoms several times to reach a state near equilibrium.

A novel(?) optimization strategy

Unlike proteins crystolecules have much stronger internal bonds in all directions (all covalent).
This may provide an opportunity for massive acceleration of molecular dynamic simulations by some smart optimizations.

The idea:
Instead of only displacing and rotating all atoms individually depending on their current local environment
use a global space distorting displacement vector field that contains low spacial frequencies.

That global space distorting displacement vector field could be calculated from

  • a global stress vector field and
  • an approximated bulk stiffness tensor field

Both calculated from the local interactions

Spacial Fourier transformations of the fields may be helpful.
Especially the low spacial frequency components are the ones that can bridge to far away areas
within one computational step, circumventing the need for propagating forces and displacements
from one atom to the next each taking a computation step.

Maybe such techniques do already exist.
(TODO: Investigate if such MD simulation optimizations exist.)
Suspicion: They may not yet exist because they may not be very applicable/effective
for simulations of protein which is one of the main application cases of today(2021)

Calculating temporal evolution – aka integration of equations of motion

Desired are "stable" integration algorithms.
That is the modes don't tend to "explode".

One issue (especially with bigger simulation time-steps) is that
atomic nuclei can end up way too close together where electrostatic repulsion force is excessive
and in the next simulation step they shoot off far far out of the simulation area
very much not representing actual physics.

Related

External links

Wikipedia: