I Finding Riemann Components: Packages & Solutions

  • I
  • Thread starter Thread starter ergospherical
  • Start date Start date
  • Tags Tags
    Components Riemann
ergospherical
Science Advisor
Homework Helper
Education Advisor
Insights Author
Messages
1,098
Reaction score
1,385
I'm working on a problem involving some hypothetical spacetimes (i.e. no tables/data-sheets available) and need to calculate a bunch of ##R_{\mu \nu \rho \sigma}## and ##R_{\mu \nu}## values, as well as ##R##. The metrics contain some arbitrary functions ##f(x^i)## of the spatial co-ordinates only. There's a little bit of urgency so I can't afford really to spend a great deal of time exploring which packages are best for this task; I hoped that somebody who feels confident with this could advise? Thanks!
 
Physics news on Phys.org
I just finally started to learn Python, and for computer algebra in GR (I guess it can easily be used for other general tensor-analysis work too) I like einsteinpy. Together with jupyter as the frontend it's very nice to work with:

https://einsteinpy.org/
 
  • Like
Likes PeterDonis, Dale and ergospherical
Dale said:
I use Mathematica for all things math-related. The best Mathematica package I have found is OGRE

https://arxiv.org/abs/2109.04193
Thank you, this looks promising. I noticed in the documentation that it seems to allow you to specify the co-ordinate dependencies of scalar fields, which is one thing I need.

Please allow me some time to install Mathematica and try to run the package!
 
I just wrote my own mathematica file to do it for me. Mainly to double check exam answers before putting the exam to the students. It is not that extensive computations after all.
 
  • Like
Likes vanhees71 and ergospherical
Dale said:
I use Mathematica for all things math-related. The best Mathematica package I have found is OGRE

https://arxiv.org/abs/2109.04193
It's now working, I can find all of the components.
When I have more time I might experiment with a Python package.

Will shout if problems arise! :oldwink:
 
  • Like
Likes vanhees71 and Dale
From $$0 = \delta(g^{\alpha\mu}g_{\mu\nu}) = g^{\alpha\mu} \delta g_{\mu\nu} + g_{\mu\nu} \delta g^{\alpha\mu}$$ we have $$g^{\alpha\mu} \delta g_{\mu\nu} = -g_{\mu\nu} \delta g^{\alpha\mu} \,\, . $$ Multiply both sides by ##g_{\alpha\beta}## to get $$\delta g_{\beta\nu} = -g_{\alpha\beta} g_{\mu\nu} \delta g^{\alpha\mu} \qquad(*)$$ (This is Dirac's eq. (26.9) in "GTR".) On the other hand, the variation ##\delta g^{\alpha\mu} = \bar{g}^{\alpha\mu} - g^{\alpha\mu}## should be a tensor...
I asked a question here, probably over 15 years ago on entanglement and I appreciated the thoughtful answers I received back then. The intervening years haven't made me any more knowledgeable in physics, so forgive my naïveté ! If a have a piece of paper in an area of high gravity, lets say near a black hole, and I draw a triangle on this paper and 'measure' the angles of the triangle, will they add to 180 degrees? How about if I'm looking at this paper outside of the (reasonable)...
Back
Top