What software is commonly used for solving problems in relativity?

  • Context: Graduate 
  • Thread starter Thread starter jason12345
  • Start date Start date
  • Tags Tags
    Relativity Software
Click For Summary

Discussion Overview

The discussion centers around the software commonly used for solving problems in relativity, including both theoretical and practical applications. Participants share their experiences and preferences regarding various software tools and programming languages suitable for calculations in general relativity.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants mention GRTensorII as a software option for relativity problems.
  • Maxima with the ctensor package is highlighted as a free and open-source tool that meets various needs, with examples provided.
  • Cadabra is noted as a package designed for coordinate-independent calculations.
  • There is a correction regarding the mention of Mathematica, with clarification that Maxima was intended instead.
  • Participants discuss the use of Mathematica, Maple, C++, and Java for transforming user-defined world lines of particles between frames.
  • Questions arise about whether world lines are defined numerically or algebraically, and how the results should be expressed.
  • Some participants suggest that MATLAB is commonly used for numerical calculations, with Octave mentioned as an open-source alternative.

Areas of Agreement / Disagreement

Participants express a variety of software preferences without reaching a consensus on a single best option. Multiple competing views on the appropriate tools and methods for specific tasks remain evident.

Contextual Notes

Participants discuss the distinction between numerical and algebraic definitions of world lines, indicating that the choice of software may depend on these definitions. The conversation reflects a range of experiences and requirements without resolving the best practices for all scenarios.

Who May Find This Useful

This discussion may be of interest to students, researchers, and practitioners in the fields of physics and engineering who are exploring software tools for general relativity calculations.

jason12345
Messages
108
Reaction score
0
When checking results, solving a problem, simulating a problem etc in relativity, what software do you tend to use?

cheers,

Jason
 
Physics news on Phys.org
GRTensorII.
 
Maxima with the ctensor package is free and open source, and it does all the things I've wanted to do. Lots of examples here: http://www.lightandmatter.com/genrel/

Cadabra is a package designed for coordinate-independent calculations.
 
Last edited:
bcrowell said:
Mathematica with the ctensor package is free and open source, and it does all the things I've wanted to do. Lots of examples here: http://www.lightandmatter.com/genrel/

Cadabra is a package designed for coordinate-independent calculations.

Do you mean Maxima ( and its interfaces wxMaxima and xMaxima ) ?
 
Mentz114 said:
Do you mean Maxima ( and its interfaces wxMaxima and xMaxima ) ?

Ugh -- yeah, I meant maxima, not mathematica. Thanks for the correction! I've edited my post to correct it.
 
Thanks for the correction!
My pleasure.

If the OP is interested I have a number of useful scripts for GR calculations, covariant differentiation and other stuff.
 
Thanks for the replies so far which will have been useful to people reading this thread. When transforming the user defined world lines of a set of particles in one frame to another, would you be advised to use Mathematica, Maple, C++, Java, etc?

To any students or university researchers in particular, what are your main programming languages?
 
jason12345 said:
Thanks for the replies so far which will have been useful to people reading this thread. When transforming the user defined world lines of a set of particles in one frame to another, would you be advised to use Mathematica, Maple, C++, Java, etc?

To any students or university researchers in particular, what are your main programming languages?

Are these world-lines defined numerically or algebraically? Do you want the result of the transformation expressed numerically, or algebraically? Maxima and GRTensorII are computer algebra systems.
 
bcrowell said:
Are these world-lines defined numerically or algebraically? Do you want the result of the transformation expressed numerically, or algebraically? Maxima and GRTensorII are computer algebra systems.

Numerically would be fine. Even better would be defining the paths the particles take in space either algebraically or numerically as a function of time in one frame, and then seeing how they move in different frames graphically.
 
  • #10
jason12345 said:
Numerically would be fine. Even better would be defining the paths the particles take in space either algebraically or numerically as a function of time in one frame, and then seeing how they move in different frames graphically.

Numerically and algebraically are two totally different ball-games. A lot of people use MATLAB for numerical stuff. The open-source equivalent is Octave.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K