1 / 58

Tutorial / Practice Session

Tutorial / Practice Session. Randy Hudson hudson@mcs.anl.gov Argonne National Laboratory Flash Center, University of Chicago. Tutorial / practice. Sample dataset Tutorial: ParaView 2.4.4. Sample dataset. 3d Rayleigh-Taylor instability Scalar data set Vector data set

badu
Télécharger la présentation

Tutorial / Practice Session

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tutorial / Practice Session Randy Hudson hudson@mcs.anl.gov Argonne National Laboratory Flash Center, University of Chicago

  2. Tutorial / practice • Sample dataset • Tutorial: ParaView 2.4.4

  3. Sample dataset • 3d Rayleigh-Taylor instability • Scalar data set • Vector data set • Components as scalars

  4. ParaView • For this talk: single, local process • Often in practice: client-server mode • Built upon VTK • VTK is built upon OpenGL

  5. ParaView • About • Using

  6. About ParaView • Free, open-source • Documentation • Features • Architectures • Support

  7. ParaView: documentation • Book • URL: http://www.kitware.com/products/paraviewguide.html • Current version: 2.4 • $76 • Tutorials • How to extend ParaView • User and developer guides • Wiki • http://paraview.org/Wiki/ParaView • Can be helpful

  8. ParaView: features • 2d & 3d • Meshes • Structured & unstructured • Directly: Paramesh-like AMR • Regular grids • Client-server…if you want • Data processing, rendering, UI can all be on different machines • Rendering: parallel-remote or singular-local, as needed or demanded • Also singular and local • Everything local • Rendering done by whatever graphics hardware is available on client

  9. ParaView: architectures • Windows • Linux - x86 • OSX • Or, try building from source

  10. ParaView: support • Mailing list • ParaView users: paraview@paraview.org • URL: http://public.kitware.com/mailman/listinfo/paraview • Archived at http://public.kitware.com/pipermail/paraview/ • Searchable at http://www.kitware.com/search.html

  11. ParaView • Starting ParaView • Settings • Opening files • Reading data • Visualizing data • Colormapping • Quantitative analysis • Writing output • Client-server

  12. Starting ParaView (GUI) • OSX, Linux, Unix • Set PATH to paraview directory • Run paraview (unless client-server) where you want • However • ParaView usually remembers its last directory • ParaView has failed to find init.tcl if I start it just anywhere • Windows • Click on ParaView icon • Non-GUI alternate: Tcl batch scripts

  13. Some settings • General • My recommendations (what works for me) • Annotation • Camera • Application settings • Keyframe animation

  14. General • Menu: View  3D View Properties • Generaltab

  15. General • General panel • I recommend beginning with these settings. • I usually get better performance • Caveat: your experience may vary

  16. Annotation • Menu: View  3D View Properties • Annotatetab

  17. Annotation

  18. Camera • Menu: View  3D View Properties • Cameratab

  19. Camera

  20. Application settings • Menu: View  Application Settings

  21. Keyframe animation • Menu: View  Keyframe Animation

  22. Opening files - with extension • Menu: File  Open file … • In Open ParaView File panel • Choose directory • Double-click file name

  23. Opening files - no extension • Menu: File  Open file … • In Open ParaView File panel • Choose directory • Choose a FLASH file type • Double-click file name

  24. Opening files - no extension • InOpen Error panel • Click OK button • InOpen Data With… panel • Double-click the FLASH file type

  25. Opening files - note • ParaView 2.4.4 does not read FITS files. One might read a FITS file in VisIt, export the database to a format ParaView can read (VTK, e.g.) and read that. • It might be that another “binary + header” format could be used for the data…perhaps the “brick of values” (BOV) format.

  26. Reading data • Select variables • Click on Accept

  27. Filters Transformations applied to data sets Data sets Input files or the output of filters Visualizing data

  28. Visualizing data • Scalar data • Cut Plane • Isosurface • Colored by same variable • Colored by other variable

  29. Scalar data - cut plane • Click cut plane button • Select plane settings • Click Accept

  30. Click Display tab Select variable Check Scalar bar and Cube Axes Scalar data - cut plane

  31. Scalar data - isosurface • Click contour button • Select variable • Select contour settings • Click Accept

  32. Click Display tab Select same variable Check Scalar bar and Cube Axes Isosurface - same variable

  33. Click Display tab Select different variable Check Scalar bar and Cube Axes Isosurface -other variable

  34. Visualizing data • Vector data • (Define vector from input scalars) • Glyphs • Streamlines • As lines • As tubes

  35. Menu: Filter  Calculator Define <vectorvarname> with expression ClickAccept Vector data - define vector

  36. Menu: Filter  Glyph Select glyph settings Click Accept Vector data - glyphs

  37. Vector data - glyphs

  38. Menu: Filter  Stream Tracer Select streamline settings Click Accept Streamlines - as lines

  39. Streamlines - as lines

  40. Streamlines - as tubes • Create streamlines as lines • Menu: Filter  Tube

  41. Colormapping • You can change the mapping of the data to the given color table, but can only change the table in limited ways

  42. Data analysis • Probe filter: interpolate data to world coordinates • Pick filter: nearest data cell or point • Data analyis filter • Samples at points • Probe filter: world point • Pick filter: nearest data set point • Samples in cells • Pick filter: nearest data set cell • Samples along lines • Probe filter: world points

  43. Data analysis - Probe filter • Point • Menu: Filter  Probe • SelectPointin Probe Object panel • Center the point • ClickAccept • Data appears below • (Can also plot point)

  44. Data analysis - Probe filter • Line • Menu: Filter  Probe • SelectLinein Probe Object panel • Place the line • ClickShow X-Y Plot • ClickAccept • Data appears in plot

  45. Data analysis - Pick filter • Cell • Menu: Filter  Pick • Select Cell • SelectWorld Pointin Pick Method panel • Center the sample point • ClickAccept • Data appears below • (Can also plot point)

  46. Data analysis - Pick filter • Point • Menu: Filter  Pick • Select Point • SelectWorld Pointin Pick Method panel • Center the sample point • ClickAccept • Data appears below • (Can also plot point)

  47. Data analysis • Alternate placement of probe • Move mouse pointer over data (the isosurface, here) • Press P key

  48. Data analysis filter • Combines Pick & Probe filters

  49. Mesh analysis • Information panel • Memory use • Number of graphical elements • Data ranges

  50. Mesh analysis • Filters • Curvature • Mesh quality

More Related