Hypermesh Basics Tutorials-1
Hypermesh Basics Tutorials-1
Hypermesh Basics Tutorials-1
0 Tutorials
Basics
HyperWorks
Altair Engineering Contact Information
The following countries have distributors for Altair Engineering: Mexico, Romania, Russia, South Korea,
Singapore, Spain, Taiwan and Turkey. See www.altair.com for complete contact information.
© 2007 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.
All other trademarks and registered trademarks are the property of their respective owners.
HyperMesh 8.0 Tutorials
Basics
Overview
It is highly recommended before you begin the exercise, you review the general overview for this
tutorial.
Tools
The HyperMesh interface contains several areas. Each is described below.
Title bar The bar across the top of the interface is the Title bar. It contains the
version of HyperMesh that you are running and the name of the file you
are working on.
Graphics area The Graphics area under the title bar is the display area for your model.
You can interact with the model in three-dimensional space, in real time. In
addition to viewing the model, entities can be selected interactively from
the Graphics area.
Pull down menu Located just under the title bar. Like the pull-down menus in many
graphical user interface applications, these menus "drop down" a list of
options when clicked. Use these options to access different areas of
HyperMesh functionality.
Toolbar Located just under the graphics area, these buttons provide quick access
to commonly-used functions, such as changing display options.
Command You can type HyperMesh commands directly into this text box and execute
Window them instead of using the HyperMesh Graphical User Interface.
Header bar The Header bar separates the Graphics area from the Panel area. The
left end of the Header bar displays your current location. At this time, you
will see Geometry displayed. The three fields on the right side of the
header bar display the active user profile, current component collector and
current load collector. The latter two fields are blank.
As you work in HyperMesh, any warning or error messages also display in
the Header bar. Warning messages appear in green and error messages
appear in red.
The quit button on the rightmost end of the Header bar ends the
HyperMesh session. When you select quit, if changes have not been
saved a save file information confirmation message appears so you can
save your changes before HyperMesh closes down.
Hint You can hold the left mouse button down on top of a panel to see
a description for it in the Header bar.
Page menu The Page menu allows you to select different sets of functions.
The Geom page contains functions having to do with the creation and
editing of geometry.
The 1D, 2D, and 3D pages contain element creation and editing tools
grouped according to element type.
The Analysis page contains functions to set up the analysis problem and
define the boundary conditions.
The Tool page contains miscellaneous tools and model checking
functions.
The Post page contains post-processing functions.
Panel menu The Panel menu displays for each page the functions available on that
page. You access those functions by clicking on the button corresponding
to the function you wish to use.
Process
To start HyperMesh on a PC, go to Start > Programs > Altair HyperWorks > Altair HyperMesh.
Model Files
All files referenced in the HyperMesh tutorials are located in the
<install_directory>/tutorials/hm/ directory unless otherwise noted. For detailed
instructions on how to locate the installation directory <install_directory> at your site, see
Finding the Installation Directory <install_directory>, or contact your system administrator.
Tools
The files panel will be used in this tutorial. It can be accessed by one of two methods:
Files panel
The files panel allows you to read and write data into and from HyperMesh. It contains the following
sub-panels:
Sub-panel Function
export Export CAD geometry or finite element information for specific analysis codes
Step 2: Import the HyperMesh model file, bumper_mid.hm, into the current
HyperMesh session.
1. To access the import feature, do one of the following:
• On the File menu, point to Import, and click HyperMesh Model
• Click the file icon , go to the import sub-panel, and click HM MODEL
2. Open the file, bumper_mid.hm.
HyperMesh model file, bumper_mid.hm, imported on top of existing data in the HyperMesh
session
Step 3: Import the IGES geometry file, bumper_end.igs, into the current
HyperMesh session.
1. Access the import feature in one of the following ways:
• On the File menu, point to Import, point to Geometry, and click Iges
• Click the file icon , go to the import sub-panel, select GEOM, and toggle to IGES
OptiStruct input file, bumper_end_rgd.fem, imported on top of data in the current HyperMesh
session
• Click the file icon on the toolbar, go to the hm sub-panel, and click save as…
Note: The data currently loaded in HyperMesh is now saved in a HyperMesh binary data file
of the name you entered.
Remain in the Files panel. Or, go the File menu (if necessary).
Note: Save (without three dots) saves the HyperMesh session to the file name specified in the
file: field. Save as… (with three dots) opens a file browser and prompts you for a file name
to which to save the HyperMesh session.
• Click the file icon , go to the export sub-panel, click iges, and then click write as…
Remain in the Files panel.
Step 7: Export the model’s mesh data to an OptiStruct input file called
practice.fem.
1. On the Preferences menu, click User Profiles.
2. Select OptiStruct.
The OptiStruct template contains OptiStruct specific formatting instructions HyperMesh uses to
create an OptiStruct input file.
3. On the toolbar, Click the file icon.
4. Go to the export sub-panel.
5. Click template.
6. Click write as…. and browse to the file, practice.fem.
7. Click return to go to the main menu.
Step 8 (Optional): Delete all data from the current HyperMesh session.
1. Access the delete feature in one of the following ways:
• Press F2 on the keyboard
• On the Tool page, go to the delete panel
2. Click delete model.
3. Answer Yes to the pop-up question "Do you wish to delete the current model? (y/n)".
4. Click return to go to the main menu.
Step 9 (Optional): Import the IGES geometry file you created, practice.igs.
Refer to Step 3 for detailed instructions.
Overview
It is highly recommended before you begin the exercise, you review the general overview for this
tutorial.
Exercise
• On the toolbar, click the file icon and go to the hm file sub-panel
2. Click retrieve… and browse to <install directory>/tutorials/hm/bumper.hm.
3. Click Open.
Step 2: In the translate panel, select nodes from the graphics area.
1. Access the translate panel in one of the following way:
• On the Tools menu, click Translate
• On the Tool page, click translate
Node selector
The cyan border around it indicates that it is active; HyperMesh is expecting nodes to be selected
as the next action.
A node is positioned at each element corner. Selected nodes are highlighted with a small, white
circle.
Node Handles
The menu that pops-up contains a list of entities that can be translated.
Element Handles
Step 4: Select and unselect elements using the quick window selection
method.
1. Verify that the elems selector is active.
2. Move the mouse handle into the graphics area.
3. Press and hold the Shift key + left mouse button and move the mouse to draw a rectangular
window around a few elements, and then release the Shift key and left mouse button.
All the element handles inside the rectangular window are selected.
4. Unselect elements by pressing and holding the Shift key + right mouse button and moving the
mouse to create a window around the selected elements.
Step 5: Select and unselect elements by using the extended entity selection
menu.
1. Click the elems selector and select reverse. (Select elems >> reverse.)
The selection of elements is reversed; the elements that were selected are now unselected and
the elements that were not selected are now selected.
The menu that appears contains a list of functions for selecting elements. Once you select a
function from the menu, the menu disappears. If you do not want to select a function, move the
mouse handle out of the menu.
Step 6: Shade the elements, reset the selection, and select a few adjacent
elements.
1. On the toolbar, click the Shaded Elements & Mesh Lines icon .
The elements are displayed in shaded mode, rather than wireframe mode.
2. In the translate panel, click the reset icon to clear the elements selection.
3. With the elems selector active, select a few elements that are adjacent to each other.
Direction selector along with the node selectors to define the direction vector.
The menu shown below appears. It contains a list of vector and plane options for defining the
direction in which to translate the selected elements.
Step 10: Specify a distance to translate the selected elements and then
translate them.
1. Toggle from magnitude = N1-N2 to magnitude =.
2. Click in the magnitude = field to highlight its value.
3. Press Ctrl + V to paste the distance = value copied from the distance panel.
4. Click translate +.
The selected elements translate in the direction from N1 to N2 by the number of units specified
for magnitude =.
5. Click translate – once.
The selected elements are translated in the negative N1-N2 vector direction and are now in their
original position.
Step 12: Specify a new vector and translate the elements again.
1. Click the reset icon .
2. Notice N1 is the active selector.
3. Select three nodes for N1, N2, N3 to define a plane.
4. Click translate + or press the middle mouse button.
The elements are translated 57.75 units in the positive direction normal to the defined plane.
5. Return to the main menu.
Overview
It is recommended to review the general overview before completing this tutorial.
Step 3: Create two geometry lines and organize them into different
components.
1. Access the lines panel in one of the following ways:
• On the Geometry menu, slide the cursor to Lines and click Create.
• On the Geom page, enter the lines panel.
2. Go to the from nodes sub-panel.
Step 5: Move all the model’s shell elements (quads and trias) into the
component, center.
You should still be in the organize panel.
Step 9: Move the component, geometry, to the front in the components list.
1. Access the reorder panel in one of the following ways:
• From the Organize menu, click Reorder
• On the Tool page, go to the reorder panel
2. Click the comps selector to see a list of the model’s components.
3. On the right side of the panel, click the switch and select name(id). (Switch from name to
name(id).)
Step 10: Renumber the components to be the same as their position in the
list.
1. Access the renumber panel in one of the following ways:
• From the Organize menu, click Renumber
• On the Tool page, go to the renumber panel
2. Go to the single sub-panel.
3. Switch the entity selector to comps.
4. Click the comps selector to see a list of the model’s components.
5. On the panel’s right side, select comps >> all.
6. Click select to complete the selection of components.
7. Verify start with = is set to 1.
8. Verify increment by = is set to 1.
9. Verify offset = is set to 0.
10. Renumber the components.
11. Click the comps selector to review the model’s component list.
12. Notice the components are numbered according to their position in the list.
13. Return to the main menu.
Having components with IDs that do not reflect their position in the model’s list of components will
not result in errors. However, having components with IDs that do reflect their position in the
model’s list of components can be helpful for organizational purposes.
Step 11: Create an assembly containing the components, shells and rigid.
1. The assemblies panel can be accessed in one of the following ways:
• From the Organize menu, click Assemblies
• On the Tool page, enter the assemblies panel
2. Go to the create sub-panel.
3. For name = specify elements.
Step 13: Move the model’s one constraint into the load collector,
constraints.
The existing load collector, loads, contains several forces and one constraint. The organize panel is
used to move the one constraint in the load collector, constraints.
1. Access the organize panel in one of the following ways:
• On the Organize menu, click Entities
• On the Tool page, go to the organize panel.
2. Switch the entity selector to loads.
3. Select loads >> by config.
4. Click config = and select const.
5. Toggle from displayed to all.
6. Click select entities.
7. Verify that destination = is set to the load collector, constraints.
8. Move the select loads (constraints) into the load collector, constraints.
3. Click on the color icon and chose the component’s color as pink.
Step 16: Review the existing assembly elements from the model browser.
• Left click the + button next to Assembly Hierarchy then click the + button next to elements
to expand its tree. Notice that it contains two components, rigid and shells.
Note that the assemblies panel allows you to add components, which are in one assembly to
another assembly. The model browser does not allow you to do this, but you can create
assemblies from it.
Step 17: Add the components, geometry and component1, to the assembly,
assem_mid, using the Model Browser.
1. Left click on the component name, geometry, to select it.
2. Press the Ctrl key and left click on the component name, component1.
Press the Ctrl key and left click on a selected item to deselect it.
3. Left click on any one of the selected components and drag the mouse pointer over the assembly,
assem_mid. When assem_mid is highlighted, release the mouse button.
The selected components are added to the assembly, assem_mid.
Use the Shift key and left mouse button to select multiple items in the model browser list at one
time. Left click on the first item in the list. Then press the Shift key and left click on the last item in
the list.
Step 20: Set the current component from the model browser.
1. Right click on shells and select Make Current.
The component name is bolded.
2. Notice that the header bar contains comp: shells.
Overview
It is recommended to review the general overview before completing this tutorial.
Step 3: Manipulate the view of the model using the rotate functions on the
toolbar.
6. On the toolbar, right click on the dynamic rotate / spin icon and move the mouse pointer
into the graphics area.
Again, the center of rotation square appears. You can click the middle mouse button on the
model to change the center of rotation.
Step 4: Manipulate the view of the model by using the zoom in and out
functions on the toolbar.
Step 5: Manipulate the model view using the arrows and view panel on the
toolbar.
1. On the toolbar, right click or left click any of the rotate icons .
The model rotates in the direction of the arrow by the rotation angle specified in the options
panel.
1. On the toolbar, click the Shaded Elements & Mesh Lines icon .
2. Notice the shell element now have been shaded.
3. Right -click the Shaded Elements & Mesh Lines icon to access the Shaded Elements &
5. Right -click the Shaded Elements & Feature Lines icon to access the Shaded Elements
icon .
6. Notice now the feature lines are also removed from the display.
7. Click the Wireframe Elements (Skin Only) icon to return to the wireframe shading mode.
Step 7: Control the display of components using the Visual Attributes panel.
1. On the View menu, click FE Styles to go to the Visual Attributes panel.
Hidden Line with Mesh Lines – The element is displayed as a filled polygon with the
feature edges drawn in mesh line color.
Hidden Line with Feature Lines – The element as a filled polygon with the feature
edges in mesh line color.
Step 9: Control the visibility of component collectors using the Display panel
on the toolbar.
1. On the toolbar, click the Display icon to enter the Display panel.
2. On the panel’s right side, switch the entity type to comps.
3. Toggle the component’s entity type to elems. (It may currently be set to geom.)
4. Clear all check boxes except, center and mid1.
5. The elements in the components, center and mid1, are now displayed.
6. Press f on the keyboard.
The displayed components are fitted to the graphics area.
7. Toggle elems to geoms.
In the components list, none of the components are displayed for geometry. A component
collector has two ‘compartments’, one for elements and the other for geometry.
8. Activate the components, mid2 and end.
9. Fit the displayed components to the graphics area.
The geometry in the components, mid2 and end, and the elements in the components, center
and mid1, are displayed.
10. Return to the main menu.
Step 10: Control the display of entities using the mask panel.
1. Access the mask panel in one of the following ways:
• On the Edit menu, click Mask .
• On the Tool page, enter the mask panel.
2. Go to the mask sub-panel.
3. With the elems selector active, select elems >> by collector.
4. Select the component, mid1.
8. On the toolbar, click the Display icon to enter the Display panel.
9. Verify the entity type is set to comps.
10. Toggle the component’s entity type from geoms to elems.
11. Notice that the components, center and mid1, are still displayed; their check boxes are
activated even though some or all of the elements in these components are masked (hidden).
12. Return to the mask panel.
13. Click unmask all.
All the elements in the components, center and mid1, are visible again.
Notice the elements in the other components are not displayed. This is because these
components are not active in the Display panel on the toolbar.
14. Return to the main menu.
Step 11: Control the display of entities using the find panel.
1. Access the find panel in one of the following ways:
• On the Edit menu, click Find.
• On the Tool page, enter the find panel.
2. Go to the find entities sub-panel.
3. Select elems >> by collector, and select the component, end, from the components list.
4. Find the elements.
The elements in the component, end, are displayed.
5. On the toolbar, click the Display icon to enter the Display panel.
Notice that the component, end, is now active (displayed). This is because the collector
containing the entities that are to be displayed (found) must be active.
6. Return to the find panel.
7. Go to the find attached sub-panel.
8. For attached to:, select elems >> displayed.
9. Find the elements.
Some of the elements in the components, mid2 and rigid, are now displayed. These elements
are immediately adjacent and connected to the selected elements.
10. Return to the main menu.
Step 12: Control the visibility of assemblies using the Display panel.
1. On the toolbar, click the Display icon to enter the Display panel.
2. On the panel’s right side, switch the entity type to ASSEM S.
3. Right -click the assem_mid check box to deactivate (hide) the assembly.
The assembly, assem_mid, contains the components, mid1 and mid2. The elements in these
components are now hidden.
4. Return to the main menu.
2. Click the Show icon (at the top of the model browser).
Show is used to filter the entities types displayed on the model browser.
Step 14: Turn on/off the display of collectors using the Model Browser.
1. Left click the + next to Loadcols to expand its tree.
2. Left click on loads to turn on the display of this load collector.
3. Left click on the components, mid1 and mid2, to turn on their display.
4. At the top of the model browser, click the Geoms icon and deselect the Elems icon by
clicking on it.
Step 16: Change the color of components using the Model Browser.
1. Right click the color icon next to mid2.
2. From the color pop-up select a different color.