[Yt-dev] wired problem with plotting slices from an AMR simulation

Wolfram Schmidt schmidt at astro.physik.uni-goettingen.de
Mon Nov 22 08:30:04 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everyone,

rendering slices from an Enzo simulation with an inflow boundary
condition, I noticed something strange (see attached pictures
MSC_0050_Slice_y_*.png): It looks like a piece of the domain is chopped
off at the right and attached at the left. First I thought that
something was wrong with the inflow boundary condition (left edge in the
pictures), but then I realized that this would be unlikely because the
piece on the left matches at the right edge.

Indeed, visualizing the same data with visit, the slices appear to be ok
(see MSC_0500_*_visit.png).

Has anyone an idea what is going on here?

The data are from a 3D AMR simulation with two levels of refinement,
inflow on one face and outflow on the other faces.

I used the following yt script to produce the slices:

#!/home/h/nipschul/yt/yt-x86_64/bin/python2.6
# importing modules
from yt.mods import * # set up our namespace
import yt.extensions.volume_rendering as vr
#import pylab

pf =load("064amr2x2_vort+comp/DD0050/MSC_0050")
pc = PlotCollection(pf)
pc.add_slice("x-velocity",1,coord=0.5)
pc.save()

If it helps, I can provide the dataset (its about 140 MB as a zipped
archive).

Best regards,
Wolfram
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkzqmowACgkQTMDJfdKHpAtEzQCfSfH5kUYuMtMJqQowBRxqMia6
w5AAoJFDOFac26y7n8/Fh5MH86d+cn8r
=CKlc
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSC_0050_Slice_y_Density.png
Type: image/png
Size: 68174 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101122/0ad5506a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSC_0050_Slice_y_x-velocity.png
Type: image/png
Size: 95476 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101122/0ad5506a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSC_0050_density_visit.png
Type: image/png
Size: 49286 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101122/0ad5506a/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MSC_0050_velocity-x_visit.png
Type: image/png
Size: 67604 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20101122/0ad5506a/attachment-0003.png>


More information about the yt-dev mailing list