2
$\begingroup$

I made a $N$-body simulator and it works well, but it uses Newton's gravitational equation, which is nice, but I want it to simulate Einstein field equations. Speed of gravity should be simple enough, but how would I implement perihelion precession and the speed of an object increasing it's gravitational effect?

$\endgroup$
2
  • $\begingroup$ Either use the ADM formulation, the post-Newtonian approximation or some lattice such as Regge calculus, I guess? $\endgroup$
    – Slereah
    Commented Apr 3, 2017 at 16:04
  • $\begingroup$ Could I use relativistic mass for the speed of an object increasing it's gravitational effect? $\endgroup$ Commented Apr 3, 2017 at 16:32

1 Answer 1

3
$\begingroup$

There is no short answer to your question.

They are complicated since they are non linear and for that reason one has to use methods of approximation and last but not least they takes pages and pages of equations, proper surface integrals handling, and mastering general relativity.

This equations of n-body problem in GR are described in the following Einstein's papers :

  1. The Gravitational Equations and the Problem of Motion by A. Einstein, L. Infeld and B. Hoffmann(Annals of Mathematics, Second Series, Vol. 39, No. 1 (Jan., 1938), pp. 65-100)
  2. The Gravitational Equations and the Problem of Motion. II by A. Einstein and L. Infeld (Annals of Mathematics, Second Series, Vol. 41, No. 2 (Apr., 1940), pp. 455-464)
  3. On The Motion Of Particles In General Relativity Theory by A.Einstein (Canad. J. Math. 1, 209-241)
  4. On a Stationary System With Spherical Symmetry Consisting of Many Gravitating Masses Albert Einstein (Annals of Mathematics, Second Series, Vol. 40, No. 4 (Oct., 1939), pp. 922-936)
  5. and I would add this nice slide lecture The Two-Body Problem in General Relativity by Thibault Damour (Institut des Hautes Etudes Scientifiques (Bures-sur-Yvette, France))

As I started to give details here and here one must continue to the next steps by choosing the approximation method (described in the above papers), with the field of equation in mind and knowing which is which and what goes where.

I always advice people to read Einstein's book The meaning of Relativity in order to get into the correct spirit of General Relativity.

Only 36+10+32+15+...=93pages to read, but if we are satisfied with the first level of approximation which comes right after Newton's equations here's how it goes after doing all the math for 2 bodies:

$$ \ddot{\eta}^m - \overset{2}{m} \frac{\partial(1/r)}{\partial \eta^m} = \overset{2}{m} \left\{ \left[ \dot{\eta}^r \dot{\eta}^r + \frac{3}{2}\dot{\xi^r} \dot{\xi^r} - 4\dot{\eta}^r\dot{\xi^r} - 4 \frac{\overset{2}{m}}{r} - 5 \frac{\overset{1}{m}}{r} \right] \frac{\partial}{\partial \eta^m} (1/r) + [4 \dot{\eta}^r(\dot{\xi}^m - \dot{\eta}^m) + 3\dot{\eta}^m \dot{\xi}^r -4\dot{\xi}^r\dot{\xi}^m ] \frac{\partial}{\partial \eta^r}(1/r) + \frac{1}{2} \frac{\partial^3 r}{\partial \eta^r \partial \eta^p \partial \eta^m}\dot{\xi}^m \dot{\xi}^p \right\}$$

The equations of motion for the other particle are obtained by replacing $\overset{1}{m}$, $\overset{2}{m}$, $\eta$, $\xi$ by $\overset{2}{m}$, $\overset{1}{m}$, $\xi$, $\eta$ respectively.

$\eta^r$ is the position of $\overset{1}{m}$, while $\xi^r$ is the postion $\overset{2}{m}$, r is the usual distance between the two objects. It's assumed the usual $c = G = \epsilon = \mu = 1$ (so you need to place back this constants to get proper units), the dots over the position vectors represent how many times do we derivate in respect to time (one dot = 1 time = velocity, 2dot = acceleration)

Note: here $m$ stands for $M$ where $M = \lambda^2 m $, and $\tau = \lambda x^0$, but we only noted $m$ for $M$ and $x^0$ for $\tau$. This is done to make the notation easier to understand; of course we still need to find $\lambda$ first.

$\endgroup$
5
  • $\begingroup$ So since using actual EFE is extremely hard if not impossible is there an approximation that you recommend? Preferable in the form 'curvature = '. Also I am using 3d spacetime instead of our 4d. I.E. two space dimensions and one time. $\endgroup$ Commented Apr 3, 2017 at 21:01
  • $\begingroup$ It depends on what are you willing to sacrifice for the sake of something that you need more. For instance if you need to simulate stuff very close to speed of light you will need different level of approximation from that of the level for simulating of many gravitating bodies that have planet/star like velocities (smaller than c). Or if you need only to simulate lets say some particles(electrons, photons, etc) in the orbit of a star you could just use the usual Schwarzchild metric. You will find all this in the papers above. Maybe if I have time I will came with an update to my answer. $\endgroup$
    – Mihai B.
    Commented Apr 4, 2017 at 7:29
  • $\begingroup$ $ \frac{d^2 x_\mu}{ds^2} = - \Gamma^\mu_{\alpha\beta} \frac{dx_\alpha}{ds} \frac{dx_\beta}{ds} $ is enough for simulating protons, molecules, small asteroids around something like the sun. The metric ca be the usual Schawarzchild $g_{\mu\nu}$ metric. For 2 planets/stars you can use the more complicated equation in the post. $\endgroup$
    – Mihai B.
    Commented Apr 4, 2017 at 7:32
  • $\begingroup$ So for each body I add I need a new equation? It isn't acumulative like newton $\endgroup$ Commented Apr 4, 2017 at 11:25
  • $\begingroup$ if you are referring to $\frac{d^2 x_\mu}{ds^2}=-\Gamma^\mu_{\alpha\beta} \frac{dx_\alpha}{ds}\frac{dx_\beta}{ds}$ you can use it for many particles (like molecules, small asteroids) around the sun, as long as you have only one sun and the rest of particles are too small to affect each others (and the sum of mass of all small particles is much smaller than the mass of the sun). $\frac{d^2 x_\mu}{ds^2}=-(1/2)g^{\mu\nu}(g_{\nu\alpha,\beta} + g_{\nu\beta,\alpha} - g_{\alpha\beta,\nu}) \frac{dx_\alpha}{ds}\frac{dx_\beta}{ds}$, where we define $,_\nu$ = $\frac{\partial}{\partial x^\nu}$ $\endgroup$
    – Mihai B.
    Commented Apr 4, 2017 at 12:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.