Skip to content

Small code intended to perform molecular dynamics simulations of Lennard-Jones particles in NVE and NVT ensemble. Based on a source code by Prof. Mauro Ferrario (UNIMORE - Università degli Studi di Modena e Reggio Emilia)

Notifications You must be signed in to change notification settings

corettialessandro/nve-nvt_lennard-jones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nve-nvt_lennard-jones

Small code intended to perform molecular dynamics simulations of Lennard-Jones particles in NVE and NVT ensemble. Based on a source code by Prof. Mauro Ferrario (UNIMORE - Università degli Studi di Modena e Reggio Emilia)

It requires numba (https://numba.pydata.org) for the compilation of the force routine (calcener.py) in addition of the standard python routines for scientific computing (numpy, for example).

All routines needed in a MD code are contained in MDLJ_lib.py except for the one used to compute forces, which is contained in calcener.py. The files NVE_lj.py and NVT_lj.py call the routines in MDLJ_lib.py and contain the routines for perfoming a full MD simulation in the respective ensemble. Finally, the files NVE_main.py and NVT_main.py contain the call to the functions in the two previous files and set the parameters of the simulation.

About

Small code intended to perform molecular dynamics simulations of Lennard-Jones particles in NVE and NVT ensemble. Based on a source code by Prof. Mauro Ferrario (UNIMORE - Università degli Studi di Modena e Reggio Emilia)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages