planelles20 / vicsek-model-3D

This repo simulates some particle systems using openGL and cuda.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

This repo simulates some particle systems using openGL and cuda.

License:Apache License 2.0


Languages

Language:Cuda 55.8%Language:C++ 34.0%Language:JavaScript 9.3%Language:Makefile 0.5%Language:GLSL 0.4%