Skip to content
ketch edited this page Nov 12, 2014 · 7 revisions

Visualization

Updates:

To do:

  • Add switch for yt plot backend in visclaw
  • Add plotitem3 function in visclaw.frametools
  • Add some 3d plots to the gallery

Monday afternoon discussion:

3D options for plotting: which option should we target?

  • yt - Originally analysis toolkit for astronomy, now more general
    • Does AMR natively
    • Need backend, basic things with matplotlib's mplot3d
    • Does cut-planes, iso-surfaces, streamlines...
    • Includes analysis tools
    • Reads a bunch of AMR data formats and some parallel capabilities but limited for both
    • New version (3.0.1) seems to be the thing to target
  • VisIt
    • Handles AMR "out of the box"
  • Paraview
    • XMDF - Meta-data file for VTK files, used in Paraview
    • Poor python interface

General conclusion - Implement yt as at least a first step. Going to test with simple advection in AMR.

Example yt script to do a volume rendering of a BoxLib dataset: magvort.py

Clone this wiki locally