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!
Finding Riemann Components: Packages & Solutions
- Context: Undergrad
- Thread starter ergospherical
- Start date
-
- Tags
- Components Riemann
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 1K views
Physics news on Phys.org
- 36,988
- 15,969
I use Mathematica for all things math-related. The best Mathematica package I have found is OGRE
https://arxiv.org/abs/2109.04193
https://arxiv.org/abs/2109.04193
- 24,488
- 15,060
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/
https://einsteinpy.org/
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.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
Please allow me some time to install Mathematica and try to run the package!
- 22,832
- 14,876
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.
It's now working, I can find all of the components.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
When I have more time I might experiment with a Python package.
Will shout if problems arise!

Similar threads
- Kevin McHugh
- · Replies 6 ·
- Special and General Relativity
- Replies
- 6
Graduate
Restrictions on Riemann components
- oldman
- · Replies 2 ·
- Special and General Relativity
- Replies
- 2