Lennard Jones Unity Model

The Unity model here is of a Lennard Jones potential applied to particles in a periodic box.

This was inspired by the 2D example in Landau et. al.’s A Survey of Computational Physics.

The Lennard-Jones potential is given by

\[u(r) = 4 \epsilon \left[ \left( \frac{\sigma}{r} \right)^{12} - \left( \frac{\sigma}{r} \right)^6 \right]\]

plot of Lennard Jones potential

and is used to model long range attraction and short term repulsion in atomic and molecular interactions.

Click here for the Unity project

plot of Lennard Jones potential

This makes use of the Unity Modeling Toolkit.

Written on April 5, 2023