Plotting space-time curvatures as curved 2D-surfaces

  • Context: Graduate 
  • Thread starter Thread starter TheMan112
  • Start date Start date
  • Tags Tags
    Plotting Space-time
Click For Summary

Discussion Overview

The discussion revolves around methods for plotting space-time curvature as curved 2D surfaces, specifically using the Alcubierre metric. Participants explore various mathematical software options, including Maple and Matlab, and share code snippets while seeking to understand the underlying concepts of space-time curvature and its representation.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant inquires about the easiest way to plot a space-time curvature from a metric, specifically mentioning the Alcubierre metric.
  • Another participant provides a link to existing Matlab resources, suggesting they may be useful.
  • Some participants express a desire to create plots from scratch using built-in functions, emphasizing the learning aspect over simply generating graphs.
  • A question is raised about whether to base the plot on a Riemann tensor or the metric itself, indicating uncertainty about the appropriate approach.
  • One participant shares a Maple code snippet that reproduces the Alcubierre warp drive plot, indicating a willingness to provide further explanation.
  • A different participant shares their own Matlab code for plotting a warp drive, noting a significant difference in their approach compared to the previously shared Maple code.
  • There is a reference to the extrinsic curvature tensor and a request for clarification on its significance, highlighting a gap in available resources and understanding among participants.

Areas of Agreement / Disagreement

Participants express varying levels of familiarity with plotting techniques and the underlying concepts, leading to multiple approaches being discussed. No consensus is reached on the best method to plot space-time curvature or the role of the Riemann tensor versus the metric.

Contextual Notes

Participants mention limitations in available resources for plotting space-time curvatures and express uncertainty about certain mathematical concepts, such as the extrinsic curvature tensor.

TheMan112
Messages
42
Reaction score
1
What would be the easiest way to plot a space-time curvature from a metric as a curved 2D surface. For example the Alcubierre metric would be plotted with the result as in the attached image.

The mathematical programs I have at my disposal right now are Maple, Matlab and Mathematica. I'm much more used to using the two former ones though.
 

Attachments

  • Alcubierre.png
    Alcubierre.png
    27.8 KB · Views: 780
Physics news on Phys.org
Look here under Matlab:
http://fy.chalmers.se/~rico/
 
Last edited by a moderator:
Although Jonsson's scripts are quite impressive, I was thinking more about doing it from scratch with only built-in functions in the program, it's not as much about generating a graph as it is me learning how to do it.
 
Should the plot be based on a Riemann tensor, or can I just plot the metric itself?
 
TheMan112 said:
Should the plot be based on a Riemann tensor, or can I just plot the metric itself?

The figure you attached is a plot of the volume factor versus spatial position. I'll work through it with you in Maple starting tomorrow.
 
Thanks a lot, I can't seem to be able to find many resources online on how to actually plot space-time curvatures. Is it that simple, that it should be self-obvious? It just isn't to me, so that would be very kind of you.
 
George Jones said:
The figure you attached is a plot of the volume factor versus spatial position. I'll work through it with you in Maple starting tomorrow.

I'd be interested in seeing this develop George. I've plotted the Alcubierre metric before, but was not really sure why certain things were done.

Looking forward to seeing this!

Richard
 
The Maple code below reproduces the famous Alcubierre warp drive plot.

Explanation to follow.

Code:
f := r -> (tanh(sigma*(r + R)) - tanh(sigma*(r - R)))/(2*tanh(sigma*R));
g := D(f);
sigma := 8; R := 1; vs := 1;
plot3d(vs*x/sqrt(x^2 + y^2)*g(sqrt(x^2 + y^2)), x=-2..2, y=-2..2, style = PATCH, grid=[100,100]);
 
Last edited:
Thanks, looking forward to it. ;)
 
  • #10
George,

I have played with this in the past and found the following code gives a nice 'warp drive' in matlab.

--------------------------



[x, y] = meshgrid([-10:.3:10],[-10:.3:10]);



for i=1:length(x);
for j=1:length(x);
z(i,j)=-1*(tanh (2*sqrt(abs(x(i,j)^2+y(i,j)^2-16)-5)+3)-tanh(2*sqrt(abs(x(i,j)^2+y(i,j)^2-16)-5)-3))...
*tanh(6)*x(i,j);
end

end

mesh(x,y,z)
axis([-10 10 -10 10 -10 10 -10 10])
view([158,26])
colormap(hsv)

------------------------------

Major difference being that I multiply by the (2*tanh(sigma*R)) term instead of dividing.

Interested to hear any thoughts on this...

Also, there is a statement in the original Alcubierre paper, "Since the 3-geometry of the hypersurfaces is flat, the information about the curvature
of spacetime will be contained in the extrinsic curvature tensor [itex]K_{ij}[/tex]<br /> <br /> I can't find a huge amount on this tensor in any of my books or online. Do you think you could give an explanation?<br /> <br /> Looking forward to hearing your thoughts George, I've never met any physicists who know Alcubierres paper very well.[/itex]
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 62 ·
3
Replies
62
Views
7K
  • · Replies 29 ·
Replies
29
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 27 ·
Replies
27
Views
8K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K