Preview only show first 10 pages with watermark. For full document please download

Printed Edition - Hv100 Intro

tutoriais hyperworks

   EMBED


Share

Transcript

A Platform for Innovation TM HyperView Introduction Post-processing for Finite Element Analysis HyperWorks is a division of Altair Engineering Contact Information Web site www.altair.com FTP site Address: ftp.altair.com or ftp2.altair.com or http://ftp.altair.com/ftp Login: ftp Password: Location Telephone e-mail North America 248.614.2425 [email protected] China 86.21.6117.1666 [email protected] France 33.1.4133.0992 [email protected] Germany 49.7031.6208.22 [email protected] India 91.80.6629.4500 1800.425.0234 (toll free) [email protected] Italy 39.800.905.595 [email protected] Japan 81.3.5396.2881 [email protected] Korea 82.31.716.4321 [email protected] Scandinavia 46.46.286.2052 [email protected] United Kingdom 44.1926.468.600 [email protected] Brazil 55.11.3884.0414 [email protected] Australia 64.9.413.7981 [email protected] New Zealand 64.9.413.7981 [email protected] The following countries have distributors for Altair Engineering: Asia Pacific: Indonesia, Malaysia, Singapore, Taiwan, Thailand Europe: Czech Republic, Hungary, Poland, Romania, Spain, Turkey. ©2009 Altair Engineering, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated to another language without the written permission of Altair Engineering, Inc. To obtain this permission, write to the attention Altair Engineering legal department at: 1820 E. Big Beaver, Troy, Michigan, USA, or call +1-248-614-2400. Trademark and Registered Trademark Acknowledgments ® ® © Listed below are Altair HyperWorks applications. Copyright Altair Engineering Inc., All Rights Reserved for: ® ® ® ® HyperMesh 1990-2009; HyperView 1999-2009; OptiStruct 1996-2009; RADIOSS 1986-2009; HyperCrash™ ® ® ® ® 2001-2009; HyperStudy 1999-2009; HyperGraph 1995-2009; MotionView 1993-2009; MotionSolve 2002® ® 2009; TextView™ 1996-2009; MediaView™ 1999-2009; HyperForm 1998-2009; HyperXtrude 1999-2009; ® HyperView Player 2001-2009; Process Manager™ 2003-2009; Data Manager™ 2005-2009; Assembler™ 2005-2009; FEModel™ 2004-2009; BatchMesher™ 2003-2009; Templex™ 1990-2009; Manufacturing Solutions™ 2005-2009; HyperDieDynamics™ 2007-2009; HyperMath™ 2007-2009; ScriptView™ 2007-2009. In addition to HyperWorks® trademarks noted above, GridWorks™, PBS™ Gridworks®, PBS™ Professional®, PBS™ and Portable Batch System® are trademarks of ALTAIR ENGINEERING INC., as is patent # 6,859,792. All are protected under U.S. and international laws and treaties. All other marks are the property of their respective owners. Table of Contents HyperView Introduction Pre-processing for Finite Element Analysis Chapter 1: HyperWorks Desktop Environment .................................................... 1 Chapter 2: Animation and View Controls ............................................................ 11 Chapter 3: Result Visualization and Querying ................................................... 33 Chapter 4: Advanced Results Visualization ....................................................... 61 Chapter 5: Plotting Basics ................................................................................... 93 Chapter 6: Defining Waterfall Plots ................................................................... 111 Chapter 7: Synchronizining Data....................................................................... 117 Chapter 8: Process Automation ........................................................................ 121 Chapter 9: Result Presentation.......................................................................... 125 Chapter 10: Using HvTrans ................................................................................ 131 Chapter 1: HyperWorks Desktop Environment Chapter 1 HyperWorks Desktop Environment HyperWorks Desktop is a set of applications that allows for the visualization and analysis of results and data obtained from a solver. Results obtained from often used solvers like OPTISTRUCT, NASTRAN, ABAQUS, LS-DYNA, ANSYS etc… can be viewed, analyzed and plotted using these applications. In addition, you can also set up a multi-body analysis. The open architecture of HyperWorks Desktop coupled with its automation capabilities allow for an easy, quick and complete understanding of your analysis results. This chapter helps you in getting a better understanding of the interface, the tools and the terminologies that you come across while working with HyperWorks Desktop. HyperWorks Desktop belongs to the HyperWorks software suite and consists of the following applications: • MotionView • HyperView • HyperGraph • HyperGraph 3D • TextView • MediaView • FE Model This chapter contains: • Elements of the Graphics Interface Features • Page and Window Controls • HyperWorks Desktop File HyperWorks 9.0 HyperView Introduction 1 Proprietary Information of Altair Engineering, Inc. Chapter 1: HyperWorks Desktop Environment Elements of the Graphics Interface The main elements of the HyperWorks Desktop graphics interface are shown in the image below. Menu bar Windows style pull-down menus that allow you to access the HyperWorks Desktop functions and tools are located along the top of the screen. The top-level menu choices vary, based on the active application in the current window. Graphics display area Models, plots, animations, and text are displayed in this area. It can be divided into multiple windows. Toolbar Panels containing tools associated with the active application can be accessed using the toolbar buttons. Panels are also accessible from the menu bar. See Select Application Menu for the various toolbar types. Panel Most operations are perfomed using the panel options. View controls Tools that control the orientation of the window display. Status bar The current load case and simulation, as well as model statistics are displayed along the bottom of the screen. Select application menu This menu allows you to change the active HyperWorks Desktop application in any window. The options are: HyperView, HyperGraph, MediaView, TextView, MotionView, HyperGraph 3D, and FE Model. A description for each application is included below. Page and window controls These toolbar buttons allow you to control the page and window layout. See Page and Window Controls, below for 2 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 1: HyperWorks Desktop Environment more information. Select Application Menu You can select one of the following applications from the Select application menu. Loading each application changes the toolbar and menu bar settings. The table below describes the purpose of each application and shows the changes in their corresponding tool bar. HyperView Visualize CAE results. Deformed, linear static, modal, and transient animations for finite element and multi-body analyses are supported. HyperGraph Analyze and plot data. TextView View and edit text files. In this window, you can embed mathematical functions using Altair's Templex language. Also, you can access xy data from a plot window and perform mathematical operations on it using Templex functions. MediaView Read video files. MotionView Pre-process, post-process, and visualize mechanical system simulations, including industry-leading capabilities for flexbodies. HyperGraph 3D Create and analyze 3-D plots. FE Model A scaled-down version of HyperMesh within the HyperWorks Desktop environment. (Available only when HyperMesh is installed on the system.) HyperWorks 9.0 HyperView Introduction 3 Proprietary Information of Altair Engineering, Inc. Chapter 1: HyperWorks Desktop Environment Page and Window Controls The following buttons are displayed for all HyperWorks Desktop applications, and are used to manage pages, change page layouts, and manipulate individual windows: Next Page Browse forward through the pages. Previous Page Browse backward through the pages. Page List Displays a list of the pages in the current session and offers options for manipulating them. These options include cut, copy, paste, insert, add pages, navigate pages, rename pages, and turn page names on and off. Add Page Adds a new page to the session. Page Layout Displays a pop-up menu containing 20 page layouts that can be applied to the displayed page. Expand/Reduc e Window In a multi-window display, use this feature to enlarge or reduce the selected window. Swap Windows In a multi-window display, use this feature to rearrange window order. Page counter Displays the current page number and the number of pages in the current session in the upper right corner of the screen. 4 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 1: HyperWorks Desktop Environment View Controls The view controls, located on the right side of the panel, allow you to visually manipulate model graphics, plots, and videos. You can hide or display the view controls by clicking the aqua bar on the right. Like the toolbar buttons, these buttons vary based on the current application. HyperWorks 9.0 HyperView Introduction 5 Proprietary Information of Altair Engineering, Inc. Chapter 1: HyperWorks Desktop Environment HyperWorks Desktop Files Session File (MVW) Each time a HyperWorks Desktop application is launched, a new session is started. Saving a session creates a session (MVW) file, which allows you save the state of the current session. You can then close the session and restart it later without having to redo procedures. This file has an .mvw extension. An MVW file is a plain text file that contains commands that were performed in the operations of the corresponding session. Results and model file data are not stored in this file. Rather, soft links point to the data files used in the session, helping to keep the MVW file size small. If you move the data files to a different folder, the MVW file will not be able to locate them unless you edit the file path names in the MVW file. It is suggested that you save the MVW file to the same folder that contains the data files. You can edit the MVW file using a text editor. To save a session to a session file, select Save Session File from the File menu on the menu bar. To open the file select Open from the File menu. Application Files Each application in the HyperWorks Desktop can load and save its own set of files. Application specific files are accessed in the Applications’ user interfaces provided in the panel area of the HyperWorks Desktop. Preference Files The preference file is a script file that is read each time a HyperWorks Desktop application is started. It specifies default user settings such as the window type, printer, page layout, the autosave interval, and the order in which colors are assigned. A standard preference file for all HyperWorks Desktop applications exists in the installation directory and is read every time HyperView is started. On Windows, the file is named preferences.mvw, while on UNIX, it is named .preferences.mvw. Your own preference files can be created and registered under the File menu in the HyperWorks desktop. Depending on the setting, your own preferences files either overwrites or appends settings defined in the standard preference file. For example color settings overwrite the defaults but registering new readers appends to the supported file list. 6 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 1: HyperWorks Desktop Environment Exercise: Learning to Use the HyperWorks Desktop Interface: In this exercise, you will: • Work with session files • Develop an understanding of the graphics interface • Use the page and window controls Step 1: Open the session file frontal_crash.mvw. 1. From the File menu, select Open. 2. Select the file frontal_crash.mvw and click Open. A HyperWorks Desktop page featuring multiple windows with different applications Step 2: Add pages and navigate between them using the Page controls. 1. Click the Add Page button, , to add a second page. Observe the changes to the page counter. 2. Add one more page. 3. Click the icons, , , to navigate to the next page and previous page, respectively. 4. Go to page 1. Step 3: Using Page List, to add, rename and navigate between pages. 1. Click the Page List button, , or click on the page title to open the Page List dialog. HyperWorks 9.0 HyperView Introduction 7 Proprietary Information of Altair Engineering, Inc. Chapter 1: HyperWorks Desktop Environment Page List dialog 2. Ensure p1:Force-1 is highlighted in the page list to make page 1 the active page in the dialog. 3. Type HyperView-Class in the Name field and press ENTER to rename page 1. 4. Add a fourth page. The new page is displayed as Untitled and becomes the active page in the graphics area. 5. Display the name of page 4 at the top of its page by activating the Name check box. 6. Double-click the name p2:Untitled to display page 2. 7. Close the Page List dialog. Step 4: Use Page Layout to create a four window layout. 1. Click the Page Layout button, 2. Click the four window layout, , to open the Page Layout dialog. , and close the dialog. The border of the upper left window in the four-window layout is cyan to indicate it is the active window. Step 5: Change the applications in windows 2-4 on page 2. 1. Make window 2 active. 2. From the Select application menu, select HyperGraph to change the window type for window 2 from animation to plot. The toolbar changes to reflect the plot window mode. 3. Activate window 3. 4. Change the window type for window 3 from HyperView to MediaView. 5. Click on window 4 to make it active. 6. Change the window type for window 4 from HyperView to TextView. 7. Go to page 1. 8 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 1: HyperWorks Desktop Environment Step 6: Use Swap Windows to change the order of windows on page 1. 1. Activate window 2 (plot window). 2. Click the Swap Windows button . 3. Click on window 3. The contents of windows 2 and 3 are exchanged. When there are only two windows on a page and you click the Swap Windows button, the windows are automatically swapped. Step 7: Expand window 3 to the graphics area. Use the Expand/Reduce Window button to temporarily expand the HyperView window to fill the entire graphics area. This allows you to see a larger view of the model without changing the window layout. 1. Make window 2 (dummy model) active. 2. Click the Expand/Reduce Window button, . The Expand/Reduce Window button changes to . This button acts as a toggle. 3. Click the button again to return to the original display. Step 8: Save the session to a session file. 1. From the File menu, select Save Session File As. 2. Specify a path and the name practice for the MVW file and click Save. Step 9: Clear the data from the session. 1. From the File menu, select New. 2. Answer Yes to the pop-up message "This operation will discard current data and copy/paste buffer. Continue?". Step 10: Open the session file practice.mvw. 1. Open the session file practice.mvw (See step 1). 2. Notice the contents of the session. It contains the number of pages and the window layouts you created in the previous steps of this exercise. HyperWorks 9.0 HyperView Introduction 9 Proprietary Information of Altair Engineering, Inc. Chapter 1: HyperWorks Desktop Environment 10 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Chapter 2 Animation and View Controls Section 1: Loading Model Files The open architecture of HyperView allows for loading and viewing result files obtained from several sources. Based on the solver type the files are obtained from and the results you would like to visualize and analyze, there are different ways to load the input deck and their corresponding results into HyperView. This chapter guides you through the various ways you can load your files and the various tools available for viewing the model according to your interest. In this section, you will learn how to: • Load model and result files • Load various solver result formats Tools To access the Load Model panel: • Click the Load Model panel button on the toolbar. Or • Select Load Model from the Graphics menu. The Load Model panel allows you to load the result files along with the model files. If the result file already contains the model definition, it is not a requirement that you load the model file along with the results. However, when only result files are loaded, the component definitions such as name and color are not preserved. The solver definition for component names along with the default color settings are loaded. You can also choose to load only a model or result file. HyperWorks 9.0 HyperView Introduction 11 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Load Model panel Activating the Overlay check box in the panel allows you to load multiple models and their results into a single window. You can then set the active model in the window from the View menu, by activating the Browser and selecting the HyperView tab, or by clicking on the file name in the status bar. Supported Solver Result File Formats The following solver result file formats are supported by HyperView: • HyperMesh results (RES) file • DYNA DB file • Hyper3D (H3D) file • MADYMO KIN3 (KN3) and FAI files • Altair FLX file • MARC T16 file • Altair MRF file • NIKE3D N3PLOT file • ABAQUS ODB file • OptiStruct OP2 file • NASTRAN OP2 file • PAM-CRASH DSY file • LS-DYNA D3PLOT and PTF files • RADIOSS A001 file • ADAMS GRA and RES files • DADS BIN file • ANSYS RST and RTH files • Moldflow UDM file • DLM or LS-DYNA DYNAIN files • Universal UNV file • FEMZIP DSY file In addition to the solver result file formats supported through direct readers, HyperView supports additional solver formats via result translators. 12 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Exercise: Using the Load Model Panel This exercise uses the file bumper_deck.key and the corresponding d3plot. Step 1: Load the solver input file bumper_deck.key model data. 1. From the menu bar, select File/New to delete the contents of the current HyperView session. 2. Click the Load model button, on the toolbar. 3. Click the Load model file browser, , open the file bumper_deck.key located in \Altair\hw9.0\demos\mv_hv_hg\animation\dyna\ bumper\bumper_deck.key. Step 2: Load the solver results file d3plot for result data. 4. Click the Load results file browser, open the file d3plot located in \Altair\hw9.0\demos\mv_hv_hg\animation\dyna\bumpe r\d3plot. 5. Click Apply to load the model data from the results file along with the input data. Step 3: Load the solver result file d3plot for both model and results in a new window. 6. Click the Page Layout button 7. Select the two window layout on the toolbar, to open the Page Layout dialog. , and close the dialog. 8. Activate the new window. HyperWorks 9.0 HyperView Introduction 13 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls 9. Load the d3plot file for model and results in this window. Step 4: Load the hm database file in HyperMesh. 10. From the Applications pull-down menu, select HyperMesh 11. In HyperMesh, load bumper.hm from the bumper directory in the training model files. Observe the difference in component colors between the two windows: And in HyperMesh: 14 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Section 2: Using the Animation Controls In this section, you will learn how to: • Animate a file • Use the Animations Control panel • Use the LoadCase Selector • View the model on full screen and animate the model Tools To animate and control the animation rate of your model: • Click on the Animate Start/Stop button or on the Animation Controls button . Or • Select Animate/Animation Controls from Page menu. Animation Controls panel for transient You can animate a result file in HyperView by clicking on the Animate Start/Stop button . Based on the analysis type, you can animate a model using the Transient, Modal, or Linear Static. animation type You can also control the rate of the animation through the Animation Control panel. HyperWorks 9.0 HyperView Introduction 15 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Exercise: Controlling the Animation This exercise uses the file bumper_deck.key and the corresponding d3plot. Step 1: Animate the models by clicking the Transient animation button. 12. Click the Load model panel button, on the toolbar. 13. Select and load the files bumper_deck.key located in \Altair\hw9.0\demos\mv_hv_hg\animation\dyna\bumpe r\bumper_deck.key, and the corresponding d3plot located in \Altair\hw9.0\demos\mv_hv_hg\animation\dyna\bumpe r\d3plot for model and result files. 14. Click the Animate Start/Stop button, , to animate the window. 15. Click the button again to stop the animation. 16. Click on the triangle next to the button and note the various animation types available. Animation Types A brief description of each animation type is given below: Transient Displays the model in its time step positions as calculated by the analysis code. Linear Creates and displays an animation sequence starting with the original position of the model and ending with the fully deformed position. An appropriate number of frames are linearly interpolated between the first and last positions. Modal Creates and displays an animation sequence starting and ending with the model’s original position. The deforming frames are calculated based on a sinusoidal function. Step 2: Animate from time 0.00 to 0.04. 17. Click the Animation Controls button, 18. Click the Current time first arrow . , to display the page at time 0. 19. Move the Animate end slider to the time 0.04. 16 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls 20. Move the slider bar under Max Frame Rate: down, to slow down the animation. 21. Animate the model. Note the model animates between 0 and 0.04. 22. Stop the animation. 23. Click the Animate end forward arrow animation. until the slider bar reaches the end of the 24. Change the animation type to Linear Static and note the difference in the panel. Animation Controls panel for linear static 25. Change the animation type back to Transient . Step 3: Choose a specific time step using the Load Case and Simulation Selection dialog. The active load case and simulation are displayed in the lower right portion of the status bar. Loadcase Selector 26. Click on the LoadCase Selector located on the right corner of the status bar. 27. Choose Time = 0.03 under Simulation in the dialog. 28. Click OK. 29. Use the Current Time arrows to move through the time steps. You can also move through loadcases/subcases and modal shapes using this option. HyperWorks 9.0 HyperView Introduction 17 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Section 3: Controlling the Model View In this section, you will learn how to: • Use the view controls • Use the synchronized view utility Tools The view control panel allows you to visually manipulate model graphics, plots, and videos. Click the aqua bar on the right to hide or display the view controls. The synchronized view panel allows you to view the model in multiple windows synchronically. View Controls Synchronized View Controls The following view controls allow you to manipulate the model view in HyperView. Rotates the model incrementally. You can set the rotation increment in degrees using the text box in the center. Sets a specific model orientation in relation to the global coordinate system. The Top, Frt and Lft views can be flipped with the horizontal and vertical flip buttons. Zoom in and out on the model to adjust the view. The zoom factor is set using the Tools menu, Options - Visualization dialog. Considers the displacement of the model throughout the animation and scales the view such that the entire displacement can be seen. This is useful for viewing animations with very large deformations. Up to two user-defined views can be stored and recalled for each window. 18 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Exercise: Using View Controls This exercise uses the model file truck.key and the corresponding result file, d3plot. Step 1: Use the view controls. 30. Load the truck.key model file and the d3plot results file from the truck folder. 31. Click the aqua bar to the right of the view controls to hide the view control buttons. 32. Click the bar again to display the view controls. 33. Change the angle of rotation in the view controls panel from its default value of 15 degrees to 30 degrees by changing the value in the text box. 34. Click the arrow buttons, , vertical axis, respectively. , , to rotate the model about the horizontal and Each mouse-click rotates the model by 30 degrees. 35. Click the curved arrow keys, the plane of the screen. 36. Click the magnifying lens icons, 37. Use the Fit button and and , to rotate the model about the axis perpendicular to , to zoom in and out. to fit the model to the window. 38. Click the Lft button to view the model in the Left view HyperWorks 9.0 HyperView Introduction 19 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls 39. Click the Animate Start/Stop button to animate the model. Note that some parts of the animation are outside the window graphics area. 40. Click Fit All Frames to place all the animation frames within the window frame. 41. Click the Animate Start/Stop button to stop the animation. 42. Left-click on M1 to assign the view to memory M1. 43. Click Iso to change the view to Iso. 44. Click the recall key, R1, to recall the view stored in memory M1. Step 2: Use the mouse controls 45. While holding in the ctrl key and the left mouse button, drag the cursor to rotate the model 46. While holding in the ctrl key and the right mouse button, drag the cursor to pan the model 47. While holding in the ctrl key and the middle mouse button, circle a portion of the model to zoom in 48. While holding in the ctrl key, spin the mouse wheel to zoom in at the cursor location 49. Click the middle mouse button to fit the model to the screen Step 3: Change the Window Layout and load files. 50. Click the Page Layout button 51. Select the two window layout . , and close the dialog. 52. Activate the new window. 53. Load the truck.key and d3plot files in the new window by clicking Apply in the Load Model panel. Step 4: Change the view in multiple windows simultaneously using Synchronized View. 54. From the Utilities menu, select Synchronized View to open the View Controls dialog. 55. Click Front View, , to display the front view for the two windows 20 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls 56. Click Iso View and Zoom in and Zoom out 57. Click the synchronize window button to change the view. to view the synchronized windows. The two windows have the same background color as the windows in the graphic area, indicating they are synchronized. 58. Click the second window in the pop-up to freeze window 2 . 59. Click the arrow keys to rotate the models. Only the model in window 1 in the graphics area rotates. 60. Click on the synchronize window button and click on window 2 to synchronize both windows again. 61. Close the Synchronized View Controls dialog. You can no longer view both windows synchronically using the view controls. HyperWorks 9.0 HyperView Introduction 21 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Section 4: Applying Entity Attributes In this section, you will learn how to: • Use the Entity Attributes panel • Turn on/off the visibility of model entities • Change the attributes of the model Tools To access the Entity Attributes panel: • Click on the Entity Attributes panel button on the toolbar. Or • Select Entity Attributes from the Graphics menu. This panel allows you to turn on and off model parts (components, coordinate systems, and groups), and change their visual properties, such as shading, color, and mesh lines. Exercise: Using the Entity Attributes Panel This exercise uses the LS-DYNA input file truck.key and its corresponding results file, d3plot located in the truck folder. Step 1: Load the solver input file truck.key for model data. 62. From the menu bar, select File/New to delete the contents of the current HyperView session. 63. Go to the Load Model panel, . 64. From the Load model file browser, , open the file truck.key from the truck folder. 65. Select the d3plot file from the truck folder for Load results. 66. Click Apply to load the model and results. Step 2: Turn on and off groups with the Auto apply mode inactive. 67. Verify that the Auto apply mode is turned off. 22 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls 68. From the Entity drop-down menu, select Components. HyperView groups the components based on the element type while loading the model data. The list contents will vary based on the result type loaded in HyperView. 69. From the list, select Shell. 70. Click Display: Off to turn off the display of all shell elements. 71. From the list, select Solid and then click Display: Off to display all components with shell elements. 72. Click None to clear the current selection. 73. Click All and then click Display: On to display all of the components. 74. Clear the selection by either clicking in the graphics area or clicking None. Step 5: Turn on and off components with the Auto apply mode active. 75. Make window 2 active. 76. Turn on the option of Auto apply mode. When this option is active, the selected option is automatically applied when you select a component from the screen or from the entity list. The current active option is displayed next to the Auto apply mode check box. 77. Click on Display: Off. 78. In the graphics area, pick a part on the model. The component is no longer displayed. 79. Select Shell from the Components list. The shell components are no longer displayed. 80. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to create a rectangle enclosing some of the components. The components inside the window are no longer displayed. 81. Click on Display: On. The option Auto apply mode is now set to Display On. 82. Click on part names from the list of Shell parts to turn on these parts 83. Click All to display all of the components. Step 6: Changing the display attributes and color. 84. Turn off Auto apply mode 85. In the graphics area of the active window, click on the truck bed 86. Click on the Mesh Lines icon . HyperWorks 9.0 HyperView Introduction 23 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Three visual modes, Mesh, Shaded, and Opaque, allow you to control line, shading, and opacity for components. 87. Click on the Transparent mode icon . 88. Click on one of the colors from the color palette. The color palette allows you to apply a different color to a component. 24 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Section 5: Masking Elements In this section, you will learn how to: • Mask elements and components • Unmask elements and components Tools To access the Mask panel: • Click the Mask panel button on the toolbar. Or • Select Mask from the Graphics menu. The Mask panel allows you to mask elements, components, and systems to reduce the number of entities displayed on the screen. Exercise: Using the Mask Panel This exercise uses the model file, truck.key and the corresponding d3plot file as the results file. Step 1: Masking and Unmasking elements using the graphics area. 89. Load the truck.key model file and the d3plot results file from the truck folder. 90. Click the Mask panel button on the toolbar. 91. Verify that the entity input collector is set to Elements. 92. Under Action, verify that the Mask option is turned on. 93. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to draw a window over a specific area of the model. 94. Release the mouse button. The elements that were chosen, using the quick window selection mode, are masked and are no longer displayed on the screen. HyperWorks 9.0 HyperView Introduction 25 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls 95. Under Action, turn on the Unmask option. 96. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to draw a window over the area of the model where the elements are currently masked. 97. Release the mouse button. The elements enclosed in the window are unmasked. 98. Click the Unmask All button, to unmask all elements of the model. 99. Change the entity input collector from Elements to Components. 100. Turn the Mask option back on. 101. In the graphics area, pick the truck bed and the right rear tire of the model. 102. Click the Mask Selected button. 103. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to draw a window over a specific area of the model. 104. Release the mouse button. The components enclosed in the window are masked. Note: 105. You can also use the quick window selection mode to choose alternate selection methods. Turn the Unmask option back on. 106. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to draw a window over the area of the model where the elements are currently masked. Upon release of the mouse button, the masked components enclosed in the window are unmasked. 107. Click the Unmask All button, to unmask all selected components. 26 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls Note: When you load more than one model using the Overlay option, the Apply to all models option is made available. This option allows you to mask entities across all models when activated. If the Apply to all models option is not activated, the mask is applied only to the active model. Step 2: Masking elements using the entity input collector. 108. Under Action, turn the Mask option back on. 109. Verify that the entity input collector is set to Components. 110. In the graphics area, pick the roof of the truck. 111. Click on Components, to access the extended entity selection menu. 112. Select By Attached from the selection list. 113. Click the Mask Selected button. 114. Click the Reject button. The masked components are rejected and unmasked. HyperWorks 9.0 HyperView Introduction 27 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls Section 6: Creating Groups In this section, you will learn how to: • Create a group of components • Import and export created groups • View the components of a group Tools To access the Create Groups panel: • Click the Create Groups panel button on the toolbar. Or • Select Groups from the Graphics menu. The Create Groups panel allows you to create groups of components, elements, or nodes from the active model that is displayed. Exercise: Using the Create Groups Panel This exercise uses the d3plot file as both the model and the results file. Step 1: Create and export a group of components. 115. Load the d3plot file from the truck folder. 116. Click the Create Groups panel button 117. Click Add, to add a group. 118. Double click on Group 5, and rename it truck 1. 119. Click OK. 120. Verify that the Selection option is set to Components. 121. In the graphics area, pick the truck bed and the rear tire of the model. 122. Click Add to Group. on the toolbar. 28 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls The chosen entities are added to the group truck 1. Observe that the feature lines of the chosen components are the same color as the color that is displayed in the Color box, in the panel area. 123. Add another Group, and rename it truck 2. 124. Pick the side door and the roof of the truck. 125. Click Add to Group. Observe the difference in the feature lines of the components in the group truck 2. Note: If you would like to change the color of the feature lines for the chosen components, simply click the color box and select a new color from the color palette. Section 7: Advanced Group Functionality Step 1: Import a created group 126. Click Import/Export, to export the created groups. 127. Under Action, turn on the Export option. 128. Verify that Select format is set to HyperView. HyperWorks 9.0 HyperView Introduction 29 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls 129. Click on the file browser icon . 130. Enter groups.txt as the file name. 131. Click Save. 132. Click OK to close the Import/Export Groups dialog. Step 2: Import a created group. 133. From the File Menu, select New to start a new HyperView session. Answer Yes to the question "This operation will discard current data and copy/paste buffer. Continue?". 134. Load the d3plot results file from the truck folder. 135. Go to the Create Groups panel. 136. Click Import/Export, to import a saved group. 137. Under Action, turn on the Import option. 138. Verify that Select format is set to HyperView. 139. Click on the file browser icon 140. Select the groups.txt file. 141. Click Open. 142. Click OK to import the selected file and close the Import/Export Groups dialog. . Observe that both the truck 1 and truck 2 groups are imported. Activating either of the check boxes will display the components, feature lines, and colors of each group on the screen accordingly. Step 3: Viewing the components in a group from the entity attributes panel. 143. Click the Entity Attributes panel button on the toolbar. 144. Verify that the Entity type is set to Components. 145. Verify that the Auto apply mode is turned on. 146. Click Display: Off. 147. Click All, to turn off the display of all the components listed (Line, Shell, and Solid). 148. Change the Entity type to Groups, by selecting Groups from the Entity drop-down menu. 30 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 2: Animation and View Controls 149. Click Display: On. 150. Select the groups’ truck 1 and truck 2. HyperWorks 9.0 HyperView Introduction 31 Proprietary Information of Altair Engineering, Inc. Chapter 1: Animation and View Controls 32 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Chapter 3 Result Visualization and Querying Section 1: Contouring Results One of the main goals of Post-Processing is to visualize the results, get a deeper understanding of it, to be able to interpret it and export the same. HyperView with its open architecture generally reflects the results as shown by the native post-processor. However, the option available to you varies from panel to panel based on the file loaded and the result type the user is interested in. This chapter helps you understand the various panels that can be used and customized by you; to visualize your results and the data associated with it. In this section, you will learn how to: • Create a stress contour on all components • Create a contour on specific elements using stress results • Create an averaged stress contour and generate iso surfaces • Contour vector and tensor results resolved in different coordinate systems • Edit the legend HyperWorks 9.0 HyperView Introduction 33 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Tools To access the Contour panel: • Click the Contour panel button on the toolbar. Or • Select Contour from the Graphics menu. The Contour panel allows you to contour a model and graphically visualize the results. In the Contour panel you can view vector, tensor, or scalar type results. Exercise: Using the Contour Panel This exercise uses the model file, bullet_local.op2. Step 1: Create a Stress contour on all components. 1. Load the file, bullet_local.op2. 1. Click the Contour panel button on the toolbar. 2. Verify that the Components input collector is active under Selection. 3. Select Stress(t) as the result type and vonMises as the data component. 4. Select Z1 for Entity with Layers. The options for Entity with Layers are: − Max displays the maximum values between layers Z1 and Z2. − Min displays the minimum values between layers Z1 and Z2. − Extreme displays the maximum absolute values among the layers for each entity. − Z1/Z2 displays the layers for thick shells. These will vary based on the solver type. 5. Verify that Resolved in is set to Analysis System and that the Averaging method is set to None. 6. Click Apply. By default, the results are applied to all the model components displayed on the screen. 34 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying You can also select individual components from the model. Step 2: Create a contour on specific elements using stress results. 1. Change the active input collector from Components to Elements. 2. In the graphics area, pick a few elements on the model. 3. Click Apply. 4. Press the SHIFT key and the left mouse button, and drag the mouse in the graphics area, to draw a window over a specific area of the model. The contour is applied to the elements that were chosen using the quick window mode. This can be done for other entity types also. HyperWorks 9.0 HyperView Introduction 35 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying 36 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 5. Under Selection, click on Elements and choose All from the pop up selection window. Note: If your solver supports corner data, Use corner data can be activated in order to view corner results. Step 3: Create an averaged stress contour and generate iso surfaces. 1. Change the Averaging Method to Simple. 2. Click Apply. 3. Click Show Iso Value. The color bands reflect the band settings for the legend. 4. Click in the graphics area and press ‘T’ on the keyboard. This allows you to view the iso surface while seeing the model in transparent mode. 5. Press ‘T’ again to turn off transparency. 6. Click Clear Contour. Step 4: Contour vector and tensor results resolved in different coordinate systems. For vector and tensor results, you can transform the results to a different coordinate system. 1. Select Displacement (v) as the result type and X as the data component. 2. Select the Analysis coordinate system. 3. Click Apply. 4. Change Resolved in to Global System (proj: none). 5. Click Apply. HyperWorks 9.0 HyperView Introduction 37 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Analysis system Global system Step 5: Edit the legend. 1. Click Edit Legend to open the Edit Legend dialog. 2. Click on -2.892E-07 and change the value to 0 and hit Enter. The numbers will automatically interpolate and change in the preview window. 3. Click Apply. Observe the legend changes in the graphics screen. 4. Click Default to return to the default settings. 5. Click OK to close the dialog. 38 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Section 2: Viewing Deformed Shapes In this section, you will learn how to: • Apply a scale factor for a deformed shape and animation Tools To access the Deformed panel: • Click the Deformed panel button on the toolbar. Or • Select Deformed from the Graphics menu. The Deformed panel allows you to specify parameters for deformation display. You can use this function to see the motion of your model after analysis. You can display the original structure and the deformed shape to see the total amount of movement, or view the deformed shape by itself. You can also create an animation sequence of the structure’s movement that shows the motion of the structure in a series of frames, based on what the analysis code has predicted the model will do. HyperWorks 9.0 HyperView Introduction 39 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Exercise: Using the Deformed Panel This exercise uses the file, deformed.mvw. Step 1: Deform a model and observe the animation. 1. From the File menu, open deformed.mvw. 2. Select the Deformed panel from the toolbar . 3. Select Displacement (v) as the result type. 4. Select Model percent for the scale. This scales the maximum displacement as a percentage of the model size. This percentage is entered in the Value field. 5. Select Uniform to scale the model uniformly in the X, Y, and Z directions. 6. Change the value to 10. 7. Click Apply. 8. Animate the model . 9. Stop the Animation 40 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Various stages of modal animation. 10. Open the Animation Controls panel . 11. Drag the Max Frame Rate slider to slow down the animation 12. Change the Angle Increment to 10 to include more animation frames. HyperWorks 9.0 HyperView Introduction 41 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Section 4: Performing Advanced Queries In this section, you will learn how to: • Query results based on a contour value • Create groups of the queried entities Tools To access the Advanced Query dialog: • Click the Advanced button from the Query Panel menu. The Advanced Query panel allows you to query components, elements, and nodes based on a value in the legend of an applied contour. This allows you to filter your model to display entities of interest for the contour that you have applied. You can also create groups of the data that you have queried, thereby preventing the need to query the same data multiple times. The Query panel provides a basic overview plus export properties, as well as other information, for all nodes, elements, components, and systems contained in the active model. Once the model has been contoured, you can also access the Query panel directly from the Contour panel by clicking on the Query Results button. The Query panel is covered in the Advanced Post Processing chapter. 42 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Exercise: Using Advanced Query This exercise uses the model file, truck.key and the corresponding d3plot file as the results file. Step 1: Contour the model. 1. Load the truck.key model file and the d3plot results file from the truck folder. 2. Select the Contour panel from the toolbar . 3. Contour the model for vonMises stresses. 4. Click Apply. 5. Animate the model . 6. Stop the animation. 7. Select the Animation Controls panel from the toolbar . 8. Use the Current time slider bar to display the time 0.034996. Step 2: Using the Query Panel dialog to query results. 1. Select the Query panel from the toolbar . 2. Click on any two elements in the model to display their results in the table Step 3: Using the Advanced Query dialog to query results. 3. Select the Query panel from the toolbar . 4. Click on the Advanced button, located in the lower right corner of the Query panel. 5. Verify that the User defined option is turned on. 6. Verify that the Apply to options are set to All and Components. 7. For Value, verify that >= is selected and enter 400 into the text box. 8. Verify that the Warning Threshold option is activated, and enter 80 into the text box. This option allows you to view entities that are in the range above the threshold value, which is determined by the numerical percent that you have entered. In this case the threshold value will be 320, as it is 80% of 400, and the table will show the values in the range between 320 and 400 in blue. 9. Verify that Loadcase is set to Current Simulation. HyperWorks 9.0 HyperView Introduction 43 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying 10. Click Apply. Note: The feature lines are now displayed on the model. 11. Click inside the graphics window and press "L" on the keyboard. The feature lines are now turned off. 12. Click on 5.324E+02, which is the first value located in the Max Value column. The graphics area will show all of the components that are listed in the table, as well as the location of the element with the highest maximum value. 44 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 13. Click on other values in the Max Value column, and observe the graphics area. The component with the element that has the maximum value that you selected will be displayed. Step 4: Creating and viewing a group of queried entities. 1. Click on the first value in the Max Value column (5.324E+02). 2. Click on the Create Group button. The Create Group dialog is displayed. 3. Enter vonMises>=400 into the Group label text box. HyperWorks 9.0 HyperView Introduction 45 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying 4. Click OK. 5. Close the Advanced Query dialog. 6. If the HyperView browser is turned off, select Browser from the View menu. 7. Select Groups from the Entity drop-down menu in the HyperView browser. 8. Right click on the vonMises>=400 folder and select Isolate. Only the components in the group are displayed on the screen. Step 5: Using the Advanced Query dialog to query Top N elements. 1. Select the Query panel from the toolbar . 2. Click on the Advanced button, located in the lower right corner of the Query panel. 3. For Apply To, select All and Elements. 4. For Value, select Top N and enter 50 into the text box. 5. For Loadcase, select Current Simulation. 6. Click Apply. 46 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying The top 50 elements of the model are shown in the list. HyperWorks 9.0 HyperView Introduction 47 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Section 5: Creating Section Cuts In this section, you will learn how to: • Create a section cut along a plane • Create multiple section cuts along different planes • Create a deformable section cut Tools To access the Section Cut panel: • Click the Section Cut panel button on the toolbar. Or • Select Section Cut from the Graphics menu. The Section Cut panel allows you to cut planar or deformable sections through a model, so you can view the details inside a model. Exercise: Using the Section Cut Panel This exercise uses the model file, truck.key and the corresponding d3plot file as the results file. Step 1: Create a section cut along a plane. 1. Load the model file truck.key and the d3plot results file from the truck folder. 2. Select the Section Cut panel from the toolbar . 3. Verify that Define plane is set to Y Axis. 4. Verify that Display Options has the Cross section option turned on. 5. Click Add. A cross section band is displayed on the screen. 48 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 6. Move the slider bar under Define plane at different locations on the model. to view the cross section 7. Turn on the Clipping plane option. 8. Click the Reverse button, to view the opposite side of the section cut. 9. Click in the graphics area and press ‘T’ on the keyboard, to view the model in transparent mode. 10. Press ‘L’ to view the feature lines. 11. Press ‘T’ and ‘L’ again to turn off transparent and feature line views. 12. Use the slider bar under Define plane to increase or decrease the clipped section. HyperWorks 9.0 HyperView Introduction 49 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Step 2: Create a deformable section cut. 1. Animate the model . 2. Select the Animation Controls panel from the toolbar . 3. Slow down the speed of the animation. 4. Return to the Section Cut panel , and observe the animation of the model. The model appears to be passing through a plane that has been defined at the point where the section was created. This is due to the fact that this is a Planar section cut, therefore the plane of the model does not move with the model. 5. Stop the animation. 6. Use the Load Case And Simulation Selector to select the first time step. 7. Click OK. 8. Under Deform mode, turn on the Deformable option. 9. Click Apply, to view a deformable section cut. HyperView remembers the location of your reference cut. The section cut is deformed relative to the time listed in the Time column. At the time you create the deformable section cut, the cut remains planar. When you animate, the section cut starts deforming. 10. Animate the model and observe the section cut. Note that in this case, the sectional plane moves with the model. 50 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Section 6: Creating Measures for an FEA Model In this section, you will learn how to: • View the Minimum and Maximum values of results applied • Create a Measure group • Plot a Measure created Tools To access the Measure panel: • Click the Measure panel button on the toolbar . Or • Select Measure from the Graphics menu. The Measure panel allows you to measure the distance between nodes, position of coordinates, relative displacement, relative angle, and angle between nodes. It also allows the measure of nodal and elemental contour values. Exercise: Using the Measure Panel This exercise uses the d3plot file as both the model and the results file. Step 1: Create a measure for the minimum and maximum results. 1. Load the file, d3plot from the truck folder. 2. Select the Contour panel from the toolbar. 3. Contour the model for vonMises stresses using Simple averaging. 4. Click Apply. 5. Animate the model . 6. Stop the animation. 7. Open the Measure panel . 8. Check the Static MinMax Result box. The minimum and maximum values are displayed across all time steps. 9. Under Display options, uncheck the Transparency check box. HyperWorks 9.0 HyperView Introduction 51 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying The measure is displayed on a background. The minimum and maximum values are displayed across all time steps. 10. Uncheck the Static MinMax Result box. 11. Check the Dynamic MinMax Result box. The minimum and maximum values are displayed for each time step. 12. Animate the model. Observe the values change on the screen. 13. Uncheck the Dynamic MinMax Result box. 14. Stop the animation. Step 2: Create a measure for nodal results using a live link. 1. Click Add to create a new Measure Group. 2. Select Nodal Contour for measure type. This option becomes available when a nodal contour has been applied. 3. Select two nodes on the screen. 4. Select one of the nodes in the list. 52 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 5. Under Create curve, set Place curve on is set to New Plot. 6. Click Apply. 7. Activate the Live link option. The Live link option updates the curve as the model is animated. 8. Click Apply. 9. Animate the model. A cursor moves along each curve. 10. Stop the animation. 11. In the Contour panel change the Result type to Displacement(v) and click Apply. Observe the change in the plot window. HyperWorks 9.0 HyperView Introduction 53 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying 12. Animate the model. The Live link option updates the plot for the new contour applied. 13. Stop the animation. 54 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying Section 7: Creating Notes In this section, you will learn how to: • Edit the model info label • Create notes • Use notes to query data Tools To access the Notes panel: • Click the Notes panel button on the toolbar. Or • Select Notes from the Graphics menu. The Notes panel allows you to create, edit, and attach notes to the animation window or to model entities. This is useful for such purposes as labeling items, describing trends, and relaying additional information. If you have a contour applied, the notes panel can also be used to query data and perform math operations using Templex. Exercise: Using the Notes Panel This exercise uses the d3plot file as both the model and the results file. Step 1: Editing the model information label. 1. Load the d3plot file from the truck folder. 2. Click the Contour panel button on the toolbar. 3. Contour the model for vonMises stresses. 4. Click Apply. 5. Animate the model . 6. Stop the animation. 7. Click the Notes panel button on the toolbar. 8. Verify that Attach to is set to Window. 9. Deactivate the Model Info checkbox, located in the Notes list. HyperWorks 9.0 HyperView Introduction 55 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying The model information label, located in the top right portion of the graphics area, is no longer displayed. 10. Activate the Model Info checkbox. 11. In the Description box, delete {window.frame} and {window.simulationstep}. 12. Click Apply. The frame number and simulation step time are no longer displayed in the model information label. 13. Select Frame Number from the Field names drop down menu. 14. Click on the Insert Field button. Observe that {window.frame} is added to the Description box. 15. Select Simulation Title from the Field names list, and insert it. 16. Click Apply. Step 2: Attaching a note to an entity and querying a result. 1. Click Add. 2. For Attach to, select Entity. 3. Change the entity type to Element . 4. In the graphics area, pick an element on the model to attach the note to. 5. Delete the text Note 3, from the Description box. 6. Select Entity contour value from the Field names list, and click Insert Field. 56 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 7. Select Contour datatype from the Field names list, and insert it. 8. Click Apply. The note displays the contour value of the chosen element, as well as the result type that has been contoured. 9. Animate the model. Observe how the note is anchored to the screen and does not move as the model animates 10. Stop the animation. 11. DeActivate the Anchor to screen option. 12. Animate the model. The note moves with the model as the model animates. 13. Enter {entity.contour_val/2} into the Description box. 14. Click Apply. The new value is computed and displayed in the note. HyperWorks 9.0 HyperView Introduction 57 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Section 8: Using Exploded View In this section, you will: • Perform an automatic explosion • Translate a part • Translate a portion of the model • Explode the model from the selection center • Explode the model from the model center Tools To access the Exploded View panel: • Click the Exploded View panel button on the toolbar. Or • Select Exploded View from the Graphics menu. The Exploded View panel allows you to explode models so you can adjust your view of the model. Exercise: Using the Exploded View Panel This exercise uses the d3plot file as both the model and the results file. Step 1: Perform an automatic explosion. 1. Load the file, d3plot from the truck folder. 2. Click the Contour panel button on the toolbar. 3. Contour the model. − Select Stress (t) for the result type and vonMises for the data component. − Select Simple averaging using the analysis system. − Click Apply. 58 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 3: Result Visualization and Querying 4. Select the Exploded View panel . 5. Activate the Automatic Explosion radio button. The model automatically explodes based on pre-defined settings for center of gravity, direction, and magnitude. Step 2: Translate a part. 1. Click Add. 2. Pick the truck bed from the model on the screen. 3. Change the Direction to Z Axis. 4. Press for several seconds and observe the movement of the truck bed. The truck bed is translated upward. 5. Animate the model . Animation shows the simultaneous movement of the entire exploded model. 6. Stop the animation. HyperWorks 9.0 HyperView Introduction 59 Proprietary Information of Altair Engineering, Inc. Chapter 3: Result Visualization and Querying Step 3: Explode the model from the selection center. 1. Add another explosion. 2. Select Explode from selection center. 3. Use the quick window mode to select the front end of the model. The front end automatically explodes. Step 4: Explode the model from the model center. 1. Add another explosion. 2. Select Explode from model center. 3. Verify the Scale factor is set to Uniform. 4. Click . 5. Change the Scale factor to Component. 6. Enter: 1 for X 0 for Y 0 for Z 7. Click to move the selected components in X direction only. You can activate the radio button on the list of exploded views during a presentation. The model is displayed based on the saved exploded view that is activated. 60 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Chapter 4 Advanced Results Visualization Section 1: Viewing Iso Values Often times, due to the complexity of the geometry of the model or due to the result type you are interested in or the type of analysis being performed, it becomes necessary to get a deeper understanding of the model and to visualize certain components of the results or certain areas of the model. Once you get this understanding you may want to transform or change certain aspects in the way the results are visualized. This chapter tells of the several tools available in HyperView that allows you to get a clearer understanding of your results and visualize them as per your areas of interest. In this section, you will learn how to: View multiple iso values in the Contour panel View a single iso value in the Iso Value panel using Contour panel settings View iso values using displacement results Tools To access the Iso Value panel: Click the Iso Value panel button on the toolbar. Or Select Iso Value from the Graphics menu. HyperWorks 9.0 HyperView Introduction 61 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization The Iso surfaces can be viewed from the Contour panel as well as the Iso Value panel. Choosing Show Iso Value from the Contour panel will allow you to view the iso surfaces according to the contour legend settings for the applied result type. On the other hand, the Iso Value panel allows you to automatically mask elements based on a user defined value for the result type that is applied in the panel. By using the option Use Contour Settings in the Iso Value Panel, you can view the iso surfaces for the results as applied in the Contour panel. Exercise: Using the Iso Value Panel This exercise uses the model file, bullet_local.op2. Step 1: Viewing iso surfaces from the Contour panel. 1. Load the file, bullet_local.op2. 1. Select the Contour panel from the toolbar . 2. Contour the model for vonMises stresses, using Simple averaging. 3. Click Apply. 4. Click Show Iso Value, to view the iso surfaces, while remaining in the Contour panel. 62 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 5. Click Clear Iso Value to return to the original shape. Step 2: Viewing iso surfaces in the Iso Value panel using Contour settings. After you have created a contour of a model, you can view a single iso surface in the Iso Value panel. 1. Select the Iso Value panel from the toolbar . 6. Click Use Contour Settings to use the settings that you previously entered in the Contour panel. 7. Verify that Show values is set to Above. 8. Click Apply. HyperWorks 9.0 HyperView Introduction 63 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization − Show the model above the iso values and adjust the view using the slider bar. 9. Move the slider bar under Current value to change the iso value of interest. 10. Click in the graphics area and press ‘T’ on the keyboard. A transparent view of the part of the model that is excluded from the iso surface is displayed. 11. Press ‘T’ again to turn off transparent view. 12. Clear the iso values from the model. Step 3: View iso values using displacement results. 1. Change the Result type to Displacement (v). 13. For Current Value enter 2.468e-06 and press ENTER. 14. Click Apply. 64 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization You are viewing the contour in stresses, but the iso is operated using displacements. The movement of the slider bar is controlling the displacement result values while the stresses are displayed on the iso surfaces. HyperWorks 9.0 HyperView Introduction 65 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization Section 2: Viewing Tensor Plots In this section, you will learn how to: Plot and view tensors Select a projection rule for stress transformation and averaging to nodes Tools To access the Tensor Plot panel: Click the Tensor Plot panel button on the toolbar. Or Select Tensor from the Graphics menu. The Tensor Plot panel allows you to view tensor plots of stress and strain directions and magnitudes from elemental values. Exercise: Using the Tensor Plot Panel This exercise uses the model file, bullet_local.op2. Step 1: Viewing tensors in the analysis system. Load the file, bullet_local.op2. 1. Select the Tensor panel from the toolbar . 15. Click in the graphics area and press ‘M’ on the keyboard to display the mesh. 66 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization . 16. For Result type select Stress (t). 17. For Entity with layers select Z1. 18. Verify that Selection is set to Elements for the active entity type. 19. Verify that Resolved in is set to Analysis System. 20. Change the Tensor format to Component. 21. Verify that Color by is set to Value, to view the tensors by values. 22. Select elements either by collector type or pick them directly from the screen using the quick window selection mode. HyperWorks 9.0 HyperView Introduction 67 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 23. Select Color by: Direction and view the direction of the vectors. The legend changes to a category legend to reflect the colors of the directions. Step 2: Viewing tensors in the global system. 1. Change the coordinate system to the global system. 24. Select a projection rule to calculate in-plane stresses. − Click Projection Rule. − Select Projection (use projected axis as Sxx) to activate the axis options. The projection rule status is designated next to the coordinate system type in the Resolved in drop-down menu. By default, no projection rule is applied. − For the primary axis, select the axis you want to project to the plane of the shell elements. 68 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization There are six possible combinations of axes. If the primary axis is normal to the shell plane, the secondary axis is automatically used. − Click OK to accept the settings and close the dialog. 25. Click Apply to transform all the stress tensors to the global direction using the projection rule. 26. Activate Average at node. 27. Click Apply to average the stress tensor to the nodes. Observe that the vectors are located at the nodes. HyperWorks 9.0 HyperView Introduction 69 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization Section 4: Tracking Entities during Animation In this section, you will learn how to: Track an entity during animation Contour displacement results relative to a defined tracking system Tools To access the Tracking panel: Click the Tracking panel button on the toolbar. Or Select Tracking from the Graphics menu. The Tracking panel allows you to track any entity during an animation with respect to a node, a plane, or a component. Exercise: Using the Tracking Panel This exercise uses the model file, truck.key and the corresponding d3plot file as the results file. Step 1: Load and animate a file. Load the truck.key model file and the d3plot results file from the truck folder. 1. Click the Fit All Frames button on the View controls panel. This view considers the displacement of the model throughout the animation and scales the view such that the entire displacement can be seen in the graphics area of the screen. 28. Choose the left view of the truck, by clicking the Lft button. 29. Animate the model . 30. Open the Animation Controls panel and slow down the animation. Observe the animation without any tracking system defined. The whole truck moves forward as it is animated. 70 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 31. Stop the animation. Step 2: Define a tracking system with respect to a node. 1. Click the Tracking panel button on the toolbar. 32. Click Add, to add a tracking system. 33. Double click on Tracking System 1. 34. Change the name of the system to System 1. 35. Click OK. 36. Verify that the Track option is set to Node. 37. In the graphics area, pick a node located on the top left corner of the truck bed. 38. Animate the model. Observe how the animation varies, with the tracking system that was created. The truck is animated with regard to the node that was chosen. 39. Stop the animation. Step 3: Contour displacement results relative to a defined tracking system. 1. Click the Contour panel button on the toolbar. 40. Verify that Result type is set to Displacement and that the data component is set to Mag. 41. Click Apply. 42. Under System, activate the Use tracking system option . 43. Click Apply. Observe the changes in the contour, as well as the Legend values that are displayed. HyperWorks 9.0 HyperView Introduction 71 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 44. Animate the model. 45. Stop the animation. This allows you to view the selected result with respect to the tracking system that was created. 72 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Section 5: Editing Legends In this section, you will: Edit the legend format Edit legend colors Save legend settings for future use Tools To access the Edit Legend dialog: Click the Edit Legend button in the Contour, Vector Plot, or Tensor Plot panel. The Edit Legend dialog allows you to change the color band, format, and descriptions for legends. HyperWorks 9.0 HyperView Introduction 73 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization Exercise: Edit the Legend and save the settings This exercise uses the d3plot file as both the model and the results file. Step 1: Edit the legend format. Load the file, d3plot from the truck folder . 1. Create a vonMises stress contour using the Contour panel . 46. Click Apply. 47. Animate the model . Observe the changes in the legend. 48. Select the Animation Controls panel from the toolbar . 49. Slow down the speed of the animation. 50. Stop the animation. 51. Return to the Contour panel. 52. Click Edit Legend. 53. Change the legend type to Dynamic scale. The legend values automatically change in the preview window. 54. Change the legend position to Lower left and click Apply. The legend moves to the new position. 55. Close the Edit Legend dialog. 56. Animate the model. Observe the legend updates for each time step. 57. Stop the animation. 58. Open the Edit Legend dialog. 59. Experiment with the following: − Change the numeric format. The format automatically changes in the legend box. − Change the numeric precision − Change the number of levels. The number of color bands in the legend box automatically changes. − Click the Reverse button. The values are reversed in the legend box. The lowest value is now red; the highest is now blue. 74 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Original levels Reversed levels 60. Change the legend type to Fixed scale. 61. Click on a number in the legend box and enter a new value. 62. Press ENTER. The edited value is displayed in bold font. The remaining values linearly interpolate. 63. Add a header and footer to the legend. − Activate the Header check box and enter text in the text box. − Click the font button − Click OK. − Activate the Footer check box and enter text in the text box. − Click the font button − Click OK. − Click Apply to add the legend header and footer to the legend on the screen. and change the font type and size. and change the font type and size. Step 2: Edit legend colors. 1. Change the color of a legend band. − Click on a color band. − Select a new color. − Click OK. − Change another color. 2. Interpolate colors between two color bands. − Click Interpolate. − Click on the first changed color. HyperWorks 9.0 HyperView Introduction 75 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization − Click on a second changed color. The colors between the two selected colors are interpolated. 3. Click Apply. The new color scheme is applied to the model. Original colors Two changed colors Interpolated colors Step 3: Save legend settings for future use. Once you have completed your legend settings, you can save them for future use. Items that can be saved are listed in the Save options section. 1. Activate the check boxes for the attributes you want to save. 2. Click Save. 3. Designate a file name and path. 4. Files are saved in Tcl format. 5. Click Save. 76 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 6. Click Default to return to the default settings. 7. Click Apply. 8. Click Open to open the saved file and load the previously determined legend settings. The contour colors and legend are retrieved just as you saved them. HyperWorks 9.0 HyperView Introduction 77 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization Section 6: Querying Results In this section, you will learn how to: Query contoured results Tools To access the Query panel: Click the Query panel button on the toolbar. Or Select Query from the Graphics menu. The Query panel allows you to view and export properties, as well as other information, for all nodes, elements, components, and systems contained in the active model. Once the model has been contoured, you can also access the Query panel directly from the Contour panel by clicking on the Query Results button. Exercise: Using the Query Panel This exercise uses the model file, truck.key and the corresponding d3plot file as the results file. Step 1: Contouring the model and querying the results. 1. Load the truck.key model file and the d3plot results file from the truck folder. 2. Select the Contour panel from the toolbar . 3. Contour the model for vonMises stresses. 4. Click Apply. 5. Animate the model . 6. Stop the animation. 7. Select the Query panel from the toolbar . 8. Verify that the entity input collector is set to Elements. 78 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 9. Click the icon to deselect all items in the Option list. 10. Select the following four items in the Option list: Element ID, Contour(Stress), Load Case, and Simulation Step. 11. In the graphics area, pick a few elements on the model. 12. Observe the table in the panel shows the element id, the corresponding contour value, the load case, and the simulation step for each of the selected elements. 13. Return to the Contour panel . 14. From the Averaging method drop-down menu, select Simple. 15. Click Apply. 16. Click on the Query Results button, located in the lower right hand corner of the Contour panel. 17. You are taken directly to the Query panel. 18. Verify that the entity input collector is set to Nodes. 19. Once the results are averaged, the values become nodal based and are no longer elemental based. This change is reflected in the Query panel entity input collector. 20. Deselect all items in the Option list except for the following four items: Node ID, Contour (Stress), Load Case, and Simulation Step. 21. In the graphics area, pick a few nodes on the model. 22. Click on the Export button, and save the table as query.csv. HyperWorks 9.0 HyperView Introduction 79 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 23. The Export option allows you to save the data that you have queried as a .csv file, which can then be used for further study, preventing the need to query the same data again. 24. Highlight a few rows in the table. 25. Right-click on the highlighted rows. 26. Select Copy from the list of available options. You can now paste the copied rows into a text editor or a spreadsheet application. 80 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Section 7: Creating Derived Loadcases In this section, you will learn how to: Create a derived loadstep from existing loadsteps Animate a derived loadstep Tools To access the derived loadstep utility: Select Create and Edit Derived Loadsteps from the Utilities menu. This utility allows you to create new loadsteps, referred to as derived loadsteps, using existing loadsteps and their simulation steps. Derived loadsteps are saved to the session file. Using this utility, you can also create linear superposition and envelope loadsteps. Exercise: Creating Derived Loadsteps This exercise uses the model file brake_disc_complete.inp and the corresponding results file brake_disc_complete.odb. Step 1: Create a derived loadstep. 1. Load the model file brake_disc_complete.inp and the results file brake_disc_complete.odb. 2. From the Utilities menu, select Create and Edit Derived Loadsteps. 3. All loadsteps that exist in the results file are listed. HyperWorks 9.0 HyperView Introduction 81 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 4. From the list, select both Increment 0 and Increment 1 in the Dummy_step:Dummy step step. 5. Click the right arrow button , to append the increments to the new loadstep. 6. From the list on the left, select all the increments in the CONTACT_STEP:Nonlinear contact step - Press brake pad against disc step. 7. Append the increments to the new loadstep using the right arrow button 82 HyperView Introduction . HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Alternately, you can select only the name of the CONTACT_STEP:Nonlinear contact step - Press brake pad against disc step to select all of its increments when appending. 8. Click on the Rename button. 9. Type New Loadstep into the Rename dialog and click OK. 10. Verify that the Type field is set to Steps. 11. Click Apply to create the derived loadstep. 12. Click on the button, to view the derived loadsteps that are created. 13. Click on the button, to view the initial loadsteps in the results file. 14. Click OK. Step 2: Animating the derived loadcase. 15. From the Graphics menu, select the Select Load Case option. 16. Under Load Case, verify that New Loadstep is selected. 17. The increments in the New Loadstep are shown in the Simulation field on the right. 18. Under Simulation, select Increment 0: Base State. 19. Click OK. 20. Animate the model . 21. The model animates through all of the combined increments in the step New Loadstep. 22. Stop the animation. HyperWorks 9.0 HyperView Introduction 83 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization Section 8: Creating Linear Superposition Loadsteps In this section, you will learn how to: Create a linear superposition loadstep from existing loadsteps Contour a linear superposition loadstep Tools To access the linear superposition loadstep utility: Select Linear Superposition from the Utilities menu. This utility allows you to create linear superposition loadsteps using existing loadsteps and their simulation steps. Linear superposition loadsteps are saved to the session file. Using this utility, you can also create derived loadsteps and envelope loadsteps. Exercise: Creating Linear Superposition Loadsteps This exercise uses the results file bezel.h3d. Step 1: Create a derived loadstep. 1. From the Animation folder, load the results file bezel.h3d as both the model and results files. 2. From the Utilities menu, select Linear Superposition. All existing loadsteps and corresponding simulations are listed. 84 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 3. Select Subcase 1 - X_loading, Subcase 2 - Y_loading, and Subcase 3 - Z_loading from the list of loadsteps on the left. 4. Click the right arrow button superposition loadstep. , to append these selected loadsteps to the new linear 5. From the derived loadstep table (located on the right side of the dialog), highlight the row containing Subcase 1 - X_loading: Static Analysis. 6. Enter -0.22 into the Constant scale: field and press ENTER on the keyboard. 7. Repeat steps 5 and 6 for the rows containing Subcase 2 - Y_loading and Subcase 3 Z_loading, using a scale value of 1.37 and 0.55, respectively. A different scale is applied to each simulation in the linear superposition loadstep. HyperWorks 9.0 HyperView Introduction 85 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 8. Verify that the Type field is set to Linear-Superposition. 9. Click Apply to create the linear superposition loadstep. 10. Click on the Rename button. 11. Type HyperView_LSP in the Rename dialog and click OK. 12. Click on the button, to view the linear superposition loadstep that was created. Highlighting HyperView_LSP will display the three loadsteps that were used to create the linear superposition loadstep. 13. Click on the button, to view the initial loadsteps in the results file. 14. Click OK. Step 2: Contouring the linear superposition loadstep. 15. From the Graphics menu, select the Select Load Case option. 16. Under Load Case, select HyperView_LSP. 17. Click OK. 18. From the Graphics menu, select the Contour option. 19. Apply a Displacement(v) contour on all components. 20. By default the displacement magnitude is contoured. Notice that the Mag option is selected in the second Result type drop-down menu (located below Displacement (v)). 21. Repeat steps 1 - 3 by selecting Subcase 4 - solver_LSP instead of HyperView_LSP. Subcase 4 - solver_LSP contains results from the analysis. This subcase was set up as a combination of the loads applied in Subcase 1, Subcase 2, and Subcase 3 according to the following linear superposition equation: 86 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Subcase 4 = -0.22 *(Subcase 1) + 1.37 *(Subcase 2) + 0.55 *(Subcase 3) Notice that neither the contour nor the min and max values in the legend changed when switching between Subcase 4 - solver LSP and HyperView_LSP. This shows that HyperView calculated the same results in the linear superposition HyperView_LSP loadstep as given by the solver. Note: Averaging can be applied to the results that are calculated in a linear superposition loadstep. The vector and tensor panels can be used to review vectors and tensors from a linear superposition loadstep. Step 3: Adding simulation steps from another file. 22. From the Utilities menu, open the Linear Superposition utility again. 23. Click on the Result Files button, to add loadsteps and simulations from another result file. 24. In the Update Result Files window, browse and select the result file bezel_iter2.h3d. 25. Click Close. HyperWorks 9.0 HyperView Introduction 87 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization The loadsteps and simulations from the second results file will be added to the list of available loadsteps and simulations and can be used in creating derived loadsteps, linear superposition loadsteps, and envelope loadsteps. 88 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization Section 9: Creating Envelope Loadsteps In this section, you will learn how to: Create an envelope loadstep from existing loadsteps Contour an envelope loadstep Tools To access the envelope loadstep utility: Select Envelope from the Utilities menu. This utility allows you to create envelope loadsteps using existing loadsteps and their simulation steps. Envelope loadsteps are saved to the session file. Using this utility, you can also create derived loadsteps and linear superposition loadsteps. Exercise: Creating Envelope Loadsteps This exercise uses the results file bezel.h3d. Step 1: Create a derived loadstep. 1. From the Animation folder, load the results file bezel.h3d as both the model and results. 2. From the Utilities menu, select Envelope. All existing loadsteps and corresponding simulations are listed. HyperWorks 9.0 HyperView Introduction 89 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 3. Select Subcase 1 - X_loading, Subcase 2 - Y_loading, and Subcase 3 - Z_loading from the list of loadsteps on the left. 4. Click the right arrow button envelope loadstep. , to append these selected loadsteps to the new 5. Leave the scale values for the selected loadsteps set to the default value of 1.0. In this tutorial the results will not be scaled when creating the envelope loadstep. 6. Verify that the Type options are set to Envelope and Max. 7. Click Apply to create the envelope loadstep. 8. Click on the Rename button. 90 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 4: Advanced Results Visualization 9. Type Envelope_Max in the Rename dialog and click OK. 10. Click on the button, to view the envelope loadstep that was created. Highlighting Envelope_Max will display the three loadsteps that were used to create the envelope loadstep. 11. Click on the button, to view the initial loadsteps in the results file. 12. Click on the New button. 13. Repeat steps 3 - 11, however this time select Envelope and Min as the Type options (instead of Envelope and Max previously selected in step 6) and also rename the envelope loadstep as Envelope_Min in step 9 (instead of Envelope_Max). 14. Click OK to close the dialog. Step 2: Contouring the envelope loadstep. 1. From the Graphics menu, select the Select Load Case option. 2. Under Load Case, select Envelope_Max. 3. Click OK. 4. From the Graphics menu, select the Contour option. 5. For Result type, select the Element Stresses (2D & 3D) (t) option. 6. Verify that the vonMises option is selected in the second Result type drop-down menu (located below Element Stresses (2D & 3D) (t)). 7. For Entity with layers, select Max. 8. Notice that Min option is not available for Entity with layers. This is because the current loadstep is set to a max envelope loadstep. 9. Click Apply, to apply the contour. 10. The maximum value of stress among all layers is contoured for each element among all three loadsteps used in the max envelope loadstep. 11. Click on the Clear Contour button. 12. Repeat steps 1 - 8, using Envelope_Min in step 2 (instead of Envelope_Max) and Min in step 7 (instead of Max). Note: Averaging can be applied to the results that are calculated in an envelope loadstep. The vector and tensor panels can be used to review vectors and tensors from an envelope loadstep. HyperWorks 9.0 HyperView Introduction 91 Proprietary Information of Altair Engineering, Inc. Chapter 4: Advanced Results Visualization 92 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics Chapter 5 Plotting Basics Section 1: Plotting XY Data While visualization of results is one phase of post-processing, another is the actual comparison of test data with results obtained from solvers. Also, you may be interested in plotting specific data types that you requested while solving a job to see how it changes with respect to time or with other data types. HyperGraph with its plotting capabilities provides you the opportunity to not only compare and contrast, but also to plot and calculate data from already existing data using in build functions or by creating your own. This chapter gives a brief idea of how to use HyperGraph to plot data, compare them with one another, use filters and perform math operation on the plotted data. In this section, you will learn how to: • Plot curves from files • Plot multiples curves in one window • Plot multiple curves in multiple windows Tools The Build Plots panel can be accessed in one of the following ways: • Click the Build Plots icon • From the Plot menu, click Build Plots This panel allows you to construct multiple curves and plots from a single data file. Curves can be overlaid in a single window or each curve can be assigned to a new window. HyperWorks 9.0 HyperView Introduction 93 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Exercise: Creating XY Curves from Data Files Step 1: Open the demo.dat file. 1. From File menu, select New to clear all contents in the HyperGraph session. 2. Verify XY Plot is selected from the plot type menu 3. Click the Build Plots icon . . 4. Click the Open File button, , and open the file demo.dat. Step 2: Build multiple curves on a single plot. 1. Select X type: Time. 2. Under Y type:, select Force. The data available in the file is listed under the Y Request column. 3. Under Y Request:, click the expansion button, , to easily view the Y Request list. 4. Under Y Request:, press and hold the CTRL key and select REQ/3 Curve 3, REQ/5 Curve 5, REQ/7 Curve 7, and REQ/9 Curve9. 5. Click OK to close the expanded list dialog. 6. Under Y Component:, select X. 7. Click Apply to create the curves on page 1. The plot’s x axis is labeled Time (the X type), while the y axis is labeled Force (the Y type). The plot’s title is X (the Y Component name). The curve’s names are the Y Request names. 94 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics Step 3: Build multiple curves on multiple plots. While in the Build Plots panel, do the following: 1. Verify X type: Time is selected. 2. Under Y type:, leave Force selected. 3. Under Y Request:, leave REQ/3, REQ/5, REQ/7, and REQ/9 selected. 4. Under Y Component:, press the CTRL key and select Y and Z to add them to the already selected X. -OrPress the SHIFT key and select Z. This selects Z and everything between X and Z. -OrLeft click on X and drag the mouse down to Z. 5. Select One plot per Request from the Layout: drop-down menu. This option creates one plot for each selected Y request. Each plot contains as many curves as there are selected Y components. The plot’s title is the Y Request name. The curve’s label is the Y Component name. 6. Click the Page Layout button, , and select the four-window layout from the panel area. 7. Click Apply to create the plots and curves on page 2. HyperWorks 9.0 HyperView Introduction 95 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Section 2: Evaluating Curve Data In this section, you will learn how to: • Reference curves • Create curves using math expressions • Create curves by using pre-defined functions Tools The Define Curves panel can be accessed in one of the following ways: • Click the Define Curves icon Or • Select Define Curves from the Curves menu This panel allows you to edit existing curves and create new ones. The Define Curves panel also provides access to the program's curve calculator. Referencing Curve Vectors in HyperGraph X and Y vector expressions can reference any curve vector in the session. A curve vector reference defines the x or y vector (values) by page, window, and curve number. An example of a curve vector reference is p2w3c4.x, where: p2 is page 2 w3 is window 3 c4 is curve 4 x is the vector 96 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics There are two common methods to specify curve vector references: Pick a curve in a plot window For the x = input SHIFT and pick the curve to get the field curve x vector reference SHIFT + CTRL and pick the curve to get the curve y vector reference for y = input field SHIFT and pick the curve to get the curve y vector reference SHIFT + CTRL and pick the curve to get the curve x vector reference Select a curve vector reference from the Curves… dialog, which is accessed from the Define Curves panel. Exercise: Creating XY Curves by Referencing Existing Curve Vectors Step 1: Open Session File democ2.mvw. 1. From the File menu, click Open. 2. Select the file democ2.mvw and click Open. Step 2: Practice referencing curve vectors by selecting curves from the plot window. 1. Make window 3 (lower left window) on page 2 active by clicking on it. 2. Expand window 3 by clicking the Expand/Reduce Window button, 3. Go to the Define Curves panel, . . The Curve list displays the names of the four curves in window 3. 4. Click Add under the curve list. 5. Verify the x = radio button is selected. 6. Select Math under Source of the curve to be created. This defines the x vector of the new curve to be a math function. In this case, it will simply be set equal to the x vector of an existing curve. 7. Hold the SHIFT key and pick the dark red curve (Req/5 Curve 5). The x = curve reference is p2w3c2.x. This defines the page 2, window 3, curve 2, x vector. 8. Clear the entry in the x = field. 9. With the x = field still active, hold the SHIFT + CTRL keys and pick the same curve. The x = curve reference is p2w3c2.y. This defines the page 2, window 3, curve 2, y vector. HyperWorks 9.0 HyperView Introduction 97 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Step 3: Create a new curve with a math expression for its y vector. 1. Click Curves… to open its dialog. − Select p2: Plot 2. − Select w3: Plot. − Select c2: Req/5 Curve 5. 2. Click Select to complete the selection The result is the same as when the curve was picked from the graphics area; the x curve reference is p2w3c2.x. 3. Click Close 4. Click the y = radio button. 5. Hold the SHIFT key and pick any curve in window 3. Notice in the y = field is the reference for the y vector of the picked curve. 6. Append the character + to the string in the y = field. 7. Hold the SHIFT key and select any other curve in window 3. Notice the y = field now has two y vectors separated by the + sign. 8. Click Apply to create the new curve. The new curve appears in window 3 and is the sum of the two y vectors. Step 4: Create a new xy curve from the data file ANGACC. 1. Click the Add Page button . 2. Go to the Build Plots panel. 3. Set Layout: to Use current plot 4. From the browser button in the panel, select the file ANGACC. 5. Leave X type: set to Time. 6. Leave Y type: set to Angular Acceleration. 7. Under Y Request: select 50th% Hybrid3 - LOWER TORSO. 8. Under Y Component: select Res. ang. acc. 9. Click Apply. Step 5: Take the integral of the new curve using the integral math function. 1. Create a 2-window layout on page 4. 2. Activate window 2. 3. Right click in the plot are and select New ► Math Curve from the context menu 4. Click the x = radio button 98 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics 5. Hold the SHIFT key and pick the curve in window 1. 6. Click the y = radio button. 7. From the panel menu, click the integral sign button, . 8. Hold the SHIFT + CTRL keys, then pick the curve in window 1. Notice the x vector curve reference is entered in the integral function. 9. Hold the SHIFT key, and pick the same curve again. Notice the y vector curve reference is entered in the integral function. 10. Click Apply to create the new curve. Step 6: Change the source curve. 1. Click left window containing the file curve 2. Under Request: select 50th% Hybrid3 - HEAD. 3. Click Apply. The integral curve dynamically updates because it mathematically references the file curve HyperWorks 9.0 HyperView Introduction 99 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Section 3: Changing Curve Display Attributes In this section, you will learn how to: • Use the Headers/Footers panel • Change curve attributes • Use the Notes panel • Use the Options panel and style sheets Tools The Headers/Footers panel can be accessed in one of the following ways: • Click the Headers/Footers panel icon in the toolbar Or • Click in the Headers/Footers area of the plot window The Headers/Footers panel allows you to add headers and footers to your plots, specify font style and color, position the titles, and turn them on and off. The Curve Attributes panel can be accessed in one of the following ways: • Click the Curve Attributes panel icon in the toolbar Or • From the Curve menu, click Curve Attributes This panel allows you to change curve attributes such as line style, color, and weight as well as symbol style and color. The Notes panel can be accessed in one of the following ways: • Click on the Notes Panel button Or • From the Plot menu, click Notes 100 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics This panel allows you to annotate plots. Notes are text boxes placed in plot windows for labeling points, describing trends, and relating additional curve information. You can create logic and expression-based notes using Templex. The Style Sheets panel can be accessed in one of the following ways: • From the Tools menu, click Apply Style Or • Right-click in the plot window and select Apply Plot Style Exercise: Editing Curve Display Attributes Step 1: Open Session File demo_3.mvw. 1. From the File menu, click Open. 2. Select the file demo_3.mvw and click Open. Step 2: Change the header for window 1 to REQ/3 force. 1. Verify that window 1 on Page 2 is active. 2. Click on the Headers/Footers panel icon, . 3. From the Header tab, replace the name REQ/3 curve 3 with REQ/3 force and press ENTER to apply the change. 4. Change the header font size by clicking the font button, . 5. Change the color of the header from the color palette. Step 3: Change the line style for the curves in window 1. 1. Click the Curve Attributes icon . 2. From the Curves list, select X, Y, and Z. 3. From the Line Attributes tab, change the thickness of the curves. HyperWorks 9.0 HyperView Introduction 101 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Step 6: Create the dynamic note "Max force is {Y} at time {X}" and attach it to a curve in window 1, on page 2. 1. Activate window 1. 2. Enter the Notes panel, . 3. Click Add to create a new note named Note1. 4. From the Attach to tab, select the option Curve to connect the note to a curve. 5. From the Text tab, replace Note1 with Max force is. 6. Under the Text window box, click {Y} to add the Templex string {Y} to the note. 7. Append to the note at time and click {X}. The complete note is "Max force is {Y} at time {X}". 8. Click Apply to update the note. Note: The note automatically attaches to a data point on curve 1 (the X curve). In the Notes panel, the Curve and Point to which the note is attached is called out. The note’s {X} and {Y} Templex statements are updated to reflect the data point’s X and Y values. 9. Click points on any of the curves in window 1 to update the location/curve to which the note is attached. Note: The {X} and {Y} values are updated automatically. 10. From the Attach to tab under Find point, click the Maximum button, note to the curve’s maximum Y value. , to attach the 11. With Note1 highlighted in the Notes list, turn off this note by deactivating the Note box. 102 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics Step 7: Create and attach a second note with Templex to a curve. While in the Notes panel, do the following: 1. Activate window 3. 2. Add a note. 3. On the Text tab, replace Note2 with "curve Y absolute area is {absarea(p2w3c2.x,p2w3c2.y)}". The text in curly braces is a Templex statement. 4. Click Apply to update the note. 5. On the Attach to tab, select the option Curve. 6. Click the Next Curve button until the note is attached to curve 2 (curve Y). HyperWorks 9.0 HyperView Introduction 103 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Section 4: Modifying Plots In this section, you will learn how to: • Work with the Axes panel • Use the Coordinate Info panel Tools The Axes panel can be accessed in one of the following ways: • Click the Axes icon Or • From the Plot menu, click Axes This panel allows you to add multiple axes to plots. Also, axis attributes such as labels, color, and scaling can be modified. To access the Convert Units tool, right-click on the plot axis and select Convert Units. The Convert Units tool allows you to convert the current unit of measure of a horizontal or vertical axis to another unit of measure. All curves associated with the axis are scaled accordingly and the axis label is updated to reflect the new unit of measure. The Coordinate Info panel can be accessed in one of the following ways: • Click the Coordinate Info icon Or • From the Tools menu, click Coordinate Info This panel allows you to retrieve individual point data on any curve in the active window. When a point is selected, its data is displayed in the panel. 104 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics Exercise: Modify and Interrogate XY Curves Step 1: Open Session File demo_3.mvw 1. From the File menu click Open…. 2. Select the file demo_3.mvw and click Open. Step 2: Using the Convert Axis Units tool to scale the Y axis. 1. On page 2, activate window 1. 2. Right-click on the window’s vertical axis and select Convert Units from the pop-up menu. The current selection in the Convert Axis Units dialog defaults to Time. This is because the unit converter did not recognize the Y axis unit. 3. Select Force from the dialog. − Select From: N from the drop-down menu. − Select To: kN from the drop-down menu. 4. Click OK to apply the change and close the dialog. The Y axis’ label is changed from Force to Force (kN). Also, the Y axis numbers and the curves’ Y data are scaled by 0.001. 5. Open the unit converter again for the same Y axis. Force is now selected as the tool recognizes the axis’ unit of measure. 6. Click Cancel to close the Convert Axis Units dialog. Step 3: Change the Y axis label for window 1 to Force (kiloNewtons) 1. Click the Axes panel icon, . The Primary axis is highlighted or active in the Axes list. 2. Above the Axes list, select Vertical from the drop-down menu. 3. From the Text tab, change Force (kN) to Force (kiloNewtons) and press ENTER to apply the change. HyperWorks 9.0 HyperView Introduction 105 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Step 4: Creating a Datum Line 1. Activate window 2 on page 2. 2. Click the Datum panel button. 3. Click Add. 4. Verify that the choice under the selection for Datum is horizontal. 5. Select the Positon tab. 6. Verify that Axis is set to Primary. 7. For Position, enter the expression sin(PI/4) +100-cos(0). 8. Click the Line Attributes tab and select a different color for the line. 9. Click Apply. Step 5: Interrogating points using Coordinate Info 1. Activate window 2 on page 2. 2. Click the Coordinate Info panel button. 3. Click on any point on any curve to view the curves values at the point. 4. Click Next Curve to select the next curve in the window. 5. Select the Maximum button, curve. , to move the crosshair to the maximum point on the 106 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics Section 4: Advanced Referencing and Filtering Curves In this section you, will learn how to reference and filter curves. Tools The Define Curves panel can be accessed in one of the following ways: • Click on the Define Curves icon Or • From the Curves menu, click Define Curves This panel allows you to edit existing curves and create new ones. The Define Curves panel also provides access to the program's curve calculator. Referencing Curve Vectors in HyperGraph X and Y vector expressions can reference any curve vector in the session. A curve vector reference defines the x or y vector (values) by page, window, and curve number. An example of a curve vector reference is p2w3c4.x, where: p2 is page 2 w3 is window 3 c4 is curve 4 x is the vector There are two common methods to specify curve vector references: Pick a curve in a plot window For the x = input SHIFT and pick the curve to get the field. curve x vector reference SHIFT + CTRL and pick the curve to get the curve y vector reference for y = input field. SHIFT and pick the curve to get the curve y vector reference SHIFT + CTRL and pick the curve to get the curve x vector reference HyperWorks 9.0 HyperView Introduction 107 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics Select a curve vector reference from the Curves… dialog, which is accessed from the Define Curves panel. Exercise: Filtering a curve Step 1: Open Session File saefilter.mvw 1. From the File menu, click Open. 2. Select the file saefilter.mvw and click Open. Step 2: Filter a curve using the SAE J211/1 filter. 1. Click on the Define Curves panel button . 2. Click Add and add a new curve. 3. Change the name of the new curve from Curve 1 to SAE J211/1 FILTER in the text box over the curve list. 4. Check the radio button for Math under Source:. 5. Verify that the x vector is active. 6. Hold the SHIFT key and click on the curve in the plot window. The x = curve reference is p1w1c1.x. 7. Click the y = field, and click Filter… from the panel menu to display the Filter dialog. 8. Select the filter class SAE J211/1 from the Filter Class drop-down menu. 9. Select Filter Class: 60, Padding: Mirror padding, and Direction: Fwd-Back. 10. Click OK to complete the selection and close the Filter dialog. 11. Hold down the SHIFT + CTRL keys, then select the existing curve. 12. The x vector curve reference is entered in the saefilt95 function. 13. Hold down the SHIFT key and select the curve again. Note: The curve's y vector is referenced in the saefilt95 function. The y = field should read: saefilt95(p1w1c1.x,p1w1c1.y,60,1,3). 14. Click Apply to create the filtered curve. 108 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 5: Plotting Basics HyperWorks 9.0 HyperView Introduction 109 Proprietary Information of Altair Engineering, Inc. Chapter 5: Plotting Basics 110 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 6: Defining Waterfall Plots Chapter 6 Defining Waterfall Plots Hypergraph3D, one of the applications in HyperWorks Desktop is a plotting utility that enables you to generate 3D plots of your data. This can be used to generate a 3D line, surface or waterfall plots. Waterfall plots which are used extensively in the field of NVH allow you to view the data in a force, frequency and time domain. This chapter guides you on how to generate waterfall plots and edit them. In this chapter, you will learn how to create waterfall plots. Tools The Waterfall panel can be accessed in one of the following ways: • From the toolbar, click the Waterfall panel icon Or • From the Plot menu, select Waterfall The Waterfall panel allows you to create waterfall plots from XY force response data and input pulses. If a waterfall plot exists in the current window, HyperGraph 3D automatically fills in the default values. HyperWorks 9.0 HyperView Introduction 111 Proprietary Information of Altair Engineering, Inc. Chapter 6: Defining Waterfall Plots Exercise: Creating Waterfall Plots Step 1: Open Session File trimmer.mvw and create HyperGraph 3D window 1. From the File menu, click Open. 2. Select the file at /demos/mv_hv_hg/3dplotting/trimmer.mvw and click Open. 3. Click Close on the message log that appears. 4. Click on the Add Page button to add a page. 5. Select HyperGraph 3D from the Select Application Menu icon, . Step 2: Create a Frequency versus Time waterfall plot 1. Click the Waterfall icon on the toolbar to enter the panel. 2. Verify that Frequency and Time are the options set under Plot Type:. 3. Click the curve selection icon in the Response Field for Data Curves:. 4. Choose the Force vs Time – Raw curve. 5. Click Preview to view the curve. 6. Click Select. 7. Verify that the curve referenced under Response is p1w2c1. 8. Enter 100 for Number under Waterfall slices. 9. Check the Contour waterfall option. 10. Click Apply. 112 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 6: Defining Waterfall Plots Step 3: Create a Frequency versus RPM waterfall plot While in the Waterfall panel, do the following: 1. For Plot Type: select Input Magnitude instead of Time from the pull down menu. 2. Select RPM vs Time – Filtered for Input under Data Curves. 3. Select RPM vs Time – Raw for Response under Data Curves. 4. Check the box for Input Vector is in RPM to scale the RPM to RPS. 5. Click Apply. HyperWorks 9.0 HyperView Introduction 113 Proprietary Information of Altair Engineering, Inc. Chapter 6: Defining Waterfall Plots 6. Click Undo to return to the Frequency vs Time plot. Step 4: Create an Order waterfall plot While in the Waterfall panel, do the following: 1. For Plot Type: select Order(scaled) instead of Frequency from the pull down menu. 2. Select RPM vs Time – Filtered for Input under Data Curves. 3. Click Apply to create the plot. 114 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 6: Defining Waterfall Plots 4. Click Undo to return to the Frequency vs Time plot. HyperWorks 9.0 HyperView Introduction 115 Proprietary Information of Altair Engineering, Inc. Chapter 6: Defining Waterfall Plots 116 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 7: Synchronizing Data Chapter 7 Synchronizing Data The data obtained from a solver is generally on a different time scale than that of videos captured while prototype testing. In order to correlate the two, it is essential to bring them both to the same time scale and then apply the necessary changes so that they can be synchronized and studied together. This chapter outlines the procedure on how to synchronize data obtained from a solver to that of video captured while actual testing. In this chapter, you will learn how to: • Synchronize windows with different data types Tools To access the Synchronize Window Animation dialog: • From the Utilities menu, select Synchronize Animation. • From the Animation Controls panel, click Time Scales. This dialog allows you to synchronize the animation, plot, and video windows on a page by applying appropriate scaling and offset values. This tool is useful for synchronizing windows that contain animation results in different units and/or begin at different time steps. The dialog contains a Scaling and Offset field for each window on a page. The Scaling field multiplies the total run time of the window’s animation by the specified amount. The animation is then scaled to run within the new time boundaries. The Offset field delays the start of a window’s animation for the specified duration. HyperWorks 9.0 HyperView Introduction 117 Proprietary Information of Altair Engineering, Inc. Chapter 7: Synchronizing Data Exercise: Synchronize Various Data Types Step 1: Load animation data from the MADYMO file driv_bag.kin3. 1. From the File menu, select New to clear the contents of the HyperView session. 2. From the Select application menu, , select HyperView. 3. From the Load Model panel, load the file driv_bag.kn3 from the animation_synchronization folder for both Load model and Load results. 4. Click Apply to load the animation data. 5. Click Lft from the View Controls. 6. Click from the View Controls to see the right view. Step 2: Setup a three-window page layout and open the AVI file iihs2.avi in window 3. 1. From the Page Layout dialog, select the three-window layout . 2. Activate window 3. 3. From the Select application menu, select MediaView. 4. From the toolbar, click the Open File button . 5. Select Files of type: Windows AVI files (*.avi). 6. Open the file iihs2.avi from the animation_synchronization folder. Step 3: Plot xy data curves from the MADYMO file linacc in window 2. Using the Build Plots panel, in a single plot window, plot time versus linear acceleration for the lower torso, upper torso, and head resultant acceleration. 1. Activate window 2. 2. From the Select application menu, select HyperGraph. 3. Select the Build Plots panel . 4. From the file browser button , open the file linacc from the animation_synchronization folder. 5. For X type:, select Time. 118 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 7: Synchronizing Data 6. For Y type:, select Linear acceleration. 7. For Y Request:, select LOWER TORSO, UPPER TORSO, and HEAD. Note: Press the CTRL key while selecting components to select more than one. 8. For Y Component:, select Res. Acceleration (m/s**2). 9. Click Apply to create the xy data curves. Result of loading the various data files Step 4: Synchronize the animation, xy plot, and video data. Synchronize the animation of all three windows using the Synchronize Window Animation dialog. 1. Click to animate the page’s windows. Notice that the animation, plot, and video windows are not synchronized. 2. Click again to stop the animation. 3. Activate window 1 (the animation window). 4. From the Utilities menu, select Synchronize Animation. 5. Move the Current time slider to 0.018. Note that the airbag begins to open in the HyperView window. 6. Click the lock button under Time A for Window 1 and Window 2 in the dialog box to set the start time for the plot and model. 7. Move the time slider to 0.138. Note that the head has bounced off the airbag. 8. Click the lock button under Time B for Window 1 and Window 2 in the dialog box to set the end time for the plot and model. 9. Move the slider bar to 17. HyperWorks 9.0 HyperView Introduction 119 Proprietary Information of Altair Engineering, Inc. Chapter 7: Synchronizing Data Note that the air bag begins to open in the video window. 10. Click the lock button the video. under Time A for Window 3 in the dialog box to set the start time for 11. Move the Current time slider to 47. Note that the head has bounced off the airbag for the first time in the video. 12. Click the lock button the video. under Time B for Window 3 in the dialog box to set the end time for 13. Click Apply. 14. Animate page 1 and observe that the events are now synchronized. 15. From the Animation Controls panel, click Time Scales… and observe that the scaling and offset factor are assigned for the three windows. 120 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 8: Process Automation Chapter 8 Process Automation While post processing, it is common to do the same steps repeatedly for different iterations or runs of your model. This allows you to better study the results with respect to one another. The Report Template capability available in HyperWorks Desktop allows you to generate templates with one file and allows you to perform the same operation for other iterations, thus preventing the need to repeat all the steps again. This chapter shows you how to generate report templates and use those utilities to automate your post processing. In this chapter, you will learn how to: • Create and use report templates to automate the processing of animation, plot, and text data • Overlay and append plot, animation, and video data with report templates • Display and hide layers of data in plot windows • Display and hide models in animation windows Tools To access the Reports panel: • From the toolbar, click the Reports panel button . Or • From the Tools menu, select Reports. The Reports panel allows you to add (append, replace, or overlay) predefined page sets in report templates to the current HyperWorks Desktop session. A report template automates the processing of different sets of similar data. Report templates contain a list of report definition statements that specify how to process results for particular test or analysis data files. HyperWorks 9.0 HyperView Introduction 121 Proprietary Information of Altair Engineering, Inc. Chapter 8: Process Automation Exercise: Creating and Using a Report Template This exercise uses the session file airbag.mvw, and also LS-DYNA input file and d3plot files from run 2 of the airbag analysis. Step 1: Open session file airbag.mvw and save as a report template file. 1. Open the session file airbag.mvw. 2. From the File menu, select Save Session File As to open the Save Session dialog. 3. Select Save as type: Report definition (*.tpl). 4. Save the report template file as airbag_new. When the report file is saved, the extension *.tpl is appended to the file’s name if the extension is not already present in the filename. Step 2: Automate post-processing of results by using the report template. 1. Clear the contents of the session. 2. Click the Reports panel button, . 3. Verify that the airbag_new template is loaded and active under report definitions. If the template is not loaded follow the steps below: − Click Add to add a report definition. − Select and Open the file created in the previous step: airbag_new.tpl. The template’s four file parameters are listed in the middle of the panel. They represent the four data files used in the session (for run 1 of the airbag analysis) from which the report 122 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 8: Process Automation template was created. The parameter’s default values are the names of the files used in the session. 4. Click Apply to recreate the session (for run 1 of the airbag analysis) from the template. 5. For GRAPHIC_FILE_1, using the file browser next to it, open the file d3plot, located in the airbag/run2 folder. 6. For RESULT_FILE_1, open the file d3plot, located in the airbag/run2 folder. 7. For PLOT_FILE_1, open the file abstat, located in the airbag/run2 folder. 8. For PLOT_FILE_2, open the file glstat, located in the airbag/run2 folder. 9. Select the option Mode: Overlay. Turn off the Use Report Colors option This option causes the curves to be plotted based on the default colors that HyperGraph has defined, rather than using the colors mentioned in the report template. This allows for better visualization by causing the curves obtained from run2 to be of a different color from those of run1. 10. Click Apply to add data from run 2 of the airbag analysis to the session. HyperWorks 9.0 HyperView Introduction 123 Proprietary Information of Altair Engineering, Inc. Chapter 8: Process Automation Step 3: Turn on and off curve layers in plot windows. 1. From the Reports panel, click Layers… to open the Layers dialog. 2. Select Layer 0 to turn off the curves for run 1 of the analysis. The check mark in the Layer 0 checkbox is not displayed when the layer is turned off. 3. Select Layer 0 to display the curves for run 1 of the analysis. 4. Close the Layers dialog. Step 4: Turn on and off models in animation windows. 1. Activate the HyperView window. 2. From the status bar, click the current model’s file pathname to open the Current Model dialog. 3. Uncheck any Visible box to turn on and off the corresponding model in the active HyperView window. Close the Current Model dialog. 124 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 9: Result Presentation Chapter 9 Result Presentation Once you have reviewed your results, it is important to be able to generate a report. All HyperWorks Desktop applications provide several utilities that allow you to generate HTML’s, PowerPoint slides, pictures or avi’s that help you to enhance the report or send them over to others for further review. This chapter highlights the tools available in HyperWorks Desktop that can be used to achieve this goal. In this chapter, you will learn how to: • Capture screen contents to files. • Capture animations to files. • Export CAE data in Altair’s Hyper3D format and view it with Altair’s HyperView Player. • Create HTML and PowerPoint (XML) report files from HyperView. Tools • From the File menu, select Capture Screen to File. HyperWorks Desktop allows you to capture the screen (the windows in a session page) to a BMP, JPEG, PNG, or TIFF file to use in a report. You can then open the file in an image editor and in HyperView’s video window. • From the File menu, select Capture Animation to File(s). HyperWorks Desktop allows you to capture animation data to an AVI, AMF (Altair's Movie File), BMP, JPEG, TIFF, or PNG file. You can view the AVI file in a movie player application and in HyperView’s video window. • From the File menu, select Export H3D Models. Altair’s Hyper3D (H3D) file is a compact, binary 3D movie file. This format allows you to store model and results data in a single, compact file, rather than in multiple, large solver results files. You can create an H3D file containing only the data you want someone to access and easily distribute information using H3D files with HyperView Player. HyperWorks 9.0 HyperView Introduction 125 Proprietary Information of Altair Engineering, Inc. Chapter 9: Result Presentation • From the File menu, select Publish Session. You can capture multiple pages and windows to various file formats (H3D, AVI, JPEG, etc.) and organize them into an HTML or PowerPoint (XML) file. The PowerPoint file will be in XML format. You can read XML files in Microsoft PowerPoint. However, you may need to upgrade the PowerPoint version to office 2000 or higher. HyperView Player HyperView Player is an Internet browser plug-in and standalone application for visualizing 3D computer aided engineering models and results in H3D file format created from HyperView. The HyperView Player window is embedded in the HTML or XML reports generated so as to view the 3D data using the plug-ins. In HTML files, you can also display H3D data in a 2D preview image as shown in the image of the sample HTML report below. This image is stored in the H3D file. Click the image to open HyperView Player’s standalone application with the H3D file loaded. Windows and UNIX support 2D preview images. Exercise: Creating HTML and PowerPoint Report File This exercise uses the file presenting_result.mvw. Step 1: Create the H3D file for page 1, window 1. 1. Open the file presenting_result.mvw. 2. Activate page 1, window 1. On the window’s legend, Displacement (Mag) is the active contour result type. This allows the creation of the maximum displacement results to be saved to the H3D file. 3. From the Display Control menu, turn off Contour and Section Cuts. When the H3D file to be created is opened, the default display will not have a contour or section cuts. However, the contour and section cut(s) are saved to the H3D file and can be turned on. 4. From the Animation Controls panel, set Animate start to 0.022 and Animate end to 0.042. Only displacement results in this range will be saved to the H3D file. 5. From the File menu, select Export H3D Models. 6. Activate the option Compress. 7. Click Advanced >> to view other options. The Animate start time is set to 0.022 and the Animate end time is set to 0.042. 126 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 9: Result Presentation 8. Save the file as taurus_new.h3d. Step 2: Open the H3D file in HyperView Player. 1. Open HyperView Player from the desktop’s Start menu. 2. Click the Load a h3d file button, open the file taurus_new.h3d. 3. Animate the model by clicking the Play button, . 4. Using the horizontal slider between the letters S and F, control the speed of the animation. 5. Rotate, zoom in, and translate the model using the CTRL + mouse buttons just as you do in HyperView. 6. From the Display Control menu, turn on Contour/Assign and Section Cut. 7. Close HyperView Player. Step 3: AVI capture of screen/animation with box selection. 1. Return to the HyperView session. 2. Activate page 1, window 1. 3. Pressing the CTRL key, click the F8 key. HyperWorks 9.0 HyperView Introduction 127 Proprietary Information of Altair Engineering, Inc. Chapter 9: Result Presentation 4. Enter a name for the AVI file in the Save As window that is displayed and click Save. The Capture Selected Area dialog is displayed as shown. Capture Selected Area dialog 5. Click Continue. 6. Left-click in the graphics area and draw a window around the area to be captured. The window can be moved on the screen (by placing the mouse inside the window and moving it) or resized (by placing the mouse over the window's edge and resizing it). 7. Right-click anywhere in the graphics area to start the AVI capture of the selected area. An AVI file of the animation of the selected area is saved. Step 4: Publish session in HTML or XML format. 1. Return to the HyperView session. 2. From the File menu, select Publish Session. 3. Under Page selection/Window properties, click on the + sign next to p1.Frontal crash to expand its tree. 4. Select the page 1 window w1:animation. 5. In the Description text box, type FE car model. 6. From the Data type: drop-down menu, select H3D. 7. Click Options to display the Publishing Options dialog. 128 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 9: Result Presentation 8. On the H3D tab, activate the option Compress. 9. Click OK to accept the change and close the dialog. 10. Select the page 1 window w2:plot. 11. In the Description field, type compare forces. 12. Select Data type: JPEG. 13. Expand the tree for page 2, p2.Air bag. 14. Select the page 2 window w1:animation. 15. In the Description field, type madymo dummy. 16. Select Data type: JPEG. 17. Select the page 2 window w2:video. 18. Leave the Description field empty. 19. Select Data type: AVI. 20. For Save as type: select HTML Files (*.html) and save the file as crash_report.html. The HTML file is saved in the specified folder along with a new folder named crash_report_data_dir. This folder contains all files linked to the HTML file. Proceed to Step 5. Or Repeat step 20 above, with Save as type: set to PowerPoint Files (*.xml) and save the file as crash_report.xml. HyperWorks 9.0 HyperView Introduction 129 Proprietary Information of Altair Engineering, Inc. Chapter 9: Result Presentation The XML file is saved in the specified folder along with a new folder named crash_report_xml_dir. This folder contains all files linked to the XML file. In this case, proceed to Step 6. Step 5: View the HTML file in Internet Explorer. 1. Open the file crash_report.html using Internet Explorer. On the left side, the session page names Frontal crash and Air bag are displayed. Also, notice the description under the windows. Note: If Internet Explorer blocks the content when the HTML page is opened, allow the blocked content. 2. Click the page names to go to that page. 3. For the Frontal crash page, click the Play button, the model. , in the animation window to animate 4. Double-click the plot window to expand it. 5. Click Back at the top of the web browser window to return to the original view of the report. 6. Click Air bag on the left side to go to the Air bag page in the HTML report. 7. On the Air bag page, click the video window to open a movie player and play the video. Notice that the video window does not have a description. Step 6: View the XML file in Microsoft PowerPoint. 1. From PowerPoint drop-down menu, select File/Open and browse to crash_report.xml. If prompted for reliability of source, click Yes. 2. Go to slideshow mode (F5). The H3D file is available with HyperView Player embedded in PowerPoint. Also, the other images and movie files are available in the layout selected in the HyperView session. 130 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 10: Using HvTrans Chapter 10 Using HvTrans It is general practice to delete your result files on completion of your project as they tend to be big in size. The HvTrans utility is a result translator available along with the Hyperworks suite that allows you to translate the result file to H3D format that is Altair proprietary and a compressed format. The utility allows you to compress the data and also pick and choose results and their components that are of interest to you. This chapter guides you on how to use HvTrans to translate and compress your results to the H3D format. In this chapter, you will learn how to: • Translate FEA animation data files to an Altair Hyper3D file • Learn how to create Hyper3D files • Translate animation data files using HyperMesh results translators Tools To open the HvTrans GUI • On Windows: From the Start menu, select Programs/Altair HyperWorks / Tools / HvTrans. • On UNIX: Run the script [HyperWorks install directory]/altair/scripts/hvtrans. HvTrans allows you to extract or translate results into an H3D file. A Hyper3D (H3D) file is a compact file containing model data, results data, or both, depending on the method used to create the file. The H3D file format is Altair proprietary. All H3D files, regardless of the method used to create them, can be loaded into HyperView. The HvTrans utility runs in GUI mode and in batch mode. In GUI mode, you can select the results you want to extract or translate, include the model information from the results file or corresponding input file. In batch mode, perform a translation without invoking the GUI so you can translate results on a file server if required. HyperWorks 9.0 HyperView Introduction 131 Proprietary Information of Altair Engineering, Inc. Chapter 10: Using HvTrans To access the HyperMesh Results Translator • On Windows: Through HyperMesh, on the Analysis page select Solver. Through DOS, run the HyperMesh results translator scripts, which are located in the directory [HyperWorks install folder]\io\translators\bin\win32. • On UNIX: Run the HyperMesh results translator scripts, which are located in the directory [HyperWorks_install_directory]/altair/scripts. For CAE solver results files that HyperView does not directly support, you can translate them to a Hyper3D file or to a HyperMesh results file by using the appropriate HyperMesh result translator. To run a HyperMesh Results Translator • The command syntax for running a HyperMesh results translator is: translator_name [arguments] results_file output_file • To see a list of all available arguments for a results translator, run the command: translator_name -u • To create an H3D file from a HyperMesh results translator, specify the argument h3d in the command line. Exercise: Translate Results using HvTrans Step 1: Extract results from d3plot files using HvTrans. 1. From the Start menu, select Programs. 2. Select Altair HyperWorks / Tools / HvTrans. 3. From the File menu, select Open Result File. 4. Select and open the file d3plot from the truck folder. 5. Under Simulation, select By Step and increase By Step: to 2. 132 HyperView Introduction HyperWorks 9.0 Proprietary Information of Altair Engineering, Inc Chapter 10: Using HvTrans 6. Under Result Type, deselect all result types except for Stress (t). The result type displacement is not listed because displacement results are always written to the H3D file. 7. Under Options, leave Include model with translated results active and set it to From input deck. 8. Click Browse and select the model file truck.key. 9. Click Translate, specify the name d3plot.h3d for the H3D file, and Save. 10. From the File menu, select Exit to close HvTrans. 11. Open the saved file, d3plot.h3d, in HyperView. HyperWorks 9.0 HyperView Introduction 133 Proprietary Information of Altair Engineering, Inc.