|
CS 6630 Scientific Visualization: Vector Visualization
CS 6630 Project 5 James Angel, 11/28/03 angel@cs.utah.edu
vv.tcl reads in 5 separate vtk files containing information about a vector field. The syntheticly generated field provided for this project contains six critical points, all of which have vector magnitudes of zero. There are no points within this particular data set at which vector magnitude blows up to infinity.
To locate these 6 crtical points, I recycled code from the isosurfacing script used in project 3 and isosurfaced vectors_mag.vtk for a range of small and high values. The isosurfaces in the images above are at the data value 4.0. (The have been color mapped to show divergence information, discussed later in this report.) By placing a small hedgehog in the volume and using GUI sliders to position it over each of these 6 points I was able to find pretty accurate locations.
CP 0: (10.2, 8.8, 10.9)
How accurate do you think your critical points are?
Sliders allows specification of hedgehog location to an accuracy of 0.1. I give the numbers above a +/- of 0.5 to take into account any inaccuracy on my part in placing the glyph field.
In the screenshots below, I have employed hedgehogs, streamlines and colormapped isosurfaces around each of the six critical points identified above. The hedgehogs show clearly which whether a point is a source, sink, or saddle. The color-mapped iso-surface confirms these classifications. Streamlines give us an idea of what the flow around each point is like, and allows for differentiation between foci and nodes.
What was the neighborhood size around the critical point which was most helpful in determining the critical point type? Talk about choice of streamline/glyph number, distribution and viewpoint. The 100 (10 x 10) point hedgehog pictured at left clearly shows CP5 to be a saddle point. The plane used for the hedgehog is 16 by 16 units within the volume. The streamlines used in the six images above extend far enough to trace flow from source to sink. I set maximum propagation time property of the streamline object up to a max of 50. This number specifies the number of steps to take in the integration carried out to produce the streamline. Around 10 streamlines seemed to produce good visualizations with enough info, but not so much that the result is cluttered. I have tried to keep the camera in that slice of space where x, y, and z values are all positive to maintain a better sense of orientation in each of these close-up screen-shots. Glyphs in the hedgehogs used in this report are evenly distributed. (This is easy to do, and quite effective for these data.)
Adding streamlines allows us to see the relationship between the six points. To create the streamlines used in the global visualizations above, vv.tcl employs vtkStreamline, setting module properties as follows:
Based on your visualization and your explorations, what can be said about how different areas of the field relate to one another?
The field provided for this assignment contains six critical points: two sources, two saddles, and two sinks. CP4, the repelling node at (33, 7, 44), feeds both sinks. CP0, the other source, closer to the origin at (10, 9, 11) appears to feeds CP2 primarily. Saddle CP1 draws from CP0 and diverts flow to both sinks. Saddle CP5 draws from CP0 and some point outside the volume, diverting flow to both sinks.
Divergence is a measure of how much flow is coming out of a particular point in a vector field.
At left we again have an isosurfacing of the six critical points found earlier, but this time they are shown with a color-mapping based upon divergence. The LUT used maps points with positive divergence (found at source points) to red, negative divergence (found at sinks) to blue, and zero divergence, the case at saddle points, to green.
CP 0: (10, 9, 11) - source
Find a location where the divergence is strongly negative, but the vector magnitude is low (about 7.0 or less).
The sinks we've already identified satisfy the reuirement of low vector mag and strongly negative divergence. I am unable to find another point in the field with these characteristics.
Find a location where the divergence is strongly positive, but the vector magnitude is low.
Again, the sources found via isosurfacing at 4.0 and color mapping based on divergence qualify. No other points qualify.
Describe how your visualizations demonstrate the difference between positive and negative divergence.
As I've described already, positive divergence produces a red color assignment in the mapping; negative divergence produces a blue colr mapping.
How do your visualizations indicate that these locations are not critical points?
N/A.
Curl is a measure of how twisted or non-linear the flow lines are around a particular point.
The image at left shows an isofurface of vector magnitude at the value of 10.5. The surfaces have been made semi-transparent and have been color-mapped to show curl. Curl magnitude is high where the CM is green and highest where the CM is purple.
Find two locations, not critical points, where the curl magnitude is high, but the vector magnitude is low. Also, from among the critical points you found with zero vector magnitude, choose one which you think will have an interesting curl value.
None exist.
Describe how your visualization demonstrates the relationship between the direction of the curl vector, and the local changes in the vector field.
N/A.
The image at left shows the same color-mapped isosurface with streamlines added in to illustrate just how twisted the flow becomes around these points where curl magnitude is at it's highest.
Does showing divergence and curl information help give a better "picture" of the over-all structure of the field? In other words, do these new features make sense in the context of what your previous global visualization showed?
This is a fairly subjective question. I think the answer is yes, that divergence and curl information can make for compelling, meaningful visualizations. Curl is quite difficult to visualize along with other metrics, but it does give information that isn't quite as easy to see using just streamlines or hedgehogs. The image at left is a good example of curl color-maps and streamlines being used together to produce a meaningful and attractive visualization.
|