🧪 Lennard-Jones Gas: Molecular Dynamics of a Real-Gas Model
Molecular dynamics of a Lennard-Jones gas in two dimensions: velocity Verlet, a Berendsen thermostat, virial pressure, radial distribution function, diffusion and the Maxwell-Boltzmann speed law, with presets from dilute gas to crystal and eight in-page numerical checks including the second virial coefficient.
⚙ Under the hood
Molecular dynamics of a Lennard-Jones gas in two dimensions: velocity Verlet, a Berendsen thermostat, virial pressure, radial distribution function, diffusion and the Maxwell-Boltzmann speed law, with presets from dilute gas to crystal and eight in-page numerical checks including the second virial coefficient.
Lennard-Jonesmolecular dynamicsvirialreal gasradial distribution functionMaxwell-Boltzmanndiffusion
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install