Software for General Relativity

Click For Summary
SUMMARY

The discussion centers on the best software for General Relativity (GR) calculations, highlighting Maxima with the ctensor package and GrTensor as prominent options. While GrTensor is favored for its capabilities, it has limitations, such as issues with built-in Christofel symbols and a complex automatic simplification process. Users are advised to provide assumptions to improve simplification outcomes. Additionally, GrTensor requires proprietary software like Maple or Mathematica, which can be costly, while Cadabra is recommended as a free alternative for coordinate-independent calculations.

PREREQUISITES
  • Familiarity with General Relativity concepts
  • Understanding of Maxima and ctensor software
  • Knowledge of GrTensor functionalities
  • Basic skills in LaTeX for formatting outputs
NEXT STEPS
  • Explore the capabilities of Maxima with ctensor for GR calculations
  • Investigate GrTensor's features and limitations in detail
  • Learn how to effectively use assumptions in GrTensor for simplification
  • Research Cadabra for coordinate-independent calculations in GR
USEFUL FOR

Researchers, physicists, and students working in General Relativity, as well as software developers interested in computational tools for GR calculations.

Worldline
Messages
23
Reaction score
0
What is the best software for GR calculations ? GRTensor ?
 
Last edited:
Physics news on Phys.org


"Best" is going to be subjective, and there is going to be different software for different tasks in GR. But my workhorse is maxima with ctensor. Both maxima and ctensor are free and open source.
 


I like GrTensor a lot better than Maxima. Though I can't swear that it isn't liking what I use. There are a few things to beware of with GrTensor - the built in Christofel symbols are a bit funky (just an index interchange, and you can define your own macro to fix it, but you could get caught easily if you didn't catch it.)

The biggest problem I find is getting things to simplify - the automatic simplification process seems a bit obtuse. It helps to give it "assumptions", which tell it how to make things under a square roo t positive. (It's not good at guessing that, and it matters to the sign of the result).

The latex output from GrTensor sometimes needs some rework when posting it to PF.

It's still incredibly powerful software.
 


pervect said:
I like GrTensor a lot better than Maxima.

Unfortunately GrTensor only works with expensive, proprietary computer algebra systems: Maple and Mathematica. An academic single-user license for Maple is $1200. I gave up on Mathematica back in the 90's when an operating system upgrade caused it to stop working on my machine, and Wolfram told me my only option was to buy a new copy.
 
Thank you for ur comments
 
I think cadabra is purely for coordinate-independent calculations.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 79 ·
3
Replies
79
Views
5K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 57 ·
2
Replies
57
Views
4K
  • · Replies 55 ·
2
Replies
55
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K