[yt-users] Plot 2D magnetic field lines

Dominik Derigs derigs at ph1.uni-koeln.de
Mon Apr 27 23:58:18 PDT 2015


Hi together,

I want to use yt for plotting magnetic field lines in FLASH simulations
from 2D simulations and slices from 3D simulations.
An example of what it could look like can be seen here:
http://aprg.mae.ufl.edu/wp-content/uploads/2014/07/tang_51.png

I tried to use yt's streamline function, but this does not work for me:
http://yt-project.org/doc/visualizing/streamlines.html

The error shown is:
ValueError: operands could not be broadcast together with shapes (9,9,2)
(9,9,95) (9,9,2)

The used FLASH file is attached.

Thanks a lot

Dominik

-- 
Dominik Derigs
I. Physikalisches Institut
Universität zu Köln
Zülpicher Straße 77
50937 Köln
GERMANY

Tel. (+49|0) 221 470-8352
Fax. (+49|0) 221 470-5162

Diese Email ist vertraulich und nur für den angegebenen Empfänger bestimmt.
Zugang, Freigabe, die Kopie, die Verteilung oder Weiterleitung durch jemand
anderen außer dem Empfänger selbst ist verboten und kann eine kriminelle
Handlung sein. Bitte löschen Sie die Email, wenn Sie sie durch einen Fehler
erhalten haben und informieren Sie den Absender.

This email and any files transmitted with it may contain confidential
and/or privileged material and is intended only for the person or entity to
which it is addressed. Any review, retransmission, dissemination or other
use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If you
have received this email in error, please notify the sender immediately and
delete this material from all known records.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150428/580e581c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orszag_mhd_2d_hdf5_chk_0100
Type: application/octet-stream
Size: 10841540 bytes
Desc: not available
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150428/580e581c/attachment.obj>
-------------- next part --------------
_______________________________________________
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