[yt-users] Vorticity field with FLASH

Markus Haider markus.haider at uibk.ac.at
Fri Aug 21 08:09:24 PDT 2015


Hi Matt,

No, it is a 3D datacube,

Cheers,
Markus

On 2015-08-21 17:07, Matthew Turk wrote:
> Hi Markus,
>
> Is this a 2D dataset?
>
> -Matt
>
> On Fri, Aug 21, 2015 at 7:11 AM, Markus Haider 
> <markus.haider at uibk.ac.at <mailto:markus.haider at uibk.ac.at>> wrote:
>
>     Hi,
>
>     I was trying to calculate the vorticity for a flash dataset. I
>     selected a region using
>
>     center =
>     (ad.quantities.min_location('gpot')[2],ad.quantities.min_location('gpot')[3],ad.quantities.min_location('gpot')[4])
>
>     LE = center-width.in_units('code_length')/2.
>
>     CN = int(width/dx)
>
>     Roi = ds.covering_grid(level=level_max,left_edge=LE, dims=[CN,CN,CN])
>
>
>     Then, for this region I wanted to compute the vorticity using
>
>     Roi["gas","vorticity_x"]
>
>
>     This resulted in the following error:
>
>     http://paste.yt-project.org/show/5824/
>
>     Thanks for your help,
>
>     Cheers,
>     Markus
>     _______________________________________________
>     yt-users mailing list
>     yt-users at lists.spacepope.org <mailto: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/20150821/ae94880b/attachment.htm>


More information about the yt-users mailing list