Professional Documents
Culture Documents
kevin@ensight.com
Day 1
Basics Overview w/ E10 Part Creation/Modification Transient Annotations, X-Y plots Viewports, Calculator Saving your work
Day 2
Multiple Case Comparison Keyframe Gap Analysis Python Usage
The Basics
EnSight screen layout, mouse buttons, function keys and preferences
Tools
Using the Cursor, Line and Plane Tools
Miscellaneous
Selection, transformations, fast display, bounds visibility and auxiliary clipping
Workshop Objectives/Layout
Cover basic EnSight features such as the GUI, how to read data sets, create parts, create pictures and animations etc
changing)
The Basics
Parts List
Variable List
Message Area
Tool Ribbon
Create Parts
Icon location for most all of the Feature items in EnSight The Features to the Right are typically action items to create a new entitiy in EnSight. The Features to the Left are typically controlling different sections of EnSight, like Queries, Annotations, Viewports, etc. You can do a Right Click Customize to control which items are shown, their order, and whether you want text labels shown.
10
Right click anywhere in EnSight to see what the available context sensitive menus are
14
Preferences
Select Edit -> Preferences -> Mouse and Keyboard to modify any of the preferences for the mouse and keyboard There are many other preference categories that can be modified
16
Welcome Window
Quick Access to Examples, User Saved Sessions, or Previously loaded data If internet connected, links to tutorials and news from CEI. Examples or Saved Sessions: Double click on item Load New data: Open Other File Load Previously loaded data: Click on Data tab, select model
18
20
Time Options allows you to read only a part of the temporal domain, or offsets its time
21
Load Data
Exercise 1.1
Lets load a FLOW-3D dataset into EnSight. Unzip the \Training\Exercises\Iron_Filling\ flsgrf.IronFilling_(v10.zip file Use either the Welcome Screen Open Other file button, or the File - > Open from the main window. Navigate and select the flsgrf.IronFilling_(v10) file Select Load all parts
You can even just drop the flsgrf file onto the viewport
22
Part Creation/Color/Modification
EnSight is Noun-Verb structured Part(s) list are the Nouns. Typically, you need to select the noun(s) prior to modifying them or changing their attributes. When you create items like Isosurfaces, or clips, or vectors, contours, these will become new Part(s) and thus Noun(s). As you Select Noun(s), the Feature Modify toolbar will appear (it is sensitive to what is selected).
23
Part Definition
The part is the fundamental visualization entity in EnSight; it is a collection of nodes and elements that share the same attributes A part is either predefined or created Model Parts : From data (read in) Created Parts: clips, contours, vector arrows, elevated surfaces, isosurfaces, etc.
24
Parent Philosophy
EnSight is based on a Parent/Child Philosophy There must be some originating part(s) (ie Parent) to serve as the basis for the new part (Child) to be calculated from. Model parts are typically the original Parent. All Created parts are created from some Parent (Model or previously Created part). A dependency tree is live, and updated for each timestep or change to any part. Since a created part is dependent on its Parent(s), if a Parent changes, the Child also updates
A similar parallel is made with regards to Given Variables (read from solver), and Computed Variables (calculated inside EnSight).
25
26
Creating Isosurfaces
Creating Isosurfaces
From the Parts List, Right Click over the Parent Part(s) for the isosurface Select Isosurface Select the variable from the list. The default value of the isosurface will be the midrange value for the variable at the current timestep.
28
Exercise 1.2
The default load process for FLOW3D data results in a single part for each Block in the domain. Create an Isosurface of Cell_Volume_Fraction_Fixed The default for any isosurface is midrange. Right Click over the Block 1 Part Select Isosurface Choose Cell_Volume_Fraction_Fixed
30
Edit Parts
By double clicking on the Part in the Part List, or by doing a Right Click Edit in either the Viewport or Part, you can Edit the part.
A common alternative is to choose IsoVolume and specify the upper/lower Bounds of the variable. You can create isosurfaces of isosurfaces By using the Create option. (ensure your Parent Part is correct).
32
Part Selection
In the Parts List Select parts from the list with the left mouse button (click-and-drag also works) Use the Ctrl and Shift key to select multiple parts
Pick parts in the Graphics Window Click the left mouse button Ctrl-left mouse click to select multiple parts + Move mouse cursor over part and click the keyboard P-key P Ctrl-P to select multiple parts + P
Ctrl Ctrl
33
36
Part Attributes
Every part in EnSight has attributes attached to it for instance visibility; this is controlled by the Visibility icon (the Eye) at the top of the Mode Icon Bar
When a part is invisible, the eye icon closes Additional attributes such as color, lighting, shading type, translucency, selected variable and texture map; these can all be accessed by the Color/Transparency icon (also known as The Color Wheel for obvious reasons) in the Mode Icon Bar
38
39
40
IsoVolume Creation
The Block 1 is not always the part through which we want to operate. A better volume would be that of the Live Elements. Select the IsoSurface ison to create an IsoVolume of Cell Volume Fraction. Change the Type to Isosolume Change min to 0.001
Live Elements
Double click on the part in the Part List In the Feature Editor, you can change name to Live Volume This will improve the subsequent isosurface generation, and the extraction of colors. We can therefore turn off its visibility (no need to see it)
42
Type in a new variable name cell_vol_fluid_fr Select Cell_Volume_Fraction_Fixed Type * or select from GUI Select Fluid_Fraction_Selected Click on Evaluate; theres now a new variable in the list that can be used to calculate & color items by
45
Exercise 1.3
Lets create a 2nd isosurface, using the Live Volume as the parent (from which the part is calculated) Initially, we might think to use Fluid_Fraction_Selected with 0.5. However, we need to create a function which respects the cell volume fraction as well. We will calculate a new variable = Fluid_Fraction_Selected * Cell_Volume_Fraction_Fixed As with Part creation, Variable creation has a concept of Parents to the equation. Select Block 1 as the Parent for the equation.
46
Exercise 1.3
Lets create a 2nd isosurface, using the Block 1 as the parent (from which the part is calculated) Use cell_vol_fluid_fr with 0.5
47
48
49
Exercise 1.4
Drag the Pressure_Selected variable from the Variable list and drop onto the Isosurface part of the Fluid Surface
Drag the Analysis_Time variable and drop it into the viewport. Change timestep to see solution update.
50
Review
Read in the FLSGRF dataset Created an IsoSurface of Cell_Volume_Fraction_Fixed to show the core/mold Created an IsoVolume for the Live Elements in the domain Created an IsoSurface inside of here to show current front of the fluid. Colored the surface by a variable. Placed an annotation on the screen for the current time.
51
52
53
Lighting
Shading Type
Palette Editor
Texture Editor
54
Exercise 1.5
Type in Max in Search field. Select Max to calculate the max of a variable on a part(s) The equation is placed into Expression Select Scalar_2 variable Click on Evaluate; theres now a new variable in the variable list.
57
Lets graph what this value is over time. Right Click over the variable in the Variable List, Select Plot vs. Time. EnSight automatically scrolls through time and generates a query & graph
58
Graph of Value
Use Left Mouse button to drag current time along the graph to an interesting point. EnSight will automatically update time to that location too.
59
Quantify Amount
Exercise 1.6
That was just the maximum, but what about quantification of how much of Scalar_2 is above some threshold? Lets calculate the surface area of the fluid_surface. Lets calculate the amount of that surface with value Scalar_2 above a threshold value. Lets take the ratio of the two, to present an Area Percentage above Threshold. Well use the same annotation and graph technique to show Using a surface as the parent, an IsoVolume of this surface returns a surface itself. We will use this technique to create a surface whose value is above some threshold value.
60
Multi-step calculation
Area of fluid surface. Select the Fluid Surface (2nd isosurface) Open calculator, and select Area Predefined function. Change the name to be total_area. (No spaces or control characters in the function names please). Lets calculate the amount of that surface with value Scalar_2 above a threshold value. Lets take the ratio of the two, to present an Area Percentage above Threshold. Well use the same annotation and graph technique to show
61
Quantify Amount
IsoVolume of Scalar_2 > 200 Select the Fluid Surface (2nd isosurface) Ensure you are on Create Open Isosurface, and select Scalar_2_Restart. Change the type to IsoVolume Change the constraint to be High, with 200 as the min value. Click the create with selected parts.
62
Quantify Amount
Can visualize this new isovolume. Calculate Area of this isovolume in a similar manner using the Predefined Function. Call it Area_above_200. Then, calculate the ratio of the two areas. Select the Define Equation tab Enter in the formula Area_above_200 / Area_total * 100
Quantify Amount
Create a similar annotation of this area value. Create a similar graph vs time for this quantity.
64
Tools
Tools
Multiple tools exist: Cursor tool (a single location) Line tool Plane tool Box, Quadric tools (Cylinder, Sphere and Cone) Tools are used during the process of: Creating new parts such as clip planes, particle trace emitter points, iso surfaces etc Performing query operations Show information for current cursor location Access the tools under the Quick Interaction Area or in the Tools panel on the Main Menu
66
Cursor Tool
The Cursor Tool is a 3D point in space and is Defined by a 3D cross; Red is the X direction, Green is the Y direction and Blue is the Z direction Position the Cursor Tool by left clicking-anddragging in the viewport (pick the center of the tool and the cursor will change to a +) The Cursor Tool will move in the plane of the current view so consider using planar views (F5, F6 & F7) and consider using multiple viewports; turning perspective off can be helpful (View Perspective)
67
Cursor Tool
The Cursor Tool can be projected onto an object by doing the following steps: 1. Click on the Set Pick icon and select Pick Cursor Tool Location 2. Place the regular cursor on an object and click on the middle mouse button (or click the P key on the keyboard) - The Cursor Tool has been projected onto the object
Right click on the center or ends of the
68
Line Tool
The Line tool is a line in space Defined by a white line with an arrowhead and an axis triad in the center Position the Line Tool by left clicking-and-dragging in the viewport (left click the center of the tool and the cursor will change to a + which will translate the line) Left click the end points to reposition them The X, Y & Z axes will rotate the Line Tool The Line Tool will also move in the plane of the current view so consider using planar views (use F5, F6 & F7) and consider using multiple viewports; turning perspective off can be helpful (View Perspective)
69
Line Tool
The Line Tool end points can be projected onto an object by doing the following steps: 1. Click on the Set Pick icon and select Pick Line Tool Location -> Using 2 Points (or any of the other choices) 2. Place the regular cursor on an object and click on the middle mouse button (or click the P key on the keyboard) at 2 different locations on the object - the Line Tool end points have been projected onto the object
Right click on the center or ends of the
70
Plane Tool
The Plane Tool is a plane in space Defined by a plane with an axis system Position the Plane Tool in the same way as the Cursor and Line Tool; click-and-drag in viewport, pick the center point to translate, this will move in the plane of the current view
Click on the end of the X-axis to rotate around the Y-axis Click on the end of the Y-axis to rotate around the X-axis Click on the end of the Z-axis to do a free rotation Right click on the center, corners or ends
71
Plane Tool
The Plane Tool can be oriented onto an object by doing the following steps: 1. Click on the Set Pick icon and select Pick Plane Tool Location -> Using 3 Points (or any of the other choices) 2. Place the regular cursor on an object and click on the middle mouse button (or click the P key on the keyboard) at 3 different locations on the object - the Plane Tool has been oriented onto the object
72
Use the Transformation Editor (Line Tool) to rotate or translate around the X, Y or Z axis
73
Alternatively, you can click on the Clip Icon for more options (IJK, Plane, Line, etc.)
86
Alternatively, you can double click on the Clip in the Part List, or Right click -- > Edit over the Part. Feature Detail Editor is brought up to control exact location and other features.
87
Right Click on Probe, and choose All Markers -> Label size to increase the annotation size; a value of 35 is more readable (the default value is 18)
91
Probes
Right Click over the Probe, and Select Variable to display here.
The system now displays the variable value on the right of the node number
92
Probes
Left click on the node marker and move the cursor while pressing the left mouse button; this will display the node number and variable information for each node as you drag across the model
93
Probes
Right click on the node marker to modify the selected variable, delete all probes, to remove the current probe or to select the closest node; this menu can also be used to change the colors of the marker or the label and to modify the size of the marker
94
95
96
97
98
99
101
For example: querying a Constant Variable over time can be done with At Max over time
102
103
If plotter already exists, just select the plotter you want the query to be graphed into.
104
Volume Rendering
Volume Rendering
A more recent method for visualizing the 3D domain is to use Volume Rendering. This renders all of the volume elements at once, and uses a variable to adjust its transparency. The transfer function is used to control the relationship between the variable and transparency.
106
Volume Rendering
Example of a gun muzzle with pressure used to render the volume.
107
Volume Rendering
Select the volume part(s) in the list, and change their element representation to Volume
108
Same for the Y and Z-axis (remember F1, F2 & F3?) Standard Views can also be selected by right clicking in the viewport and selecting View; various other options are available as well on this menu Use F5, F6, F7 and F8 (use Fit View to fit the geometry in the window)
110
Views Manager
The Views Manager is used to save and restore views Display the Views Manager by clicking on Tool Bar -> Views Manager
111
Views Manager
The Views Manager panel will be displayed
112
Views Manager
Rotate, zoom or pan the view in the graphics area and create another view in the Views Manager
An image of the next view will be displayed
Click on Save Views and select a directory to save all the views you have in the Views Manager Select Restore Views and select the directory where you saved the views to restore the saved views
113
115
Linking Viewports
Right click in a viewport and select Viewports Link All to have the same view in all viewports; the views are now linked so they rotate, zoom and pan all in the same way Please note that the viewport in which you right click and select Viewports Link All will be copied to all other viewports
116
Deleting Viewports
Right click in a viewport, select Viewports Delete to delete the current viewport
Please note that Link All, Hide & Delete are only available with multiple viewports visible on the screen
117
Toyota IQ 2009
Annotation (Legends)
Right click on any legend to display several options; click on Edit to display the Annotation (Legends) panel
Click the Edit Palette button to modify for instance the Min and Max values of the legend Any parameter of the legend can be modified on this menu
119
Annotation (Legends)
Quickly modify a legend by using the Show Min/Max, Palette, Position, Text and Format Options Remember that any legend can be moved and resized by a single left click on the legend
A left click over left handle allows the range of colors to be changed by moving the pointers
120
Annotation (Text)
Create a text annotation by right clicking in a viewport and select Quick Text and type in the desired text and click the Enter key
The text is displayed on the screen Move mouse over text for handles for moving and resizing the text Right Click to Edit
121
Annotation (Text)
Right click on the text to modify the Color, size, Justification, Rotation and Font type
Right click also to Edit, Hide or Delete the text; Edit will display the Annotation (Text) panel
122
Harley-Davidson V-Rod
Right click somewhere on the background and select Viewports -> 2 Horizontal and click View -> Fit View
124
125
126
Saving an Image
Click on File -> Export -> Image Click Set Format and select the image type you want, PNG for instance
Set the quality controls for each of the possible output
Saving an Image
Click on the Advanced tab and select the Window Size; this size is in pixels and ranges from Normal (the current size of the Graphics Area) all the way up to HD 1080p (1920x1080 pixels)
The Number of Passes sets the amount of multi-pass antialiasing to use: a higher number results in a better picture quality without jagged edges, so 16 (the highest setting) will create the best quality but will take 16 times as long to generate compared to a setting of 1; 4 is a decent compromise between quality and time needed to generate an animation - by the way, the Number of Passes does not change the image file size too much (it may even decrease if youre lucky)
129
Saving an Image
Heres a comparison of an image with and without full anti-aliasing
Saving an Image
Click on Prefix Select to select the path and type in the file name; then press OK
131
Typically, EnLiten is used for moving created parts (clip plane moving through model, or changing isosurface value), while Reveal format is used when variable display attributes changes are required
134
EnLiten/Reveal File
Heres what a model looks like in EnLiten/Reveal
In EnLiten this model can rotate, pan and zoom; colors and transparencies can be changed, keyframe animations played etc
135
If you want extra some security you can save the session command file as well; this file contains all the input from the user Click on File -> Command to see how it works You can apply Context Files to Similar Cases!!
136
137
A screen shot is saved Can organize these sessions, share When restored, takes you to this point in your data post processing Session files are case specific
138
Picture Description
139
Miscellaneous
Selecting Summary
The left mouse button can be used to select parts in the parts panel or in the graphics window; both the left and middle mouse buttons can be used to select parts in the graphics window; use Ctrl or Shift with a left or middle mouse button to select multiple parts (the P key can also be used) Use the Pick icon for positioning and projecting points for the Cursor, Line and Plane tool; click the middle mouse button or the P key to define the points
141
Transformations
Click on the Edit Transformations icon to display a panel that controls view transformations with exact values
Use the slider to rotate, translate or zoom around or along the positive or negative X, Y or Z Type in a specific angle or distance in these fields and move the slider until it reaches that angle or distance
Remember that these transformations are around the screen axes
Y Z X
142
Fast Display
Click on View -> Fast Display if the model is big and is rotating, panning or zooming slowly; during these actions the system will display by default bounding boxes for all objects making it faster to display
Click the Fast Display Representation icon on the Mode Icon Bar to select how the system will display each part while in Fast Display mode; the choices are: Box, Points, Reduced Poly and Invisible
143
Bounds Visibility
Click on View -> Bounds Visibility or the Bounds Visibility icon to display a box around all visible parts; coordinates along the axis are also displayed Changing the visibility of parts will change the size of the box
144
145
Help Files
Before you contact CEI, please click on the Help button thats provided with every command; in this example the Isosurface panel is displayed and pressing Help will display the appropriate pages for this feature
147
Help Files
Also take a look at other topics in the How To Manual to see if it answers your questions click on Help -> How To Manual and the How To Manual is displayed
148
149
Click Help -> CEI Technical Support to display the EnSight Support Form (see next slide)
150
Go to http://www.ensight.com and see the latest information about CEIs products, training, tutorials, white papers etc
151
152