Getting Started With Ensight 9.0
Getting Started With Ensight 9.0
Computational Engineering International, Inc. 2166 N. Salem Street, Suite 101, Apex, NC 27523 USA 919-363-0883 919-363-0833 FAX http://www.ceintl.com or http://www.ensight.com
Copyright 1994 - 2008, Computational Engineering International, Inc. All rights reserved. Printed in the United States of America. EN-GS Revision History EN-GS:6.0-1 EN-GS:6.0-2 EN-GS:6.0-3 EN-GS:6.0-4 EN-GS:6.1-1 EN-GS:6.2-1 EN-GS:6.2-2 EN-GS:7.0-1 EN-GS:7.1-1 EN-GS:7.3-1 EN-GS:7.4-1 EN-GS:7.4-2 EN-GS:7.6-1 EN-GS:8.0-1 EN-GS:8.2-1 EN-GS:9.0-0 June 1997 August 1997 October 1997 October 1997 March 1998 September 1998 December 1998 December 1999 April 2000 March 2001 March 2002 October 2002 May 2003 December 2004 August 2006 September 2008
This document has been reviewed and approved in accordance with Computational Engineering International, Inc. Documentation Review and Approval Procedures. This document should be used only for Version 9.0 and greater of the EnSight program. Information in this document is subject to change without notice. This document contains proprietary information of Computational Engineering International, Inc. The contents of this document may not be disclosed to third parties, copied, or duplicated in any form, in whole or in part, unless permitted by contract or by written permission of Computational Engineering International, Inc. Computational Engineering International, Inc. does not warranty the content or accuracy of any foreign translations of this document not made by itself. The Computational Engineering International, Inc. Software License Agreement and Contract for Support and Maintenance Service supersede and take precedence over any information in this document. EnSight is a registered trademark of Computational Engineering International, Inc. All registered trademarks used in this document remain the property of their respective owners. CEIs World Wide Web addresses: http://www.ceintl.com or http://www.ensight.com Restricted Rights Legend Use, duplication, or disclosure of the technical data contained in this document by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013. Unpublished rights reserved under the Copyright Laws of the United States. Contractor/Manufacturer is Computational Engineering International, Inc., 2166 N. Salem Street, Suite 101, Apex, NC 27523.
Table of Contents
Table of Contents
Introduction 1 EnSight Graphical User Interface
1.1 Tour of the GUI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1.2 User Interface Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9 1.3 Wheres the Rest? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
2 Starting EnSight
Necessary Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Starting EnSight for Stand-alone Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 Starting EnSight for Distributed Use - Manual Connection . . . . . . . . . . . . . . . . . . . . 2-2 Starting EnSight for Distributed Use - Automatic Connection . . . . . . . . . . . . . . . . . . 2-2
3 Simple Demonstration
3.1 Reading a Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
Drag and Drop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Getting Your Data Into EnSight. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.2 Performing Transformations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4 3.3 Parts and Part Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 3.4 Saving Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
Saving Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3.5 Using Online Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12 3.6 Exiting EnSight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14 3.7 Wheres the Rest? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Table of Contents
iv
Introduction
Whats in Getting Started?
This Getting Started manual contains the following information: An introduction to the EnSight user interface (Chapter 1). How to Start EnSight, stand-alone or distributed (Chapter 2). Some simple, step-by-step demonstrations of basic EnSight functionality (Chapters 36).
Menu selections use > to indicate the selection hierarchy. For example, Tools > Plane > Line means to select Plane from the Tools menu and then select Line from the Plane cascade menu. Notes and warnings provide particularly important information: Note: Text emphasized in this fashion is a note. Warning: Text emphasized in this fashion is a warning. Warnings typically indicate that your actions may have unintended consequences.
The other documentation is divided into four manuals: How To The How To documentation consists of relatively short articles that describe how to perform a specific operation in EnSight, such as change the color of an object or create an isosurface. Step-by-step instructions and pictures of relevant dialogs are included. In addition, each How To article typically contains numerous hyperlinks (colored blue) to other related articles (and relevant sections of the User Manual). To access a list of the online How To articles, select Help > How To Manual.... From this location you can easily navigate to any of the articles or to a comprehensive index. User Manual The User Manual provides a detailed reference for EnSight. To access the User Manual, select Help > User Manual.... From this location you can easily navigate to any of the chapters, the table of contents, or a comprehensive index. Note: When navigating in the online User Manual, you can easily return to the User Manual Table Title Page by clicking on the footer text: EnSight 9 User Manual. Interface Manual The Interface Manual provides details on interface APIs, as well as customization available through issuing commands to EnSight via a socket interface or through Python.
vi
1-1
Main Menu Feature Icon Bar Main Parts List Part List Manipulation
The Main menu provides access to basic EnSight functionality. The Help menu (at the far right end of the menu bar) contains items for accessing online help. The Message area displays brief messages during various operations. Note that Tool Tips are available for most icons. Clicking the Information button will bring up the EnSight Message Window where additional information about EnSight operations is displayed. The color of the Information button will indicate the type of the recent entries. Green indicates normal information, yellow indicates warnings, and red indicates errors. The Main Parts List displays all parts associated with the current session. A part is a named collection of elements (or cells) and associated nodes. All components of a part share the same set of attributes (such as color or line width).
Getting Started with EnSight 9
1-2
Parts are accessed via the Main Parts list. Items in the list are selected by placing the mouse pointer over the item and clicking the left mouse button. You can extend a selection by pressing the shift key as you click an item. Additional techniques for selecting parts are discussed on page 1-11. Understanding part concepts is crucial for productive use of EnSight. See section 3.3 Parts and Part Attributes for more information on parts. Also see Chapter 3 of the User Manual in the online documentation. Feature Icon Bar The Feature Icon Bar contains icons associated with the major features of EnSight (not all of which will be showing by default). Clicking the left mouse button on an icon selects the feature and opens the associated interface in the Quick Interaction area. Features include the following:
User Defined Tools Solution Time Provides a user interface to plug-in extensions from CEI and site or user customization. Provides controls for managing time for transient datasets. This icon is only present for transient data. Provides controls for specifying Flipbook animations. Flipbook animations are on-screen animations that permit graphic transformations during playback. Flipbooks can be used to animate clipping planes and isosurfaces and are also useful for visualizing transient data Provides controls for specifying keyframe animations. Keyframe animation provides sophisticated motion control and output options for generating animations for either online presentation (e.g. MPEG) or video. Opens the variable calculator, for creating computed variables.
Flipbook Animation
Keyframe Animation
Variable Calculator
Query/Plot
Provides controls for performing various query and x-y plotting operations. Provides controls for specifying interactive queries, which display variable values as the mouse is moved over objects in the Graphics Window, as the cursor tool is moved within a volume, or at specific node, element, ijk, or xyz locations. Create or modify a new contour (isoline) part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list. Create or modify a new isosurface part using the part(s) selected in the Main Parts list as parents and based on an isovalue of the variable selected in the Variables list. Create or modify a new clip part using the part(s) selected in the Main Parts list as parents. EnSight can create several types of clips including 1D line clips, planar clips, and quadric clips.
Interactive Query
Contour
Isosurface
Clip
1-3
Vector Arrows
Create or modify a new vector arrow part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list. Vector arrows display direction and magnitude of a vector variable. Create or modify a new particle trace part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list as the velocity variable. Create or modify a new subset part from node and/or element label ranges of model parts. Create or modify a new profile plot part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list. A profile plot is the 1D counterpart of an elevated surface. Create or modify a new elevated surface part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list. An elevated surface is a surface projected away from another surface with scaling based on the value of a variable. Create or modify a vortex core part using the part(s) selected in the Main Parts list as parents and the variable specified in the Dependent Variables list. Create or modify a shock surface or region part using the part(s) selected in the Main Parts list as parents and the variable selected in the Variables list. Create or modify separation or attachment line parts using the part(s) selected in the Main Parts list as parents and the variable specified in the Dependent Variables list. Create or modify boundary layer variables by selecting boundary (surface) parts in the Main Parts list from which to project velocity profiles into their respective 3D field parts. Create or modify parts which are based on the intersection or domain of elements with mixed material values.
Particle Trace
Subset Parts
Profile Plot
Elevated Surface
Vortex Cores
Material Part
Tensor Glyph
Create or modify a tensor glyph part using the part(s) selected in the Main Parts list (as parents) and the tensor selected in the Variables list. This icon is invisible by default. Edit > Preferences > General User Interface to turn it on. Create or modify a new developed surface part using the part(s) selected in the Main Parts list as parents. A developed surface is constructed by unrolling a quadric clip about its axis of revolution.
Developed Surface
1-4
Point Part
Create or modify a point part from specified locations in a parent part selected in the Main Parts list. A point part consists only of points and their variable values from the parent part. Think of a point part as a point clip. Create or modify a new extrusion part using the part(s) selected in the Main Parts list as parents. An extrusion part is the 3D part created from rotating or translating a 2D parent part and incrementally creating 3D elements from the 2D parent.
Extrusion Part
1-5
The Quick Interaction area provides the interface controls associated with the current feature selected from the Feature Icon bar. Changes in this area typically affect the parts currently selected in the Main Parts list. For example, if the currently selected feature (selected from the Feature Icon bar) is Isosurface, the Quick Interaction area provides controls for selecting the variable to use and value of the isosurface that will be created (or modified) in the parts currently selected in the Main Parts list. Warning: If you change a text field (for example, a numeric type-in), you must press Enter to have the change take effect! This applies not only to text fields in the Quick Interaction area, but throughout the EnSight user interface. Many of the Quick Interaction areas those associated with created parts provide Create buttons. Clicking the Create button will build a new part (such as an isosurface or a clipping plane) based on current settings. Once built, the new part appears in the Main Parts list. Some Quick Interaction areas will show a Variables list. Only variables appropriate for the selected feature will be shown in the list. A variable must be selected before the Create button is pressed. The Mode Selection Area selects the current major mode. Each mode tab has an associated set of icons that are loaded into the vertical Mode Icon bar when the mode tab is active (green). The five modes of EnSight are:
Part Part Mode icons control various part attributes. The operation of Part Mode icons applies only to the parts currently selected in the Main Parts list.
Annotation
Annotation Mode provides control over various annotation entities: text, lines/arrows, color legends, and bitmap logos.
Plot
Plot Mode provides control over the appearance and behavior of plot entities. A plot entity (typically created by a query operation) contains information for one or more X-Y plots. Plot entities can be positioned arbitrarily within the Graphics Window
Viewport
Viewport Mode provides control over viewports. The Graphics Window can be overlaid with multiple user-defined viewports. Viewports can be sized and positioned arbitrarily and have different backgrounds and borders.
Frame
Frame Mode provides control over frames. A frame is a coordinate frame of reference that can be positioned independent of other frames. Parts can be attached to different frames permitting sophisticated and complex animations (e.g. exploding views). Note: By default, this mode is not visible. See Main Menu > Edit >
Preferences... General User Interface - Frame Mode Allowed.
1-6
The Mode Icon Bar displays the icons associated with the currently selected mode. The icons are arranged in a vertical scrolling region to the left of the Graphics Window. The Quick Icon Reference in the How To Manual online documentation provides a quick reference for all EnSight icons as well as hotlinks from the icons to relevant online articles. The Transformation Control Area provides icons that control various aspects of object transformations. Transformations are accomplished by selecting the action (such as rotate), moving the mouse into the Graphics Window, clicking and holding the left mouse button, and dragging the mouse to achieve the desired transformation. The Transformation Editor (opened by clicking the Transf Edit... icon) provides precise control over all types of transformations. The possible actions are:
Rotate Rotate: click and drag left-right to rotate about the vertical axis up-down to rotate about the horizontal axis left-right with the control key pressed to rotate about the screen Z axis. Translate: click and drag left-right to translate in the horizontal direction up-down to translate in the vertical direction left-right with the control key pressed to translate in Z. Zoom: click and drag up/right to zoom out or down/left to zoom in with control key pressed to pan Zoom is implemented by moving the virtual camera. Band Zoom Rubber-band zoom: click and hold the left mouse button on one corner of the desired viewing region, drag to opposite corner. An outline of the region will appear as you drag. Release the mouse button to zoom to the outlined region. Selection tool: click and hold the left mouse button on one corner of the desired viewing region, drag to opposite corner. An outline of the region will appear as you drag. Release the mouse button to see the selection tool. Adjust the center or corner locations of the tool further if needed. Then click the magnifying glass symbol near upper left corner to zoom. Or click the eraser symbor to blank out elements under the tool. Open the Reset Tools and Viewports dialog that permits easy resetting of all or some transformation operations. Open the Transformation Editor dialog. From within this editor, all global transforms (including scaling where appropriate) as well as frame and tool transforms can be controlled. There is also control of the center of transform, look-at/look-from locations, and z-clipping.
Translate
Zoom
Selection Tool
1-7
Fit
Fits the currently visible model in the window and resets the center of transform to center of visible parts.
Graphics Window
All 3D objects, as well as annotation entities, are displayed in the Graphics Window. The Graphics Window can contain additional (up to fifteen) user-defined viewports as well as X-Y plots.
1-8
1-9
Menus
The EnSight documentation uses the following terms to describe various types of menus: Menu bar Pull-down menu Cascade menu or submenu Options menu or popup menu A horizontal strip across the top of a dialog listing menu titles. A pull-down menu is one accessed directly from a menu bar. A submenu is accessed from another menu selection. Submenu selections are indicated by a right-pointing arrow. An options menu is accessed by pressing the associated button. The current selection always appears as the button title.
Menu bar
Diamond button group (Linux/Mac) Windows Version will not have the diamond buttons, but selection will work as described for diamond buttons
1-10
Lists
Lists (such as variable lists and the Main Parts list) are presented in dialogs as scrollable sections. Various mechanisms are used to select items from a list for further action: To... Select an item Do This... Single-click Details... Place the mouse pointer over the item and click the left mouse button. The item is highlighted to reflect the selected state. Place the mouse pointer over the first item. Click and hold the left mouse button as you drag over the remaining items to be selected. Only contiguous items may be selected in this fashion. Note, on a Windows system you must click outside of the text items and drag a selection box around the desired parts. Place the mouse pointer over the item. Press the shift key and click the left mouse button. This action will extend a selection to include all those items sequentially listed between the previous selection and this one. Place the mouse pointer over the item. Press the control key and click the left mouse button. This action will extend a selection by adding the new item, but not those in-between any previously selected items. Place the mouse pointer over the selected item. Press the control key and click the left mouse button. This action will de-select the item. Place the mouse pointer over the selected item in a list or in the graphics window and click the right mouse button. This action will pop up a context-sensitive pulldown list if available.
Select-drag
Shift-click
Control-click
De-select an item
Control-click
Shortcuts
Right-click
You can also double-click list items. The result depends on the list and type of item. For model parts in the Main Parts list, a double-click will simply clear the Quick Interaction area. For created parts, the Quick Interaction area for the corresponding part type will open. Double-clicking variables in the Variables list of the Part color, lighting, & transparency dialog will open the Feature Detail Editor for Variables. To double-click, place the mouse pointer over the item and click the left mouse button twice in rapid succession. Note, the Main Parts list has some additional, useful display and selection options which are accessible via buttons below the list. These are explained in the online documentation.
1-11
Buttons
EnSight uses the following kinds of buttons: Rectangular Place the mouse cursor in the button area and click the left mouse button. Rectangular buttons typically access the function described in the label. If the label is followed by ... then the button opens another dialog. Place the mouse cursor in the button area and click the left mouse button. Arrow buttons typically have an associated text field or scroll bar. Clicking the button increments or decrements the text field or scroll bar value. Place the mouse cursor in the button area and click the left mouse button. Diamond buttons (also called radio buttons) are toggles that select an item from a mutually exclusive list. Exactly one diamond button of a group can be on at any given time. Note that for the Windows Version no diamond buttons are used, but that the selection of items works as described here. Place the mouse cursor in the button area and click the left mouse button. Square buttons are toggles that access the function indicated by the label.
Arrow
Diamond
Square
Arrow button
Rectangular buttons
Square button
Diamond buttons
1-12
Text Fields
EnSight utilizes two types of text fields: Information Text Fields Editable Text Fields These text fields are used to report information and cannot be edited by the user. Information text fields are surrounded with a single pixel border Place the mouse cursor in the text field and click to insert a blinking insertion cursor. Several techniques are available to accelerate text editing. Select a single word by double-clicking or the entire string by triple-clicking. Selected text is replaced by subsequent typing. The left and right arrow keys (on most systems) will move the insertion cursor. Note: You must type Enter (while the blinking insertion cursor is still in the field) for changes to text fields to take effect! Where appropriate (i.e. in File Selection dialogs), EnSight recognizes the following shortcut specifications for directories:
~/ ~username/ ./ ../
Expands to your home directory. Expands to the home directory of username. Expands to the current working directory. Expands to the parent directory of the current working directory
Note that standard wildcard characters (e.g. * to represent a series of zero or more arbitrary characters) can also be used in File Selection dialogs.
1-13
1-14
Starting EnSight
EnSight must have been installed and the CEI_HOME and PATH environment variables setup properly. If you successfully performed the installation verification as described in the Installation Guide, you have verified that these things are correct. (See $CEI_HOME/ensight90/doc/Manuals/Installation.pdf if you need this manual.)
Necessary Prerequisites
% ensight90
Note:
ensight90 - will start version 9.0 ensight82 - will start version 8.2
Or by choosing EnSight 9.0 from the Start > Programs > CEI menu.
EnSight90
This will automatically start both the Client and the Server and make the connection. To see if the connection is successful, you can click on the Information button on the Desktop. You should see Connection accepted in the EnSight Message Window which comes up. Licensing information should also appear in the Graphics Window. You should now close the EnSight Message Window and proceed to the next section. If the connection failed, please consult Troubleshooting the Connection in the Installation Guide before contacting CEI support. (See $CEI_HOME/ensight90/doc/Manuals/Installation.pdf for this manual.)
Getting Started with EnSight 9 2-1
2-2
Simple Demonstration
This chapter provides a step-by-step demonstration of basic EnSight operation. After successfully completing this chapter, you should be able to: read a dataset and load a model, transform objects in the Graphics Window: rotate, translate, and zoom, reset transformations, work with parts and change part attributes, save an image of the graphics window to a file, access the online documentation, exit EnSight.
3-1
Reading a Dataset
4. Click frame.case 5. Make sure you are using the Simple Interface 6. Click Okay to accept the selections and close the dialog window. (Or simply double click on the frame.case file for many Linux machines.)
See Help > How To Manual ... (and select How To Read Data) for more information on data reading. In this case, you can also get there by clicking the Help button.
3-2
Reading a Dataset
When the File Selection dialog is closed, EnSight reads the data and loads all four parts of the model (they will be listed in the Main Parts list and displayed in the Graphics Window).
Note: To improve the legibility of the Getting Started manual, the images in the Graphics Window are shown with a white background rather than the default black background that EnSight uses. If you desire to only load some of the parts, or to use different representations as they are loaded, this is easily done. See How To Read Data (Help > How To Manual ...) for information on the two-step method of reading and loading data.
Performing Transformations
Performing Transformations
At this point, you have probably transformed the model into a strange orientation. Before going on. 1. Select Rotate. You can easily reset the view to the default position and orientation. 2. Click Reset... in the Transformation Control area. This opens the Reset Tools and Viewport(s) dialog. You can use this dialog to clear the selected transform operator only (i.e. the one currently selected in the Transformation Control area), all rotate, translate, scale transforms (but not zoom), or to reinitialize the entire view. Reinitialize will not only clear all transformations, it will also reposition the virtual camera such that all currently visible parts are scaled to fit the Graphics Window, and make the center of rotation to be the centroid of the visible parts. 3. Click Reinitialize. 4. Click Close. See How To Reset Tools and Viewports (Help > How To Manual ...) for more information on resetting transformations. You can also perform precise transformations (such as rotating 22.5 degrees about the X axis) using the Transformation Editor 5. Click Transf Edit... in the Transformation Control area. This opens the Transformation Editor dialog in Global Transform mode. 6. Select Rotate icon in the Transformation Editor dialog. 7. Select X Axis. 8. Place the mouse pointer in the Increment field and double-click the left mouse button to select the entire value 1.000000. 9. Enter the value 22.5 and press Enter. The model is rotated precisely 22.5 degrees about the X axis. (Note: Clicking the -/+ arrow buttons will apply the negative/positive value of this Increment successively.) 10. Grab the slider (click and hold the left mouse button) and drag left and right. Note that the actual number of degrees rotated is printed above the slider thumb switch as it is moved. Experiment with the Transformation Editor set Axis to other values or change the current action in the Transformation Control area to edit translation or scale. (If the model doesnt seem to move in the translate mode, increase the increment and limit, press Enter, and move the slider again.) When you are done: 11. Click Close. 12. Reinitialize all transformations as described in steps 2-4 above.
3-5
Part Descriptor Part number (as designated in the data or assigned by EnSight)
EnSight provides a large number of attributes that can be edited on a per-part basis. Attributes control the appearance or behavior of parts. Examples include visibility, color, line width, and transparency. Part attributes for selected parts can be changed while in Part Mode using the icons on the left-hand side. Some global part attributes can be changed in the View Menu. For example, Main Menu > View > Shaded (or the shaded toggle on the desktop) enables/disables shaded surface display for all parts. For example, there is a shaded surface icon on the left side that enables/disables shaded surface display on a per-part basis, and a global toggle just above the graphics area that turns it on and off on a global basis. Many operations in EnSight (such as setting attributes) require that the parts to be acted on are selected (highlighted) prior to the operation. Items in the Main Parts list are selected by placing the mouse pointer over the item and clicking the left mouse button. You can extend a selection by pressing the shift key as you click an item. Additional techniques for selecting items in lists are discussed on page 1-11. In the remainder of this section, we will explore parts and changing part attributes.
3-6
The first task is to enable shaded (hidden surface) display. By default, the part-specific shaded attribute (as set in Part Mode) is on. By toggling on the corresponding Shaded toggle on the Desktop, we enable hidden surface display for all parts. 1. If the Shaded Toggle is not ON, click it to toggle shaded surface display for all parts (icon becomes brighter). Leave shaded ON. All objects in the Graphics Window are now displayed with shaded surfaces. Turning this toggle off will result in a wireframe display. We can now selectively disable shaded display for individual parts. 2. Select the green arrow and blue arrow parts in the Main Parts list: place the mouse pointer over the green arrow part, click the left mouse button, and drag down until both parts are highlighted. Note that the selected parts are highlighted in the graphics area. To toggle this off, click on the Hightlight Selected parts icon.Toggle it back ON.
On Windows, click to the left of the top part and drag a box over the two parts.
3. Click Part in the Mode Selection area to enter Part mode. (Tab will turn green.) 4. Click the Part Shaded Toggle to disable shaded surface display for the selected parts. Note that the Part Shaded Toggle icon changes (the icon will be dimmed) to reflect the fact that the selected parts have shaded disabled. Lets change the line width of the selected parts: 5. Click the Part Line Width pulldown and select 3 Pixels from the menu. Note that the line width of the selected parts (the arrows) has increased. 6. Select the frame base part in the Main Parts list. 7. Click the Part Visibility Toggle to disable display of the part.
Parts are assigned a default color when loaded into EnSight. These colors are constant, meaning that every portion of the part is colored the same. Parts can also be colored by a variable value. Since the value associated with a variable typically varies from node to node, the displayed color will vary across the surface of the part.
3-7
8. Select all the parts in the Main Parts list: Click the Select... button and click All. (or click the Case 1 line in the Part List)
9. Click the Color/transparency icon in the Part Mode bar. The Part color, lighting, & transparency dialog opens. (Note that the variables list is set to Constant Color.) 10. Pick a shade of gray from the bottom row of the color palette. Note that all parts in the Graphics Window are now colored by the same shade of gray. Although this dataset has no associated variable data, we can still color the parts by a variable since EnSight provides some defaults: Coordinates and Time. The Coordinates variable treats the XYZ coordinate of a node as a vector; color is assigned based on the magnitude of that vector. 11. Click Coordinates in the Variables list, and close the dialog. Note the color change. The left rear post of the frame is closest to the origin of the coordinate system and is colored blue. The right front post of the frame farthest from the origin is colored red.
See How To Change Color (Help > How To Manual ...) for more information.
3-8
Up to this point, all parts have been selected by clicking in the Main Parts list. You can also select parts by picking them in the Graphics Window. Although this dataset contains only four parts, most contain many more and selecting parts via the list can become tedious. To select parts by picking: 12. Move the mouse into the Graphics Window and place the pointer over the arrow on the left side of the model. 13. Left click on the part of interest. Look at the Main Parts list: the green arrow part (number 2) should now be the only part selected. (If this is not the case, be sure the mouse pointer is directly over one of the lines of the part left-click again.) 14. Move the mouse pointer over the arrow on the right side of the model. 15. Press and hold the control key. With the control key still down, left-click the mouse button while it is over the right arrow part. Holding down the control key during the pick extends the current selection: both the green arrow and the blue arrow parts should now be selected in the Main Parts list. See How To Select Parts (Help > How To Manual ...) for more information. Note that the selected parts are highlighted in the graphics window for clarity. 16. Toggle the highlight parts toggle OFF (see step 2 if you forget where this toggle is located). EnSight indicates in the graphics window which parts are selected as long as the global toggle is ON. 17. Now toggle the highlight parts toggle ON. 18. Click the Part Shaded Toggle to enable shaded surface display for the selected parts. 19. Select the frame base part in the Main Parts list. 20. Click the Part Visibility Toggle to enable display of the part. EnSight can display node and element labels on selected parts. The label values are either provided explicitly from the dataset or are provided by EnSight. To display node labels: 21. Click the Node/Element Labeling icon, and toggle on Node label visibility in the dialog that comes up, then close the dialog.
See How To Display Labels (Help > How To Manual ...) for more information.
3-9
After these operations (and some rotate and zoom transformations) your Graphics Window should look something like the following. (Note that the node labels have been colored black here to contrast with the white background your labels will be white on a darkened background.)
3-10
Saving Files
3. Click on Format... and select JPEG image file. 4. Click Okay to close the format dialog. 5. Enter a file prefix in the To File field, and hit Return.
Note: By default, EnSight will save images in the directory from which the Client is started. Since this directory is part of the EnSight distribution, it is probably write protected. To save the image in your home directory instead, on a Linux system prefix the filename with ~/. On a Windows system, use ~\. Note on Windows, ~ = C:\Documents and Settings\username
6. Click on Convert to Default Print Colors (changes background to white and white objects to black). 7. Click Print (or OK on Windows)
Note: On Windows, you can replace steps 5-8 with a File > Print operation. See How To Print/Save an Image (Help > How To Manual ...) for more information on image formats and options.
Getting Started with EnSight 9 3-11
User Manual
3-12
To access the User Manual table of contents: 1. Click the iconify button to iconify the current PDF viewer window. 2. Select Help > User Manual... from the EnSight Main menu, then click Table of Contents on the title page itself or in the Bookmark list. 3. The User Manual contains blue hypertext links just like the How To articles: you can click on items and jump to a new location: chapter and section entries in the table of contents index entries in the index cross references in the text that begin See ... the footer of every page will jump back to the title page of the User Manual (from which you can jump to any chapter).
Adobe Acrobat .pdf files for all documentation are included on the EnSight CD distribution (and were placed in the $CEI_HOME/ensight90/doc/Manuals directory during the installation process). These documents (GettingStarted.pdf, HowTo.pdf, UserManual.pdf, and others for advanced users) have been optimized for printing and formatted for letter-size paper. You can open these files and print any or all pages from within a pdf reader, or you can order printed copies from our website.
3-13
Exiting EnSight
If you toggle on Save Command Backup File To and save the commands (for example, to a file called file.enc), you could then start a subsequent Linux version EnSight session (from the same starting directory) with the command:
% ensight90 -p ~/file.enc
(assuming you are running stand-alone) to duplicate the entire session. You could accomplish the same thing by starting EnSight normally and then playing the command file from the command dialog (this would be the normal way to do it in the Windows version: File>Command and load the command file). See How To Record and Play Command Files (Help > How To Manual ...) for more information. In Windows, you can start EnSight and just drag the .enc command file from the desktop to the EnSight window and EnSight will recognize it as a command file and run it. Note that the Quit Confirmation dialog also provides an option to save a Full Backup Archive File. An archive (which is saved for both the Client and the Server), contains a binary memory dump of the complete state of each system. Unlike replaying a command file (which has to re-execute every action), the restoration of an archive occurs very fast since only the saved memory state for each system is restored. See How To Save or Restore an Archive (Help > How To Manual ...) for more information. 2. Click Yes to exit EnSight.
3-14
3-15
3-16
4-1
Reading a Dataset
directory.
5. Click ami.case in the Files list. 6. Click Okay to accept the selection and close the dialog window. (Or simply double click on the ami.case filename in the list.)
The two constituent parts are now listed in the Main Parts list and displayed in the Graphics Window (with the flow field in feature angle mode and the hypersonic body part in full mode)
Note: To improve the legibility of the Getting Started manual, all images of the Graphics Window are shown with a white background rather than the default darkened background that EnSight uses.
4-2
Reading a Dataset
Since we dont really need to see the flow field, we will make it invisible and fit the geometry to the window.
7. Select the external flow field part in the Part List. 8. Click the Visibility Icon in the Part Mode icon bar.
9. Click Fit.
The model should now look like the following (but may be zoomed in further):
4-3
Feature Demonstration
2. Click the Color/transparency icon in the Part Mode icon bar to open the Part color, lighting, & transparency dialog. 3. Click the pressure variable. The color legend appears to the right of the model in the Graphics Window (default behavior - this is a user-controllable preference). Note that the display of legends can be controlled in the Legend Visibility dialog which is accessible via the icon on the right, just above the graphics window. We wont actually modify the legend visibility at this time. Also note that color legends have many display attributes see How To Create Color Legends (Help > How To Manual ...) for more information. 4. Click the Close button to remove the dialog. 5. Toggle off the Highlight Parts When Selected toggle to turn off part selection highlighting. Your Graphics Window should now appear similar to:
4-4
Feature Demonstration
In the next sequence of operations, we will create a new part: an X clip. Once the clipping plane has been created, we will build a contour part using the clipping plane as the parent part. Clipping Plane Part 6. Select the external flow field part in the Main Parts list, which is still loaded but is invisible.
7. Click the Clip icon in the Feature Icon bar. We will use the default, which is the X slice of an XYZ clip, at MID-RANGE. 8. Click Create to create the new clip part.
Note that a new part Clip_plane is now listed in the Main Parts list. There is also a new part in the Graphics Window but you cannot see it since it is perfectly parallel to our line of sight: rotate the model to see the clipping plane. See How To Create Clips (Help > How To Manual...) for more info.
9. Move the mouse pointer into the Graphics Window, click and hold the left mouse button and drag to rotate the model. Similarly, you may want to zoom the model by dragging the right mouse button (or rotating the mouse wheel) in the Graphics Window. It might be better if the clip plane was not shaded, so we could see the model through it. 10. Make sure the Clip_plane part is selected in the Part list (it should already be), and click the Shaded icon in the Part Mode icon bar. Depending on how you rotated and zoomed, you should now see something like the following in the Graphics window.
4-5
Feature Demonstration
The new Clip_plane part listed in the Main Parts list has attributes just like the original model parts. For example, we can color the part based on the value of a variable and change other attributes as well (like we just did with its visibility). 11. Click the Color icon in the Part Mode icon bar. 12. Select velocity in the variables list and then close the dialog. Your Graphics Window display should look something like the following:
11. A quick way to color a part is to right click on it and select Color By> Select Variable in the resulting pulldown 12. In the popup window select Velocity and click OK. The clip plane is colored by Velocity.
The primary procedure in EnSight for creating new parts is as follows: One or more parent parts are selected in the Main Parts list. A Feature is selected from the Feature Icon bar, below the main menu. Desired changes are made to the Quick Interaction area for the selected Feature. The Create button is clicked in the Quick Interaction area to create the new part. Any desired attributes are set for the new part using Part Mode.
4-6
Feature Demonstration
Contour Part
The clip plane was built using the external flow field as the parent part. Since the clip plane is itself a part, it can be used as a parent part to create other parts. To create contour loops of velocity on the clip plane:
14. Click the Contour icon in the Feature Icon bar to open the Quick Interaction area for Contours. 15. Select Velocity in the variable list. 16. Change the value of the Sublevels field to 3 and press Enter. 17. Click Create to build the new contour part. By default the Sync To Palette toggle is activated so that EnSight creates a contour loop at each level in the color palette assigned to the selected variable. Levels are evenly spaced values that span from the minimum to the maximum range of the variable. Default color palettes have five levels. The subcontour value sets the number of additional contour loops that will be calculated between each level. In this case, 17 total contours will be calculated: ((51)*3)+5. By default a preference called Color by creation variable toggle is activated, so the contour loops are colored by velocity. If this toggle had not been set, the contours would have appeared as white lines (which could have been colored later if desired). We can change the line width of the contours to make them a little more visible: 18. Click the Part Line Width pulldown and set the width to 3 pixels. Your Graphics Window should look something like: 19. Alternatively, you can right-click on the clip plane part and choose contour. See How To Create Contours (Help > How To Manual ...) for more information on contours and how color palettes affect contours.
4-7
Feature Demonstration
Clip parts in EnSight can be interactive: the tool that created the part can be grabbed with the mouse and moved. Or in cases like our X plane, a slider is provided. Once you release the mouse button, any parts that depend on the clip (i.e. that have the clip part as a parent), are automatically recalculated to reflect the new condition of the parent. 20. Double-click the Clip_plane part in the Main Parts list. (Or single click the part and then click the Clip Feature icon.)
Double-clicking a created part opens the Quick Interaction area for the part type and loads the part specific information. Any changes in the Quick Interaction area will affect only that part. 21. Click the Interactive pulldown and select Manual. 22. Manipulate the slider. As the slider moves, the X plane is translated. When the slider is released, the contour part recalculates to reflect the ending location of the clip plane. You can also type precise locations into the X Value field (and press Enter) if desired. You can also click the slider arrow buttons, which stride by the increment value. 23. Alternatively, you can left click on the clip plane until you get a handle and then drag the clip plane using the left mouse button on the handle . Any kind of part (model or created) can be deleted. Note that a deletion cannot be undone. 25. Select all the created parts in the Main Parts list: place the mouse pointer over part 3, click the left mouse button and drag down until part 4 is selected as well.
Note: On a Windows system you must click outside of the item and drag a selection box around the desired parts - or just use the standard shift-click or cntrl-click operations.
26. Click the Delete... button below the Part list (or move the mouse into the graphics window and press the delete key, or right click on the selected parts, or choose Main Menu > Edit > Part < Delete...) and confirm the deletion. The parts are removed from the display and the Main Parts list.
4-8
Feature Demonstration
Isosurface Part
Another type of created part is an isosurface. An isosurface is a surface of constant value (the isovalue) in a 3D field. The region on one side of the isosurface has values greater than the isovalue and the region on the other side has values less than the isovalue. To create an isosurface:
27. Select the external flow field part in the Main Parts list.
28. Click the Isosurface icon in the Feature Icon bar to open the Quick Interaction area. 29. Select pressure in the variables list. 30. Double-click the Value field to select the MID-RANGE value. Type 0.9 and press Enter. 31. Click Create to build the isosurface part. 32. Click the Color/transparency icon in the Part Mode icon bar and select pressure in the variable list to color the isosurface part by pressure. (You might need to scroll the list). Then close the dialog. Or, right click on the isosurface part in the graphics window and color by pressure. Isosurfaces can be interactive. Manipulating a slider changes the isovalue and the isosurface is recalculated and redisplayed. 33. Change the Interactive setting from Off to Manual.
34. Grab the slider and move it left and right. The isosurface changes as the slider is moved. Or better, leftclick on the isosurface to see a part handle. Left click and drag to change the isovalue. 35. Change the Interactive setting back to Off. 36. Select Delete... (and confirm the deletion) to remove the isosurface part. See How To Create Isosurfaces (Help > How To Manual ...) for more information.
4-9
Feature Demonstration
EnSight provides particularly powerful tools for exploring flow with particle traces. Traces can emitted from a point, a line, a plane, or even the nodes of an arbitrary part. A trace emitter can be made interactive: moving the emitter with the mouse will recalculate and re-display the traces. In this example, a simple point trace will be created.
37. Click Reset... in the Transformation Control area and then click Reinitialize in the Reset Tools and Viewport(s) dialog to reset the model position. Click the Close button to remove the dialog. 38. Click the Cursor tool toggle.
The Cursor tool is used to specify the position of a 3D point and, in this case, will be used to set the location of the particle trace emitter. Unfortunately, the Cursor may not be visible and may be initialized inside the hypersonic body part. The part needs to be made temporarily invisible so the Cursor can be moved. 39. Select the ami-x hypersonic body part in the Main Parts list. 40. Click the Part Visibility Toggle to disable display of the part. You should now see the Cursor tool (the red, green, blue cross) in the center of the screen. Note, you could just right-click on the ami-x hypersonic body part and choose hide to disable display of the part. 41. Move the mouse pointer into the Graphics Window and directly on top of the center of Cursor tool. Note: The mouse cursor will change to a + shape when over the tool. 42. Click and hold the left mouse button and drag the Cursor to a location up and to the left (see image below). 43. Click the Part Visibility Toggle to re-enable display of the hypersonic body part, or right-click on the part name in the part list and choose Change Visibility. Your Graphics Window should look something like the following:
4-10
Feature Demonstration
44. Select the external flow field part in the Main Parts list.
45. Click the Particle Traces icon in the Feature Icon bar to open the Quick Interaction area. 46. Select velocity in the variable list. The Emit From setting in the Quick Interaction area is set to Cursor by default. 47. Click Create to trace the particle. The trace should be visible extending from the Cursor tool to the right and down over the hypersonic body. See How To Use the Cursor (Point) Tool (Help > How To Manual ...) for more information on manipulating the Cursor tool. 48. Alternatively, right click on the cursor tool and select Particle Trace. EnSight can also trace from the Line tool to create a rake of particles. 49. Select Delete... and confirm to remove the particle trace part. 50. Click the Cursor toggle on the desktop to disable display of the Cursor tool. 51. Select the external flow field part in the Main Parts list. 52. Select velocity in the variables list. 53. In the Quick Interaction area, change the Emit From setting to Line. This selection displays the Line tool which is also completely enclosed within the hypersonic body part. 54. Right-click the on the hypersonic body part and choose Hide to disable part display. The Line tool (oriented horizontally) should now be visible. 55. Move the mouse pointer into the Graphics Window and directly on top of the center of Line tool. (The mouse cursor will change to a + when over a tool hotpoint.) 56. Click and hold the left mouse button and drag the Line to a location up and to the left. 57. Click the Part Visibility Toggle to re-enable display of the hypersonic body part.
Getting Started with EnSight 9 4-11
Feature Demonstration
58. Move the mouse pointer back into the Graphics Window and directly over the right end of the Line tool. 59. Click and drag the end of the Line tool down and to the left such that the Line is vertically stretched across the front of the hypersonic body (see image below). Your Graphics Window should look something like the following:
58. Select the external flow field part in the Main Parts list. 59. If needed, re-select velocity in the variable list. 60. In the Quick Interaction area, change the # Points field to 12 and press Enter. 61. Click Create to create the rake of traces. This operation created 12 evenly spaced traces along the Line tool. Interactive particle traces are particularly useful for exploring fluid flow. 62. In order to make the traces interactive you must click Interactive Emitter. 63. Move the mouse pointer into the Graphics Window and directly over the center of the Line tool. 64. Click and hold the left mouse button and drag the Line tool up and down. Release the mouse button. The constituent traces are recalculated and re-displayed as the Line tool moves. It may help to rotate the model to a new orientation and then move the Line tool again. 65. Click Interactive Emitter again to disable interactive operation. See How To Create Particle Traces (Help > How To Manual ...) for more information on particle tracing.
4-12
Feature Demonstration
Particle traces can be animated to provide intuitive comprehension of flow characteristics. Traces are animated by displaying one or more tracers on all traces of the trace part. A tracer moves along the path of a trace with length proportional to the local velocity. EnSight provides complete control over all aspects of the tracers including length, speed, and release interval for multiple pulses. 60. Toggle Animate in the Quick Interaction area. The tracers can be seen moving down the length of the traces. Numerous controls are provided for altering the appearance and behavior of the tracers. 61. Click Animate... to open the Trace Animation Settings dialog. 62. Click Get Defaults to load suitable default values to the various trace parameter fields. 63. Click Multiple Pulses. Note that there are now several tracers are moving down each trace. The Pulse Interval field controls the spacing between tracers. 64. Double-click in the Pulse Interval field to select the value. Type 10 and press Enter. 65. Double-click in the Tracer Time field to select the value. Type 1 and press Enter. 66. Double-click in the Tracer Delta field to select the value. Type 0.1 and press Enter. 67. Click Close. Animating traces often look better with the trace part invisible. 68. Click the Part Visibility Toggle to disable display of the particle trace part. 69. Click the Line Tool icon on the desktop to disable the display of the Line tool. 70. Quit Ensight (File > Quit > Yes)
See How To Animate Particle Traces (Help > How To Manual ...) for more information on trace animation.
4-13
4-14
5-1
Reading a Dataset
directory.
4. Click shuttle.xyz in the Files list. 5. Click Okay to accept the selection that appears in the File field and to close the dialog window.
When the File Selection dialog is closed, EnSight does not immediately read the file as in the previous example, but opens the Data Reader dialog for PLOT3D. A number of different PLOT3D formats are supported by EnSight. For a complete description, see How To Read Data (Help > How To Manual ...) or PLOT3D Reader in Chapter 2 of the User Manual ( Help > User Manual ...). EnSight scans the PLOT3D files to determine which format is being used. In most instances this results in the correct settings but it may, however, be necessary to specify in the Data Part Loader if the PLOT3D files are iblanked, if they are ASCII, Fortran Binary or C Binary format, if multiple zones (blocks) are present and if the model is 2D or 3D. Upon making the appropriate settings, the files are read by selecting "Read Specified File":
5-2
Reading a Dataset
After the file has been read, the Data Part Loader dialog is opened. Zone 1 appears in the Parts List indicating that one block of 3D cells has been found in the xyz (mesh) file. 7. Select Zone 1 in the Parts List. The logical indices of this selected zone appear in the "Using Node Ranges:" table. The lower section of the Data Part Loader dialog is used to create PLOT3D parts, as parts are not specifically defined in this format. The most basic part is the fluid flow region, in this case 8-noded hexahedral cells surrounding the surface of the shuttle geometry. For reference, this single block will be named by typing in a Part Description before creating the part. A second part, defined by the surface of the geometry, will be created by choosing an appropriate limited range of nodes (which are normally known by the author of the PLOT3D mesh). In this manner any number of surface parts may be created in addition to the 3D (fluid) parts. Note that the Data Part Loader may be used at any time to create new parts from the original PLOT3D data files. 8. Click Element Visual Rep. and change the setting to "Feature Angle". 9. Type external flow field. 10. Click Create/load from selected button. At this point the external flow field part will show up in the main part list and the feature angle representation (outline view) of the domain will be displayed in the graphics window.
5-3
Reading a Dataset
11. Change the "Using Node Ranges" to limit I indices to 1-54, leave the J indices at 1-63 and change the K indices to 1-1 (the geometry's surface). 12. Click Element Visual Rep. and change the setting to "3D border, 2D full".
15. Click Close. The second part now appears in the Main Parts list. The external flow field is displayed as a wire frame and the surface is displayed as a mesh. As the flow field and geometry are both symmetric, only a halfmodel was used. The image in your Graphics window should appear as follows:
5-4
Feature Demonstration
After some rotations, translations, and a zoom - you should be able to produce an image approximately as follows: (The model should be green)
5-5
Feature Demonstration
3. Select the external flow field part in the Main Parts list.
4. Click the Clip icon in the Feature Icon bar to open the Quick Interaction area for clip creation. 5. Click the Use Tool button and change the setting to IJK. 6. Change the value for an I Mesh Slice to 48 and press Enter. 7. Click Create. Notice that a new part appears in the Main Parts list, "Sweep surface" 8. Click the Color/transparency icon in the Part Mode Icon bar to open the Part color, lighting, & transparency dialog. 9. Select the Momentum variable, then close the dialog.
5-6
Feature Demonstration
As in the previous example, it is possible to interactively manipulate the clip plane. In this case, however, the plane will move along a given logical coordinate as the slide bar: 10.Select Manual from the Interactive menu.
11.Move the slider to view different constant I Mesh planes 12.Change the Mesh Slice from "I" to "J" and "K" and use the slider to view different constant J and constant K mesh planes. Note that the Min, Max and Step settings can be used to limit the extent and resolution of these planes. 13. Set the Mesh Slice back to I. 14.Set the Interactive setting back to OFF. It is possible to use both IJK and arbitrary plane Clips within the same session of EnSight. The IJK Clip feature may also be used as an alternative to creating model parts via the Data Part Loader as described above.
5-7
Feature Demonstration
Extended CFD Variables Often, the primitive variables solved by a given CFD code are of less interest than certain derived variables, for instance the Mach number, defined as the ratio of the local fluid speed to the freestream speed of sound. In the aerospace community, a number of these derived quantities are referred to as the "PLOT3D functions", as they were available in the program PLOT3D. EnSight includes most of these functions, and enhances their original form in two important ways. First, these Extended CFD Variables may be computed based on the "q file" variables of the PLOT3D format, namely the scalars density and energy and the momentum vector. In this case, EnSight makes the appropriate mapping of the variables. If, however, PLOT3D files are not used, or if the PLOT3D variables are used in a non-standard fashion, the user may define the appropriate mapping between the variable names as they were defined in the results and those quantities needed by EnSight to create the desired extended variable. The second enhancement is the ability to define any value for the ratio of specific heats, Cp, or use a scalar variable to define a different Cp value at each node of the mesh. 15. Click the Calculator Feature Icon. 16. Click the Extended CFD Variables... button. This opens the Extended CFD Variable Settings dialog
17. Click Show extended CFD Variables. 18. Click OK. You can also close the Feature Detail Editor (Calculator) dialog.
5-8
Feature Demonstration
The Variable list now contains the original variables as well as the Extended CFD Variables. As with all others, these variables will not be activated until they are needed, for instance to color a model part. The activation of the extended variables involve a computation requiring one or more of the primitive variables. This, in turn, will require their activation, which EnSight performs automatically. All activated variables will remain so until they are explicitly deactivated. Note also that some extended variables (for instance vorticity) involve complex computations which may require significant time to complete. 19. Click the Color/transparency icon in the Part Mode Icon bar to open the Part color, lighting, & transparency dialog. 20. Select the Mach variable (you will probably have to scroll to it) to color the selected part by the selected variable and close the dialog. (Note that the legend changed also.) The image in your Graphics Window should look something like the following:
See How To Create New Variables (Help > How To Manual ...) for more information.
5-9
Feature Demonstration
Saving an Archive
EnSight can save the complete state of a session as an archive. An archive consists of two binary files containing the state of the Client and Server as well as an Archive Information file that stores additional information (including pointers to the two binary files). Although you can duplicate a session by replaying a saved command file, restoring an archive is much faster. When you replay a command file, EnSight has to re-execute every action performed by the user, even if that action had no effect on the final state. An archive restores very fast since only the final state is restored. To save an archive: 1. Select File > Save > Full Backup... to open the Save Full Backup Archive dialog. By default, EnSight will save the archive information file and the Client archive in the directory from which the Client is started. The Server archive will be saved on the Server host (by default, in the directory from which the Server was started). Since these directories are part of the EnSight distribution, they are probably write protected. To save the archive files in your home directory instead, prefix the entries with ~/. 2. Double-click in the Archive Information File field and type ~/ens_chapter5.ar. 3. Double-click in the Client Directory field and type ~/. 4. Double-click in the Server Directory field and type ~/. 5. Click Okay.
You can restore an archive during a session (either immediately after the Client-Server connection or after replacing a case) by selecting File > Restore > Full Backup.... You can also have an archive automatically load at startup. From a command line:
% ensight90 -ar ~/ens_chapter5.ar
This can also be done from within the user interface, which is the normal way that it would be done with the Windows version. Start Ensight, do File > Restore > Full Backup, and choose the archive file. See How To Save or Restore an Archive (Help > How To Manual ...) for more information.
5-10
5-11
5-12
6-1
Reading a Dataset
directory
4. Click crash.case in the Files list. 5. Click Okay to accept the selections and close the dialog window.
This procedure (using File > Open...) is a quick read which loads all parts for file types that have been mapped (using a mapping file) to a specific reader and a specific part visualization representation. The site preferences mapping file (named ensight_reader_extension.map) is found in the site_preferences subdirectory in the EnSight 9.0 install directory, and the local mapping file (same name ensight_reader_extension.map) is found in the .ensight90 directory in the users home directory. The local file takes precedence over the site preference file. The constituent parts are now listed in the Main Parts list and displayed in the Graphics Window:
Note: To improve the legibility of the Getting Started manual, all images of the Graphics Window are shown with a white background rather than the default black background that EnSight uses.
6-2
Feature Demonstration
7. Click the Displacement icon in the Feature Icon bar to open the Quick Interaction area for Displacements.
8. Select the displacement variable, then close the dialog. Note the new positions of the car and the guard rail. See How To Display Displacements (Help > How To Manual ...) for more information.
6-3
Feature Demonstration
10. Click the Color/transparency icon in the Part Mode Icon Bar to open the Part color, lighting, & transparency dialog.
11. Select the plastic variable, then close the dialog. The color legend appears to the right of the model in the Graphics Window. Color legends have many display attributes see How To Create Color Legends (Help > How To Manual ...) for more information.
12. Rotate and zoom the model until the view in the Graphics Window looks something like the image on the next page. 13. Toggle OFF the Hightlight Selected Parts icon
6-4
Feature Demonstration
EnSight provides an interactive probe tool that uses the mouse pointer to select points of interest. 14. Click the Probe icon in the Feature Icon bar to open the Quick Interaction area. 15. Select the plastic variable.
16. Change the Query to Surface Pick. 17. Move the mouse pointer into the Graphics Window and place the pointer over the car (preferably in a non-blue region). Left-click or middle-click on the car. The value of the plastic strain variable is calculated for the point under the mouse and displayed. A marker (the sphere) is also displayed. 18. Change the Query back to None.
See How To Probe Interactively (Help > How To Manual ...) for more information.
6-5
Feature Demonstration
By default, EnSight initially displays the last time step. However, its easy to change timesteps. 19. Click the Solution Time icon in the Feature Icon bar to open the Solution Time Quick Interaction area. The Solution Time Quick Interaction area provides several methods for working with time. Perhaps the easiest way to change time steps is to use the slider bar. 20. Place the mouse pointer over the slider bar. Click the left mouse button and drag the bar until the value in the Current field is 12. 21. Release the mouse button.
Note that the geometry in the Graphics Window has updated to reflect the data at the new time step. See How To Change Time Steps (Help > How To Manual ...) for more information. EnSight provides powerful query and plot features. Query/plot is fully integrated with the transient data handling facility so that plots will automatically update during time changes. Here we will query for the maximum plastic strain over all timesteps 22. Select the GROUP: car part in the Main Parts list. 23. Click the Query/Plot icon in the Feature Icon bar to open the Quick Interaction area. 24. Change the Sample setting to At Maximum Over Time.
25. Select the plastic variable for Variable: 1. 26. Click Create. A new query entity appears in the Query Items list named Maximum plastic vs. Time. To plot the query: 27. Click the Plot tab.
6-6
Feature Demonstration
28. Click New Plotter. The plot appears in the lower left corner of the Graphics Window. See How To Query/Plot (Help > How To Manual ...) for more information. Plot Mode provides control over the appearance of plotters and curves see How To Change Plot Attributes (Help > How To Manual ...) for more information. 29. Since the axis interferes with the plot, simply click the axis toggle just above the graphics window off for now. Your Graphics Window should now look something like the following:
6-7
Annotation
6.3 Annotation
Many postprocessing tasks require the production of hardcopy (or video) output with various types of annotation. EnSight provides comprehensive features for annotation: text, lines/arrows, color legends, and bit mapped logos. To add text annotation: 1. Click Annot in the Mode Selection area to enter Annotation mode. 2. Click the Text Creation icon to open the Annotation dialog. 3. Click on New to create a new text annotation 4. Click in the Text field and type Car Crash. 5. Click the Update text button to create and display the text in the Graphics Window and then close both dialogs. This operation creates a new text object. The object is currently selected (as seen by the green handles). To move the text: 6. Move the mouse pointer into the Graphics Window and over the text. Click and hold the left mouse button and drag the text up. Release the button. 7. You can also resize the text. Place the mouse pointer over the right-angle handle in the lower right corner (just below and to the right of the h). 8. Click and hold the left mouse button and drag the handle to the right to increase the size of the text. EnSight supports several special strings that let you automatically display constant variable values as well as various internal values. For example, you can have a text string that displays the current solution time. When the time step is changed, the text automatically updates. 9. Click on the clock icon. 10. Click on Display Time Annotation Button. The text Time:1.41e-01 appears in the Graphics Window.
This value corresponds to the solution time at time step 12. 11. Change back to Part mode
6-8 Getting Started with EnSight 9
Annotation
12. Move the mouse pointer into the Graphics Window and over the new text string and left click on it to get a green object handle on the text string. 13. Drag the text by the green handle until it is under the Car Crash text. So using the new handle, you dont need to change into Annot mode to move text around. Your Graphics Window should look something like the following:
If you change time steps (as described on page 6-6) or load a new flipbook (as we will do on page 6-12) the text will automatically update to reflect the current time. See How To Create Text Annotation (Help > How To Manual ...) for more information.
6-9
Annotation
As you have seen, EnSight can display color legends for any variable. You can also control the appearance of color legends in Annotation Mode. Like other annotation objects, color legends can be resized and repositioned. The quick way is to use the click shortcuts 14. While in Part Mode, left-click on the legend to display the legend object handles. Move it by dragging the + or resize by dragging the >. 15. You can also right click on the legend and choose Bigger or Smaller. You can also control the size and format of the legend text. Right clicking is much faster than clicking on the Annot tab and then clicking on the Edit Legends icon to open the Annotation dialog. 16. Right click on the legend and choose edit in order to bring up a formatting dialog.
17. Type 30 in the Font size field and press Enter. 18. Click to select the second item in the Value format list. Note that the variable labels have been reformatted. EnSight uses standard C language printf formats for floating point number display. You can enter your own custom format in the Legend Text Format field if you like. 19. Click the Close button to remove the dialog. 20. If the Annot Mode is Hightlighted green then click Part Mode Tab in the Mode Selection area to the left of the graphics window, and move the mouse pointer into the Graphics Window (to clear Annot Mode).
6-10
Annotation
See How To Create Color Legends (Help > How To Manual ...) for more information.
6-11
Flipbook Animation
6-12
6-13
6-14
Need help and cannot find it in our manuals? Next take a look at the comprehensive support tool integrated into EnSight. From within EnSights menu, do a Help>Online Support. Click on the Web Tools tab to browse our website for help. For example, in the Bookmarks pulldown, we have Training (information on upcoming training classes), Interfaces (how to get your data into EnSight), Documentation (Online Documentation), Tips and Tutorials (step by step how to do stuff), Feature Requests (ask CEI to enhance EnSight), Change Logs (what was fixed/added to what version of EnSight?), and Knowledge Base articles (Frequently Asked Questions). Still need help? Rather than sending an email to support that may lack critical details, we recommend you use our Report Trouble tab. Click this tab to email a detailed description of your problem to your EnSight Distributor. In this Tab, Toggle on the System Information to send, fill out the form, Select a Destination that is your CEI distributor (CEI in the U.S.), and click Send Report.
7-1
Contact Support
If you are evaluating EnSight for purchase or have an active support and maintenance contract you can contact CEI Support at: Email: Hotline: Fax: [email protected] 800-551-4448 (U.S) 919-363-0883 (Non-U.S.) 919-363-0833
The support hotline in the U.S. is staffed Monday through Friday from 8:00 AM to 5:00 PM Eastern time except during U.S. holidays. If you are outside the U.S., please contact your local distributor of EnSight for support. Software Maintenance CEI is constantly working to improve both the quality and functionality of EnSight. New major releases are automatically made available to all customers with an active support and maintenance contract. EnSight updates are available from CEIs website: www.ensight.com/products/downloads.html Also see our website support page for Frequently Asked Questions, white papers, performance metrics, list of available readers/translators, and updated product information. www.ensight.com/support/index.php Training Training courses are held regularly by CEI and in conjunction with CEIs international distributors. Courses may be arranged at customer facilities. Contact your EnSight representative for details.
7-2
Index
Index
A
animation flipbook 6-12 keyframe 6-12 annotation color legend 6-10 text 6-8 archive restore 5-10 save 5-10 exiting EnSight 3-14
F
Feature Icon Bar 1-3 flipbook animation 6-12
G
Getting Your Data Into EnSight 3-3 Graphics Window 1-2, 1-8 grouping 6-3
C
CEI Support 7-1 CEI_HOME 2-1 CFD Structured Mesh Example 5-1 Unstructured Mesh Example 4-1 Clip interactive 4-8 unstructured model 4-5 clip IJK 5-5, 5-6 interactive 5-7 color legend 4-4, 6-4, 6-10 part 3-8 command file 3-14 Contour 4-7 Contour part creation 4-7 Cursor tool 4-10
H
How To (online documentation) 3-12
I
image save 3-11 interactive probe 6-5 Isosurface interactive 4-9 Isosurface part creation 4-9
L
Line tool 4-11
M
Main Menu 1-2 Main Parts List 1-2, 3-6 Main Variables List 1-2 Message Area 1-2 Mode Icon Bar 1-2, 1-7 Mode Selection Area 1-2, 1-6
D
Data - Getting it into Ensight 3-3 dataset PLOT3D, reading 5-2 reading 3-2, 6-2 unstructured dataset reading 4-2 Desktop 1-2 displacement (part) 6-3 distributed process execution automatic connection 2-2 starting 2-2 documentation 3-12 printing 3-13
N
node labels 3-9
O
online documentation printing 3-13
P
part attributes 3-6 color 3-8 created 3-6 displacement 6-3 list 1-2 mode 1-6 node labels 3-9
E
EnSight quitting 3-14 starting 2-1 support 7-1 training 7-2
Index-1
Index parent 3-6 picking 3-9 selection 1-11 visibility 3-7 Particle Trace animation 4-13 interactive 4-12 part creation 4-11 Particle Traces 4-10 printing documentation 3-13 probe, interactive 6-5
Q
Quick Interaction Area 1-6 quitting EnSight 3-14
R
rotate 1-7, 3-4
S
saving archive 5-10 command file 3-14 images 3-11 stand-alone execution starting 2-1 starting EnSight 2-1 Status History Area 1-2 Support 7-1
T
timestep, changing 6-6 training 7-2 Transformation Control Area 1-2, 1-7 transformations precise 3-5 reset (clear) 3-5 rotate 1-7, 3-4 translate 1-7, 3-4 zoom 1-7, 3-4 translate 1-7, 3-4
U
User Manual (online documentation) 3-12
V
variables 4-4 creation from structured CFD data 5-8
Z
zoom 1-7, 3-4
Index-2