[yt-users] code support for ZEUS-MP 2

Matthew Turk matthewturk at gmail.com
Wed Dec 9 03:56:05 PST 2015


Hi Andrea,

For that, you can use the load_hexahedral_mesh function. There's an example
in the docs as well.

Matt
On Dec 9, 2015 3:39 AM, "Andrea Negri" <negri.andre at gmail.com> wrote:

> Hi Matthew,
> sorry for the late reply.
>
> I forgot to say that the spacing of the (spherical) radial grid is not
> constant with the radius,  but it is logarithmically sampled. Is it a
> problem?
>
>
> Andrea
>
> On 2 December 2015 at 18:13, Matthew Turk <matthewturk at gmail.com> wrote:
> > Hi Andrea,
> >
> > It should be straightforward to do this.  You can load it in to yt
> > using the yt.load_uniform_grid function, and then specify the geometry
> > as spherical.  In the docs we have some examples:
> >
> >
> http://yt-project.org/docs/3.2/examining/loading_data.html#generic-array-data
> >
> > Specifying geometry="spherical" works here, and if your data is not in
> > r,theta,phi, you can specify the axis ordering with
> > geometry=("spherical", ("theta", "phi", "r")) (or whatever).
> >
> > -Matt
> >
> > On Wed, Dec 2, 2015 at 10:43 AM, Andrea Negri <negri at iap.fr> wrote:
> >> Hello,
> >>
> >> I'm a ZEUS-MP 2 user, and I was wondering if is it possible to add the
> >> support to ZEUS-MP 2 data, which are stored in HDF5 files.
> >>
> >> The data are nothing special or fancy, forget about particles or
> multiple
> >> levels of refinement. The code has a fixed grid in spherical
> coordinates,
> >> and all my simulations are axially symmetric, i.e. all the variables
> depends
> >> only on the spherical radius and co-latitude.
> >>
> >> It would be great to benefits of all the yt features!
> >>
> >> Thanks in advance,
> >> Andrea Negri
> >> _______________________________________________
> >> yt-users mailing list
> >> yt-users at lists.spacepope.org
> >> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20151209/247f39d9/attachment.htm>


More information about the yt-users mailing list