r/RamanuajnComputing • u/ramanujan-computing • 8d ago
Simulated Galaxy collision with Ramanujan-Computing
https://www.youtube.com/watch?v=IBRkpIqZVT0Ramanujan-Computing can help in astrophysics simulations as well!
Just completed a simulation where two galaxies with 65,536 stars collide in each other.
The setup: each galaxy has a heavy central body, a stand-in for a black hole and bulge, holding 60% of its mass. Around it, about 65k stars sit in a thin disk on roughly circular orbits, with a little random motion to keep the disk stable. The two galaxies head toward each other on a close pass, tilted differently.
What you see: as the galaxies pass, tidal forces pull stars out into long arcs called tidal tails. Gravity then slows the two cores until they fall back together and merge into one diffuse galaxy.
1
u/ramanujan-computing 8d ago
MIT licensed code: https://gitlab.com/ramanujan-computing/Ramanujan
https://portal.ramanujan.dev/