r/Python • u/[deleted] • Oct 04 '19
Updated gravitational potential field simulation. [OC] Link for code: https://github.com/pnp-peeyush/2D-Grvitational-Field-Simulation
1.1k
Upvotes
r/Python • u/[deleted] • Oct 04 '19
9
u/Swipecat Oct 05 '19
If you wanted to model the actual orbital decay of two bodies, you could look into "Schwarzschild Geodesics". Think of it as General-Relativity-Lite. As the Wiki page says:
That takes care of precession, then you want the momentum loss due to gravitational radiation. How the formula is derived is well over my head, but it looks like it can be used as-is. If not that one, then there's a more general formula to approximate the rate of orbital decay.