Skip to content

jfaraudo/Monte_Carlo_Metropolis_Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monte Carlo simulations in Physics

Examples of Monte Carlo simulations in Physics using Metropolis-Hastings algorithm:

  • Lennard-Jones system at fixed density and temperature
  • Ideal two state model
  • Ising 2D model (interacting spins in absence of external magnetic field)

The two_state_snapshots python file performs a simulation at a given T The two_state python file explores many simulations at different T and plots the evloution of Energy, Heat capacity, etc as a function of T

A general description of the Metropolis Algorithm can be found in LibreText here

About

Python programs showing examples of applications of Metropolis Montecarlo method

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors