What software do real physicists use for GR calculations?

  • Context: Graduate 
  • Thread starter Thread starter BWV
  • Start date Start date
  • Tags Tags
    Physicists
Click For Summary

Discussion Overview

The discussion revolves around the software tools used by physicists for calculations in General Relativity (GR). Participants explore various software packages, their accessibility, and the balance between traditional methods and modern computational tools.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants mention the use of specific software packages like GRTensorII in Maple and Mathematica notebooks for GR calculations.
  • One participant shares an experience from a GR class where they created programs in Maple, Matlab, or Mathematica to compute various tensors and equations from metrics.
  • There is a viewpoint that while some physicists still use pencil and paper for tensor calculations, most professionals prefer computer packages for complex calculations due to efficiency.
  • A participant cites a book that discusses the tedious nature of calculating curvature tensors by hand and emphasizes the advantages of using computer algebra systems.
  • Questions arise about the availability of affordable or free software alternatives to expensive packages like Maple, Mathematica, and Matlab.
  • References to programs like SHEEP and Maxima are made, with Maxima being noted for its ctensor package that can perform GR tensor calculations.

Areas of Agreement / Disagreement

Participants express a mix of opinions regarding the use of software versus traditional methods, with some advocating for the necessity of computational tools while others emphasize the importance of manual calculations for educational purposes. No consensus is reached on a single preferred software solution.

Contextual Notes

Participants highlight the varying levels of complexity in GR calculations and the associated time investment, suggesting that the choice of software may depend on the specific requirements of the task at hand.

Who May Find This Useful

This discussion may be useful for students and professionals in physics, particularly those interested in computational methods for General Relativity, as well as those seeking affordable software solutions for their calculations.

BWV
Messages
1,670
Reaction score
2,017
for GR calculations?

is there some standard off the shelf software package, or do they do the code themselves?
 
Physics news on Phys.org
BWV said:
for GR calculations?

is there some standard off the shelf software package, or do they do the code themselves?

They use various packages, including the Maple package GRTensorII.
 
In my GR class this year we had an assignment to make a program in Maple/Matlab/Mathematica to calculate the Christoffel symbols, Ricci Tensor, Geodesic equations, etc. given any n dimensional metric. Wasn't terribly hard to do.
 
Some still use pencil and paper... for tensorial calculations.
 
robphy said:
Some still use pencil and paper... for tensorial calculations.

I think that it is important for students to practise pen and paper tensorial calculations, but I think most professionals use computer packages to do calculations that are of any real complexity. For example, the book An Introduction to General relativity and Cosmology by Peblanski and Krasinski states

"Calculating the curvature tensor from a given metric tensor is tedious and time-consuming, and seemingly innocent errors made along the way cause great chaos in the final results. In order to obtain a reliable result, every step of the calculation must be carefully verified. A relatively simple calculation typically takes several hours; in complicated cases it can extend to months...

The modern computer algebra programs are fairly easy to use, and the reduction in time and effort required to do a calculation is dramatic. Instead of doing a routine calculation for weeks, one can have the result in less than a minute. ... these calculation are done 'by hand' essentially only by students for educational purposes. In research work, the computers have taken over the field completely."
 
Are there any decent programs (linux preferred) which do not rely on expensive packages e.g. Maple, Mathematica, MatLab?

Skippy
 
I found a reference to a program SHEEP on wikipedia but the download link ftp://euclid.maths.qmw.ac.uk/pub/sheep/[/URL] doesn't work. Runs with LISP. Anyone know where to get it?

Skippy
 
Last edited by a moderator:
Maxima, which runs on Linux and Windows is available here. There are interfaces also for Linux and Windows.

maxima.sourceforge.net

It has a package called ctensor which can calculate most of the GR tensors for different observer frames. I've got some batch files for various calculations I could pass along.
 

Similar threads

  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 50 ·
2
Replies
50
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K