Universe Sandbox
General Category => Everything Else => Topic started by: vh on January 20, 2016, 06:34:27 PM
-
i wrote a gravity simulator. 65536 bodies
once i get the parameters of the code fine-tuned, i'm going to try a one million body, ten thousand timestep simulation
-
0 years
(https://dl.dropboxusercontent.com/u/42218552/years/0.png)
-
3 billion years
(https://dl.dropboxusercontent.com/u/42218552/years/1000.png)
-
6 billion years
(https://dl.dropboxusercontent.com/u/42218552/years/2000.png)
-
9 billion years
(https://dl.dropboxusercontent.com/u/42218552/years/3000.png)
-
12 billion years
(https://dl.dropboxusercontent.com/u/42218552/years/4000.png)
-
nice
-
i hope to be able to do this with SPH in US2 someday.
-
i suggest using something like this instead
http://wwwmpa.mpa-garching.mpg.de/gadget/
-
beautiful galaxies
-
Impressive. Do the edges wrap? Is everything equally distributed or (presumably something caused stuff to start clumping)?
-
yup, edges wrap, and the force of gravity wraps too (that was a nasty implementation detail). everything starts on a uniform grid with slight perturbations to position and velocity