⚛️ 2D LJ Fluid

Gas
Liquid
Solid
Temperature0
Total energy0
Pressure (virial)0
Avg. speed0
Phaseliquid
Atoms interact through the Lennard-Jones potential V(r)=4ε[(σ/r)¹²−(σ/r)⁶], integrated in 2D with velocity-Verlet. A velocity-rescaling thermostat holds the target temperature (T = KE/N in 2D, kB=1). Above ~150 atoms a grid-based cell list restricts force search to the cutoff radius so the simulation stays near 60 fps.