HomeNanotechnology & MEMSConfined-Film Stick-Slip — Prandtl–Tomlinson Simulator (2D)

Confined-Film Stick-Slip: Prandtl–Tomlinson Simulator (2D)

Interactive 2D companion to the nanotribology squeeze-film simulator: instead of a scripted sliding animation, this integrates the real overdamped Prandtl-Tomlinson equation of motion with 4th-order Runge-Kutta, revealing stick-slip friction as a genuine emergent instability once the confined lubricant thins to a molecular monolayer.

Nanotechnology & MEMS2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-nanotribology ↗ Open standalone

This 2D companion to the nanotribology squeeze-film simulator keeps the same real solvation-force layering physics (confined layer count n = round(D/σ), oscillatory force F(D) ≈ e^(−D/ξ)·cos(2πD/σ)) but computes friction a genuinely different way. Instead of scripting a sawtooth or sine-wave slide, it integrates the actual overdamped Prandtl-Tomlinson equation of motion — a spring-driven tip riding a periodic lattice potential whose corrugation is screened by the number of confined lubricant layers — with 4th-order Runge-Kutta at every frame. Stick-slip is not switched on by a threshold: it emerges on its own once the dimensionless Tomlinson parameter η = 4π²U₀/(kσ²) crosses 1, exactly the bifurcation that produces the atomic-scale stick-slip friction traces measured by real AFM and Surface Forces Apparatus experiments. Squeeze the gap down to thin the film and watch the live hysteresis-loop panel switch from a smooth, single-valued curve to a jagged sawtooth as the confined layers stop screening the substrate's atomic corrugation.

⚙ Under the hood

2D companion to the nanotribology squeeze-film simulator: instead of a scripted sliding animation, the friction is computed by integrating the real overdamped Prandtl-Tomlinson equation of motion with 4th-order Runge-Kutta, so stick-slip emerges on its own once the confined lubricant thins enough that the Tomlinson parameter crosses 1.

nanotribologyprandtl-tomlinsonstick-slip frictionboundary lubricationsurface forces apparatusrunge-kutta

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)