Skip to content

LJPotential2D

2D Lennard-Jones Potential

Syntax

Text Only
1
2
3
4
constraint LJPotential2D (1) [2] [3]
# (1) int, unique constraint tag
# [2] double, spacing, default: 1.0
# [3] double, alpha, default: 1.0

Theory

This constraint implements the Lennard-Jones potential for 2D systems, viz.,

VLJ=4α((σr)12(σr)6),

where r is the distance between two particles, σ is the size of particle, which is taken as one tenth of spacing [2].

The force is computed as

FLJ=VLJr=24αr((σr)62(σr)12).