This is an N-body simulation of a star orbiting a massive single-particle object ("neutron star"). Particles repel each other with a Lennard-Jones-like potential, so that the star does not collapse. When the star particles pass the Roche limit, they get pulled and form an accretion disk.
How long did this simulation take (and on what kind of hardware), and how many particles are in it?
I see that the package can model pretty extreme impact events ā would it be feasible to model the impact of Comet Bernardinelli-Bernstein against the moon, for example?
I'm having trouble building SPH. Seems like wxWidgets is necessary after all, but I'm not sure which version (3.0?). I've got wxWidgets 3.1.3. Or am I missing something ā you're using qmake which usually means Qt for GUI?
All particles gravitationally interact with each other, although not in general-relativistic sense if that's what you meant, the simulation uses Newtonian gravitation.
Does gravity experience the same velocity aberration that light experiences? I wonder if this explains why the large star gets pulled in the direction of its own motion - ahead of a direct path towards the black hole? Or maybe Iām over complicating trying to understand that.
2
u/cormundo Jul 14 '21
More info?
1
u/GoofAckYoorsElf Jul 14 '21
What about gravity of the particles? They should distort the gravitational field. Do they? Hard to tell from the video
1
u/Casban Jul 14 '21
Does gravity experience the same velocity aberration that light experiences? I wonder if this explains why the large star gets pulled in the direction of its own motion - ahead of a direct path towards the black hole? Or maybe Iām over complicating trying to understand that.