- 10,422
- 1,594
CarlB said:I ran into a bit of a problem, maybe related. I tried to do the calculation in proper time and then I have to keep track of coordinate time in order. But I get dt/ds = (E + \sqrt{r/2}dr/ds)/(1 - 2/r) which goes to 0/0 at r=2. So before I can have particles pass the event horizon, I have to do the division.
I've finished updating the Painleve-Gullstrand thread, having resolved the sign issues and also having found a stable online reference that's likely not to disappear in a few weeks that gets the same results that I do.
I'm not sure what approach you are using, but you might want to check that some of the conseved quantities for orbital motion are actually being conserved by your integrator (unless you are already using the conservation of these quanties to get your solution).
You might find http://www.fourmilab.ch/gravitation/orbits/
helpful, in that it calculates GR orbits, and has some discussion of the formulas as well.
You can also download the source code for their applet at the bottom of the page, too.
Note that for the Schwarzschild metric, the conserved quantities are
E0 = (dt/dtau) (1-2M/r)
L = r^2 (dphi/dtau)
As I mentioned, in the PG thread, for the PG metric, the expression for the conseved E0 changes to
E0 = (1-2*M/r)*(dt/dtau) - sqrt(2M/r) * (dr/dtau)
(The expression for L remains unchanged).
This is different by a sign convention from the conserved quantity I mentioned in the PG thread, however it uses the same sign convention as the Schwarzschild energy.
Using the above sign convention, when the velocity at infinity is zero, E0 = 1. It can be regarded as the energy per unit rest mass.
The above conserved quantites along with the metric equation give enough information to determine the orbits, i.e. you can derive the effective potential for the Schwazschild equation
(dr/dtau)^2 + V^2(L,r) = E^2
from the above conseved quantites of the Schwarzschild metric and the Schwarzschild metric itself with a little algebra and the fact that ds^2 = -dtau^2.
You can derive a similar equation for (dr/dtau) in the PG metric by the same means.
Last edited: