Skip to content

exploration of MD simulations in MATLAB using the Verlet integrator

Notifications You must be signed in to change notification settings

zhaonat/molecular_dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

molecular_dynamics

exploration of MD simulations in MATLAB. A lennard-Jones potential is used for both 2D and 3D (the function is easily differentiable so we can calculate the force and hence acceleration of the particles, which is needed for the Verlet algorithm).

2D Simulations

practice for 3D, just want to get the basic idea of the Verlet integrator demonstrated.

simulations

contains all the main scripts which can be directly run in the MATLAB window.
For the 2D case, the main verlet algorithms are implemented directly inside the script (instead of partitioned as functions) since they are not too complicated.

fig

3D simulations

run_md

This folder contains all the requisite functions required to run the verlet update in the scripts of the simulations folder. Contrary to the 2D case, the extra degrees of freedom in the 3D case makes it a bit more convenient to modularize the Verlet algorithm.

simulations

Contains all the scripts to execute the molecular dynamics simulation of particles sitting in an Lennard-Jones potential. fig

About

exploration of MD simulations in MATLAB using the Verlet integrator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages