Plots Visit

admin
Plots Visit Average ratng: 7,3/10 5552 votes

From VisItusers.org

Summary Plot Overview Salamanca Tree Hiddle is taking a trip with her grandparents from Euclid, Ohio to Lewiston, Idaho, to visit her mother's final resting place. Along the way, Salamanca, or Sal, tells her grandparents the story of her best friend, Phoebe Winterbottom, whose mother, like Sal's, unexpectedly decides to leave home. Plot holders cannot be prevented by cemetery owners from erecting markers, entering the grounds, or interring family members in the plots they own. If a plot owner dies intestate, the rights to the plot pass to the heirs in the same manner that Personal Property passes in the absence of a will. A gravestone or marker is the personal property of.

Jump to: navigation, search
  • 3Opening files
  • 7VisIt interaction modes

[edit] Starting VisIt

The way you start VisIt depends on the platform you are on:

  • On Windows, double click on the VisIt desktop icon
  • On Mac, double click on the VisIt icon where you installed it (generally in the /Applications folder).
  • On Unix, invoke: /path/to/visit/bin/visit
    • Most people ultimately put /path/to/visit/bin in their $PATH and then just say visit.

[edit] What you see

  • The tall grey window on the left is called the 'GUI'. It is the primary mechanism for driving VisIt.
  • The window on the right is called the 'visualization window'. It displays results.


[edit] Opening files

The first thing to do is to open files.

  1. Go to the GUI and click on the Open icon.
  2. This brings up the File open window.
  3. Change the Path field to the 'tutorial_data' folder.
  4. Highlight the file 'example.silo' and then click OK.

You've opened a file!

[edit] Advanced file opening features

  1. In the File open window:
    • There is a field for Host. That is how you run client/server
    • There is a Filter. That is provided to subset the file list to only the files VisIt may want.
      • Example filter: '*.silo *.vtk'
  2. VisIt uses heuristics to determine the file type.
    • You can explicitly set the file type with the Open file as type: setting.
  3. You can also open files on the command line. For example, visit -o file.ext opens the file 'file.ext'.

[edit] Making a plot

  1. Click on the Add icon to access various plots. This is located about half way down the Main window.
  2. Select Pseudocolor->temp to add a Pseudocolor plot.
  3. After adding a plot, you will see a green entry added to the 'Plot list', which is located half way down the gui.
    • This means VisIt will draw this plot after you click Draw.
  4. Click Draw.
  5. You should see a plot appear in the visualization window.
  6. Go to Add->Mesh->Mesh.
  7. Click Draw.
  8. You should now see both a Pseudocolor and Mesh plot.
  9. Highlight the Pseudocolor plot in the Plot list.
  10. Click the Hide/Show button.
    • This will hide the Pseudocolor plot. You should now see only the Mesh plot.
  11. Highlight the Mesh plot and click Delete.
    • You should now have an empty visualization window.
    • The Pseudocolor plot should now be selected.
  12. Click Hide/Show.
    • The Pseudocolor plot should reappear.


[edit] Modifying the Plot attributes

  1. Go to PlotAtts->Pseudocolor. This is located in the menu bar at the top of the Main menu.
  2. This brings up the Pseudocolor plot attributes window.
  3. Change the Scale from Linear to Log.
  4. Click Apply.
    • The colors changed.
  5. Click Minimum on and change the value to '3'.
  6. Click Maximum on and change the value to '4'.
  7. Click Apply.
    • The colors change again.
  8. Change the Opacity mode to Constant.
    • Change the opacity slider to 50%.
  9. Click Apply.
    • You can now see through the plot. Note that you only see the external faces. If you want to see the data from the whole volume, that will be with the volume plot.
  10. Change back the Scale, Limits, and Opacity back to their original settings and click Apply.
  11. Dismiss the Pseudocolor plot attributes window.


[edit] Applying an operator

  1. Click on the Operators button to access various operators. This is located next to the Add button.
  2. Select Slicing->Slice to add a Slice operator
    • The visualization window will go blank and the Pseudocolor entry in the Plot list will turn green.
    • This allows you to change the slice attributes before applying the Slice operator.
    • We will apply the operator with the default attributes.
  3. Click Draw.
    • You are now looking at a 2D slice.
  4. Go to OpAtts->Slicing->Slice.
  5. This brings up the Slice operator attributes window.
  6. There are many controls for setting the slice plane ... play with them.
  7. Operators can be removed by clicking on an expansion arrow in the Plot list, then clicking on the red X icon next to an operator.


