Python for Physics: Animating Interacting Particles

Опубликовано: 31 Январь 2024
на канале: Angry Physicist
2,964
64

In this video, we simulate and animate particles interacting in a Lennard-Jones potential in Python using periodic boundary conditions. At each time step, we integrate the equations of motion for the particles using a popular molecular dynamics algorithm: the velocity Verlet algorithm. We use the simulation data to animate the trajectories of the particles using matplotlib.

GitHub code: https://github.com/louishrm/lennard_j...

0:00 Introduction
1:14 The Lennard-Jones potential
3:04 Initial conditions
4:16 Force and periodic boundary conditions
8:20 Equation of motion and integration
14:42 Running the simulation
15:27 Conservation of energy and velocity distribution
17:15 Animation


На этой странице сайта вы можете посмотреть видео онлайн Python for Physics: Animating Interacting Particles длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Angry Physicist 31 Январь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 2,964 раз и оно понравилось 64 зрителям. Приятного просмотра!