langevin_dynamics

In statistical physics, a Langevin equation (Paul Langevin, 1908) is a stochastic differential equation describing the time evolution of a subset of the degrees of freedom.

https://img.shields.io/travis/tautomer/langevin_dynamics.svg?branch=master https://coveralls.io/repos/github/tautomer/langevin_dynamics/badge.svg?branch=master Documentation Status

Python Boilerplate contains all the boilerplate you need to create a Python package.

Features

  • A simple python program for 2D many-particle Lagevin equation simulation.
  • Required input values are read from a file named input and output file is called trajectory.txt.
  • Potential is based on simply y = c*sin (a*x2+ b*y2), which may not be physical at all. You can change a,b and c in main program to get your own potential file.
  • Periodic boundary conditions enabled.
  • Paralleled main dynamics loop
  • Real-time display is added to the program. (Note: cause the program to become really slow.)
  • For more information please check langevin_dynamics.info.

Note

  • Please modify input under langevin_dynamcis folder before running simulations.

TODO

  • Adding a module to convert tracjectories into gif to avoid performance issue.
  • Including more physical potentials, such as Lennard-Jones potential.
  • Re-structure the code to use higher level parallelism, and may introduce C/Fortran implementation for heavy computations.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

This folder contains simply the documentations for lagevin dynamics code.