Skip to content

davifeliciano/molecular_dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

molecular_dynamics

A basic simulation of particles under Lenard-Jones potential using the cell linked-lists method.

100x100p2500t100

The simulation consists of a 2-dimensional box with a number of particles with the potential of interation

and initial average velocity folowing the Maxwell Distribution. Integration of the equations of motion is done using Verlet Integration method. The mass of the particles, as well as the Boltzmann Constant are set to 1, for simplicity. Running main.py will plot, at the end of each step of integration, the relevant physical quantities of the system. Run main.py --help for usage info.

Make sure to intall Numpy and Matplotlib before running main.py.

About

A basic simulation of particles under Lenard-Jones potential

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages