[yt-users] loading cosmological CHANGA data
B.W. Keller
kellerbw at mcmaster.ca
Thu Nov 3 21:02:31 PDT 2016
Hi Christine,
There are some assumptions made by yt when loading data from gasoline
or changa about whether a simulation is run with comoving coordinates
or physical ones. I developed the tipsy frontend mostly working from
gasoline outputs, but it should work for changa too (in other words, I
think you may have found a bug). Would you be able to upload the
parameter file you are using for this? Judging from your file name, I
assume you are running one of the agora cosmological runs?
Ben
On Thu, Nov 3, 2016 at 8:35 PM, Christine Simpson
<christine.simpson at gmail.com> wrote:
> Hi all,
>
> I’m trying to load a cosmological snapshot from a Changa simulation (which I
> believe is in the tipsy format). Yt seems to find some of the cosmological
> parameters but not all of them (not the hubble constant), which messes up
> the units. See below. There is some discussion of cosmology parameters and
> tipsy format in the docs, but I did not understand it. Can anyone with
> experience loading this format give me some pointers?
>
> Thanks
> Christine
>
> In [1]: pf = load('agora_1e11q_l13.000400')
> yt : [INFO ] 2016-11-03 15:17:47,253 Parameters: current_time
> = 1.61048087203e+23 s
> yt : [INFO ] 2016-11-03 15:17:47,253 Parameters: domain_dimensions
> = [2 2 2]
> yt : [INFO ] 2016-11-03 15:17:47,254 Parameters: domain_left_edge
> = [-0.5 -0.5 -0.5]
> yt : [INFO ] 2016-11-03 15:17:47,255 Parameters: domain_right_edge
> = [ 0.5 0.5 0.5]
> yt : [INFO ] 2016-11-03 15:17:47,256 Parameters: cosmological_simulation
> = 1.0
> yt : [INFO ] 2016-11-03 15:17:47,256 Parameters: current_redshift
> = -1.48991929905e-13
> yt : [INFO ] 2016-11-03 15:17:47,256 Parameters: omega_lambda
> = 0.728
> yt : [INFO ] 2016-11-03 15:17:47,256 Parameters: omega_matter
> = 0.272
> yt : [INFO ] 2016-11-03 15:17:47,256 Parameters: hubble_constant
> = 1.89812815754e-06
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
More information about the yt-users
mailing list