Visit visualization

[edit] VisIt interaction modes

There are six basic interaction modes:

  1. Navigate
  2. Zoom
  3. Zone-pick
  4. Node-pick
  5. Spreadsheet-pick
  6. Lineout

You always start in Navigate. Navigate allows you to pan and rotate the data set.

  1. Put the cursor in the visualization window from the viewer.
  2. Left click (or single click if you do not have a 3 button mouse) and move the mouse.
  3. The data set will pan with the mouse.
    • In 3D, the data set rotates.
  1. The interaction mode is controlled by the toolbar, which is located at the top of the visualization window.
  2. The five interaction modes are all located together on the toolbar, towards the bottom.
    • Navigate is represented by a compass and should be indented.
  3. Click on the magnifying glass , which corresponds to zoom.
  4. Go to the visualization window and left click (single click) and HOLD IT DOWN.
  5. Move the mouse a bit.
    • You should see a rubber band.
  6. Lift up the mouse button.
    • You should now be zoomed in so that the viewport matches what was previously inside the rubber band.
  1. Find the icon of a camera that has a green 'X' around it. (The camera is mostly obscured by the X)
  2. Click it.
    • This will reset your view.
  3. Click the icon next to the magnifying glass, which has red, blue, and black lines.
    • This is for lineout.
  4. Put the cursor over the data and left click (single click) and HOLD IT DOWN.
  5. Move the mouse a bit.
    • You should see a single line moving around.
  6. Lift up the mouse button.
  7. The window layout changes. You now have two windows. The first window is the same, but the second now contains a 'Lineout', which has temp as a function of distance over the line.
  8. On the window that has the curve, find the icon on the toolbar of the window with a red circle with a line through it.
  9. Click this button.
    • The new window should disappear.

[edit]Pick

You should only have one window now.

  1. Click on the icon that has a '+' with a small Z. This is 'zone-pick'.
  2. Put the cursor over the data set and left click (single click).
  3. This brings up the Pick window.
    • The Pick window contains information about the zone (i.e. cell or element) that you just picked in.

    Pick can return a lot more information than it did if you use the Pick window.

  4. Go to the Variables drop down menu and select 'Scalars/pressure'.
  5. Turn on Physical Coords under For Nodes.
  6. Turn on Domain-Logical Coords under For Zones.
  7. Click Apply.
  8. Make another pick.
    • You get info about pressure, the coordinates of each node, and the logical coordinates for the zone.


[edit] Other plots

Plots Visit

  1. We will experiment with the Contour, Filled Boundary, Label, Vector and Volume plots.

Pushkar Visit Plots

[edit] Other operators

Plots.visit.other
  1. We will experiment with the Clip and Threshold operators.

[edit] Saving an image

  1. With a current plot, go to File->Save window.
    • This saves an image to the filesystem.

On Windows, the default location for saved images is in Documents/VisIt/My images.

[edit] Saving a database

Plot

VisIt can be part of a larger tool chain.

  1. If you do not already have one, make a Pseudocolor plot of temp from the example.silo database.
  2. Apply the Threshold operator and change the range to be 3->max.
  3. Click Draw.
  4. Go to File->Export database.
  5. This brings up the Export Database window.
  6. Change Export to to VTK.
  7. Be sure to set the output directory or the exported file will be written to the working directory (on Windows that would be the directory where VisIt is installed).
  8. Click Export.
    • A file named visit_ex_db.vtk has been saved to the file system.


[edit] Subsetting

  1. Delete any plots in your visualization window.
  2. Open up 'multi_ucd3d.silo'.
  3. Make a Subset plot of 'domains(mesh1)'.
    • The plot is colored by 'domains', which normally correspond to a simulation's processors.
  4. In the Plot list, find the overlapping transparent black and white ovals (like a Venn diagram) and click on it.
  5. This brings up the Subset window.
  6. Turn off some domains and click Apply.
    • You will see some of the domains disappear.
    • Subsetting works with any plot type.
  7. Turn all the domains back on.
  8. Turn off materials 1 and 3.
    • You will see material 2 only, colored by domain.

The Band's Visit Plot

This mechanism is used to expose subsetting for materials, domains, AMR levels, and other custom subsettable parts.

Visit Summary

Retrieved from 'http://visitusers.org/index.php?title=VisIt-tutorial-basics'