[yt-users] problems with grid related values from an frb

Slavin, Jonathan jslavin at cfa.harvard.edu
Tue Apr 26 07:33:31 PDT 2016


Hi,

I have been doing calculations in cylindrical symmetry using FLASH and
using yt to read in the results. To do analysis, I create a fixed
resolution buffer at the highest resolution of the AMR grid. Dynamical
variables, density, temperature, etc. show expected behavior but things
like dr, and dz don't work as I expect.
ds = yt.load(...)
slc = ds.slice(2,0)
frb = slc.to_frb(...)
dr = frb['dr']
dz = frb['dz']
(where I've left out the arguments to the to_frb method for brevity).  Both
dr and dz are not at all uniform in the way I expect them to be.  Is this a
bug or am I misunderstanding something?

​Jon​

-- 
________________________________________________________
Jonathan D. Slavin                 Harvard-Smithsonian CfA
jslavin at cfa.harvard.edu       60 Garden Street, MS 83
phone: (617) 496-7981       Cambridge, MA 02138-1516
cell: (781) 363-0035             USA
________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20160426/d822d97f/attachment.htm>


More information about the yt-users mailing list