N-Body Problem Simulation, 96 Masses, Random Start | Gravity | Physics Simulations

preview_player
Показать описание
A simulation of the n-body problem with 96 masses. The initial positions of the masses are random within a circle of a certain radius. The initial velocities of the masses are random, with a slight net angular momentum given to the system. The forces between the masses are proportional to (1/r²)(2/(1 + e^(-3 * (r/20)^(4))) - 1) (a smoothed 1/r² function).

- all masses equal
- random start
- chaos / chaotic motion
- velocities and positions calculated using Runge-Kutta methods
- 25fps, 90s
- programmed in C#

#Physics #PhysicsSimulations #ThreeBodyProblem #Gravity
Рекомендации по теме
Комментарии
Автор

This is a very good depiction of what the newly formed solar system looked like. Hundreds of protoplanets orbiting a star. It could have been more realistic if the planets were able to collide and merge

aayushkothekar
Автор

Now try to find a stable periodic choreography for 96 bodies! 😉😁😂

ksp-crafter
Автор

The deviation from initial center of mass (supposed to be standstill) shows the limitations of this calculus (accumulation of tiny errors becoming huge).

davidt
Автор

Nice! Why only 1:30 min, pls do a 10 hours video

Vladi_mir_M
Автор

Without collision, this resembles proposed dark matter particles like axions. It appears to model the clustering seen with dark matter.

WestOfEarth
Автор

That was glorious!! Now do it for an hour. 😁
Even better can you just live stream one of these sims all day?

aSpyIntheHaus
Автор

I've been trying to make a rough simulation of the gravity of a singularity but there's been this issue where an object would approach the center and get pinged very far away or even out of bounds.

samuels
Автор

Huh, it did form a cluster. Are those clusters long term features, tho?

VeteranVandal
Автор

Nothing like a solar system will form here.
I been running sims like this for 15 years.
The only way it can form is when one of a binary pair of stars goes nova.
Then the solar system forms in just a few thousand years.
(Detail in comment below:)

jonathanbaincosmologyvideo
Автор

How it can be a simulation without collision?

cipherxen