OpenCL Multibody Simulation (1)
Channel:
Subscribers:
108
Published on ● Video Link: https://www.youtube.com/watch?v=FX8NEgX-9kM
Just a quick video about my work yesterday - I implemented a solution to the N-body system. It's no way optimized yet and I speeded up the video 3x.
What you see is a collection of ~7500 particles interacting with each another through gravitational force (~1/r_ij potential, with r relative distance between particles i and j). The particles were all at rest at time 0 and were equally distributed inside a cube (white outlines). With progressing time you can see the particle cloud collapsing inwards to the center of mass and form a dense cluster. Some particles are accelerated outwards so they can escape the gravitational potential.
Other Videos By Rav3n
Tags:
opencl
opengl
nbody
program
c++