[yt-users] load structured mesh
Andrea Negri
negri.andre at gmail.com
Mon May 2 07:53:27 PDT 2016
Of course. I have a 2.5D simulation in spherical coordinates. It is
axial symmetric, so the actual grid is 2D, r and theta. The grid is
structured, the grid spacing in theta is constant, while the spacing
in r follows a geometrical progression, i.e. dr[i+1] = dr[i] * factor,
where factor is a constant.
I don't know if yt supports axisymmetric grids, but I can bypass this
issue by duplicating the 2D array into a 3D one. Sure, it is not
efficient...
My ultimate goal is to produce projections, off axis projections and
mock X-ray observations.
Thanks,
Andrea
On 2 May 2016 at 16:43, Nathan Goldbaum <nathan12343 at gmail.com> wrote:
> Can you share a little bit more detail about your grid structure? I know
> that support for log-radial bins is being worked on right now, for example.
>
> On Mon, May 2, 2016 at 3:18 AM, Andrea Negri <negri.andre at gmail.com> wrote:
>>
>> Hi all,
>>
>> I'm trying to read ZEUS-MP 2 data, and I'm building my programs step
>> by step. I was able to load data regularly spaced in spherical
>> coordinates. However, I actually have a non-uniform radial grid.
>>
>> I tried with the script in attachment, but I have got odd errors...
>>
>> Also, I have found this page, is it relevant for my case (just because
>> my code is mentioned, the answer would be yes :) )?
>> https://bitbucket.org/yt_analysis/grid_data_format
>>
>>
>> Thanks,
>> Andrea
>>
>> _______________________________________________
>> 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
>
More information about the yt-users
mailing list