It is typically modeled using a "6–12 Lennard-Jones potential", which means that attractive forces fall off with distance as "r" and repulsive forces as "r", where r represents the distance between two atoms.