OpenWorldLab

Loading interactive view…

Gravity simulator

A thousand stars round a black hole

A black hole as heavy as the one at the centre of our galaxy, four million Suns, with a thousand stars swarming round it out to 6,000 AU. Every star is a body of its own: it has its own mass and colour, and it pulls on every other star while they all fall round the black hole. That is half a million pulls, worked out again every frame.

Stars of every size

The stars’ masses are drawn as real stars’ are born: by Kroupa’s initial mass function, which makes most stars small. Half are under 0.28 of the Sun’s mass, dim red dwarfs, and only about one in a hundred is heavier than eight Suns, blue and bright. Each star’s colour follows from its mass, as on the main sequence.

Orbits tipped every way

Round the black hole at the Milky Way’s centre, the closest stars, the S stars, orbit in every direction, not in one plane as planets do. Here too: each orbit is tipped at random. Its size is anywhere from 300 to 6,000 AU, spread evenly in logarithm, so there are as many between 300 and 600 AU as between 3,000 and 6,000. Its eccentricity, how stretched it is, follows the ‘thermal’ spread, in which the square of the eccentricity is evenly spread, so most are long ellipses. None comes within 100 AU of the black hole. The innermost go round in about 2.6 years, ten seconds on screen; the outermost take 230 years, a quarter of an hour.

How a thousand bodies are stepped

The black hole outweighs all the stars together, about 500 Suns, nearly eight thousand times over, so each star’s path is nearly a Kepler ellipse round it. The simulator uses that, by the Wisdom–Holman method: each step, every star moves exactly along its ellipse round the hole, then is kicked by the pulls of all the others. Pairs that pass close take shorter steps of their own, so near misses are followed too. Over a lap of the innermost stars, the total energy changes by less than a part in a million.

This runs under Newton’s law. Close to the black hole relativity turns each orbit a little every lap, but the nearest pass here, 100 AU, is some 1,300 times the horizon’s radius out, where the turn is under half a degree a lap.

What to look for

Over many laps the stars’ pulls on one another slowly reshape their orbits: tilts drift, ellipses swell and shrink. Real nuclear star clusters relax the same way, over millions of years. Now and then two stars pass close enough to swing each other onto new orbits, and a star that strays inside the horizon is swallowed.

What’s on screen

The ideas behind what the scene shows, each with what the simulator does and leaves out, and where to read more.

Stars round the Milky Way’s black hole

Stars orbiting the middle of our galaxy weigh the black hole there at about four million Suns.

Since the 1990s astronomers have followed stars round Sagittarius A*, the radio source at the very centre of the Milky Way. The closest, S2, goes round every 16 years on an ellipse that brings it within 120 AU of the centre at nearly 3% of the speed of light. Their orbits weigh what they circle at about four million Suns, inside a region smaller than the Solar System: only a black hole fits, and the work won Reinhard Genzel and Andrea Ghez the 2020 Nobel Prize. S2’s orbit also shows Einstein’s corrections: its light is stretched by gravity as it passes, and its ellipse turns by 12 arcminutes an orbit.

In the simulator. A thousand stars each pull on every other, as real ones do, so close passes between them slowly change their orbits.

Read more

Black holes

Mass so compact that nothing, not even light, comes back from inside its horizon.

A black hole’s event horizon lies at 2GM/c², the Schwarzschild radius: 3 km for every Sun’s mass, so 12 million km for the four-million-Sun hole at the centre of the Milky Way. Far from it, a hole pulls like any other body of its mass. Close in, Einstein’s gravity takes over: no circular orbit is stable inside three times the horizon (for a hole that does not spin), and none exists at all inside one and a half times, where light itself can circle.

What we see of a hole is its shadow, about 2.6 times as wide as its horizon, as light passing any closer falls in. The Event Horizon Telescope photographed the shadows of the holes in the galaxy M87, in 2019, and in the Milky Way, in 2022. Light from stars behind a hole is bent round it, into arcs and a second image of the whole sky pressed against the shadow’s edge.

In the simulator. The horizon is drawn to scale, which is tiny: slow light down in Physics to grow it, as GM/c² sets every size near a hole. Under Einstein’s law, passes within a few horizons swing far round before heading back out, and closer ones spiral in; round a spinning hole a light body follows Kerr’s exact orbits. Light from the sky behind is bent exactly as a hole bends it.

Read more

Also in Black hole, Black hole merger.

Places to visit

Zoom out of any scene to reach the galaxy it lives in and the cosmic web beyond it, or go straight there.

Things to try

  • Press 3D and turn the view: the swarm is a ball, not a disk.
  • Turn on Lasting paths to see the orbits’ ellipses tipped every way.
  • Double-click a star to travel to it and follow it round the black hole.

More scenarios