Skip to content

This repo simulates some particle systems using openGL and cuda.

License

Notifications You must be signed in to change notification settings

planelles20/vicsek-model-3D

Repository files navigation

Vicsek model 3D

One motivation of the study of active matter by physicist is the rich phenomenology associated to this field. Collective motion and swarming are among the most studied phenomena. Within the huge number of models that have been developed to catch such behavior from a microscopic description, the most famous is the so-called Vicsek model introduced by Tamás Vicsek et al. in 1995. (From Wikipedia)

Model (mathematical description)

angles vicsek equation

velocity vicsek equation

position vicsek equation

Algorithm

algorithm diagram

Results of simulation

Simulation data
    - Number of particles: 32768
    - Number of cells: 1000000
    - Distance r: 0.01
    - Cell size (x,y,z): (0.01, 0.01, 0.01)
    - Domain: [0,1]x[0,1]x[0,1]
    - Periodic boundary conditions (PBCs)
    - Noise: normal distribution with  mean value 0 and standard deviation 0.1
    - time step: 0.0005

YouTube video

Vicsek model 3D gif