[yt-users] Fwd: cylindrical coordinates in Athena

Kaitlin Kratter kaitlin.kratter at jila.colorado.edu
Thu Nov 15 14:36:57 PST 2012



Hi,

I gather that cylindrical geometries aren't supported. Is it possible to force yt to read in cylindrical coordinates as though they were cartesian?


When I try to load an athena vtk in cylindrical, I get:

In [32]: pf = load("cyl_disk.0001.vtk")
yt : [INFO     ] 2012-11-15 15:31:26,443 Temporarily setting domain_right_edge = -domain_left_edge. This will be corrected automatically if it is not the case.
yt : [INFO     ] 2012-11-15 15:31:26,445 Parameters: current_time              = 0.001080635
yt : [INFO     ] 2012-11-15 15:31:26,445 Parameters: domain_dimensions         = [        -37         128 -2147483648]
yt : [INFO     ] 2012-11-15 15:31:26,445 Parameters: domain_left_edge          = [ 1.       -1.570796  0.      ]
yt : [INFO     ] 2012-11-15 15:31:26,445 Parameters: domain_right_edge         = [-1.        1.570796 -0.      ]
yt : [INFO     ] 2012-11-15 15:31:26,445 Parameters: cosmological_simulation   = 0.0


This is a 256 by 128 grid, and the dimensions should be -pi/2, pi/2 and 1, 15. 


Thanks,
Kaitlin






More information about the yt-users mailing list