[yt-users] Thickness of slices

Agarwal, Shankar sagarwal at ku.edu
Fri May 28 11:25:25 PDT 2010


That also explains why the density slices have units of g/cm^3, instead of g/cm^2.

What I meant was : If box=100Mpc/h and GridDims=256 256 256, then each cell is 390 Kpc/h and the yt-slice would return the volume average over this cell.

Thanks 
Shankar

-----Original Message-----
From: yt-users-bounces at lists.spacepope.org on behalf of j s oishi
Sent: Fri 5/28/2010 1:06 PM
To: Discussion of the yt analysis package
Subject: Re: [yt-users] Thickness of slices
 
Shankar,

This question is ill posed. A slice in yt returns the values of each
cell in a plane orthogonal to the slice direction at a given point in
that direction. Since Enzo is a finite volume method (assuming you are
not using the Zeus hydro integrators), the quantity in a cell is
located at cell center and represents the volume average over the
cell. Thus, this plane of values has no thickness and thus neither
does a yt slice have thickness.

j

On Fri, May 28, 2010 at 10:56 AM, Agarwal, Shankar <sagarwal at ku.edu> wrote:
> Hi,
>
> http://yt.enzotools.org/doc/cookbook/recipes.html#simple-slice
>
> Is there a way to figure out the approximate thickness of a slice (given the overall size of the simulation box).
>
> Shankar Agarwal
> Department of Physics and Astronomy
> University of Kansas
> _______________________________________________
> 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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3435 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20100528/f5320d94/attachment.bin>


More information about the yt-users mailing list