Skip to content

Simple simulation of moving particles confined in a box with visualization tool.

Notifications You must be signed in to change notification settings

marszalekm/particles_in_box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Particles in box

Script generates system of moving particles (points) confined in a box of a chosen size. When points reach (defined) vicinity of other ones, they form aggregates and continue moving together. Results are stored in xyz file, adapted to simple visualization script.

General workflow:

  • Points of origin are generated and added to the file.
  • Loop starts and algorithm checks distances between all points.
  • Random vectors are generated.
  • Particles that are in given vicinity from now will move with the same vector.
  • Conditions of periodic boundary conditions are checked i.e. so the points won't cross given box size.
  • Step with coordinates is saved to the file.

About

Simple simulation of moving particles confined in a box with visualization tool.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages