HPC Tier Module

Lennard-Jones Molecular Dynamics

Velocity-Verlet Lennard-Jones molecular dynamics with measured energy conservation as the trust verdict.

Worked example: Reduced LJ liquid (N=64)
Inputs
Number of particles N64
Reduced number density rho = N / L^30.6
Initial temperature T0 (reduced, k_B = 1)1
Time step dt (reduced)0.004
Integration steps1500
Result

LJ MD: 64 particles, 1500 velocity-Verlet steps. Energy invariant max|dE/E| = 1.733e-4 -> ECONS_TIGHT_2; total momentum stays 1.87e-14 (~0). Two-body anchor: U(r_min) = -1.0000 (exact -eps), force ~ 0. GeoNum drift on the energy sum = 2.3/2048 shades -> GTI VALID (a conditioning signal on the arithmetic, not extra precision). Microcanonical NVE in reduced units; chaotic microstate not certified.

Particles N64
Box side L (sigma)4.7425
Reduced density rho0.6000
Cutoff r_c2.3689 (clamped to < L/2)
Steps x dt (sim time)1500 x 0.004 = 6.000
Initial energy E0-143.181589
Max relative energy drift |dE/E|1.7329e-4
Total-momentum magnitude (max)1.874e-14 (invariant ~ 0)
Mean temperature (reduced)0.8580
Final temperature (reduced)0.9217
Two-body anchor U(r_min)-1.000000 (exact = -eps = -1.000000)
Two-body anchor force(r_min)-2.374e-15 (exact = 0)

Computed by Lennard-Jones Molecular Dynamics v1.0.0, the same plugin code the GDBS app runs, when this page was built. To run it on your own figures, open it in GDBS HPC.

The problem

Many-body trajectories are chaotic, so a long MD run cannot certify the exact microstate - yet engineers still need confidence that the simulation conserved the invariant a symplectic integrator is built to hold.

The local-first solution

This plugin runs N-particle Lennard-Jones dynamics with the velocity-Verlet integrator in a periodic minimum-image box in your browser, measures the max relative drift of total energy, and maps that residual to the trust ladder - certifying the conserved quantity, not the long-term microstate. Deterministic f64 math, nothing uploaded.

What it does

Lennard-Jones 12-6 pair potential and its exact analytic force
Velocity-Verlet symplectic, time-reversible integration with O(dt^2) bounded drift
Periodic boundary with minimum-image convention and a smooth shifted cutoff
Two-body validation anchor at r_min=2^(1/6) sigma where the force is exactly zero
Measured total-energy and total-momentum conservation diagnostics
GeoNum conditioning probe of the cancelling KE+PE energy summation

Honest scope

EXACT: the LJ potential/force algebra, velocity-Verlet update, minimum-image displacement, and conservation diagnostics in f64. Runs in reduced LJ units by default; mapping to a real substance uses dated eps/sig inputs (the argon preset cites Rahman 1964), all echoed back. NOT modeled: long-range tail corrections, thermostat/barostat (this is microcanonical NVE - temperature is reported, not controlled), neighbor lists (direct O(N^2), so N is kept modest), or electrostatics. A prototype, not production MD.

Authorities cited

Get an email when tools like this one change

Leave your email and we will tell you when we add or update Numerics & Tools tools like this one, at most once a month.

We email you once to confirm. After that, unsubscribe from any issue in one click. Your address goes to VaultSync only (privacy).

Related tools

Run MD with conservation certified

Run the simulation in your browser with nothing uploaded, then route the energy-drift verdict and trajectory diagnostics into a Sandbox workspace or attach them to a Worklog case.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com