| Thread Closed |
light ray paths near schwarzschild blackhole |
Share Thread | Thread Tools |
| Nov4-09, 06:40 AM | #18 |
|
|
light ray paths near schwarzschild blackhole
what does W(r) define?
|
| Nov4-09, 04:11 PM | #19 |
|
Recognitions:
|
W(r) should be the effective potential of the system.
|
| Nov20-09, 02:54 PM | #20 |
|
|
Could anyone expand on this please? I would appreciate the help.
I have the the effective potential in the schwarzschild metric as (L being angular momentum) [tex]V_{eff} = ( 1 - \frac{r_{s}}{r})(mc^{2} + \frac{L^{2}}{mr^{2}})[/tex] Would this be enough information to solve for r and [tex]\Phi[/tex] so that I could plot the trajectories. Also could I use the same equation for plotting the course of an observer descending into the black hole? |
| Nov20-09, 03:09 PM | #21 |
|
Here is some python code I wrote that does pretty much what you're talking about. It's meant to be short and easy to understand, so it uses a pretty crude method of doing the numerical integration. If you want to do accurate numerical calculations of geodesics, you'd want to substitute a better integration method. There are various general-purpose subroutines out there, e.g., in the book Numerical Recipes in C. What my code does is to calculate the deflection of a light ray that grazes the sun. Actually, it calculates half he deflection for a ray that grazes the sun, with the mass of the sun scaled up by a factor of 1000 in order to keep the result from being overwhelmed by rounding errors in my el-cheapo integration method.
Code:
import math
# constants, in SI units:
G = 6.67e-11 # gravitational constant
c = 3.00e8 # speed of light
m_kg = 1.99e30 # mass of sun
r_m = 6.96e8 # radius of sun
# From now on, all calculations are in units of the
# radius of the sun.
# mass of sun, in units of the radius of the sun:
m_sun = (G/c**2)*(m_kg/r_m)
m = 1000.*m_sun
# Start at point of closest approach.
# initial position:
t=0
r=1 # closest approach, grazing the sun's surface
phi=-math.pi/2
# initial derivatives of coordinates w.r.t. lambda
vr = 0
vt = 1
vphi = math.sqrt((1.-2.*m/r)/r**2)*vt # gives ds=0, lightlike
l = 0 # affine parameter lambda
l_max = 20000.
epsilon = 1e-6 # controls how fast lambda varies
while l<l_max:
dl = epsilon*(1.+r**2) # giant steps when farther out
l = l+dl
# Christoffel symbols:
Gttr = m/(r**2-2*m*r)
Grtt = m/r**2-2*m**2/r**3
Grrr = -m/(r**2-2*m*r)
Grphiphi = -r+2*m
Gphirphi = 1/r
# second derivatives:
# The factors of 2 are because we have, e.g., G^a_{bc}=G^a_{cb}
at = -2.*Gttr*vt*vr
ar = -(Grtt*vt*vt + Grrr*vr*vr + Grphiphi*vphi*vphi)
aphi = -2.*Gphirphi*vr*vphi
# update velocity:
vt = vt + dl*at
vr = vr + dl*ar
vphi = vphi + dl*aphi
# update position:
r = r + vr*dl
t = t + vt*dl
phi = phi + vphi*dl
# Direction of propagation, approximated in asymptotically flat coords.
# First, differentiate (x,y)=(r cos phi,r sin phi) to get vx and vy:
vx = vr*math.cos(phi)-r*math.sin(phi)*vphi
vy = vr*math.sin(phi)+r*math.cos(phi)*vphi
prop = math.atan2(vy,vx) # inverse tan of vy/vx, in the proper quadrant
prop_sec = prop*180.*3600/math.pi
print "final direction of propagation = %6.2f arc-seconds" % prop_sec
|
| Nov20-09, 03:15 PM | #22 |
|
|
I actually have the numerical recipes book next to me although I may avoid solving the elliptic integral I mentioned earlier, and just use the approximation for light deflection, i.e. 4GM/bc[tex]^{2}[/tex], to get the einstein ring effect, and focus on the trajectory of the observer descending into the black hole.
|
| Nov20-09, 04:44 PM | #23 |
|
|
| Nov21-09, 04:16 AM | #24 |
|
Mentor
|
[tex]\frac{d}{d\lambda} \left[ \left( \frac{dr}{d \lambda} \right)^2 \right] ?[/tex] |
| Nov21-09, 02:49 PM | #25 |
|
|
[tex]\left( \frac{dr}{d \lambda} \right)^2 &= E^2 - V^2(r) \right)[/tex] and [tex]V^2(r) = \left(1 - \frac{2M}{r} \right)\frac{L^2}{r^2}[/tex] I have [tex] \frac{d^2r}{d\lambda^2} = -\frac{1}{2}\frac{d}{dr}V^2(r)[/tex] |
| Nov22-09, 03:01 PM | #26 |
|
|
[tex]\frac{d}{dr}V^2(r) = \frac{2L^2M}{r^4} - \frac{2L^2(\left 1 - \frac{2M}{r} \right)}{r^3}[/tex] |
| Nov23-09, 07:16 AM | #27 |
|
Mentor
|
After simplifying the right side of
|
| Nov23-09, 11:47 AM | #28 |
|
|
That would be
[tex]\frac{d^2r}{d\lambda^2} = - \frac{L^2(3M-r)}{r^4}[/tex] Which gives me the closest radius for a stable orbit of a photon as 3M |
| Nov23-09, 08:52 PM | #29 |
|
|
|
| Nov23-09, 09:07 PM | #30 |
|
Mentor
|
We now have a system of three first-order coupled differential equations that determine the worldlines for "photons". In order to solve these equations, we need three initial conditions. Imagine firing a photon from a laser. One possibility for the three initial conditions: the [itex]\left( r , \phi \right)[/itex] position from which the photon is fired and the direction in which the photon is fired. These initial conditions determine [itex]L[/itex]. Alternatively, [itex]L[/itex] could be used as one of the initial conditions.
Much more on all of this later. |
| Nov24-09, 08:44 AM | #31 |
|
Mentor
|
[tex] \begin{equation*} \begin{split} \frac{d \phi}{d \lambda} &= \frac{L}{r^2} \\ \frac{dr}{d\lambda} &= p \\ \frac{dp}{d \lambda} &= \frac{L^2(r - 3M)}{r^4}.\\ \end{split} \end{equation*} [/tex] Assuming that all required values are given, write a few lines of (pseudo)code that uses the simplest, most intuitive method (Euler's method) to solve these equations. |
| Nov26-09, 06:37 PM | #32 |
|
|
Having a bit of trouble with this but I have p as
p = [tex]\frac{L^2(2M-r)}{2r^3}[/tex] |
| Mar9-10, 09:14 AM | #33 |
|
|
wow it's been a while since I looked at this project.
Thought i'd come back to it :) A few questions. Since I lack a good maths background, I would appreciate some advice on how I would implement these 3 equations into a numerical solver like Euler's or Runge-Kutta to get back some results that I could plot. e.g. Do I pre-define L?, how do I know which direction the photon is travelling? currently trying to use this : http://www.ee.ucl.ac.uk/~mflanaga/java/RungeKutta.html |
| Thread Closed |
| Thread Tools | |
Similar Threads for: light ray paths near schwarzschild blackhole
|
||||
| Thread | Forum | Replies | ||
| speed of light in a blackhole | Astrophysics | 3 | ||
| light and blackhole | Astrophysics | 5 | ||
| Blackhole Question (involves Light) | General Astronomy | 7 | ||
| Light in blackhole | General Astronomy | 15 | ||