Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
0
Tutorials
www.altair.com
FTP site
Location
Telephone
North America
248.614.2425
e-mail
HyperWorks
hwsupport@altair.com
HyperMesh
hmsupport@altair.com
HyperForm
hfsupport@altair.com
OptiStruct
ossupport@altair.com
MotionView
mvsupport@altair.com
HyperView
hvsupport@altair.com
HyperGraph
hgsupport@altair.com
HyperStudy
hstsupport@altair.com
HyperOpt
hosupport@altair.com
Process Manager
pmgrsupport@altair.com
China
86.21.5393.0011
support@altair.com.cn
France
33.1.4133.0990
francesupport@altair.com
Germany
49.7031.6208.22
hwsupport@altair.de
India
91.80.26588540
1600.44.0234 (toll free)
support@india.altair.com
Italy
39.800.905.595
support@altairtorino.it
Japan
81.3.5396.1341
81.3.5396.2881
support@altairjp.co.jp
Korea
82.31.728.8600
support@altair.co.kr
Scandinavia
46.46.286.2052
support@altair.se
United Kingdom
44.2476.323.600
support@uk.altair.com
The following countries have distributors for Altair Engineering: Australia, Brazil, Czech Republic, Greece,
New Zealand, Romania, South Korea, Singapore, Spain, and Taiwan. See www.altair.com for complete
contact information.
2004 Altair Engineering, Inc. All rights reserved.
Altair HyperMesh 7.0 Tutorials
Meshing
1-D Elements
Creating 1-D Elements - HM-3000 .......................................................................................... 91
Connecting Components with 1-D Elements - HM-3010 ........................................................ 97
Obtaining and Assigning Beam Cross-Section Properties Using HyperBeam - HM-3020 ... 107
2-D Elements
Creating 2-D Elements from Surfaces Using the Automesh Function - HM-3100................ 121
Remeshing 2-D Elements - HM-3110 ................................................................................... 141
2-D Meshing around Fixed Points - HM-3120....................................................................... 147
Exploring 2-D Mesh Parameter Options in the Automesh Function - HM-3130 ................... 151
Controlling the 2-D Mesh Concentration in Curved Areas - HM-3140 .................................. 157
Creating and Optimizing a 2-D Mesh Based on User-Defined Quality Criteria - HM-3150 .. 163
Creating a 2-D Mesh using Batch Mesher - HM-3160 .......................................................... 167
Creating 2-D Elements without Surfaces - HM-3170 ............................................................ 183
Splitting and Combining 2-D Elements - HM-3180 ............................................................... 197
Creating a Tria Mesh for Tetrameshing - HM-3190 .............................................................. 205
3-D Elements
Creating a Hexahedral Mesh using the Solid Map Function - HM-3200............................... 223
Generating 3-D Tetrahedral Elements - HM-3210 ................................................................ 241
Meshing a Part with Hexahedral Elements - HM-3220 ......................................................... 249
Tetrameshing a Volume in a Single Step - HM-3230............................................................ 267
Altair Engineering
Quality
Checking 2-D Mesh Quality and Continuity - HM-3300.........................................................273
Checking 3-D Mesh Quality and Continuity - HM-3310.........................................................279
Measuring and Improving 2-D Mesh Quality using a Quality Index - HM-3320 ....................295
Troubleshooting 2-D Mesh Quality Issues Manually - HM-3330 ...........................................309
Connectors
Creating Connectors - HM-3400 .................................................................................................. 321
Morphing
Getting Started with HyperMorph - HM-3500...............................................................................339
Understanding the HyperMorph Morphing Process - HM-3510...................................................351
Applying HyperMorph Strategies - HM-3520 ...............................................................................371
Modeling
All Solvers
Defining Composites - HM-4000............................................................................................393
Working with Loads on Geometry - HM-4010 .......................................................................397
OptiStruct
Setting Up OptiStruct FE Analysis in HyperMesh - HM-4100................................................407
NASTRAN
Setting Up NASTRAN Static Analysis in HyperMesh - HM-4200 ..........................................409
ABAQUS
Setting Up an ABAQUS Analysis in HyperMesh - HM-4300 .................................................419
Defining ABAQUS Contacts for 2-D Models in HyperMesh - HM-4310 ................................435
Defining ABAQUS Contacts for 3-D Models in HyperMesh - HM-4320 ................................443
Defining *STEP using ABAQUS Step Manager - HM-4330 ..................................................457
Pre-Processing for Bracket and Cradle Analysis using ABAQUS - HM-4340.......................467
Pre-Processing for Crashing Tubes Analysis using ABAQUS - HM-4350 ............................481
ANSYS
Setting up an ANSYS Stress Analysis in HyperMesh - HM-4400 .........................................491
Defining ANSYS Contacts for 2-D Models in HyperMesh - HM-4410 ...................................499
Defining ANSYS Contacts for 3-D Models in HyperMesh - HM-4420 ...................................511
Crash Solvers
Checking Penetration, Creating Joints, and Checking Minimum Time Step - HM-4500.......525
Dummy Positioning, Seatbelt Routing, and Control Volumes - HM-4510 .............................537
ii
Altair Engineering
Proprietary Information of Altair Engineering.
LS-DYNA
Pre-Processing for Baseball Impact using LS-DYNA - HM-4600 ......................................... 545
Pre-Processing for Airbag Analysis Using LS-DYNA - HM-4610.......................................... 555
Pre-Processing for Bumper Impact Analysis using LS-DYNA - HM-4620 ............................ 561
Pre-Processing for Ink Cartridge Drop Test using LS-DYNA ALE - HM-4630...................... 569
PAM-CRASH
Using the PAM-CRASH Interface in HyperMesh - HM-4700 ................................................ 575
RADIOSS
Using the RADIOSS Fixed Interface in HyperMesh - HM-4800............................................ 591
Pre-Processing for Pipes Impact Using Radioss Block - HM-4810 ...................................... 605
Pre-Processing for Bumper Impact Analysis using RADIOSS Block - HM-4820.................. 613
Customizing
Creating a Macro - HM-8000 ....................................................................................................... 621
Post-processing
Exporting Data for Fatigue Analysis - HM-9000 .......................................................................... 629
Altair Engineering
iii
iv
Altair Engineering
Proprietary Information of Altair Engineering.
File Location
Introductory Tutorial
Getting Started with HyperMesh - HM-1000
Meshing
1-D Elements
Creating 1-D Elements - HM-3000
Connecting Components with 1-D Elements - HM-3010
Obtaining and Assigning Beam Cross-Section Properties using HyperBeam - HM-3020
Altair Engineering
2-D Elements
Creating 2-D Elements from Surfaces Using the Automesh Function - HM-3100
Remeshing 2-D Elements - HM-3110
2-D Meshing around Fixed Points - HM-3120
Exploring 2-D Mesh Parameter Options in the Automesh Function - HM-3130
Controlling the 2-D Mesh Concentration in Curved Areas - HM-3140
Creating and Optimizing a 2-D Mesh Based on User-Defined Quality Criteria - HM-3150
Creating a 2-D Mesh using Batch Mesher - HM-3160
Creating 2-D Elements without Surfaces - HM-3170
Splitting and Combining 2-D Elements - HM-3180
Creating a Tria Mesh for Tetrameshing - HM-3190
3-D Elements
Creating a Hexahedral Mesh using the Solid Map Function - HM-3200
Generating 3-D Tetrahedral Elements - HM-3210
Meshing a Part with Hexeahedral Elements - HM-3220
Tetrameshing a Volume in a Single Step - HM-3230
Quality
Checking 2-D Mesh Quality and Continuity - HM-3300
Checking 3-D Mesh Quality and Continuity - HM-3310
Measuring and Improving 2-D Mesh Quality using a Quality Index - HM-3320
Troubleshooting 2-D Mesh Quality Issues Manually - HM-3330
Connectors
Creating Connectors - HM-3400
Morphing
Getting Started with HyperMorph - HM-3500
Understanding the HyperMorph Morphing Process - HM-3510
Applying HyperMorph Strategies - HM-3520
vi
Altair Engineering
Modeling
All Solvers
Defining Composites - HM-4000
Working with Loads on Geometry - HM-4010
OptiStruct
Setting Up OptiStruct FE Analyses in HyperMesh - HM-4100
NASTRAN
Setting Up NASTRAN Static Analysis in HyperMesh - HM-4200
ABAQUS
Setting Up an ABAQUS Analysis in HyperMesh - HM-4300
Defining ABAQUS Contacts for 2-D Models in HyperMesh - HM-4310
Defining ABAQUS Contacts for 3-D Models in HyperMesh - HM-4320Defining *STEP using ABAQUS
Step Manager - HM-4330
Pre-Processing for Bracket and Cradle Analysis using ABAQUS - HM-4340
Pre-Processing for Crashing Tubes Analysis using ABAQUS - HM-4350
ANSYS
Setting Up ANSYS and Stress Analysis in HyperMesh - HM-4400
Defining ANSYS Contacts for 2-D Models in HyperMesh - HM-4410
Defining ANSYS Contacts for 3-D Models in HyperMesh - HM-4420
Crash Solvers
Checking Penetration, Creating Joints, and Checking Minimum Time Step - HM-4500
Dummy Positioning, Seatbelt Routing, and Control Volumes - HM-4510
LS-DYNA
Pre-Processing for Baseball Impact using LS-DYNA - HM-4600
Pre-Processing for Airbag Analysis using LS-DYNA - HM-4610
Pre-Processing for Bumper Impact Analysis using LS-DYNA - HM-4620
Pre-Processing for Ink Cartridge Drop Test using LS-DYNA ALE - HM-4630
PAM-CRASH
Using the PAM-CRASH Interface in HyperMesh - HM-4700
Altair Engineering
vii
RADIOSS
Using the RADIOSS Fixed Interface in HyperMesh - HM-4800
Pre-Processing for Pipes Impact Using RADIOSS Block - HM-4810
Pre-Processing for Bumper Impact Analysis using RADIOSS Block - HM-4820
Customizing
Creating a Macro - HM-8000
Post-processing
Exporting Data for Fatigue Analysis - HM-9000
Altair Engineering
Permanent menu
The template file: field contains the path to the current template file, if one is selected.
On PC:
You may need to highlight the path and use the arrow keys on your keyboard to review the
complete path as the application truncates it to show only its end portion in the
corresponding field.
Altair Engineering
ix
On UNIX:
Review the path, and extract the portion preceding /hm/.
This is the path for the installation directory <install_directory>.
You may need to highlight the path and use the arrow keys on your keyboard to review the
complete path as the application truncates it to show only its end portion in the
corresponding field.
Altair Engineering
Launching HyperMesh
Using the mouse for model viewing, rapid menus and entity selection
Creating collectors
Each section of this tutorial takes between 5 and 15 minutes to complete. Individual sections can be
taken independently although it is recommended to take all of them and preferably in the order
presented.
A couple of sections build on previous sections. The only pre-requisite for most sections is to have
the bumper model used in this tutorial loaded in HyperMesh (See File input and output for instructions
on how to load the model).
The file referenced in this tutorial is located in the <install_directory>/tutorials/hm/
directory. If you do not know the location of the HyperWorks installation directory, see Finding the
Installation Directory <install_directory>, or contact your systems administrator.
Launching HyperMesh
This section discusses how to launch HyperMesh and the location of the working directory.
1. Launch HyperMesh.
If you do not know how to start HyperMesh, and you are:
On UNIX
Altair Engineering
The most common method is to add the <install_directory>/scripts/ directory for the
HyperWorks installation to the search path for a user, then start HyperMesh by simply typing "hm"
at the command line. Some system administrators, however, incorporate site-specific scripts to
carry out some additional tasks or enable configuration specific options. Please ask your systems
administrator if this is the case at your location and for the procedure to start HyperMesh.
On Windows
HyperMesh can be started by using the Windows Start menu, and selecting Programs/
HyperWorks <version number>/Altair HyperMesh. It can also be started from a command line by
pointing to hmopengl.exe in the <install_directory>/hm/bin/ directory. A more
convenient method is to create a shortcut to hmopengl.exe, and use that shortcut to start the
software.
You should get the HyperMesh interface:
Altair Engineering
executable is used. It is set on the shortcuts shortcut tab in the Start in: field.
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.
Macro menu
This area contains five pages of macros that perform various functions. The
Disp macro page is active and is shaded to signify this. The Disp page
macros control how a model displays in the Graphics area.
The other macro pages available are QA (contains element checking macros),
Mesh (contains macros associated with creating and editing meshes), User
(contains macros you create), and Geom (contains macros related to working
with a models geometry).
The contents of the macro menu changes based upon the selected User
Profile (see Interfacing with solvers).
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.
Permanent menu
Altair Engineering
The Permanent menu is always displayed. The upper portion contains model
and view manipulation tools. The lower portion provides access to the
following panels.
options
card
takes you to the card panel where you can review and
edit the card images defined in the template file
associated with the model.
global
disp
vis
Page menu
Panel menu
Note
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.
Some functions are located on several pages. For example most of the functions in the
leftmost column (files, collectors, etc) can be accessed from each of the seven pages.
Altair Engineering
Altair Engineering
This takes you again to the geom cleanup panel help, although you are not back at the starting
point of the history of pages as signified by the Back button being available. Using the Index, you
simply made a jump to a new page.
12. Click Contents at the top of the window to bring up the Help Topics dialog and the Contents
tab.
This tab allows you to review the table of content of the help system for the HyperWorks
applications installed at your site. This is a tree-like representation of the content of the help with
books representing groupings of books and/or topics (represented with a question mark).
13. Expand the Altair HyperWorks book by double clicking it, or selecting it and clicking Open.
14. Open the HyperMesh book, and expand some of the available books to review their content.
15. Bring up any topic by double clicking it in the tree structure.
When you need to find specific information, you can look for it in the table of content using the
Contents tab, or have the help system look for it by using the Find engine.
16. Click Find to bring up the Help Topics dialog with the Find tab.
17. Click Options to review the search engine options, and click OK to close the Find Options
dialog.
18. Experiment with the Find tab by typing some words and looking at the results.
The result is a list of topics matching words you entered and the criteria you set in the Options.
You can then review a topic of interest from the list by double clicking it, or selecting it and
clicking Display. To review another result topic, simply click Find again as the same list of topics
for the criteria specified will still be available.
19. Close the help.
Notes
If the help button is clicked from a main menu page, the help system will start at the
topmost book level of HyperWorks help, and you can navigate your way through the help
system using the Help Topics dialog.
The help system can be started outside of HyperMesh from the Start menu in Windos
(Start/Products/HyperWorks <version>/Altair HyperWorks Help), or by
typing winhlp at the UNIX command line from within the
<install_directory>/scripts directory.
Altair Engineering
locate the desired file on your system. The save and retrieve buttons (without the ) simply
read or write to the filename listed in the file: field.
3. Click retrieve.
An Open File dialog appears. The starting point is your current working directory, and the filter
for Files of types is set to HyperMesh binary files (*.hm*).
HyperMesh can import HyperMesh binary files (HM MODEL), geometry files
(GEOM), finite element information (FE), weld location and connection data (WELD).
Simply select first the type of data to import, and then the appropriate import
translator.
When data is imported into HyperMesh, it is appended to the current session
database. An import translator reads data imported and converts the native file
format into one HyperMesh understands. Import translators are included for many
finite element solver input formats, as well as many common geometry formats.
Altair Engineering
export
command The command subpanel allows you to execute a HyperMesh command file (a file
containing commands allowing you to automate or re-create HyperMesh sessions).
template
The template sub-panel allows you to specify which solver template file you want to
load.
results
From results, you can load HyperMesh results file obtained by translating (solver
panel or command prompt) solver result files.
Permanent menu
Zoom functions
The zoom functions allow you to scale the size of the model display in the
graphics area.
Try each of the five zoom functions on the bumper.hm model loaded in the
previous section.
Circle zoom function. When activated, move the mouse into the
graphics area, then click and hold the left mouse button. Circle the
part of the model you want to zoom in to, and upon releasing the
mouse button, the view will be adjusted.
+, -
Slide zoom function. Click and hold the mouse in the graphics area,
then move it vertically to smoothly zoom in or out.
Altair Engineering
Rotation functions
Other functions
The four arrow buttons will incrementally rotate the model in the
direction of the arrow. The rotation increment is set to 15 degrees
by default, and can be changed in the options panel, modeling
sub-panel.
Arc rotate. Rotate the model as if grabbing and dragging it with the
mouse.
Back to the previous view. Allows you to toggle between two views.
View
View pop-up menu. Set basic views, such as front, back, right, left,
top, bottom, and access five view memories that can be used to
save and restore specific view settings for the model. To save a
specific view, type in a name and click the corresponding save
button. To close the menu, move your mouse off it. (keyboard
hotkey: v).
Spherical Clipping. Displays the specific area of a model that is
inside a three dimensional sphere, masking everything outside the
sphere.
Surface Transparancy. Sets the transparency level for the surfaces
of selected components. The effects are only seen in shaded mode
and with models containing surfaces.
Using the mouse for model viewing, rapid menus and entity selection
The mouse attached to your system is integral to HyperMesh. While the left mouse button is used for
entity selection, the right mouse button is used for de-selecting entities. Holding either left or right
mouse buttons down will allow you to pre-highlight the entities to select or de-select.
Rapid menu allows you to use the middle mouse button to quickly perform common operations
without frequently moving the mouse between the graphics region and the panel region. The function
button that is assigned to rapid menu is outlined in black in the panel.
With the bumper.hm model loaded (see File Input and Output):
1. From the Tool page, go to the mask panel.
2. Go to the mask sub-panel.
Altair Engineering
activates the arc rotate function. Hold down the Ctrl key, then
click and hold the left mouse button in the graphics area. While
holding both the Ctrl key and the left mouse button, you can drag
the mouse to rotate the model in the direction of the mouse
movement. One quick click will let you re-define the center of
rotation which can be set to a node location for example.
activates the circle zoom and fit functions. While holding down
the CTRLkey, click and hold the middle mouse button, then draw
a zoom circle around a part of your model. When you release
the middle mouse button, the view will be adjusted to fit the
circled area to the graphics screen. If you hold down the CTRL
button and quickly click the middle mouse button, the model will
fit to the screen.
This function also applies to mice equipped with scroll wheels.
Press down on the wheel as if it were a mouse button.
activates a drag pan mode. When holding down the Ctrl key, you
can click and grab the model with the right mouse button, then
translate it in the plane of the screen by dragging it with the
mouse.
When collecting entities in a panel where the selection by window is available (see Menus and
Altair Engineering
menu items), use the SHIFT key to access the quick window selection mode. Hold down the shift
key to access it and do a left mouse drag or right mouse drag.
In any panel that can select entities by window (lines, nodes, elems, comps etc. not nodelist or
linelist or single node collector), shift-left drag will draw a rubber band window and selects the
entities in that window. Now you can use middle mouse (rapid menu) to perform the function of
the panel.
12. Hold the SHIFT key down, and in the graphics window, do a left mouse click to bring up the four
options for the quick window selection.
In the display panel the quick window with left mouse will turn off the collectors in the
window and the right mouse quick window will turn on the collectors that would have
been in the window if displayed.
Display panel
The collector type selector is set to comps. On the left side of the panel is a list of component
collectors (comps). A collector holds related data and allows you to handle the data as one unit.
A component collector is a collector that holds element (elems) and geometry (geom)
information. Each component collector in this model has been assigned a specific color. Those
containing a check mark in the box to the left of the name are displayed for the type of entity
Altair Engineering
11
The performance graphics engine can also be set from the options panel, graphics subpanel.
2. From the permanent menu, click vis to enter the visual panel.
The components appear on the left side of the panel and each has an icon showing the display
type. On the right side of the panel is a list of choices. Each component can be displayed
differently.
Wireframe
Hidden Line
Altair Engineering
Transparent
Contours
8. Click all.
9. Click return.
2. Look in the macro menu area for the browser display. Youll see something similar to the figure
below.
Altair Engineering
13
Model browser.
The model browser allows you to view the HyperMesh model structure by organizing assemblies,
components, multibodies, properties, materials, and beamsectcols into a tree-like display. It also
combines functionalities from the disp and vis panels.
Components and assemblies have two display states: one for its elements and another for its
geometry. You can switch the display mode by clicking the Elems or Geoms radio button on the
bottom right of the browser window.
You can also determine which components are displayed by removing the checkmark from the
box infront of the component. To remove the check mark, click the check mark in front of the
components name.
3. Click the check mark infront of end1 and end2 and notice the display.
4. Use the leftmost bottom icon to Display All.
5. Close the model browser, by clicking the x in the upper right-hand corner of the browser window.
Altair Engineering
From the Tool page, select the translate panel to view the menu items described in this section.
Translate panel
Entity selector
The entity selector allows you to choose which type of entity you want to perform a function on. The
entity selector may or may not have a switch; some panels perform a function on only one type of
entity. The entity selector button is yellow; when it is surrounded by a halo, the selector is active and
ready for you to select or pick the entities to be processed.
Entity selector
Direction selector
The direction selector allows you to define a plane or vector by using the global x, y, or z axis; or by
selecting a vector; or by selecting nodes in the model. Click the switch to obtain the pop-up menu of
available directions.
Altair Engineering
15
Direction selector
These options allow you to specify a direction or plane using the global
X Y Z coordinate system.
N1, N2, N3
Altair Engineering
base
Defines a point on the plane or the base of a vactor. If a base node is not
specified, the N1 node selection is used.
edit
Click this button to enter the Node Vector Edit panel. In this panel, you can
define or edit the coordinates of N1, N2, and N3 and/or the base node used
to define a plane or vector.
reset
Input fields are used to enter text or numerical values. A description of the type of input precedes the
field.
For a numeric input field, you can double click the input field and use the HyperMesh calculator to
enter the value.
Pop-up menus
Pop-up menus display when there are several options from which to choose.
The extended entity selection menu allows you to specify alternate methods for selecting entities of
the current data type. To use the extended entity selection menu, click the yellow data type button of
the entity selector. The menu automatically closes after you have made your selection.
red
Altair Engineering
17
Secondary menu
Access the Secondary Menu by pressing the function keys, F1 through F12, and Shift F1 through
Shift F12. Secondary menu functions temporarily interrupt main panel functions while leaving all
settings and selections intact. When the secondary function completes, the initial main panel function
resumes.
Translating elements
In this example, use the translate panel to translate elements along a vector and familiarize yourself
with using the various menu items in HyperMesh.
With the bumper.hm model loaded (see File Input and Output):
1. Click the entity selector switch.
A pop-up menu displays all the entity types you can modify with the translate panel. The mouse
cursor is located at the center of the pop-up menu.
2. Select elems to specify elements as the type of entity to translate.
After you select elems, the pop-up menu automatically closes. The yellow entity selector button
displays elems and the button has a blue border to indicate it is active.
3. Click elems.
The extended entity selection menu displays. Review the options available.
4. Select by collector, indicating you want to select the elements by component collector.
After you select by collector, a list of component collectors displays.
5. In the graphics area, pick an orange element. Selecting this element also selects the component
collector the element belongs to, in this case end1.
The picked element is momentarily highlighted white. The check box preceding end1 has a check
mark in it.
6. Click select accept and confirm your selection.
This selects all the elements in the component collector, end1, as the elements to be modified
when you use the translate function.
7. Click the direction selector switch and select N1,N2, N3 to use nodes as the means for defining
the direction of translation.
8. Click N1.
The N1 button has a blue halo to indicate that it is active. The selected elements in the graphics
area display in gray because the entity selector is no longer active.
9. In the graphics area, pick any node.
A green node appears in the graphics area at the node that was picked. The N1 button no longer
has a blue halo, but the N2 button does. N2 is currently active.
10. In the graphics area, pick a second node node.
A blue node displays in the graphics area at the node that you specified. N3 becomes active: in
this case we choose to define a vector, so no additional node will be selected.
To define the magnitude of translation, use the distance between two nodes.
18 HyperMesh 7.0 Tutorials - HM-1000
Proprietary Information of Altair Engineering.
Altair Engineering
11. Press the function key, F4, on the keyboard to interrupt the translate panel and jump to the
distance panel.
The distance panel displays. By default the active sub-panel is the top two nodes sub-panel.
The N1 button has a blue halo to indicate that it is active.
12. Pick two nodes in the graphics area for N1 and N2.
The absolute distance between the two nodes automatically displays in the input field following
distance =. To use this value back in the translate panel, you can copy and paste it using
CTRL+C and CTRL+V.
13. Click the field next to distance = to make it active and press CTRL+C on your keyboard to store
this value in a buffer.
14. To exit the distance panel, click return.
The translate panel re-displays. The elements and the nodes for N1 and N2 selected prior to
using the distance panel are still selected.
Warning
Returning out of the distance panel would have automatically reset our selections.
Using the secondary menus through the function keys allowed us to maintain these
selections as we never returned out of the translate panel but simply interupted it.
15. Click magnitude = to make the field active, and press CTRL+V on your keyboard to paste the
value from the buffer.
16. Click translate + .
The highlighted elements translate in the direction from N1 to N2.
17. Click translate - .
The highlighted elements are translated in the negative N1-N2 vector direction to their original
position.
18. To exit the translate panel, click return.
Each element has two associated variables: a configuration and a type. The
configuration tells HyperMesh how to draw, store, and work with the element. The
type allows you to define multiple analysis elements for each HyperMesh element.
Collectors
All entities within HyperMesh belong to a collector. HyperMesh uses several types
of collectors, for the various entity types. Geometry, nodes and elements, are
stored into component collectors (comps). Boundary conditions (loads and
constraints) are stored into load collectors (loadcols). Other collector types in
HyperMesh are more analysis specific, and include such things as system
collectors, vector collectors, multibodies collectors, and others.
Components
Components are collectors that contain element and geometry data. This allows
you to organize and group your data into units on which various function can
performed. Operations performed on a component affect all the elements, lines,
and surfaces that belong to the component.
Altair Engineering
19
Component collectors also retain property and material information about the
entities that belong to it. All the elements in a component collector are assigned
the same properties and material except when the elements have a property
reference. In this case, the elements are assigned properties from the property
collector they reference.
Lines, elements, and surfaces cannot exist outside of a component collector. If
you have not created a component first, HyperMesh automatically creates a
component, auto1, for those entities as they are generated. At the time of creation,
a material collector is assigned to the component collector. If this is not done by
the user, HyperMesh automatically creates a "dummy" (empty) material collector
with the same name as the component collector and assigns it to the component.
Property
Property collectors (props) contain property information about 1-D elements and
are required only when a model contains one or more of the following elements:
bar2
bar3
gap
joint
masses
rod
spring
After you create a property collector, you can assign the specified properties to
new 1-D elements by entering the collector name after property = when you
create or update the elements. Properties for all other element types, 2-D or 3-D,
are assigned by the component to which the elements belong. A material collector
is assigned at the time of creation of a property collector. Similarly to component
collectors, when a material is not assigned by the user to the property collector at
the time of creation, HyperMesh automatically generates a material collector with
the same name as the property collector.
Material
Altair Engineering
2. Click element size =, enter 20 and push ENTER on your keyboard to accept this value.
The toggle for the element order: lets you specify the order, first or second, for the elements
HyperMesh creates. Using this toggle does not affect the order of already existing elements, but
sets the order for element subsequently generated. To change the order of already existing
elements, use the order change panel from the 1D, 2D or 3D pages.
3. Use the toggle next to element order: to change the order between first and second.
Finally, the global panel gives you the ability to set the current collectors. Current collectors are
the collectors in which new entities are placed as they are created. If no collector exists in the
database for the type of entity created, HyperMesh automatically creates a collector and stores
the entities in it. By default, the last created collector is the current collector, whether it was
automatically created by HyperMesh, or created by the user.
To modify the current collectors, use the page toggle between pg1 and pg2 to find the collector
type of interest. Only six types of collectors are available in this panel: components to collect
element and geometry information, systcol for coordinate systems, loadcol for boundary
conditions, beamsectcol for beam properties, vectorcol for vectors, and multibody for
multibody entities. For all the other types of collectors, the creation of the entities they collect is
coincident with the creation of the collector itself.
4. Set the page toggle to pg1, click component = and select end1 from the list of component
collectors in the bumper model.
end1 appears next to component = in the global panel, and in the header bar as well next to
comp:. Any new element or geometry created at this time would go into the end1 component
collector and display in the color of this component.
Note
For convenience, the header bar lists the current component collector (comp:) as well as
the current load collector (loadcol:) for the model.
Altair Engineering
21
Once you select a standard user profile, the appropriate template and macro menu are
loaded. You can return to the standard HyperMesh GUI by selecting the HyperMesh
profile. The current user profile is displayed on the header bar.
To load a user profile, from the Geom page, click user prof and select the solver desired from
the drop down list.
Creating collectors
The collectors panel allows you to create, review, and edit collectors. A collector is a database entity
that collects other entities, grouping together all the data pertaining to that entity and allowing you to
handle the data as a group. Before you create an entity in HyperMesh, a collector in which to store
the data must exist, whether it has been created by the user, or is automatically generated by
HyperMesh. In this section, create a component collector and a material collector.
With the bumper.hm model loaded (see File Input and Output) and the optistruct solver template
loaded (see Interfacing with solvers):
1. From any page, go to the collectors panel.
The collectors panel has three subpanel. The create sub-panel is used to create new collectors.
Depending on the type of collector and the template loaded, card images to define solver specific
information can be assigned to the collectors as they are created. The update sub-panel lets you
modify some collector attributes, and the card image sub-panel lets you assign, review and edit
22 HyperMesh 7.0 Tutorials - HM-1000
Proprietary Information of Altair Engineering.
Altair Engineering
23
Altair Engineering
Altair Engineering
25
12. Select the component with the same ID number as the PID number from the element card image
reviewed previously.
13. Click edit to bring up the card image.
Altair Engineering
The card image sub-panel of the collectors panel is also useful in assigning, reviewing
and editing card images for collectors.
Altair Engineering
27
9. To check for unused materials, set the entity type switch to mats.
10. Click preview unused.
A message in the header will return the number of unused materials in the database.
11. Click delete entity if there are any unused materials.
12. Click return to go back to the main menu.
Note
Notice the order in which these steps were performed. One of the components,
mid1_and_lines, contained geometry lines. Without deleting the lines in the model first, this
component would not have shown up in the list of empty components. This would be true for
materials as well. Until the components referencing a material are deleted, this material is not
considered unused.
This concludes this introductory tutorial. You may discard the model by using the delete model
function from the delete panel.
Proceed from here to any other tutorial.
Altair Engineering
Before using HyperMesh, make sure you delete the hmmenu.set file from your current
working directory.
Altair Engineering
29
2. Click Iso1.
3. Select the Geom page.
4. Select the create nodes panel.
5. Select the type in subpanel.
6. To create the nodes, enter the X, Y, and Z coordinates in the table below and click create node
for each of the nodes.
Node
25
37
25
-2
30
Altair Engineering
To create an arc:
1. Click the toggle to change from circle to arc.
2. Pick the node with ID number 2 as the node list at which the circle is to be created.
3. Click the plane and vector collector switch and select X-axis.
4. Pick the node with ID number 2 again as the base for the axis of rotation.
5. Input 180 for angle =.
6. Enter 2.5 for radius =.
7. Enter 90 for offset =.
8. Click create to create an arc.
9. Click return to exit the circles panel.
10. Select the view panel on the permanent menu.
11. Click rear to change the view.
Altair Engineering
31
To create a line:
1. Select the Geom page.
2. Select the lines panel.
3. Select create line subpanel.
4. Pick the nodes with ID number 4 and node 5 in node list.
5. Click create to create a line between nodes 4 and 5.
6. Click return to exit the lines panel.
To duplicate and translate lines:
1. Select the Tool page.
2. Select the translate panel.
3. Click the input selection switch and select lines.
4. Pick the line that was created between nodes 4 and 5.
5. Click lines again to display the extended entity selection menu.
6. Click duplicate.
7. Click current comp to copy the new line into the current component (Geometry).
8. Click the plane and vector collector switch and select y-axis.
9. Click magnitude = and enter 10.0.
10. Click translate -.
11. Click p on the permanent menu to refresh the screen.
12. Click return to exit the translate panel.
32
Altair Engineering
Altair Engineering
33
34
Altair Engineering
Altair Engineering
35
36
Altair Engineering
Altair Engineering
37
If the extended line does not stop and extend over the surface edge, try extend and
review the result.
38
Altair Engineering
Altair Engineering
39
40
Altair Engineering
Altair Engineering
41
42
Altair Engineering
HyperMesh Terminology
This image identifies various geometric features found on models labeled with the terminology used
in HyperMesh for faces, edges, and points. Refer to the definitions below for each feature identified
on this image.
Altair Engineering
43
face
surface
free edge
shared edge
suppressed edge
non-manifold edge
fixed point
free point
Altair Engineering
45
Altair Engineering
Altair Engineering
47
Note
Do not set the cleanup tolerance to unreasonably high values. New edges are
generated based on the cleanup tolerance. The cleanup tolerance not only affects the
selected entities, but it affects the edges that touch the selected entities at vertices. The
generated edges are accurate only to within the set cleanup tolerance. As a result, if
unreasonably high tolerances are used, small gaps can increase in distance up to the set
tolerance.
The geom cleanup edges / toggle subpanel can also be used to combine the surface
10 and 11 edges.
If the shortest distance between two surface edges is greater than the intended element
size, do not use this function. Instead, use the surface filler subpanel on the surface
edit panel. Create a filler surface and toggle surface edges to suppressed edges
accordingly. Another panel that can be used is the drag geoms subpanel in the drag
panel.
The resulting stitched surface is located in the component collector of the stitched
surface having the lowest id. As a result of surfaces 4 and 6 being stitched together, the
stitched surface is located in middle2 component collector where surface 4 was
originally located. As a result of surfaces 3, 5, and 9 being stitched together, the stitched
surface is located in middle1 component collector where surface 3 was originally
located.
In the geom cleanup panel, HyperMesh treats lines and surface edges the same. To
select surface edges more easily, display off or mask lines.
Altair Engineering
Altair Engineering
49
The original geometry that you select to extract midsurfaces remains unchanged. The
variable thickness for each midsurface is calculated and stored in the database.
The solid function allows you to extract midsurfaces of entire parts at once. The between surfs
function works on one pair of surfaces at a time.
Click extract.
HyperMesh extracts the midsurfaces and places them into the Middle Surface component
collector. This new component becomes the current component, as shown in the header bar. For
more detailed descriptions on the various options available in the advanced options mode, click
the HyperMesh help button to bring up the context sensitive help for this panel.
2. Change the level of transparency of the surfaces in the lvl0 component.
Use the slider bar to vary the level of transparency between 0 and 10.
Click comps to review and modify the list of components to which transparency is applied.
The surfaces in the lvl0 components are now transparent and only their edges are visible.
Note
By default, all the components, except the one in which the midsurfaces are placed,
are automatically selected for transparency settings in this panel, and their level of
transparency can be adjusted from opaque to fully transparent.
3. From the permanent menu select the view panel and restore pre-defined view1.
Notice how a midsurface is missing in this area.
Altair Engineering
4. Restore view2.
Notice how some of the midsurfaces created here do not match up.
Three of the main types of problems that can appear with generated midsurfaces are:
Altair Engineering
51
Most of the problem midsurfaces shown in the image above fall into these categories of
problems. Some specific examples of these will be covered in the next section.
Various tools and techniques can be used to correct these problems, and will typically produce
the same sought result: correctly shaped and positioned midsurfaces. Some of these techniques
are presented in the next sections as we take a closer look at the problems in our example
model. The techniques presented involve tools available on the midsurface panel itself.
In this section we used the midsurface panel to generate midsurfaces for an entire part in a
single step. We then used the transparency tool to identify areas where various problems, such
as missing or incorrect surfaces, may be present.
To create or re-create individual midsurfaces:
In this section use the between surfs function to create the midsurface that is missing, and also
manually re-create some of the midsurfaces in the model that are incorrectly shaped and/or
positioned.
1. Restore view3.
Altair Engineering
Altair Engineering
53
For example, for this particular case, you would need to first suppress the shared (green) edge
between the two surfaces so that only one surface is left for selection as side1 or side2.
With our model, we will arbitrarily pick some of the bad midsurfaces, delete them and re-generate
them.
5. Set the transparency back to 10.
6. From the Tool page select the delete panel to delete the 3 midsurfaces identified in the image
below.
Altair Engineering
For the remainder of this section, you can work either with shaded surfaces and the transparency
options (Vis opts: 3), or in the default component color wireframe mode
(Vis opts: 0).
7. Use the between surfs function to re-create the 3 midsurfaces previously deleted.
For side1 select one surface from the lvl0 component that defines the first side of the given
section.
For side 2 select the surface on the opposite side of the section.
Verify that both boxes for combine with adjacent plates and combine all adjacent plates
are checked, and that the toggle is set to new comp.
Click extract.
Start with the larger 2 square midsurfaces and finish with the narrow rectangular
midsurface.
Altair Engineering
55
Notes The combine with adjacent plates options combines the new midsurface with the
closest midsurface, while the combine all adjacent plates option combines the new
midsurface with all neighboring midsurfaces.
When you do not obtain the right midsurface with the given combination of these
options, it is often useful to compare the results of using one, the other, none, or both
of these options.
Notice how the midsurfaces that were re-generated now are correctly shaped and correctly
positioned. There are still some problems with the midsurfaces that we have not yet worked on,
and we will address these in the next section using a different approach.
The midsurface that was missing from the beginning still needs to be created. We are saving its
creation until after most of the neighboring midsurfaces are corrected.
8. Use the between surfs function with the same options to generate the midsurface that was
missing all along.
In this section we used the between surfs function to not only create midsurfaces that were missing,
but also to re-generate new midsurfaces where inaccurate ones were initially produced. This is one
way of correcting potential problems that are produced when midsurfaces for entire parts are
generated. Another approach is presented in the next section.
To correct midsurfaces by editing them:
Re-creating surfaces by hand is one possible approach to resolving problems with incorrectly shaped
and/or positioned surfaces. This can be time consuming as it involves deleting surfaces first, before
re-creating new ones. One alternative is to edit the existing midsurfaces to correct these problems
directly. One of the editing functions available on the midsurface panels edit sub-panel is the quick
edit function. This function consists of re-defining some of the handles that define the midsurfaces
offset distance and direction, allowing for an immediate update in shape and position, thus correcting
this class of problems.
56 HyperMesh 7.0 Tutorials - HM-2030
Proprietary Information of Altair Engineering.
Altair Engineering
Use the quick edit function to fix the last two midsurfaces that are incorrectly shaped and/or
positioned.
This function uses various color codes to identify the original midsurface, the original surface (source)
for it, as well as an updated midsurface. It is therefore important to work in the default component
color mode (0) when using this function so that the various surfaces can be easily recognized.
1. Select Vis opts: 0.
2. From the midsurface panel select the edit sub-panel.
3. Select the quick edit function.
4. Click help.
This brings up the on-line help for the midsurface panel. Follow the link to the edit sub-panel
help and review the help for the quick edit function. This contains all the definitions needed to
understand and effectively use this function.
5. Use the edge to edge type to repair first the smaller square surface.
Altair Engineering
57
Several new entities appear in different colors. In orange is the midsurface you selected. In
cyan is the midsurface (in-progress) that you can edit by re-assigning the targets in red. In
yellow is the surface to offset (the original surface from which the middle surface was
created).
With the edge selector under pilot edge active, select the corresponding edge on the
opposite surface defining this section.
Altair Engineering
Repeat these last two steps for the remaining pairs of edges until all (red) targets are
updated.
Alternatively, you can use the arrow buttons to the left of edge to offset to cycle through all
the edges of the original surface and simply select a pilot edge for each one of them. The
active edge to offset is identified with a red circle.
6. Use the point to point type to repair the larger side surface.
We could have used the edge to edge type just as easily here, and vice versa for the
other surface we already fixed. Both methods are equivalent.
Click surf to make it the active selector and select the last midsurface to update.
The same temporary entities as earlier are displayed. Observe carefully each corner of the
midsurface to edit (cyan) and see how it fits with the neighboring midsurfaces corners. You
may zoom into one of the corners and use the arrow buttons to cycle through all of them.
After careful observation, you should identify some corners that require updating, a possible
two of which are show in the image below with the pilot points to use to re-define them.
Altair Engineering
59
Select one of the points to offset as needed and as described in the figure above.
Repeat these last two steps for all the remaining pairs of points (corners) requiring an update.
In most cases, several parts are present in a given model, and this can make it
difficult to identify which surface, edge or point to select. In such cases, use the
Spherical Clippling panel from the permanent menu. This panel allows you to focus
on a specific area of a model by showing only the model inside of a sphere and
masking everything outside. Review the help for this panel for more detailed
information.
7. Use the disp panel to turn off the display of the geometry in the lvl0 component.
8. Turn on Vis opts: 3 and observe the midsurfaces.
Altair Engineering
The free (red) edges remaining inside the boundaries of the set of midsurfaces are an indication
that some edge equivalencing is required.
The midsurface panels edit sub-panel has the replace edge function that can be used to
equivalence free edges.
9. Restore view5.
The gap observed here could be closed by updating the definition of the midsurface we are
directly facing in this view using the same approach as we did in this section. In this case, it is
simply easier to close that gap by snapping the two free edges together.
10. Use the replace edge function to close the gap.
Click replace.
This closes the gap and turns the free (red) edges into a shared (green) edge.
Altair Engineering
61
11. Use the geom cleanup panel to equivalence any remaining free edges.
Click equivalence.
This turns the last free edges into shared edges. We now have a complete set of midsurfaces.
This concludes this tutorial. You may discard this model, or save it to your working directory for your
own reference.
In this tutorial, we experimented with both midsurface creation tools available in HyperMesh. We also
used some of the editing tools to fix incorrectly shaped and/or positioned midsurfaces. Other editing
tools are also available in the edit sub-panel, and although we did not use them here, they are
powerful tools in correcting other types of midsurfaces issues. The extend surface tool, for example,
can be used to extend surfaces that do not meet where you need them to. Refer to the Panels help
for complete descriptions of all the tools available.
The midsurfaces that were created here can be meshed, defeatured, edited, exported, etc., just like
any other surface in HyperMesh. For geometry simplification techniques, you can refer to the tutorial,
Simplifying Geometry Features - HM-2040. For shell meshing techniques, review the tutorial Creating
2-D Elements from Surfaces Using the Automesh Function - HM-3100.
Altair Engineering
Remove pinholes
Remove edge fillets by selecting two points of tangency around the fillet
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to bring up its context sensitive help.
This tutorial requires about 30 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your systems administrator.
The model is represented in the image below:
Altair Engineering
63
Enter 15 for elem size = and set the type of elements to quads.
With the element size we selected, the holes on the top surface cause distortions in the mesh.
64
Altair Engineering
Capturing the curvature of the surface fillets would also require much smaller elements, and the
edge fillets result into skewed elements.
For this small example, removing these features requires very limited time. We will therefore proceed
to remove them. Getting familiar with the tools and techniques used in this tutorial will help you
assess how much time and effort would be required in a more complex example.
To remove trim lines:
The trim lines sub-panel, located on the defeature panel, can be used to retrieve the original
surfaces from which the current surfaces were trimmed. It can also be used to remove the interior trim
lines of a surface. Interior trim lines are any edges (free or shared) that are entirely contained within a
surfaces boundary. These interior trim lines receive node seedings when the surfaces are meshed
and thus influence the final mesh quality.
With our model, use the trim lines sub-panel to remove one of the holes in the top surface, as it is an
interior trim line for this surface.
1. From the macro menu select the Disp page.
2. Shade the surfaces in the model by setting Vis opts: to 3.
3. From the defeature panel select the trim lines sub-panel to remove one of the interior holes of
the top surface:
Click the toggle below remove: and select interior trim lines.
With the lines selector active, pick one of the interior trim lines defining one of the holes on
the top surface.
The trim line is removed and the surface goes back to its definition prior to the creation of the hole
(see image below).
Altair Engineering
65
Notes
The other option under remove: is to remove all trim lines. This function allows you to
specify a surface and will return the original, untrimmed surface information. Depending
on the CAD package and method used to create these surfaces, the results of this
operation will vary.
When it comes to meshing applications, one alternative to removing interior trim lines is
to suppress (where applicable) these surface edges into suppressed (blue) edges. A
suppressed edge does not receive any node seeding and therefore has no influence on
the mesh.
To remove pinholes:
The pinholes sub-panel identifies and removes holes within surfaces. To be considered a pinhole,
the internal surface edge defining the hole must be continuous and close upon itself. In topology
mode, it will appear as a free (red) edge. The approximate diameter of the hole (or longest distance
across in the case of non-round holes) can be input for identification. Once candidate pinholes are
identified, a confirmation step allows you to deselect individual pinholes.
Use this function to remove the remaining hole in the top surface.
1. Use the distance panel to get an approximate value for the diameter of the remaining hole.
In the graphics area, hold down the left mouse button and place the mouse cursor on top of
the line defining the remaining hole.
When the line highlights, release the left mouse button to complete the selection.
The line remains highlighted. Clicking anywhere on the line will generate a temporary node.
With the surfs selector active, pick the top surface with the hole.
Click find.
HyperMesh detects one pinhole and marks it in the graphics area with an xP symbol (see
figure below).
Hint
66
Use the pinholes selector at this time to deselect or select pinholes before deletion.
Altair Engineering
Click delete.
This removes the pinhole by filling up the hole, and a fixed point is created at the center of the
hole. This fixed point can be used to create weld or beam elements representing a bolted or
riveted connection, for example.
In this section, we decided to measure the diameter of the hole. This knowledge is useful and only
needed when you try to identify only a certain category of holes in your model (the holes with a
diameter up to the value of interest). When trying to find quickly all the holes in the model example,
simply set the value of the diameter to a large number.
To remove surface fillets:
The surf fillets function can be used to remove surface fillets, or fillets between two non-coplanar
surfaces. The rounded fillet surface will be replaced by a planar, tangential extension of the adjacent
surfaces. Fillets may be specified by selecting the fillet profile as a line, or by specifying a surface
and range of fillet radii.
In this section, search the surface fillets by min/max radius.
1. Use the surf fillets sub-panel to remove the surface fillets with a radius between 5 and 15 units.
Altair Engineering
67
HyperMesh detects two surface fillets meeting the criteria set for the min and max radii, and posts
new selectors in the panel.
The selector for ignore edge assoc.: is used to verify or modify the selection of edges whose
adjacent surface geometry is ignored in favor of using the selected fillet geometry when
calculating the tangent surface. This is commonly used if the adjacent surface has a very high
degree of curvature compared to the fillet, if the edge in question is a free edge, or if the neighbor
surfaces are co-planar.
The selector for fillet ends: is used to verify or modify fillet ends. Unless a string of fillets makes
a complete loop and closes upon itself, you should see at least two fillet end lines.
Under fillet ends: click the lines selector to make it active and review the lines that were
automatically selected to define the ends of the two surface fillets.
Under ignore edge assoc.: click the lines selector and select the two edges of the fillet that
are surrounded by co-planar surfaces (see image below).
Tangential extension of these two surfaces would never meet. Therefore the edge association
has to be ignored in this case and HyperMesh uses the tangents to the fillet instead.
Click remove to delete the rounded fillet surfaces, and replace them with an intersecting,
planar surface tangent to the fillet surface edge.
68
Altair Engineering
Note
It is typical to remove surface fillets for which the width is less or much less than the
target element size, as meshing such fillets produces elements that may fail minimum
length as well as maximum aspect ratio requirements for the mesh.
Set min radius to 5;max radius to 15; and min angle to 15.
Click find.
The fillets are identified with a white F and lines indicating the beginning and ending points of
tangency of the fillets.
Note
By default, any fillets identified are selected for removal. Should you wish not to
remove one of the selected edge fillets, deselect it by clicking the right mouse button.
Deselect one of the fillets by right mouse clicking its corresponding F symbol.
Click remove to eliminate the fillets by projecting the surface edges from the point of
tangency until they intersect.
2. Use the trim-intersect sub-panel on the edge fillet that was not processed in the previous step
and replace it with a square corner.
Altair Engineering
69
With the upper node selector active, select the first trim point (point of tangency) for the edge
fillets (see figure below).
Note
Simplified geometry
To mesh the simplified geometry:
In this section, mesh the final set of surfaces obtained from defeaturing the bracket and compare the
resulting mesh to the earlier mesh (review the image at the beginning of this tutorial).
1. From the macro menu, select the Disp page.
70
Altair Engineering
Altair Engineering
71
72
Altair Engineering
Altair Engineering
73
3. Use the disp panel to turn off the display of the elements in the tetras component.
Altair Engineering
In this section, we quickly generated the shell elements required for surface generation from the solid
elements that were provided to us. We can now have HyperMesh generate some surfaces.
To obtain surfaces from elements:
Use the FE surf panel on a subset of tria (faces) elements to obtain some surfaces and understand
the behavior of the panel. Start by creating a component collector for the new surfaces using the
collectors panel.
1. Use the collectors panel to create a component collector with the name surfaces. Select any
color, and do not assign any card image or material to the component.
If you are not familiar with the creation of collectors, please refer to the tutorial Getting Started
with HyperMesh - HM-1000, or click help to bring up the collectors panel help.
2. Click view from the permanent menu.
3. Click restore4 to retrieve the pre-defined view4.
This is a view of the model that was saved to the model to make identification of a specific area
easier.
4. Run the FEsurf panel on elements selected by face as shown in the image below.
With the upper elems selector active, pick two tria face elements: one from the bottom flat
area, and one from the interior of the arm connecting the bottom area to the top area (see
image below)
Altair Engineering
75
Elements by face
Click create.
5. Turn off the display of all elements to review the surfaces that were created.
Notice how only two surfaces were created with common edges that are automatically toggled to be
suppressed (see image below). This delineation of the surfaces may or may not correspond to what a
specific user may expect or wish to obtain. For example, you may want to have three separate
surfaces: one for the bottom area, one for the arm, and one for the top area.
76
Altair Engineering
Surfaces generated
6. Use the automesh panel to preview only a tria mesh on the surfaces displayed using an
element size of 3. Do not accept any mesh at this time.
Check the box for reset meshing parameters to:, set the elem size = to 3, and use the
switch to set the type of elements to trias.
Click mesh to preview the mesh on the surfaces (see image below).
Altair Engineering
77
7. Delete the surfaces that were generated by going to the Tool page and selecting the delete
panel.
8. Turn on the display of the elements in the ^faces component.
In this section we have learned how to use the FEsurf panel to generate some surfaces that can
later be meshed.
We have also seen that when the surface generation engine is supplied with shell elements only, the
surfaces obtained may not necessarily have the specific delineation one may wish to obtain.
In order to obtain specific delineation, plot elements can be used to define the boundaries of the
various surfaces, and can be supplied to the engine.
To capture features with plot elements:
Delineating the surfaces to be created is an essential step in obtaining the desired surfaces. This
level of control is achieved by supplying the surface generator with some plot elements, which will
indicate what the boundaries of the various surfaces should be. This function works well only when
the selected plot elements form closed loops.
For our bracket, numerous surfaces will be created. It is essential to have control over how the
various areas are broken down into various surfaces, so that further re-meshing operations, for
example, can be carried out on areas that match specific goals.
The new surfaces should definitely have boundaries that respect the features of the tria mesh as the
tria mesh captured, to some extent, the features of the initial geometry.
Generate plot elements that correspond to the features of the mesh. You can use the edges,
78
Altair Engineering
features, and edit element panels to create plot elements. Although using the features panel is one
of the most automated ways of generating plot elements, it does not always create closed loops of
plot elements. On the features panel, the edit sub-panel allows you to quickly close the open loops
of features (plot elements).
1. Use the features panel to automatically generate plot elements capturing the features of the tria
mesh (^faces component). Use a break angle of 30 degrees.
Click features.
The edit edges function from the FEsurf panel is a shortcut to the features panel.
Altair Engineering
79
The features panel generated many open loops of plot elements that are not suitable for the
surface generation engine. Review these open loops using the edit sub-panel. Close any open
loop that is needed for surface delineation and remove the ones that are not useful.
3. To display the plot elements only, use the disp panel to turn off the display of the elements in the
^faces component.
4. From the features panel, select the edit sub-panel.
5. With the toggle set to interactive review, click continue several times to review individual open
loops of plot elements.
In this mode, each open loop can be closed manually by using the node list selector and
selecting individual nodes to create additional plot elements. They can also be deleted by using
the remove function.
For more detailed information on this approach, click the help button to bring up the on-line help
for this panel.
6. Set the toggle to find all open features and click move into ^open features.
This isolates all the open loops of plot elements, and organizes them into a separate component
named ^open features. All the open loops also change color for easier identification.
Observing the open loops, it becomes clear that some need to be closed while all the others can
be removed.
7. Turn on the display of the elements in the ^faces component.
8. Select the view panel.
9. Restore the pre-defined view view1.
The image below is an example of a loop that needs to be closed.
80
Altair Engineering
10. From the features panel, select the edit sub-panel to close this open loop.
Select the nodes defining where new plot elements need to be created, starting with the node
at one end of the open loop, and ending with the node at the other end of the gap.
Click add.
This closes the loop, and the corresponding plot elements are moved from the ^open
features component back into the ^features component.
11. Restore view2 and repeat step 10 for this open loop. There are only two nodes to select in this
case.
Altair Engineering
81
12. Turn off the display of the elements in the ^faces component, and use the view panel to restore
view3.
82
Hint
Start by identifying an open loop for which the segment missing is shortest and the gap
seems to correspond to the length of a single element (see image below). Simply click
then the two plot ends (plot nodes) across the gap.
Note
Work with one gap at a time. All the nodes selected at once will be considered as part of
the same loop.
Altair Engineering
For the two shorter cylinders, closed loops already exist, and there are actually more than
two, which may result in more surfaces than necessary defining the interior of the
cylinders.
15. Restore view4, and remove the extra vertical closed loops of plot elements located on the inside
of the cylinders leaving only two diametrically opposed. From the edit sub-panel, use the elem
entity selector.
Select all closed loop plot elements that need to be removed (two extra for each cylinder).
Click remove.
Altair Engineering
83
84
Altair Engineering
Click comps and select ^open features from the list of components.
Click select.
18. Turn back on the display of the elements in the ^faces component.
Note
We created plot elements that will be used in the FEsurf panel to indicate the
boundaries of the surfaces to generate. These plot elements were generated in an
attempt to capture the features of the tria mesh. Obviously, the number and location of
plot elements generated using this approach is directly dependent on the value that is
chosen for the feature angle.
In most situations, a lower feature angle will generate more plot elements while a higher
one will yield fewer plot elements.
It is often useful to experiment with different values for the feature angle as one value
may bring you much closer to the desired set of plot elements than another, limiting
significantly the amount of subsequent editing required.
In this section we learned how to create and edit plot elements using the features panel. The creation
process was straightforward, but required some editing in order to obtain a set of plot elements
forming closed loops only. Various tools are available to make the editing process as easy as
possible and we used the ones that would allow us to get to our goal the most effectively.
To generate additional plot elements manually:
Plot elements obtained from the features panel are highly dependent on the value that was set for
the feature angle. They may or may not capture all the features of interest to form a complete set of
plot elements needed for the delineation of the surfaces.
In this section, create additional plot elements manually using the edit element panel, to complete
the definition of all the areas that will yield the individual surfaces.
1. Use the global panel to set the current component to ^feature.
2. From the 1D page, select the edit element panel.
3. Select the create sub-panel.
4. Check the radio button for plot, click node list and select by path.
Hint
In this mode, you can select two nodes and HyperMesh will automatically select the
nodes between them along the shortest path. HyperMesh will then automatically create
plot elements for each pair of adjacent nodes.
This saves valuable time over creating plot elements one by one with the node list option. For
more detailed information on the selection by path, refer to the on-line help.
5. Observe the model to identify boundaries between sets of elements, features that were not
captured with the features panel, and create plot elements to materialize them. See the images
below for examples.
Altair Engineering
85
Note
The nodes highlight only for a split second and the plot elements are automatically
generated and put in the current component. The image below is only a representation
of the areas to consider and node paths, and does not capture the actual behavior of
the panel.
Altair Engineering
When you observe a clear change in mesh patterns, it is often an indication that the
elements were created on separate initial surfaces, and it may therefore make sense to
respect the former delineation by re-creating similar surfaces.
A final review of the shell mesh and plot element may reveal some additional need for
plot elements where some surfaces would take an unconventional shape. The image
below is one example for this model:
Altair Engineering
87
88
Click the upper most elems selector, and select by collector from the extended entity
selection dialog.
Select the ^faces component and click select to return to the panel.
Altair Engineering
Click create.
3. Turn off the display of all elements to review the surfaces that were generated (see image below).
Surfaces generated
Many surface edges were automatically suppressed (blue) by the surface generation engine. Some
may need to be unsuppressed before a meshing operation for example.
The surfaces generated could now be exported or used for any surface editing or meshing operation.
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
As this tutorial showed, the FEsurf panel is a powerful tool in generating surface data where none
is available, but needed. It also provides you with a great deal of control over the surfaces that are
generated through the use of plot elements. Automated and semi-automated ways let you create and
edit plot elements quickly and easily.
Altair Engineering
89
90
Altair Engineering
Altair Engineering
91
92
Altair Engineering
Altair Engineering
93
94
Altair Engineering
Altair Engineering
95
96
Altair Engineering
welds panel
rbe3 panel
Create RBE3s
springs panel
equations panel
Altair Engineering
97
98
Altair Engineering
Altair Engineering
99
Using Welds
In this section, use welds to join elements and components.
The welds panel allows you to create normally aligned rigid elements between two plate elements.
Place weld elements between the sections of your model that are to be welded.
Weld elements are displayed as a line between two nodes with the letter W written at the centroid of
the element.
Welds can translate to RBAR in NASTRAN or *mpc in ABAQUS.
To retrieve the file:
1. Retrieve the file connect2.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
To change the current component to welds:
1. Select the global panel on the permanent menu.
2. Click component = and select welds.
3. Click return.
Altair Engineering
Using RBE3s
In this section, use RBE3s to join elements and components.
The rbe3 panel allows you to create, review, and update RBE3 elements. The update subpanel
allows you to edit the connectivity, dofs, and weight for each node of the element.
RBE3 elements are displayed as lines between the dependent node and the independent node(s)
with RBE3 displayed at the dependent node of the element.
RBE3s define the motion at a reference grid point -the dependent node- as the weighted average of
the motions at a set of other grid points -the independent nodes. RBE3 is used in NASTRAN.
Altair Engineering
Altair Engineering
Using Springs
In this section, use springs to join elements and components.
The springs panel allows you to create spring elements. A spring element is an element created in
a space between two nodes of a model where a spring connection is desired. Spring elements
store a property and a degree of freedom (dof).
Spring elements are displayed as a line between two nodes with the letter K written at the centroid
of the element.
Springs can translate to CELAS2 in NASTRAN or *spring in ABAQUS. Springs require a property
definition.
To retrieve the file:
1. Retrieve the file connect4.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
To select the NASTRAN analysis template:
1. Select the global panel on the permanent menu.
2. Click template file = twice.
3. Select the nastran/ directory.
4. Select general.
5. Click return.
To change the current component to springs:
1. Select the global panel on the permanent menu.
2. Click component = and select springs.
3. Click return.
To create a spring property definition:
1. Select the collectors panel on any main menu page.
2. Select the create subpanel.
3. Click the switch after collector type: and select props.
4. Click name = and enter k1.
5. Click card image = and select PELAS.
6. Click create/edit.
HyperMesh goes to the card image subpanel.
This allows you to enter the NASTRAN card data.
Altair Engineering
7. Click the data entry field under K1 and enter 1.0 as the spring constant.
8. Click return twice to access to the main menu.
To create a spring element joining the RBE3s:
1. Select the springs panel on the 1-D page.
2. Click property = and select k1.
3. Select dof2.
4. Click the toggle and select no vector.
The other options are off by default.
5. Pick a node at the center of one of the RBE3 elements.
6. Pick a node at the center of the other RBE3 element.
The spring element is created and represented by a "CELAS1".
7. Click return.
Altair Engineering
Using Equations
In this section, use equations to simulate a basic contact constraint between components.
The equations panel allows you to create, review, and update equations.
Equations are displayed as lines between the dependent node and the independent node(s) with
the letters EQ displayed at the dependent node of the equation.
Equations are used in NASTRAN as MPC or in ABAQUS as *equation.
Place an equation in a load collector.
To retrieve the file:
1. Retrieve the file connect5.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
To create a load collector:
1. Select the collectors panel on any main menu page.
2. Select the create subpanel.
3. Click the switch after collector type: and select loadcols.
4. Click name = and enter the name equations.
5. Click color and select color 12.
6. Click create.
The collector was created.
7. Click return to access the main menu.
To set up the constraint equations:
1. Select the equations panel on the BCs page.
2. Select the create subpanel.
3. Click the switch and select dof2 as the dependent node degree of freedom.
4. Activate dof2 as the independent node degree of freedom. Deactivate any other degree of
freedom options selected.
5. Ensure w has a value of 1.0.
6. Click constant and enter 0.
To create the constraint equations:
1. Pick a node on the edge of part 1 as the dependent node.
2. Pick the corresponding node on part 2 as the independent node.
Altair Engineering
3. Click create.
4. Repeat this for all nodes along the edge.
Altair Engineering
Model geometry
Altair Engineering
Shell sections are used for thin-walled cross-sections. A shell section is defined by a set of
entities (lines or elements) that represent the mid-plane of the thin-walled section. The
thickness of the section is specified in HyperBeam. An example of this type of section is an
irregular box section. Note that you can create both open and closed thin-walled sections.
A solid section is defined by a set of entities (lines, elements, or surfaces) that form a closed
loop. HyperBeam creates a mesh in the area enclosed by the curves and calculates the
properties using this mesh.
HyperBeam calculates the section properties with respect to the centroid of the cross-section, and
also with respect to a user-defined system. The properties are saved along with the HyperMesh file
and can be retrieved at any point. If you expect to repeatedly use a user-defined section in different
models, it can be saved for subsequent retrieval in a different HyperMesh model.
To retrieve the model:
In this section, retrieve the model for this tutorial and load the Nastran user profile. Since a property
collector will be created, a template must be loaded.
1. Using the files panel, retrieve the file hyperbeam.hm from the
<install_directory>/tutorials/hm/ directory.
2. From the Geom page, use the user profile button to load the Nastran user profile.
The model geometry represents different types of cross-sections: standard, shell, and solid. You will
create a standard circular section to represent the cross-section of the cylinder, a shell section
created with lines to represent the cross-section of the hollow trapezoidal feature, and a solid section
created with lines to represent the cross-section of the solid irregular feature.
The model is organized into four collectors: one contains all the surfaces, two contain the lines for the
shell-section and the solid-section, respectively, and the last component stores beam elements.
Altair Engineering
With the lines selector active, select the circular line defining the base of the cylinder.
Click create.
This generates three nodes on the line, two of which are located at the same location (since
the circular line is a line that closes upon itself). With the two independent locations left, you
can measure the diameter.
For N1 and N2, pick the two nodes that are diametrically opposed.
The distance between the two nodes, which is the diameter of the circle, is displayed in the
diameter = field and reads 110 units.
Altair Engineering
Click the switch and select the solid circle option from the pop-up menu.
Click create.
The HyperBeam window is launched with a solid circle cross-section displayed in the center
pane. The left pane (Section Browser) lists the cross-sections defined in the model and the
right pane (Results Window) displays the results for the various beam properties computed
for the dimensions displayed.
4. Modify the diameter of the cross-section and assign the value measured earlier.
-
Altair Engineering
Note
Alternatively, you could drag the graphical handles that represent the diameter of the
cross-section until the diameter changes to the desired value.
5. Assign the name Solid Circle to this cross-section in the Section Browser.
In the Section Browser, click the name of the cross-section under the auto1 folder.
Click Save.
7. Use the File menu to Exit HyperBeam and return to HyperMesh. Click Yes in the confirmation
box.
The information that was computed is automatically stored in a beamsect collector with the name
you specified for the section. This beamsect collector is later used to populate the fields of a
property card.
Note
Since geometry information was available, this cross-section could have been defined as a
solid section using the solid section sub-panel. A standard section was used instead
because it did not require selection, although it required a diameter measurement.
You may save your HyperMesh model to your working directory at this point.
In this section a beam cross-section for standard sections was created using HyperBeam. You also
learned how to specify the dimensions for the standard section, and how to save this section for
subsequent use.
To model a shell section:
In this section, the shell section sub-panel of the HyperBeam panel is used to model a beam
section for the trapezoidal feature of the geometry.
Use the lines in the pre-defined component shell_section to define the section. Note that these lines
are located at the mid-plane of the trapezoidal geometry. In addition to these lines, HyperBeam also
requires the thickness of the feature as input to calculate the shell section properties.
Altair Engineering
Select the shell_section collector from the list and click select.
In the graphics region, hold the left mouse button down and move the mouse on top of one of
the mid-plane lines.
Release the left mouse button when the line is highlighted and click anywhere on the
highlighted line to define the base node.
Note
The cross section plane: option allows the software to define the plane for calculating
beam cross-sectional properties based on the entity (lines/element) selection. A usercontrolled plane can also be defined by changing the cross-section plane using the
toggle.
When using the fit to entities: option you can select a reference node for the plane if you
want properties about a point other than the section centroid. This is done using the
plane base node: option. This node defines the origin of the coordinate system that
serves as the reference when computing the various beam cross-section properties. All
the properties are calculated both about the centroid and about the node you select.
Altair Engineering
Shell section
The coordinates of the centroid are calculated with respect to the user-defined coordinate system
appearing at the node location specified earlier. The coordinates of the shear center are
calculated both from the centroid and from the origin of the section. Local Ys and Zs are the
coordinates of the shear center with respect to the origin of the section, while principal Vs and
Ws are the coordinates of shear center from the centroid of the section.
2. Modify the thickness of the cross-section and assign the value of 2 units.
Altair Engineering
Click beamsect and select Trapezoidal Section from the list of beam section collectors.
Click edit.
HyperBeam is displayed with the selected cross-section. Note that the state of the crosssection is retained and shows the dimensions used when the section was last saved.
The previous section showed how to change the thickness just click on the displayed thickness,
enter the new value, and save.
The options in the Tools menu of the HyperBeam window allow you to perform advanced
modifications such as breaking segments, joining segments, creating parts, moving vertices, etc.
Detailed information on these tools can be found in the , HyperBeam section of the HyperMesh
Users Guide / Building Models / Calculating Beam Properties on-line help. You can also click
Help on the menu bar to directly access this information.
Altair Engineering
Use the Break a Segment option to divide the segment 1-4 (defined by vertices 1 and 4) and use
the Move Vertices option to move the new vertex formed to make the section look like a
pentagon.
2. Break segment 1-4 adding a new vertex using the Break a Segment tool.
Breaking a segment
Note
Breaking a segment amounts to adding a vertex, which can be useful in changing the
geometry and properties of a cross-section. Since this does not break a part, it will not
affect the thickness that is applied to the current part.
To turn on and off vertices, use the Vertex IDs option from the View menu.
Moving a vertex
This operation moves vertex 5 to a new location and the section now resembles a pentagon.
Note how the centroid and shear center change as well as the beam properties. A new crosssection has been created, a new design for which the properties could be closer or further
Altair Engineering
from intended values. This tool can be used in the initial stages of design to achieve the
functional requirement of a component.
When beams have the same cross-section, but are rotated by an angle, it is possible to easily
re-calculate the properties of a shell section at a new position. Use the Reorient Shell
Section option from the Tools menu to:
4. Move the origin of the cross-section (user-defined system) to the location of the centroid.
Click OK.
The origin of the user-defined coordinate system is now at the centroid of the cross-section,
and all the properties calculated with respect to this system and the centroid system are
identical.
The properties calculated with respect to the user-defined system are the ones that can be
automatically passed to property collectors. This allows you to obtain the properties at the
centroid of the cross-section.
Under Specify y-axis choose origin to vertex and enter 2 in the field.
Click OK.
The orientation of the shell section is changed such that the y-axis is now aligned with the
origin and vertex 2. All the properties are updated as well as the definition of the centroid and
shear center.
Altair Engineering
Select the solid_section collector from the list and click select.
Select a node within the area formed by the lines by holding the left mouse button down until
a line or the surface highlights and then click anywhere on the highlighted entity.
Altair Engineering
This option tells HyperBeam to use 1 order (linear) elements to calculate the properties of
the section.
Solid section
The properties of sections are stored in beamsect collectors and in the current model database
file. Additionally, they can be exported to a text file using a right mouse click in the Results
Window. Finally, when a beam section is to be used in different HyperMesh models, the
properties can also be exported as a Beam Section File (.bm)using the File menu, Export
Selection option. This file can be loaded in any HyperMesh model using the import sub-panel
of the files panel.
2. Export the properties to a text file using the right mouse button in the Results Window.
Altair Engineering
Click the right mouse button, and select Save Results to File.
A Save As file browser displays to allow you to select an output location and name for the
text file.
A file is saved with the information displayed as it appears in the Results Window. You can
open this file with any text editor to review the information it contains.
Create/edit a props collector with name = standard_section, card image = PBEAM, and
material = steel.
In the card previewer, click beamsec twice and select Solid Circle from the list of beamsect
collectors defined in the model.
The properties calculated using HyperBeam are automatically assigned to the PBEAM card.
Observe that the values of the parameters (A, I1a, I2a, I12a, J, etc.) are extracted from the
properties of the selected section.
2. Create a beam element in the bars panel with a direction vector set to the global x-axis and
using the standard_section property.
Click the lower left switch and select vectors as the option to define the orientation of the
beam.
In the graphics region, hold the left mouse button down and place the cursor on top of the line
that runs though the cylinder until it is highlighted.
Release the left mouse button and select two nodes at the ends of the line for node A and
node B.
Altair Engineering
When creating beam elements, the z-axis is defined by the two nodes selected as
node A and node B. The direction of the cross-section (x or y axis) is defined either
by using components, vectors, or a direction node. Due to the nature of this solid
circle, how you define the x or y axis is unimportant.
Changes made to a beamsect collector (for example, through editing of a cross-section) are
also automatically applied to any property collector referencing this beamsect collector.
This concludes this tutorial. You may discard this model, or keep it for your own reference.
In this tutorial, you experimented with the tools and techniques for modeling beam cross-section and
obtaining their properties using HyperBeam. You learned how to edit cross-sections and assign their
properties to property collectors, which can then be assigned to 1-D elements.
For more details on how to create 1-D elements, review the tutorials, Creating 1-D Elements - HM3000 and Connecting Components with 1-D Elements - HM-3010. Additional techniques for creating
1-D elements from connector entities are discussed in the tutorial, Creating Connectors - HM-3400.
Altair Engineering
Altair Engineering
121
The toggle between elements to current comp and elements to surfaces comp tells HyperMesh
where these newly created elements should be located. You can put created elements in the
associated surface components or the global current working component where you define them.
After clicking the green mesh button, the automeshing module will be displayed allowing you to
adjust element density and biasing of all the shared and free edges belonging to the selected
surfaces, change element type, and perform quality checks. Once the elements are created, you
may select surfaces that contain bad elements or a group of elements, and you can refine them by
clicking the remesh button. HyperMesh will first delete the existing elements and then re-mesh the
selected entity.
The failed surfs button, below identify and select:, directs HyperMesh to scan through all the
selected surfaces for mesh and highlight those failed in creating meshes in your last attempt. The
unmeshed surfs button allows you to find all the surfaces in the displayed model that do not have
any mesh associated to them.
The Automatic panel has the same features as the interactive panel. The only difference is it
creates elements on surfaces without bringing up the interactive automeshing modules.
The QI optimized panel behaves differently from interactive and automatic. It allows you to specify
the target element quality you would like to achieve. Set the toggle to use criteria from QI panel or
specify a criteria file. You can establish the quality criteria in the qualityindex panel (2D page) as
well as create a criteria file. Please review the qualityindex panel documentation for details on
setting the required quality parameters and working with criteria files.
Once target criteria are chosen, the QI optimized panel creates meshes on the selected surfaces to
best meet the criteria. An additional option, allowing the meshing module to move nodes across
green, shared edges of the surfaces, can be turned on.
The Mesh params sub-panel is divided into two parts. The left part contains options and settings
for use chordal deviation meshing algorithm described in HM-3140. The right part contains
options for the use size and biasing meshing algorithm described in tutorial HM-3130.
Altair Engineering
Toggle has the same function as edge/toggle in the geom cleanup panel. The detail of using this
function is also described in the tutorial HM-2020 Geometry Clean Up.
Trim-intersect allows you to remove any edge fillets and has the same functional as the trimintersect feature in the defeature panel. This allows you to remove rounded corners along an edge.
Add points allows you to interactively add fixed points on surface edges or interior to the surface.
This tool exists only in this panel and has two separate functions. The first function allows you to click
on a surface edge or interior to a surface to create a fixed point at that location. Access this function
by selecting the point option next to add points. The second function allows you to click on a surface
edge and create a fixed point in the middle of that edge. Activate this function by selecting the line
option next to add points.
Remove points has the same function as fixed points/suppress in the geom cleanup panel. This
allows you to remove/suppress any fixed points that are not surface vertices.
Replace points has the same function as fixed points/replace in the geom cleanup panel. The
details of using this function are described in tutorial HM-2020 Geometry Clean Up.
cleanup subpanel
The Proj to edge sub-panel will locate all interior fixed points on a set of surfaces, then project each
of these points to the nearest (perpendicular) edge location on its own surface only. This produces
mesh patterns that are more regular in appearance.
The distance tolerance and angle tolerance are parameters used to control creation of fixed points.
If the shortest distance between an edge and an interior fixed point is less than or equal to the
distance tolerance, a fixed point will be created on the edge. If the angle ABC, formed by an existing
fixed point on an edge (A), the fixed point to-be-created (B) and the interior fixed point (C), is less
than the angle tolerance, a fixed point will not be created.
Altair Engineering
123
Altair Engineering
Select the checks panel, and then click on warpage button to check warpage value.
Elements having a higher warpage than the set value are highlighted. The maximum
warpage displays on the header bar.
7. Click the radio button in front of algorithm module to activate the function.
Note
The small square icons on the center of surface id 6 and 7 indicate that HyperMesh will
use mapped as rectangle meshing algorithm to create the mesh.
Click the switch below the meshing algorithm and choose free (unmapped).
Note
Move the mouse and click the square icon located at the center of surface id 6. The icon will
show the new meshing algorithm.
Select the checks panel, and then click on warpage button to check warpage value.
Notice that now the maximum warpage found is lower. This is a significant
improvement when compared to the previous value obtained by using mapped as
rectangle meshing algorithm.
Click the switch below the meshing algorithm and choose mapped as triangle.
Move the mouse and click the square icon located at the center of surface id 6. The icon will
change to a triangle shape.
Click on mesh and note the triangular icon automatically changes to the free (unmapped)
icon..
Note
The mapped as triangle algorithm should be applied to a surface with three sides
only. When you apply the triangle algorithm to other types of surfaces HyperMesh
automatically switches to the free (unmapped) algorithm. The mapped as pentagon
algorithm should be applied to a surface with five sides only.
Repeat the same steps to change the meshing algorithm back to autodecide.
Click set all button on the right side of meshing algorithm. This step is to apply autodecide
option on all the selected surfaces.
Altair Engineering
125
Click the switch below the smoothing algorithm and choose shape corrected.
Click set all button to apply the algorithm to all the selected surfaces.
Select the checks panel, check warpage and note the new Max warpage.
Click the switch below the smoothing algorithm and choose no smoothing.
Click set all button to apply the algorithm to all the selected surfaces.
Click on the switch below the element type: and choose mixed.
Click on mesh and examine the change of mesh on those selected surfaces.
Click on the switch below the element type: and choose quads.
Click on mesh and examine the change of mesh on those selected surfaces
Note
The mixed element type is only applied to four side surfaces meshed using the
mapped as rectangular algorithm.
Note
The toggle surf panel allows users manually change element type.
16. Click the radio button in front of details module to activate the function.
17. Change the mapping parameters:
Click the check box in front of size control to activate this function. A check will appear in
the box.
Click the check box in front of size control again to disable this function.
Click the check box in front of skew control to activate this function. A check will appear in
the box.
Altair Engineering
Click the check box in front of size control to activate this function. A check will reappear in
the box. Now both skew control and size control are activated.
Click the check boxes for size control and skew control. Both functions are now disabled.
Note
The mesh generated by either type of element shape will be influenced by the size
control and the skew control.
18. Click the radio button in front of the density module to activate the function.
19. Change the element density on selected edges:
Click the number field next to the element density= and enter 10.
Move cursor to graphic area and click on density numbers located at top two long edges and
bottom two long edges (see figure below)
Click the number field next to the element density= and enter 3.
Move cursor to graphic area and click on density numbers located at three short edges (see
figure below).
Altair Engineering
127
20. Click the radio button in front of biasing module to active this function.
21. Change the element biasing on selected edges:
Click on the switch under bias style:, select bellcurve biasing style.
Click green set all panel on the left side of bellcurve in order to activate this style.
Click the number field next to bias intensity = and enter -0.500
Click the shared edges between surface id 4 and surface id 6, and do the same step at one
free edge of surface id 7 (see figure below).
22. Click the radio button in front of checks module to activate this function.
23. Check the element quality:
Click the jacobian button and examine the graphic area. Any element fails to meet the
specified jacobian value will be highlighted. The minimum jacobian value will be indicated in
the menu bar.
Altair Engineering
Make sure not to check the box in front of the reset the mesh parameters to. The
densities will automatically match the previously meshed bottom surfaces and have
coincident nodes. The default node densities set in the global are assigned
elsewhere around the surfaces. The use of reset meshing parameters to: will
override the automatic coincident matching feature.
Click on each edge number on screen. Each element density corresponds to the figure
below.
Altair Engineering
129
Click on mesh.
Click on return button. Now the elements on these three surfaces will all be deleted. This is
an alternative way to delete elements without leaving the automesh panel.
Altair Engineering
Go to modeling subpanel.
Click on cleanup tol = button and type 0.2 in the number field.
Click on element size button, and enter 2.0 in the number field.
Altair Engineering
131
The element size should already be set to 2.0 due to the change of the global element
size setting in the previous step.
Altair Engineering
If you want to add points on the line of a surface, select button line next to point and click on
the surface line.
The point is added to the line at the mid-point.
Note
Observe the mesh on surfaces id 5 and how the fixed points affect the placement of
the nodes. When you import this model, you have some free points in the points
collector. Free points (with graphical symbol Xs ) dont affect your meshing. After you
change those points from free points to fixed points, HyperMesh will be forced to put
nodes on those fixed points later when you mesh your model.
A node can be created simply by clicking anywhere along the edge. You dont have to
highlight the edge or wait until the cursor becoming a box.
3. Once the first node is selected, the second node box is highlighted automatically. Click on the
vertex on the opposite side of the surface id 3. As shown in the figure below, a line connecting
these two nodes is used to trim the surface id 3 at the normal direction.
4. Repeat step 1 3 to trim surface id 2 and surface id 1 as shown in the figure below.
Note
Trimming surfaces allow you to split surfaces and generate shared edges in between.
Later while meshing surfaces, you will have more nodes on shared edges. Which gives
you more control over your mesh.
Altair Engineering
133
Select all.
These two nodes should be placed so they break the edge into sections similar to the
nearby edges (see figure below).
Altair Engineering
Altair Engineering
135
Select all.
Click On.
Click Return.
A node can be created simply by clicking anywhere along the edge. You dont have to
highlight the edge or wait until the cursor becomes a box.
3. Once the first node is selected, the next node box is highlighted automatically. Click the vertex
on the opposite side of the surface id 3.
As shown in the figure below, the line connecting these two nodes is used to trim the surface id 3
at the normal direction.
4. Repeat step 1 3 to trim surface id 2 and surface id 1 as shown in the figure below.
Note
Trimming surfaces allows you to split surfaces and generate shared edges in between.
Later, while meshing surfaces, you will have more nodes on shared edges, which gives
you more control over your mesh.
Altair Engineering
Altair Engineering
137
Select elements with poor quality on surface 8 (refer to figure below). Selected elements are
highlighted white.
Click remesh. Notice that you enter the meshing module and selected elements are ready to
remesh. To remesh them, you would click mesh.
Altair Engineering
Note
In the meshing module, Hypermesh puts element density in the middle of the
meshed area. This restricts the nodal location of the remeshed area (refer to figure
below).
Altair Engineering
139
Click feature angle, and change feature angle from default (30 ) to 50 .
Remain in create mesh subpanel. Make sure the toggle remains in interactive.
Select elements with poor quality on surface 8. Selected elements are highlighted white.
Click remesh. Notice you entered the meshing module and selected elements to be
remeshed.
Note
Compare the difference since changing the feature angle in the options panel.
Notice that after increasing the feature angle, Hypermesh no longer puts element
density in the middle of the meshed area.
Click adjust edge, and move the cursor to the bottom edge of surface 8.
Change element density to 8, which is the same as the upper edge between surface 8 and
surface 5.
Practice remeshing elements to refine other elements that you are not satisfied with.
Altair Engineering
141
Altair Engineering
Altair Engineering
143
Altair Engineering
Altair Engineering
145
Altair Engineering
Proj to Edge
To mesh a surface containing interior fixed points without using the proj to edge subpanel:
1. Click the 3 button on the vis opts: line on the macro menu to display the surfaces in shaded
topology mode.
Altair Engineering
Figure 1. Surface meshed without using the automesh / proj to edge subpanel.
To project the surfaces interior fixed points to its edges:
There are three ways to perform this task:
The fixed points can be projected to multiple surfaces by changing the tolerance values
Altair Engineering
The distance tolerance and angle tolerance parameters control the creation of fixed points.
If the shortest distance between an edge and an interior fixed point is less then or equal to
the distance tolerance, a fixed point will be created on the edge. If the angle ABC, formed by
an existing fixed point edge (A), the fixed point to-be-created (B) and the interior fixed point
(C), is greater than the angle tolerance, a fixed point will not be created.
Figure 2. Surface meshed after using the automesh / proj to edge subpanel.
Altair Engineering
Altair Engineering
Using the Quads Mapped Mesh Element Type and the Smoothing Controls
To retrieve the file for this tutorial:
1. Retrieve the file tria_trans.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
To display the surface IDs:
1. Select the numbers panel on the Tools page.
2. Click the input collector switch and select surfs.
3. Click surfs and select all from the extended entity selection menu.
4. Click display.
5. Click on button.
6. Click return to access the main menu.
To select the collector type:
1. Select the global panel on the permanent menu.
2. Click component = and select quads_size_only.
3. Click return to exit the global panel.
To set the mesh parameters:
1. Select the automesh panel on the 2-D page.
2. Select the mesh params subpanel.
Altair Engineering
151
3. Click the leftmost toggle and select use size and biasing.
4. Click elem size = and enter 1.000.
5. Click the switch under mapped mesh elem type and select quads.
6. Activate size control and deactivate skew control, if necessary.
To mesh the surface and create elements:
1. Select the create mesh subpanel.
2. Set the interactive meshing mode using the rightmost toggle.
3. Click surfs and select all from the extended entity selection menu.
4. Click mesh.
5. Review the densities and click mesh to preview the elements.
6. Click return.
Note that some of the elements may need to be modified.
Repeat the steps using the quads_skew_only component and the skew option activated.
Repeat the steps using the quads_size_skew component and the skew and size options
activated.
Altair Engineering
Altair Engineering
153
Using the Mixed Mapped Mesh Element Type and the Smoothing Controls
To set the collector type:
1. Select the global panel on the permanent menu.
4. Click component = and select mixed_size_only.
5. Click return to exit the global panel.
To set the mesh parameters:
1. Select the automesh panel on the 2-D page.
2. Select the mesh params subpanel.
3. Click the leftmost toggle and select use size and biasing.
4. Click elem size = and enter 1.000.
5. Click the switch under mapped mesh elem type and select mixed.
6. Activate size control and deactivate skew control, if necessary.
To mesh the surface and create elements:
1. Click create mesh subpanel.
2. Select the interactive subpanel.
3. Click surfs and select all from the extended entity selection menu.
4. Click mesh.
5. Review the densities and click mesh to preview the elements.
6. Click return.
Note that some of the elements may need to be modified.
Repeat the steps using the mixed_skew_only component and the skew option activated.
Repeat the steps using the mixed_size_skew component and the skew and size options
activated.
Compare the elements created with each of the options:
Altair Engineering
Altair Engineering
155
Altair Engineering
Altair Engineering
9. Click select.
10. Click mesh to create the mesh.
11. Click return.
You can cycle through the parameter settings by pressing the TAB key after typing in a
value.
Altair Engineering
You can cycle through the parameter settings by pressing the TAB key after typing in a
value.
Altair Engineering
4. Click select.
5. Click mesh to create the mesh.
You can cycle through the parameter settings by pressing the TAB key after typing in a
value.
Altair Engineering
Altair Engineering
Altair Engineering
Creating and Optimizing a 2-D Mesh Based on UserDefined Quality Criteria - HM-3150
For this tutorial it is recommended that you complete the introductory tutorial, Getting Started with
HyperMesh - HM-1000.
HyperMesh has a new set of features designed to help you achieve good element quality more
efficiently. These features use settings from the qualityindex panel to generate or modify a mesh.
This allows HyperMesh to give results that account for your preferences for which element quality
checks are more or less important than others. The new quality index (Q.I.) optimization features are
found in the automesh, smooth, and qualityindex panels. These functionalities can be used
separately or in unison.
All files referenced in the HyperMesh tutorials are located in the
<install_directory>/tutorials/hm/ directory. 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.
To prepare the file for the tutorial:
1. Open the planar.hm file from the <install_directory>/tutorials/hm/ directory.
2. Generate a mesh on the part.
-
Click the load button next to the field for criteria file:.
This loads the element quality criteria we will be using for this tutorial. If you scroll through the
different pages of criteria, you should see different values entered in the fields from what you saw
before. Also, the highlighting of elements in the graphics area should change. This is because
the elements are being judged according to the new criteria we just loaded. For a complete
Altair Engineering
explanation of the qualityindex panel, see the on-line help under qualityindex.
To work with node and element quality optimization:
Within the qualityindex panel, there are functions that allow the user to select individual nodes or
elements, and then alters the position or shape of the node/element to optimize the element quality
for the surrounding elements. The element qualities are optimized according to the settings in the
qualityindex panel. These features are very useful for improving element qualities in local areas of
the mesh.
1. While still in the qualityindex panel, toggle the button labeled criteria to results.
On the right-hand side of the panel, note the value for comp. Q.I.=. Currently, it should read
875.15. We will keep this number in mind so that we can judge how much progress we make in
improving the element quality.
2. Switch the button labeled view to optimize.
3. Experiment with the node optimize function.
-
The button labeled node optimize should already be highlighted. Selecting a node while this
button is highlighted optimizes the location of the node to improve the quality of the
surrounding elements.
Try selecting some of the nodes on the mesh. In particular, select nodes of elements that are
highlighted red, since these have the worst quality. You should see each node move as it is
selected, improving the surrounding mesh quality.
Notice what happens to the value of the comp. Q.I. It should improve as you select more
nodes.
Click the button labeled element optimize. Selecting an element while this button is
highlighted optimizes the location of the elements nodes to improve the quality of the
element. It also considers the quality of the surrounding elements.
Try selecting some of the elements on the mesh. In particular, select elements that are
highlighted red, since these have the worst quality. You should usually see the shape of the
element change as it is selected, improving the surrounding mesh quality.
Notice what happens to the value of the comp. Q.I. It should improve as you select more
elements.
Altair Engineering
target quality index = Specify a number for the value you would like the quality index to be
after the smoothing operation. This value is not guaranteed from smoothing. The smooth
operation will attempt to hit this target.
time limit
The check-box for can be checked on or off. For this model, a time limit
doesnt matter very much. However, if you are working with a large model, you may want to
check this box on to ensure the smoothing routine doesnt take more time than you want to
allow.
feature angle = The smooth panel looks at the angle between the normals of two adjacent
elements. If this angle is equal or greater than the value specified in this field, it will not allow
the nodes shared by the elements to move.
use criteria in QI panel can be left alone here. You could toggle it to QI criteria file,
allowing you to select and use a criteria file for your Q.I. settings. Since a criteria file has
already been specified at the beginning of this tutorial, this option can be ignored.
Smooth across common edges determines whether nodes generated on a surface edge
can be moved off the surface edge when the algorithm smoothes the mesh.
feature angle < works in conjunction with smooth across common edges. If the angle
between the normals of the surfaces sharing the edge are equal to or greater than this value,
the nodes along the edge will not be moved during smoothing. This is true even when the
smooth across common edges is checked on.
time limit: sets the maximum time that the automesher is allowed take in generating the
mesh. Turning this option on can be useful for large models to limit the time you are willing to
allocate. However, this might not allow the automesher to arrive at the absolute best element
quality.
Look at the value for the comp. Q.I.= field. It should be 351.22, which is much lower that the
875.15 value of the mesh we originally generated.
Altair Engineering
You can extend this process to mesh any number of parts in batch mode in a single step. Once you
are satisfied with the mesh obtained, you can complete the modeling to generate appropriate solver
decks.
This tutorial requires about 45 minutes to complete and uses files located in the
<install_directory>/tutorials/hm/ directory. 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.
The model file used for this tutorial is a floor panel (see figure below):
Altair Engineering
167
Geometry data file in any CAD format that HyperMesh supports, or in a HyperMesh database
file
Parameter file - This text file defines the average element size, type of elements to be
generated (quads or trias) and various options for geometry cleanup.
Criteria file - This text file contains all the element quality requirements such as jacobian,
warpage, etc. You can export this file from the qualityindex panel in HyperMesh after you
update the settings to your requirements.
The quality of the mesh generated is measured with a quality index (QI) value which is derived from
the individual element quality criteria defined in the criteria file. The Batch Mesher invokes
HyperMesh in batch mode and performs a variety of predefined functions which include:
Perform a variety of geometry cleanup operations, such as closing internal slivers and
removing duplicate geometry, to cure any inaccuracies in the geometry.
Perform geometry simplification specified by the user such as removing pinholes, fillets,
etc.
Execute the geometry editing tools required to improve the regions to mesh.
Altair Engineering
Determine the best combination of meshing algorithm and mesh parameters to generate the
best quality mesh.
Perform quality optimized meshing and node placement to meet the quality requirements (QI
value).
You can launch the Batch Mesher function from a user interface or through the command line.
In this tutorial, we will work with the Batch Mesh user interface. You control the behavior of the Batch
Mesher by setting a variety of parameters and also providing the target element quality.
To gather the input requirements:
In this tutorial, mesh a floor panel (floor.iges) in batch mode with the following requirements:
Warpage <20.0
Jacobian >0.7
The number of tria elements should not exceed 10% of the total number of elements
All bolt holes with a diameter less than 8mm should be ignored and all others should be
meshed with one row of washer elements
In this section, invoke the Batch Mesher user interface, and configure it to the requirements set above
defining the appropriate criteria and parameter files.
1. Invoke the Batch Mesher user interface.
On PC:
-
Click Start and go to Programs / Altair HyperWorks <version> / Altair Tools / Batch
Mesher.
This launches a DOS window as well as the Batch Mesher interface.
Note
On PC, you can also launch the interface by opening a command prompt and
typing <install_directory>/hm/batchmesh/hw_batchmesh
On UNIX:
-
If you have difficulties launching the interface at your site, please contact your
system administrator.
lets you choose the CAD geometry files to be meshed in batch mode and
submit the jobs.
Run Status
lets you check the status of runs that have been submitted to the Batch
Mesher.
Configurations
lets you specify the input parameters, such as the CAD geometry file
Altair Engineering
169
format and file extension, desired element quality criteria file, parameter
file, etc.
User Procedures
The next step is to configure the Batch Mesher to your requirements. This step includes setting
the geometry file type, and criteria and parameter file
2. Add a new Mesh Type using the Configurations tab.
Configurations tab
We now need to assign a Criteria File and a Parameter File for this new Mesh Type. If we had
such files already, we could use the open file icon
to browse for them. Here we will simply
edit existing files from the installation and save them to our working directory before specifying
them in the Configurations tab.
3. Edit the nvh10.criteria file to define the criteria for the mesh.
In the Configurations tab, select the Criteria File cell referencing the file nvh10.criteria.
Disregard any message that is posted as we will save the edited file under a new name.
Note
The file lists 12 criteria that can be turned on or off using the On column (0=off,
1=on). Specify various weight factors for the different criteria using the Wt column.
Altair Engineering
Leave the Ideal value for min length and max length untouched as it already matches our
target element size.
Turn on the warpage criterion, which is already set to the right Fail value of 20, by changing
the 0 to a 1 in the On column.
Change the Fail value of the jacobian to 0.7, and the Warn value to 0.75.
Update the Fail value for % of trias to 10.0, and set the Warn value to 9.0.
Set the weight factor in the Wt column to 2 for min length, warpage, jacobian, and % of
trias as these are most important for us.
Click Save, and save this criteria file to your working directory as
tutorial_batchmesh.criteria.
Altair Engineering
171
Criteria files can also be generated from the qualityindex panel located on the 2D page
of HyperMesh. Refer to this panel help for complete information.
4. Specify the tutorial_batchmesh.criteria file in the Criteria File column of the Configurations
tab for the Mesh Type we created using the open file icon.
5. Edit the nvh10.param file to define the parameters for geometry cleanup and mesh creation
according to the following table:
Parameter and options:
Action:
geometry_cleanup_flag
no geometry cleanup
meshing_flag
0
Altair Engineering
element_size
surf_component
Leave at 1
feature_angle
Used in conjunction with meshing_flag. When
meshing_flag is set to 3 or 4 the tool tries to move
nodes on this free edge to its optimum position as long
as the angle between the two surfaces that share the
edge is less than the feature angle specified here.
nodes_around_holes
Minimum number of nodes around a round hole (even
when element size only allows for lesser number)
layers_around_holes
diameter_of_pinholes
Removes all the pinholes in the model whose diameter
is lesser than the value specified here
pinholes_in_solids
Altair Engineering
173
max_filet_radius
Removes all edge fillets whose radius is below the max
value specified
minimal_bead_height
Altair Engineering
Altair Engineering
175
Completed configurations
The Batch Mesher is now configured. You can save this configuration for future use using the Save
Config option from the File menu. The next step is to select the CAD files to be meshed.
To submit CAD geometry to the Batch Mesher:
In this section, choose the CAD geometry file(s) to be meshed in batch mode, and set the results
directory where the Batch Mesher will save the resulting mesh files.
1. Use the Batch Mesh tab to set the Geometry source directory:.
Click the open file icon next to Geometry source directory: and browse for the
<install_directory>/tutorials/hm directory.
This is where the geometry file for this tutorial is located.
Warning
2. Use the
A window is displayed with a list of all the files in this directory with the .iges extension, as
specified on the Configurations tab. While multiple selection is possible using the CTRL and
SHIFT keys, we only select one file here.
The file name and path populate the Geometry File field, while the file type populates the Geom
Type field.
3. Click the cell under Mesh Type and select tutorial_meshsize10 from the list.
4. Click the open file icon next to Result directory: and browse for your working directory as the
directory where result files will be placed.
5. Click the
Altair Engineering
The number of surfaces whose mesh has poor quality (#badmsh surfs)
The % of trias
Altair Engineering
177
Final model
With the final result, we can compare the model obtained to the geometry that was supplied to the
Batch Mesher to better understand how the parameters we set affected the result. In the figure above
are 6 areas we can zoom into to review the effect of the various parameters:
Area 1: Pinholes with a diameter less than 8mm were removed
Before
After
Altair Engineering
Area 2: Added (trimmed) layer of washer around pinholes with a minimum of 5 nodes (fixed points)
along the free edges
Before
After
Area 3: Suppressed geometric edges which do not have a sharp feature and that are too close to
other geometry causing elements smaller than specified element size
Before
Altair Engineering
After
179
Before
After
Area 5: Fixed points (or trim lines) added to better align the mesh where surface edges are close to
one another
Before
After
Altair Engineering
Area 6: Nodes moved off the surface edges (while still on surface geometry) to improve mesh quality
Finally, we can review the quality of the mesh using the qualityindex panel from the 2D page. You
will find that some elements fail the quality criteria we set as many times, the Batch Mesher cannot
improve the quality of some elements due to constraints imposed on it such as:
This concludes this tutorial. You may discard the files used of keep them in your working directory for
your own reference.
In this tutorial we used the Batch Mesher to mesh an IGES model in batch mode. We defined specific
criteria for the quality of the elements to be generated, and also set some parameters as to what kind
of geometry cleanup would be involved in the process. We experimented with various options and
reviewed of these options would affect the final geometry and mesh.
Altair Engineering
181
Altair Engineering
Allows you to create a surface and/or mesh from nodes or lines that are
unconnected.
spline panel
skin panel
Allows you to create a surface and/or mesh skin across a set of lines.
drag panel
Altair Engineering
183
line edit
reparam (line parameters)
Altair Engineering
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
If the surface is unacceptable, click abort to exit immediately the automeshing module panel
without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
10. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 6:
-
surface only
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
10. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 6:
-
Altair Engineering
185
surface only
12. For practice, select a combination of node list and line list entity selection methods to create
surfaces or meshes.
Altair Engineering
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
8. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 4:
-
surface only
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
8. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 4:
-
surface only
Altair Engineering
187
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
If the surface is unacceptable, click abort to exit immediately the automeshing module panel
Altair Engineering
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
8. To create other types of surfaces and meshes, repeat these steps and select one of the following
and surface options in step 4:
-
surface only
Altair Engineering
189
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
12. Click mesh to create a shell mesh of elements on the new surface.
-
If the surface is unacceptable, click abort to exit immediately the automeshing module panel
without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
13. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 5:
-
surface only
Altair Engineering
191
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
11. Click mesh to create a shell mesh of elements on the new surface.
-
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
12. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 5:
-
surface only
Altair Engineering
3. Click the input collector switch after drag: and select lines.
4. Pick line L1.
5. Click the lower right switch and select mesh, keep surf.
6. Click the toggle and select use default vector.
7. Click line list to the right of along: and pick line L2 in the graphics area as the guide line along
which to drag the entities.
8. Click drag.
The new surface is displayed.
9. HyperMesh goes to the automesh module panel. Nodal densities are displayed on each edge
of the new surface.
-
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
10. Click mesh to create a shell mesh of elements on the new surface.
-
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
f the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
11. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 5:
-
surface only
Altair Engineering
193
Altair Engineering
3. Click the input collector switch after drag: and select nodes.
4. Select the six nodes (in order from 16) created previously along line L1.
5. Click line list to the right of along: and pick line L2 in the graphics area as the guide line along
which to drag the entities.
6. Click the lower right switch and select mesh, keep surf.
7. Click the toggle and select use default vector.
8. Click drag.
The new surface is displayed in the graphics area.
9. HyperMesh goes to the automesh module panel. Nodal densities are displayed on each edge
of the new surface.
-
To change the density, click the number in the graphics area with the mouse button. The left
mouse button increases the density; the right mouse button decreases it.
10. Click mesh to create a shell mesh of elements on the new surface.
-
If the surface is unacceptable, click abort to exit immediately the automeshing module
panel without saving the surface that you created.
If the surface and mesh are acceptable, click return. HyperMesh returns to the ruled panel.
11. To create other types of surfaces and meshes, repeat these steps and select one of the following
mesh and surface options in step 6:
-
surface only
Altair Engineering
195
Altair Engineering
Altair Engineering
197
Draw the line from element A to element B and release the left mouse button.
Altair Engineering
7. You can use the split panel to split elements in the following ways:
-
Note
Altair Engineering
199
If you select elements before drawing the split line, only the selected elements are
split. If you do not select elements before drawing the split line, the splitting
algorithm operates on all elements displayed.
If you split elements on a surface that has been automeshed, new nodes created
by the split are automatically projected to the surface.
Maintain proper connectivity (without internal free edges) after splitting the
elements.
Altair Engineering
Note
Altair Engineering
201
When you split elements whose nodes are associated to a surface, the new nodes created
are also on the surface. To associate a node to a surface, use the node edit panel.
Maintain proper connectivity (without any internal free edges) after combining elements.
Altair Engineering
6. HyperMesh displays the following error message: There is a node out-of-plane by 0.0888896.
7. Click tolerance = and enter 0.1.
8. Click combine.
The selected elements become one element.
Note
Setting tolerance = too high may create warped elements, and/or the deviation from the
geometry may increase.
Maintain proper connectivity (without any internal free edges) after combining elements.
Altair Engineering
203
Altair Engineering
Model geometry
Altair Engineering
205
The difference in size between adjacent elements and elements across a wall is minimal.
Given these considerations, most of the time spent tetrameshing a part using the standard
tetramesher is spent on geometry cleanup and creating a quality 2-D mesh. The general tetramesh
process can be summarized in the following steps:
Perform any editing on the shell mesh for quality improvement (as needed).
Delete the shell elements, and check the quality of the tetra mesh.
This is the process and the pre-requisites we will follow in this tutorial.
To load the geometry and determine the element size:
In this section, retrieve the geometry for the part to tetramesh. Then determine the element size to
use for the shell mesh based on the geometry. While at least two layers of elements are required
across the thinnest walls, too small of an element size may generate too many unneeded elements.
1. From the files panel, retrieve the file <install_directory>/tutorials/hm/
standard_tetra.hm.
2. From the Disp page of the macro menu, set Vis opts: 3 to shade the surfaces in the model.
The model is a symmetric part of a solid bracket for which a hexa mesh would be very difficult to
create.
Altair Engineering
3. Use the view panel from the permanent menu to restore View1.
This area of the model presents some of the narrowest portions of the solid part. When
tetrameshing this location, we need to ensure that we create at least two layers of solid elements.
4. Use the length panel to measure the length of the various edges defining these areas.
With the lines selector active, pick one of the edges from the graphics area (see figure
below).
Click length.
Click reset under lines, and repeat the above steps for any other edge to measure.
Edges to measure
Most of these edges are between 5 and 10 units long. These would probably require an element
size of around 5 units. While this would allow us to achieve the goal of two layers of elements in
these areas, it would produce too refined a mesh in the rest of the model, and produce more
elements than necessary. An increased number of trias would produce more tetras, and increase
the number of degrees of freedom of the model, requiring more computation time.
For this model, we will use an element size of 10 units. With this size, we will simply make sure to
manually increase the density of elements where needed, while still avoiding too great of a size
difference between neighboring elements.
5. From the global panel on the permanent menu, set element size = to 10.0.
In this section, we loaded the geometry to tetramesh and chose an element size for the tria and tetra
elements to create based on the dimensions present in the geometry.
To clean up the geometry:
To ensure that the shell mesh we create on the surfaces encloses a volume, we can first make sure
that the surface themselves enclose a volume. This is done by cleaning up the geometry, and making
sure that there are no free (red) edges left in the model. Additionally, we may want to suppress
Altair Engineering
207
shared (green) edges to avoid creating elements of poor quality based on the element size we picked
in the previous section.
In this section, start by equivalencing any free (red) edges in the model into shared (green) edges to
ensure that the surfaces are attached to one another. Then suppress any shared edges that are not
needed or would produce poor quality elements. Use the geom cleanup and automesh panels to
identify and correct the areas requiring cleanup.
1. Use the geom cleanup panel to equivalence free edges into shared edges.
Click equivalence.
Notice how some free (red) edges turn green (shared) while others remain red. This is
because of the tolerance (maximum distance between neighboring free edges to be
equivalenced) we set.
For more information on the display of surface edges in HyperMesh and geometry
cleanup, click the help button and review the on-line help for the geom cleanup
panel as well as the HyperMesh Geometry Terminology topic.
The next step is to identify and suppress shared edges, which separate surfaces with a
continuous curvature. This is often subjective as the angle between the surfaces defines how
continuous the curvature is, and whether the edge should be suppressed or not. In general,
edges capturing an angle of up to 30 degrees between surfaces can be suppressed.
2. Use the toggle function to toggle shared edges (green) into suppressed edges (blue).
With the line selector active, pick in the graphics region any shared (green) edge you want to
suppress (see figures below).
Altair Engineering
Edges to suppress
Note
While suppressing some edges creates larger and more logical areas, it is often just as
desirable to limit the size of some areas so as to conserve additional control on the
resulting mesh.
The next step is to suppress any shared edges that would produce elements of poor quality.
When meshing surfaces, HyperMesh forces nodes on all shared and free surface edges, and
also at all fixed point locations. When shared edges define areas with dimensions close to the
element size, this creates the potential for elements of poor quality.
3. Using the view panel, restore View2.
4. Use the toggle function to suppress additional shared edges (see image below).
Altair Engineering
209
Suppressed edges
While some of these situations can be corrected by looking at the geometry, you may not always
find all of these situations with this approach alone. For a larger model, it may not always be
practical to spend large amounts of time trying to identify these features on the geometry. One
alternative is to preview a mesh on surfaces and look for any edge element density that reads 1.
Such a density is an indication that the edge is less than the element size, which is often a cause
for quality issues.
5. From the Disp page of the macro menu, set Vis opts: 0 and Gfx: Per.
6. Use the automesh panel to preview a tria mesh on the surfaces.
Observe the model and look for any edge density set to 1.
7. Use the view panel to restore View3.
Observe the node densities set to 1, and use the view manipulation tools to understand what
causes these densities.
8. Use the view panel to restore View4.
Observe element densities set to 1 in this area as well.
9. In the automesh secondary menu, click abort to return out of the menu without accepting a
mesh.
210 HyperMesh 7.0 Tutorials HM-3190
Proprietary Information of Altair Engineering
Altair Engineering
10. Use the cleanup sub-panel of the automesh panel to toggle any shared edge identified from the
mesh preview.
Toggle shared edges from the views View3 and View4 (see figures below).
Suppressed edges
Notes In the figure above, you can see that one of the densities of 1 was the result of fixed
points distant by less than the element size. This is another common cause for distorted
elements. While one approach consists in removing unneeded fixed points, it is not
possible to do this here are both these fixed points are required by the edges they belong
to. To remove the fixed points, we would need to suppress the edges they belong to first
and this is not desirable here.
While cleaning up the geometry helps avoid some of the poor quality elements, it is not
desirable to spend extensive time trying to fix the geometry. One alternative is to simply
fix bad elements once they have been generated. While for some situations it is easier to
clean-up the geometry, for others, it is better to fix elements after the fact.
Altair Engineering
211
In this section, we performed some cleanup operations on the geometry to simplify it and also avoid
creating some poor quality elements. We used various approaches to identify edges to suppress and
also various tools to carry out the operations.
To generate the tria mesh:
In this section, generate the tria mesh on the surfaces using the automesh panel. Use various tools
from the automesh secondary panel to create a tria mesh of a quality that meets the following
requirements:
At least two tria elements are created across the smallest surfaces.
1. Fit the model to the screen using the f key on your keyboard.
2. Use the automesh panel to generate the tria mesh according to the requirements.
Verify the box for reset meshing parameters to: is checked, elem size = is set to 10 and
the type of element is trias.
Set the middle lower toggle to elements to current comp to send the elements to the trias
component.
Click mesh to enter the automesh secondary panel, and click mesh to preview the mesh.
Note
If you have difficulties performing any of the steps described, click help to review the
on-line help for this panel.
Use the density sub-panel to adjust edge to 2 elements for these four features.
Altair Engineering
With set surf active, click the center icon for the three sliver surfaces until it changes to a
right angle tria.
Click mesh to preview the changes to the mesh on these three surfaces.
Altair Engineering
213
Altair Engineering
Note
Edge densities do not match because the lengths of the two edges are different.
Hint
From the automesh panel, create mesh sub-panel, select the link edge densities
option to ensure that opposite edges of surfaces have the same densities when they
are comparable in length.
Using this option would have saved us from having to manually change the densities
in this case.
Use the type sub-panel to set the type of elements on this surface to R-trias.
When you are satisfied with the mesh, click return to accept it.
In this section, we used the automesh panel and several of its options to obtain the mesh that would
meet both of our requirements.
To evaluate and correct element quality:
In the previous sections, we cleaned up the geometry as much as possible to avoid creating poor
quality elements. Now that the tria mesh has been created, we need to perform a battery of quality
checks to make sure it suitable to generate tetra elements.
In this section, use the check elems panel to check for duplicates and review the quality of the 2-D
mesh against the following quality criteria:
Min length: 3
Aspect: 5
These criteria are typically most important when it comes to generating tetra elements, as poor tria
elements for these checks will typically yield poor tetra elements.
1. Use the check elems panel to check for duplicates.
Altair Engineering
215
Click duplicates.
The header bar should read 0 duplicate elements were found.
Note
Should you find duplicates in your mesh, use the save failed option to save these
elements to a user mark. Then, select elements and use the retrieve extended entity
selection option to select these elements in the delete panel and delete them.
2. Use the check elems panel to evaluate the mesh against the quality criteria listed earlier.
In the check elems panel, 2-d sub-panel, set the values for aspect, length and trias: min
angle.
Click aspect.
The header bar reports how many elements fail this check, what percentage of the elements
it is, and what is the maximum aspect ratio found. The elements failing the check are
highlighted in the graphics area.
Click length.
The header bar reports again how the mesh fares against this check.
3. Check the elements against the length check and place them in a user mark.
Click mask.
5. Use the Disp page of the macro menu and select Geom: Off to turn off the geometry.
6. Fill the display to the screen using f on your keyboard.
You can now see the elements that fail the length check.
7. Use the Find Attached macro from the QA page of the macro menu to turn back on one layer of
Altair Engineering
In most cases, to resolve this issue, you can delete these elements and close the gaps by
equivalencing the nodes across the gap with the replace panel.
9. Use F2 to go to the delete panel and delete the elements failing the length check (see figure
above).
10. Use F3 to go to the replace panel and equivalence nodes.
With the node selector next to replace: active, select the node to move.
With the node selector next to with: active, select the node to replace it with.
11. Repeat steps 9 and 10 until all elements failing the length check have been resolved.
12. Use the mask panel (F5) to unmask all.
13. Use the check elems panel (F10) to verify that no more elements fail the length check.
14. Use the check elems panel to check for elements failing the aspect check.
In many cases, elements that fail the length check will also fail the aspect check and vice versa. If
you have elements failing the aspect ratio, use the same technique to delete them and close
open gaps.
15. Use the check elems panel to check for elements failing the min angle check.
At this point, there should be very few elements failing this check with a minimum angle found
close to 20 degrees. We will accept these elements as they are.
Hints
To check the actual values for an element for the various quality checks, simply click
on the element in the check elems panel. A dialog is displayed and disappears the
next time you do a left mouse click. If the element is close to the requirements, it is
often better to accept it as it is.
Altair Engineering
217
To resolve issues with elements failing the min angle check, use the same technique
as described for the length check, or simply delete the elements and re-create some
by hand using the edit element panel from the 2D page.
Notes
It may not always be possible to apply either technique and sometimes you need to
leave some elements as they are. It is all a function of what the minimum angle is.
In general, when all other quality requirements are met, the tetramesher succeeds in
generating tetra elements when the min angle is above 20 degrees. The rate of
success is good with a min angle between 10 and 20 degrees. With a min angle of
less than 10 degrees, it will sometimes fail. With a min angle less than 5 degrees,
there is a good chance it will fail.
In this section we checked the quality of our tria mesh and used some element editing tools to ensure
that the elements would satisfy some quality criteria.
To check for free edges and T-connections:
The next step in the process is to make sure that the elements enclose a volume (no discontinuities in
the mesh representing a volume), and that the elements, in our example, form only one volume.
In this section, use the edges panel to check for free edges in the model as well as T-connections.
While free edges are edges that are not shared between elements and therefore are an indication
that the mesh is discontinuous, T-connections are edges that are shared by more than two elements.
When T-connections exist, it means that multiple volumes may be present.
1. Use the edges panel to check for free edges.
With the entity selector set to comps, pick any tria elements from the graphics region.
The element highlights briefly to signify the component has been selected.
2. Use the disp panel from the permanent menu to turn off all elements except the ones in the
^edges component.
3. Use the Find Attached macro several times to display elements in this region and understand
the situation.
4. Use the Geom: On and Vis opts: 0 options from the Disp page of the macro menu to turn back
on the geometry in the default mode.
Altair Engineering
With the entity selector set to comps, pick any tria elements from the graphics region.
Altair Engineering
219
With the type of entity set to elems, pick one of the elements to delete in the graphics
window.
With the comps selector under floatable trias/quads: active, select one of the tria elements
from the graphics region.
Set the options to generate mesh normally and standard using the corresponding switches.
Click tetmesh.
Notes When defining the trias/quads as floatable, you allow HyperMesh to create underlying
tetras for which the outer faces do not line up with the trias, although using the same
nodes. With the fixed option, the faces of the underlying tetra are forced to match the
tria elements. This leaves less flexibility to create higher quality tetras but is useful
when trying to match tetra meshes between multiple volume.
Several options are available for the creation of the tetras. Refer to the on-line help
for a complete description.
3. Use the disp panel to turn off the display of the trias and the geometry.
4. Use the mask panel to temporarily mask, by window, some of the elements and review the
inside of the model.
Altair Engineering
Tetramesh
5. Delete the components that are no longer needed: trias and lvl2.
6. Use the check elems panel to check the quality of the tetramesh.
For a definition of these checks, see the on-line help for the check elems panel.
Overall, the mesh is of good quality as only a marginal number of elements failed our checks. These
elements could be isolated using the same approach that was used with the tria elements (save
failed, mask panel, Find Attached macro).
In order to improve the quality of tetra elements, you can either remesh clusters of elements using the
remesh sub-panel of the tetramesh panel, or go back to the tria mesh and improve its quality to
obtain better tetra elements.
This concludes this tutorial. You may discard this model, or save it to your working directory for your
own reference.
In this tutorial, the tetrameshing process was presented and followed for a bracket. We experimented
with ways to correct the geometry, create a quality pattern mesh, and correct poor quality elements.
We checked for free edges and T-connections to complete the pre-requisites and we created the tetra
mesh.
For more details on the tetramesh panel, refer to the tutorials Generating 3-D Tetrahedral Elements HM-3210 and Tetrameshing a Volume in a Single Step - HM-3230. If you want to learn more about
geometry cleanup, refer to Fixing Geometry for Meshing - HM-2020. If you more information
regarding checking and improving the quality of 2-D elements, refer to the tutorials Measuring and
Improving 2-D Mesh Quality using a Quality Index - HM-3320 and Troubleshooting 2-D Mesh Quality
Issues Manually - HM-3330.
Altair Engineering
221
Altair Engineering
Altair Engineering
223
Control arm
3. Go to the disp panel to review the component collectors pre-defined in the model.
The mode is organized into several component collectors that have been pre-defined based on the
geometry of the control arm. The initial set of surfaces has been broken down into logical areas to
facilitate the creation of solid elements. The geometry has also been cleaned up based on the various
areas. While this tutorial does not include the steps for dividing up the volume, meshing the various
parts will put into light the reasons for these choices.
In the subsequent sections, we will hex mesh the various parts defined by the component collectors
in this model except for the surfaces component. This last component has also been cleaned up and
broken down into some areas, but will serve as a practice area once the tutorial is completed.
To mesh the neck1 region:
The main difficulty of hex meshing lies in ensuring that groups of solid elements can be joined. While
it is often easy to create hex elements in most areas of a part, the challenge comes from creating the
transition between the various groups and this is what often requires planning.
In this model, cylinder1, cylinder2 and arm are components that, individually, can be meshed fairly
easily. The areas that separate them though, offer some unique challenges in the sense that at the
end, all elements have to match up. This, in turn, affects the way the simpler areas should be
meshed.
In this section, start by creating hex elements in the neck1 volume that represents the transition
between cylinder1 and center_area. Start by creating 2-D elements using the ruled panel, and then
create one layer of solid elements into this volume using the solid map panel.
1. Use the disp panel to turn off all the geometry except the neck1 component.
Observe the geometry available to define this volume. This determines the approach to use. The
bottom area will be common to the solids for neck1 and center_area. This is where these two
portions need to match up and this where you create the 2-D elements.
2. Use the Disp page of the macro menu to set Vis opts: 0.
Altair Engineering
Set the upper entity selector to line list and select one surface edge defining the longer side
of the area (see figure below).
Set the lower entity selector to line list and select the opposite surface edge (see figure
below).
Click create.
Use the density sub-panel of the automeshing secondary panel to adjust edge to a density
of 5 for all edges.
Previewed mesh
Click return to accept this mesh and go back to the ruled panel.
Altair Engineering
225
With the upper selector set to line list, select the two surface edges and one line as shown in
the figure below.
Set the lower selector to node list and select the nodes shown in the figure below.
Click create.
Use the density sub-panel to adjust the density on the lines to 7 elements.
Repeat the steps above for the remaining open area and obtain the mesh described in the
figure below.
Note
It is very important to ensure that only quad elements are created. In the
subsequent steps we will add a dimension to the shell elements to obtain the
hexahedral elements. With this approach, any tria shell elements would produce
penta elements. If the densities mentioned above do not produce only quad
elements, modify them to obtain only quads.
Altair Engineering
Set the entity selector to elems, click elems and select displayed.
Note
This step was required because we meshed this area in multiple steps. You can look for
free edges to verify that the mesh is now continuous.
6. Use the solid map panel to generate one layer of hexa elements in the volume defined by the
neck1 geometry.
In the graphics region, select the 8 lines that enclose the 2-D mesh.
In the graphics region, select the 8 lines that define where the neck ends.
Click mesh.
One layer of solid elements is created in the volume and is placed in a component collector
called solidmap.
Altair Engineering
227
Solid elements
Click equiv/faces.
This equivalences all the elements in the solidmap component and also directly create faces
elements on them in a ^faces component that can be used to generate solid elements in
neighboring volumes. It also automatically turns off the elements in the solidmap component.
In this section we started by creating a 2-D mesh at the boundary between two regions and then used
the solid map panel to fill the neck volume with solid elements. We also generated some face
elements in preparation for meshing the next region.
To mesh the cylinder1 region:
In this section, generate hexahedral elements for the cylinder region attached to the neck that was
meshed in the previous section. Start by creating the solid elements that will attach directly to the
neck using the linear solid panel. Since the linear solid panel requires two sets of elements to build
solids in between, use the project panel to obtain this configuration. Then complete the circular mesh
using the spin panel. Spin face elements around the axis of the cylinder to form solid elements.
Finally add the missing layer of hexa elements at the ends of the cylinder using the solid map panel.
Use the disp panel to turn off all the geometry except the cylinder1 component.
1. Use the project panel to project duplicate elements of the faces elements at the boundary
between the neck and cylinder onto the interior cylinder surface.
In the graphics area, select one element at the center of the faces elements at the boundary
neck/cylinder.
Altair Engineering
Elements by face
Verify that only the elements at the boundary between the two regions have been selected
(see figure above).
With the surf selector active, select the surface defining the interior of the cylinder.
Click project.
With the upper elems selector active, pick one of the elements from the boundary
neck/cylinder as done earlier.
Altair Engineering
229
Click the upper N1 selector to make it active and select up to three nodes to define uniquely
one shell element from the from: set.
Hint
Depending on which element you try to define uniquely, the number of nodes you
will need may be different. For this example, if you select a corner element, the
node located at the "free" corner is not shared with any other element from the
selection, and it alone defines the element. Therefore, in such a case, one
alignment node is sufficient.
Click the lower N1 selector to make it active and select the corresponding nodes from the
corresponding element as alignment nodes.
Set density = to 2.
Click solids.
This generates solid elements and places them in the solidmap component. Since you have
turned this component off in the previous section, the elements do not appear at this time.
4. Use the solid map panel to turn on the solid elements, equivalence them and obtain faces
elements.
Click 3d mesh: on to turn back on the display of the elements in the solidmap component.
Click equiv/faces.
This equivalences the solid elements from the two groups that were created up to this point, and
Altair Engineering
generate faces elements on them that can be used for subsequent operations.
5. Observe closely the elements that were created up to this point for the cylinder region.
The layers at the ends of the cylinder form narrower bands. This is a result from the 2-D mesh we
started from and that was created in an area with round corners. This will affect the result of the
next operation. We choose here not to perform any operation on these elements.
6. Use the spin panel to add layers of elements in the cylinder.
With the elems selector active, pick one of the face elements to spin around the axis of the
cylinder.
Hold the left mouse button down on top of one of the circular lines defining the cylinder.
Click any three locations on the highlighted line for nodes N1, N2, and N3.
With the base selector active, pick the node that was just created.
Use the disp panel to turn back on the display of the elements in the solidmap component.
Observe the elements obtained and how the situation described earlier affected the solid
mesh.
Altair Engineering
231
Click preview equivalence and review the nodes that are highlighted.
Click equivalence.
Verify that the mesh is now continuous and no elements were collapsed. Reject the
equivalence if needed, and use the lower tolerance.
Hint
For larger gaps that were not closed, use the replace panel from the 2D page to
manually equivalence nodes across these gaps. Review the replace panel help for
complete details.
8. Use the solid map panel to add the missing layer of solid elements at both ends of the cylinder.
Select the nodes around the inside of the cylinder from one end (see figure below).
Increment the nodelist using the forward arrow under node path.
Select the nodes on the outside periphery of the cylinder for the same end as a second
nodelist (see image below).
Altair Engineering
Set destination geom: to surf and select the surface at the end of the cylinder.
Select by face the face elements between the node lists as the elems to drag:.
Set density= to 1.
Click mesh.
Click equiv/faces.
Repeat all these steps for the other end of the cylinder.
Altair Engineering
233
10. Use the disp panel to turn on the display of all the geometry and all the elements except the ones
in the ^faces component.
If you do not currently have faces elements created on the solid elements representing
neck2, create them using the equiv/faces function from the solid map panel. This only
works provided the solid elements are part of the solidmap panel.
3. Use the solid map panel to create solid elements in the portion of the arm attached to neck2.
Set source geom: to nodes and select the nodes delineating the end of the neck2 (see
figure below).
Set destination geom: to lines and select the lines that breaks the arm into two volumes
(see figure below).
Set along geom: to lines and select all the side lines that define the path from the source to
the destination.
Altair Engineering
Set density= to 7.
Click mesh.
Click equiv/faces.
235
Completed arm
In this section, you use the solid map panel twice to mesh the arm volume. The volume was broken
down into two regions, and biasing was used for the solid elements in one region to capture the
curvature properly.
To mesh the center area:
The last volume you mesh in this tutorial is the center area that connects the arm and the first neck
that was worked on. This area also connects to the remainder of the model that you can mesh for
additional practice purposes.
To mesh the center area, start by mapping out the solid elements that are involved in the fillets of the
part. Use the solid map panel to achieve this. The geometry of this volume has already been edited
to facilitate this process. Then, use the spline panel to generate a shell mesh in the central portion,
and use the solid map panel to fill the remainder of this volume.
1. Use the disp panel to turn off all the geometry except the center_area component.
2. Use the solid map panel to create solid elements in the fillet areas.
Set source geom: to nodes and select the nodes delineating the elements to map (see
figure below).
Set destination geom: to lines and select the lines that define the end area (see figure
below).
Set along geom: to lines and select the four side lines that define the path from the source
to the destination.
Altair Engineering
Verify intensity= 0.
Select the elements enclosed by the nodes defining the source for elems to drag:.
Click mesh.
Click equiv/faces.
Repeat these steps for the second filet area between the meshed neck1 and the unmeshed
remainder of the model.
Altair Engineering
237
Set source geom: to nodes and select the nodes delineating the elements to map from the
arm component (see figure below).
Set destination geom: to nodes and select the nodes that surround the corresponding
elements from the neck1 component.
Set along geom: to lines and select the four side lines that define the path from the source
to the destination.
Set density= to 7.
Verify intensity= 0.
Select the elements enclosed by the nodes defining the source area for elems to drag:.
Click mesh.
The new elements do not line up completely with the existing elements.
Click equiv/faces to equivalence some of the solid elements in the solidmap component.
HyperMesh may post a message telling how many nodes can be equivalenced for a given
tolerance. Click Yes to accept and continue to click equiv/faces to see if additional elements get
equivalenced as each time you try the tolerance is increased, up to 10% of the element size.
When no more nodes are equivalenced, it means that the distance between nodes that should be
shared, if any remain, is larger than the maximum tolerance.
4. Use the edges panel to equivalence any remaining elements.
If nodes are missing from the selection, increase the tolerance until they are found.
Altair Engineering
Click equivalence.
This equivalences the nodes. Although the elements in the solidmap component were not
displayed (an selected), working with the faces elements that share nodes with them ensured
that solid elements would be fixed as well.
Set the entity selector to nodes and select the nodes on one side of the control arm
surrounding the open area (see figure below).
Hint
Click create.
Use the density sub-panel to adjust the element densities such that they match the neighbor
faces elements (see image below).
As needed, use the type sub-panel to ensure that quad elements are being used to mesh the
area.
Previewed mesh
8. Use the solid map panel to complete the solid mesh in the center_area component.
Altair Engineering
239
Set source geom: to surf and select the surface the elements previously created lay onto.
Set destination geom: to surf and select the corresponding surface on the other side of the
control arm.
Set density= to 5.
Verify intensity= 0.
Select by collector the elements created in the previous step for elems to drag:.
Click mesh.
Click equiv/faces several times as needed to equivalence the solid elements in the
solidmap component.
Completed mesh
9. Use the edges panel to equivalence any nodes that were not equivalenced in the solid map
panel, working with the elements displayed and a tolerance of 0.1.
10. Use the disp panel to turn off all the geometry, and turn off all the elements except the ones in
the solidmap component.
11. Optionally complete the solid mesh for this control arm using similar techniques as the ones
presented in this tutorial.
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, you used the solid map panel in various situations to quickly and effectively create a
hexahedral mesh for a control arm. You especially took advantage of built in functions allowing you to
quickly equivalence nodes and obtain faces elements from the solid elements, limiting the needs
produce shell elements in other panels.
For additional techniques and panels pertaining to the creation of hexahedral elements, refer to the
tutorial Meshing a Part with Hexahedral Elements - HM-3220.
Altair Engineering
Tetramesh a volume
Tetramesh a Volume
The tetramesh panel allows you to fill an enclosed volume with first or second order tetrahedral
elements. A region is considered enclosed if it is entirely bounded by a mesh of tria elements where
each tria has material on one side and open space on the other.
You can specify trias as fixed and floatable. Under most circumstances, select only those trias that
must match up to another pre-existing mesh as fixed. You can also specify various growth options in
order to control the tradeoff between the number of tetras generated and the average and minimum
element qualities. Higher, more aggressive growth rates produce fewer elements, but they may be of
poor quality.
To retrieve the file:
1. Retrieve the file tetmesh.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
Altair Engineering
241
The header bar displays status messages as the elements are created. Clicking and
holding the right mouse button while in the graphics display area, allows you to
cancel the tetramesh operation.
Note:
If the tetramesher fails, the last plate elements to be worked on are highlighted and
placed into a buffer for later retrieval.
Altair Engineering
The header bar relays the message that the minimum tetra collapse is 0.00, a tetra
element that does not occupy a volume. The save failed operation places the bad elements
that show a tetra collapse value less than what is specified in a buffer, allowing the
elements to be retrieved later.
Altair Engineering
243
Altair Engineering
CFD Mesh
The accuracy with which a solution is resolved is directly related to the number of elements in regions
of high solution gradient. In most CFD applications, this is near the surface of the flow and is called
boundary layer behavior. Consequently, the mesh is generated so that it clusters many elements
near the surface. The CFD mesh subpanel utilizes floatable trias which allow you to pack many
layers of high aspect ratio tetras against a surface in order to resolve boundary layer behavior in the
solution.
Using the normal algorithm, if you pack many elements against the surface, many of the elements will
have some very obtuse face angles, which often cause problems for solvers. For the prism layer
algorithm, the tetra elements are generated in prism-shaped groups of three or more in such a way to
prevent large angles from appearing. Arbitrarily, many of these high aspect ratio tetras can be
layered against the surface as needed in order to resolve the boundary layer behavior. They are
generated with very thin initial layers, growing in thickness with an accelerating growth rate until the
layer thickness is the same as the width of the prism, at which point the tetramesher switches to its
normal algorithm to efficiently fill the remaining volume.
To retrieve the file:
1. Retrieve the file sphere.hm file, located in the <install_directory>/tutorials/hm/
directory.
2. Click return to access the main menu.
To switch to performance graphics and display a model in hidden line mode:
1. Select the options panel on the permanent menu.
2. Select the graphics subpanel.
3. Click the toggle after engine: and select performance.
4. Click return to access the main menu.
5. Select the vis panel on the permanent menu.
6. Click the hidden line with mesh lines icon,
Altair Engineering
, the third icon from the left below the all button.
245
7. Click all.
8. Click mesh color and select Black from the pop-up menu.
9. Click return to access the main menu.
To create a new component for the tetra elements:
1. Select the collectors panel on any main menu page.
2. Select the create subpanel.
3. Click name = and enter tetras.
4. Click color and select a color for the new collector from the pop-up window.
5. Click create.
6. Select return to access the main menu.
Note
For this exercise we have created a component collector that does not reference a solver
template. For more information on how to associate a solver to a collector, see the
HyperMesh on-line Help.
Altair Engineering
, the third icon from the left below the all button.
Altair Engineering
247
Altair Engineering
Altair Engineering
249
the base
the first section of the arm, with a constant cross section and curvature
the collar
Upon import, the geometry is automatically organized into four component collectors.
Select all eight surfaces defining the sides of the holes and click delete entity.
Altair Engineering
Surfaces to delete
7. Once the inside bore surfaces are deleted, the pinholes sub-panel from the defeature panel can
be used to eliminate the holes in the top and bottom surfaces.
Cick find.
Click delete.
This removes the holes in the surfaces and places a fixed point at what was previously their
centers, should these locations be needed for subsequent modeling purposes.
Altair Engineering
251
Set the entity selector to surfs, and select the two surfaces defining the top area of the base.
Check the box for reset meshing parameters to:, enter 10 for elem size =, and use the left
most switch to set the element type to quads.
Check that the lower left toggle is set to elements to current comp.
Click mesh to enter the automeshing secondary panel, and select the density sub-panel.
Click mesh to preview the mesh, and click return to accept it.
Altair Engineering
It is very important to ensure that only quad elements are created. In the
subsequent steps we will add a dimension to the shell elements to obtain the
hexahedral elements. With this approach, any tria shell elements would produce
penta elements. If the densities mentioned above do not produce only quad
elements, modify them to obtain only quads.
9. Use the elem offset panel to offset the shell elements 25 units down, creating four layers of
hexahedral elements.
Click offset +.
For additional information on this panel, click help on the permanent menu.
Altair Engineering
253
Click mask.
Altair Engineering
Hold the left mouse button down and place the mouse cursor on top of one of the circular
lines defining the arm. The line is highlighted and the mouse cursor changes to a box and a
dot. Release the left mouse button.
With the line highlighted, click the line at three different locations. With each click, a
temporary node for N1, N2, and N3 is created.
Click circle center. This generates the center of the circle of which the line is an arc.
Altair Engineering
255
Select the L-shaped surface and click select. The elements are highlighted and HyperMesh
takes you back to the spin panel.
Set the direction selector to the x-axis, and with the base selector active, select the circle
center that was created in the previous step.
Click spin-.
This spins the shell elements in the negative x direction (defined by the right hand rule), and
generates the hexahedral elements.
For example, the linear solid panel can effectively mesh this segment. However, two corresponding
plate meshes are required, one on the end of the existing arm mesh, and one on the corresponding
Altair Engineering
curved surfaces of the collar. Furthermore, these two meshes must be similar in that they must
contain the same number of elements, and for each element of one set, an element of the same type
must exist in the other set.
The panel will then map each element to its counterpart, creating solid elements in between. Using
this approach, we can easily capture the features of the end of the arm with the 2D mesh, and then
simply create solid elements in between the shells.
1. Use the disp panel to turn off all the geometry except the lvl3 component.
2. Use the global panel to set the current component collector to lvl3.
The plate elements for the end shared with the first arm segment can be obtained by creating
faces on the hexahedral elements in the lvl2 component.
3. Use the faces panel to obtain the free faces.
With the entity selector set to comps, select any one element from the first portion of the
arm. The element is temporarily highlighted, signifying that the component has been
selected.
4. Use the disp panel to turn off the display of the elements in the lvl2 component and review the
elements that were created in the ^faces component. Set the graphics engine to performance
graphics to shade the elements as needed.
Note
A free face is a face of an element that is not shared with any other element. The
faces panel finds the free faces of solid elements The tolerance = field does not apply
to the free face creation process, and therefore was not needed in the previous steps.
For more information about this panel, click help.
5. The surfaces shared with the collar are in the lvl3 component. Select these surfaces from that
component and mesh them, adjusting the densities to obtain a mesh that closely resembles the
one on the end face of the first arm segment.
Pick the three surfaces to mesh and leave all other settings that were used to mesh the base
unchanged. Click mesh.
Use the density sub-panel of the automeshing secondary panel to set the densities of the
various edges to values that match the number of elements at the end of the first portion of
the arm (see figure below).
Warning
The two sets of elements must be "similar" meshes. For the mapping function
to work, both sets must have the same number and type of elements (i.e. one
quad can only be mapped to one quad).
Click mesh to preview the mesh and click return to accept it.
Altair Engineering
257
With the upper elems selector active, pick one face element representing the end of the first
portion of the arm. This element is now highlighted.
Click elems and select by face. This highlights the remaining elements defining the set of
elements the linear solid function will start from to build the layers of solid elements.
Note
Although more free face elements than needed were created earlier, using the
extended entity selection tools allows you to quickly and easily limit your selection
to the desired entities. In this case, we take advantage of the fact that all the
elements of interest do belong to the same side of the arm or face.
Pick one shell element previously created and representing the end of the second portion of
the arm, click elems again, and select by attached. This highlights all the elements to which
the function will map the first set.
Select nodes as alignment: nodes to define which element in the from: group will be
mapped to which element in the to: group.
Click the upper N1 selector to make it active and select up to three nodes to define uniquely
one shell element from the from: set.
Hint
Depending on which element you try to define uniquely, the number of nodes you
will need may be different. For this example, if you select a corner element, the
node located at the "free" corner is not shared with any other element from the
selection, and it alone defines the element. Therefore, in this case, one alignment
Altair Engineering
node is sufficient.
Click the lower N1 selector to make it active and select the corresponding nodes from the
corresponding element as alignment nodes.
Note
If you have difficulties with this selection, click help and review the first How do I of
the panel help for an example.
Set the toggle to distribute layers, and enter 12 for density = field.
This is the number of layers of solid elements that will be created between the two sets of
shell elements. Do not add any biasing as the layers should all have the same thickness.
Altair Engineering
259
The main characteristic of the end of the arm is that the thickness of the various layers of elements is
not constant. Mesh the collar using the linear solid panel, but this time, specify the location of each
layer when building the solid layers.
Start by meshing the bottom side surfaces, then offsetting a copy of those plate elements to the top
so that two sets of elements are available to use in the linear solid panel.
1. Turn off the display of all geometry and elements except component lvl4.
2. Set the current component collector to lvl4.
3. Select and mesh the four surfaces comprising the bottom face of the collar.
Adjust the densities such that four elements are generated across the two smaller surfaces.
These must match the number of elements already created on the arm. Make sure the number of
elements on the inside and outside circular edges match. This will result in a regular, orthogonal
mesh.
Select the four surfaces defining the bottom face of the collar, and, leaving all other settings
unchanged, click mesh.
Using the density sub-panel, adjust the densities according to the image below.
Click mesh to preview the mesh, and click return to accept it.
Altair Engineering
Click elems, click duplicate, and select original comp as the component in which the
duplicated elements need to be stored.
Use the F4 function key on your keyboard to go to the distance panel and select the two
points sub-panel.
Pick two fixed points defining the height of the collar. The distance = field displays the
distance between them.
Click the field next to distance = to highlight it, press CTRL+C on your keyboard to copy the
value to the clipboard.
Click the field next to magnitude = to highlight it, and use CTRL+V to paste the value of the
distance.
Click translate + to translate (in the positive x direction) the duplicated elements to the other
side of the collar.
Altair Engineering
261
Select the two groups of elements and their corresponding alignment nodes.
With the node list selector active, select nodes to define the exact location of the solid
element layers, as indicated in the figure below.
A total of 12 nodes should be selected, starting at the collar mesh, then using all of the nodes
along the edge of the lvl3 component, ending with a node on the collar.
Altair Engineering
Completed mesh
Altair Engineering
263
This completes the mesh on this part where the approach was dictated by the state of the solid mesh
representing the second portion of the arm. Next, delete all of the plate elements, and equivalence
any coincident nodes to ensure continuity of the solid mesh.
To clean up the model and check continuity of the mesh:
All that remains is to delete the shell elements that were created for the sole purpose of generating
the hexahedral elements.
Since the various groups of solid elements were created individually and using different tools, these
groups may not be attached to one another to form a continuous mesh. To identify and fix any
discontinuity in the mesh, use the faces panel once all the shell elements have been deleted.
1. Turn on all the geometry and elements.
2. From the Tool page select the delete panel to delete all lines, surfs, and quad4 elements
Hint
3. Use the vis panel in performance graphics mode to set the display of all elements to transparent.
4. Use the faces panel to identify and eliminate any coincident nodes.
Review the nodes that are highlighted and click equivalence to equivalence them.
Note
Always stay within 10%-20% of your target element size for the tolerance and make
sure to preview before equivalencing nodes.
The number of nodes found is directly dependent on the value that was used for the
tolerance (the maximum distance between two nodes for them to be considered
coincident). After equivalencing coincident nodes, the hidden line panel can be
used to review the remaining free faces in the model and check that all the nodes
that needed to be equivalenced were indeed found and equivalenced.
5. Turn off the display of all elements except the ones in the ^faces component.
6. Use the hidden line panel to verify that the mesh is continuous by looking at the free faces of the
solid mesh. A free face is not shared between elements and can indicate a discontinuity in a
mesh.
Select the cutting function and select both the yz plane and trim plane options.
Click on the cutting plane and drag it through the model to verify that no face elements exist
inside of the outer boundaries of the model.
Note
A free face existing within the boundaries of the model would indicate that this face
Altair Engineering
Cutting plane
The completed mesh on this model should look like this:
Completed mesh
Altair Engineering
265
This concludes this tutorial. You may discard this model, or save it to your working directory for your
own reference.
In this tutorial, some basic hexahedral meshing techniques were introduced. For some situations,
these alone may not be sufficient. One of the common challenges with hexahedral meshing comes
from the ability to conform the generated mesh to the geometry. The use of the morphing capabilities
(HyperMorph) available in HyperMesh, along with the solid meshing tools, will provide, in many
cases, answers to these problems. You can familiarize yourself with morphing and HyperMorph by
reviewing the corresponding section from the HyperMesh Users Guide, or by reviewing the tutorial,
Getting Started with HyperMorph - HM-3500.
Another common challenge is the complexity of the geometry that may make it virtually impossible to
manually generate hexahedral elements. Reverting back to tetrahedral elements is sometimes the
only solution and for this type of situation, HyperMesh provides an automatic volume tetramesher. For
tetrahedral meshing techniques, refer to the on-line help and the tutorials, Generating 3-D Tetrahedral
Elements - HM-3210, Tetrameshing a Volume in a Single Step - HM-3230, and Creating a Tria Mesh
for Tetrameshing - HM-3190.
Altair Engineering
Housing model
To cleanup the geometry for tetrameshing:
Geometry cleanup for generating a tetrahedral mesh takes a slightly different approach than cleanup
for surface meshing. The primary objective is to first create a completely enclosed volume of
surfaces, then suppress any unnecessary features that might force the generation of less than
optimum elements.
Altair Engineering
If you are not familiar with the topology display of surface edges, review the topic
HyperMesh Geometry Terminology from the on line help.
4. Restore view1 using the view panel from the permanent menu.
Observe how the edges, shown in the figure below, if left unsuppressed, would result in narrow
sliver elements or elements with a high aspect ratio.
With the line selector active, suppress the edges shown in the figure above.
Make sure that you suppress all similar instances of these edges around the outside of the part.
6. Spend a few minutes identifying and suppressing other unnecessary features.
There are no hard and fast rules defining what should or should not be suppressed. You want to
minimize thin, narrow surfaces or surfaces that would otherwise force the formation of small or
narrow tria elements.
For this model, use for example an element size of 8 units, and identify features for which the
dimensions would be less than 8 units using for example the distance panel from the Geom
page.
Altair Engineering
See the figure below for one example of edges that can be suppressed.
With the surf selector active, select one of the surfaces in the model.
Leave the boxes for use proximity and use curvature unchecked for now.
Altair Engineering
Set the two right switches to generate mesh normally and standard.
Use the Disp page of the macro menu to set Gfx: Per.
This shades the elements.
Initial tetramesh
The volume tetramesher creates two components whenever it is used. One is for the shell mesh,
and the other is for the tetramesh. When new components are created in HyperMesh, they
default to having the wireframe display mode. Using the macro changes their setting to use
shaded with mesh lines.
If you wish, you can go to the disp panel to review the components that were created by the
volume tetramesher.
Take a moment to inspect the mesh pattern that the volume tetramesher created.
Next, explore the results when the 2D element type is changed.
Click reject.
The mesh, along with the components that were created, should be deleted.
3. Repeat step 2, setting 2D: to R-trias this time, and leaving all other options unchanged.
Notice how using right angle triangular elements produces different mesh patterns.
4. Set 2D: back to trias, and tetra mesh the model using curvature.
Altair Engineering
Click reject.
Explore the effect of min elem size = 2.0 and elem feature ang = 30.
Try min elem size = 3.0 and elem feature ang = 20.
Check the box for use curvature and set min elem size = 3.0 and elem feature ang = 30.
Compare the resulting mesh (see figure below) to the one obtained earlier when using the use
curvature option alone (see previous figure above)
Altair Engineering
Other options on this sub-panel allow some degree of control over the speed or quality
optimization and growth rate (internal element size). The growth rate options are:
Standard
Aggressive
Gradual
Interpolate
User controlled
User specified values for growth rate and initial layer thickness.
In this section, we experimented with some of the options available in the volume tetra sub-panel. We
saw how some of the options with the volume tetramesh function have been optimized to enable you
to quickly and easily create a good quality tetrahedral element mesh that accurately represents the
geometry of the model.
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, we introduced the volume tetramesher available in HyperMesh. We did not cover the
standard tetramesher, which requires as input a surface mesh of tria or quad elements, then provides
you with a number of options to control the resulting tetrahedral mesh. This provides a great deal of
control over the tetrahedral mesh, and provides the means to generate a tetrahedral mesh for even
the most complex models.
However, the quality of the resulting tetrahedral mesh is directly dependent on the quality and size of
the surface mesh it starts with. Thus, the majority of the time spent in creating a tetra mesh is taken
up with cleaning geometry and creating the surface mesh to make sure it is of good quality. While this
method takes more effort that the volume tetra meshing method, the advantage is increased control
over the meshing process.
For more information on the standard tetramesher, refer to the tutorials Creating a Tria Mesh for
Tetrameshing - HM-3190, and Generating 3-D Tetrahedral Elements - HM-3210. These two tutorials
also address tetrahedral element quality and re-meshing.
Altair Engineering
Altair Engineering
Altair Engineering
entities that are not written to the deck on the user mark. This situation occurs if there is no definition
for the entitys configuration and type in the specified template.
1. Click save failed.
2. Click return.
To view the saved failed elements only:
1. Select the mask panel from the Tool page.
2. Select the mask subpanel.
3. Click the input collector switch and select elems.
4. Click elems and select retrieve from the extended entity selection menu.
The failed elements are highlighted.
5. Click elems and select reverse from the extended entity selection menu.
6. Click mask.
Only the failed elements are displayed. This function may be necessary when you are working
with a large number of elements.
7. Click return.
Altair Engineering
3. Click elems and select displayed on the extended entity selection menu.
4. Click find edges.
5. Click return.
To view the edges only:
The edges created are 1-D elements. To view them alone, turn off the display of the other elements.
1. Select the display panel on the permanent menu.
2. Click the upper input collector switch and select comps.
3. Click the toggle and select elems.
4. Click none.
5. Click ^edges.
6. Click return.
To validate the free edges, analyze them with respect to the geometry of the model. If there are
invalid free edges, it means there are duplicate nodes that need to be equivalenced. The model
in the graphics area contains an invalid free edge:
Altair Engineering
Altair Engineering
Altair Engineering
The model contains 12 component collectors. One contains all the surfaces and the others
contain the solids as well as the shell elements that have been used to generate them.
The part was meshed at different times using various panels such as linear solid, line drag, and
drag, and the elements were deliberately organized in separate collectors. Using different tools to
create the mesh has opened the door for potential issues. This tutorial details these issues and
the procedure that can be followed in HyperMesh to correct them. Some of the potential issues
are
Duplicate elements
standard mode for visual display of the elements that fail the specific check
assign plot mode for a color coded display of the element quality
While the standard mode provides a pass/fail display, the assign plot mode allows you to visualize
the actual quality of the elements based on a color code and a legend, or basically, how good or bad
the elements are. The legend is divided into a number of color bands based on the minimum and
maximum values found in the model for the quality criteria against which the mesh is evaluated.
Altair Engineering
1. In the 3-d sub-panel of the check elems panel, set the default value for the jacobian to 0.7.
Using the same method, you can set any other parameters based on the values defined above.
For the purpose of this tutorial, the mesh will be checked against only the jacobian.
2. Check the mesh against the jacobian in standard mode.
Click jacobian.
The elements that have a jacobian less than 0.7 are highlighted in the graphics region. The
header bar displays the total number and percentage of elements failing that criterion, and in this
case, the minimum value found. Similarly, you can check the mesh against other quality criteria.
For the purpose of this tutorial, the quality of this mesh will be considered acceptable.
Altair Engineering
To review the actual values for the quality parameter for any element, click the element in
the graphics window. A small window pops up with all the values. To close the window
click anywhere on the screen.
Note
For different types of solid elements, the quality checks of importance will be different.
For tetra elements, the quality checks that matter most are usually tet collapse, vol
skew, and tetra AR. For a complete description of these checks and all other checks
available in the check elems panel, refer to the on-line help.
In this section, the check elems panel was used to check the quality of the solid elements against a
jacobian of 0.7. You have also experimented with some methods of visualizing the failed elements.
To isolate the elements failing a quality check:
There are many situations in which it is not possible to view elements that fail a quality criterion in the
check elems panel. For example, when the elements are too small to be easily identified, when you
work with solid elements in shaded mode, or when there are too many elements in the model.
Therefore, it is often useful to isolate and limit the graphical display to elements that fail a specific
check. This helps to identify them, and this is also useful in preparation for any other function aimed
at improving the quality of these elements.
In this section, use the save failed function from the check elems panel to put the elements that fail
a check onto a user mark. Then use the mask panel from the Tool page to turn off all the elements
except the ones that failed the check.
1. In the check elems panel, check the jacobian, and save failed elements.
Click jacobian.
Click save failed to put the elements that failed onto a user mark.
2. Use the mask panel to retrieve the failed elements and mask all other elements.
282 HyperMesh 7.0 Tutorials HM-3310
Proprietary Information of Altair Engineering
Altair Engineering
Click mask.
Only the elements that failed the check are now displayed.
Note
Elements saved on a user mark can be retrieved in any other panel (i.e. for element editing,
deletion, etc.), any number of times, until another selection replaces them on the user mark
or the elements are deleted.
Hint
The find panel from the Tool page has a find attached (fe) sub-panel that can be used to
find the layers of elements attached to the ones displayed. This helps locate the failed
elements as well as providing additional elements to work with, for example in trying to
improve quality.
The Find Attached macro from the QA page of the macro menu automatically finds the
elements attached to the elements displayed on the screen
In this section, you learned how to place elements that failed a check in the check elems panel onto
a user mark for later retrieval. These elements in the mask panel were retrieved for the purpose of
limiting the display to only these elements.
Altair Engineering
Altair Engineering
Click mask.
Duplicate elements
5. Use the delete panel to delete the displayed elements.
6. Press the F5 function key to go to the mask panel and click unmask all.
Note
If the goal is to simply delete the duplicates, go from the check elems panel directly to
the delete panel and retrieve the elements on the user mark to delete them.
In this section, you learned how to check for duplicates in the model using the check elems panel,
and save them to a user mark. Then you visually reviewed the elements on the mark using the mask
panel before deleting them in the delete panel.
To detect and remove shell elements:
Since solid elements are often generated from shell elements in HyperMesh, shell elements are often
only needed for construction purposes. While some specific applications and analyses call for a skin
of shell elements on the outside of a solid mesh, in most cases, it is not desirable to have shell
elements mixed with the solid mesh, and therefore you must delete them. It is a common mistake to
forget these construction shell elements in the model when trying to run an analysis.
Check for and delete any shell elements in the model. Similar to the previous section, you can first
mask all elements other than the ones of review interest, and then delete the shell elements, or
simply go to the delete panel directly and remove the shell elements. Both methods use the same
function: selection of elements by config.
1. Use the mask panel to mask the elements by config with the configuration hex8.
Altair Engineering
Verify that the toggle is set to displayed and click select entities.
Click mask.
This removes all the 8-noded hexahedral elements from the display.
If you do not want to isolate the shell elements first, and simply want to delete them, go to the
delete panel directly and select the shell elements by config.
Repeat the selection by config as many times as required to specify all the configurations of
all the elements to select. As you specify more configurations, new elements will be added to
the user mark.
Configurations for shell elements are quad4 and tria3 (first order), and quad8 and tria6
(second order).
In this section you learned how to select elements by configuration for the purpose of masking and
deleting them.
To correct discontinuities by equivalencing nodes:
Mesh continuity is another important aspect in obtaining a final mesh. Meshing an entire part or
multiple parts in a single step is typically a difficult task if quality and uniformity of the mesh is a major
concern. In most cases, the mesh is built in multiple steps using various tools and techniques, which
often results in elements that are not connected to neighboring elements.
To achieve continuity for the mesh, nodes of neighboring elements that are not yet connected can be
merged together by equivalencing them. In this section, use the faces panel from the Tool page to
equivalence nodes within a given tolerance.
The tolerance value determines how far apart two nodes can be to still get equivalenced. To avoid
equivalencing nodes that should not be equivalenced and potentially collapsing the element, the
tolerance you set in the faces panel should not exceed 10% to 20% of your element size.
Altair Engineering
1. Use the vis panel from the permanent menu to make all the elements in the model transparent.
The preview equivalence function of the faces panel lets you preview the nodes to be
equivalenced and working in transparent mode allows you see them inside the solid.
2. Use the faces panel to equivalence nodes in the model with a tolerance of 0.01.
Preview equivalence
Warning
You can see a large block of nodes highlighted. When a low tolerance is used,
this is often an indication that coincident elements are present in the model as for
some of the elements, all the nodes seem highlighted.
If a high tolerance had been used, this could be an indication that too many
nodes were found and elements could get distorted.
Click equivalence.
After performing a node equivalencing operation like this, it is recommended that you check for
duplicate elements in the model. Any coincident elements in the model will most likely share their
nodes after equivalencing, regardless of the tolerance specified. (Coincident elements are
identical elements that do not share nodes although they are located at the same position in
space.)
3. Use the check elems panel to check for and save failed any duplicates in the model.
4. As needed, use the delete panel to retrieve and delete the duplicate elements placed on the
Altair Engineering
Equivalencing nodes and then deleting duplicates is the most effective method for
removing coincident elements.
Using an element creation panel twice without realizing elements were already generated the
first time around.
Using the duplicate function from the extended entity selection window without completing
the function of the panel on the new set of elements (i.e. translate, rotate, etc.).
Nodes were equivalenced based on the tolerance you specified. It does not mean that all the
nodes that should have been equivalenced to achieve continuity of the mesh were in fact
equivalenced in this operation.
You can repeat the approach used in step 2 for higher values of the tolerance to see if additional
nodes can be found. Stay within 10%-20% of the element size for the tolerance, or use the check
elems panel to determine the smallest element edge length in the model and use a tolerance
that stays well below this value.
5. Repeat step 2 above with tolerance values of 0.1, 0.5 and 1.0.
Additional nodes are detected and equivalenced.
In this section, you used the faces panel to preview and equivalence nodes that fall within a tolerance
you specified. You also used the check elems panel to identify any duplicates that were created from
equivalencing nodes between coincident elements.
Although you repeated the equivalencing function for various reasonable values for the tolerance,
there is limited confidence that all the nodes that needed to be equivalenced to achieve continuity
were actually equivalenced.
To specify which nodes are retained when equivalencing:
Discontinuities still exist on the front face of the model between the elements of collector four and
seven as shown in the figure below.
Altair Engineering
Altair Engineering
Click reject.
Click equivalence.
In this example, you were able to take advantage of the fact that all the nodes on one side of
the gap had ID numbers that were higher than the ID numbers of all the nodes on the other
side of the gap. This could be anticipated because the two groups of nodes (elements) were
created at separate times.
Altair Engineering
In situations where the node ID numbers are not assigned in such a convenient manner,
manual editing is also available to close the gap. This will be discussed in a subsequent
section.
In this section, you learned how to use the edges panel to equivalence nodes according to userdefined specification for the location of the shared node as well as the ID number to retain.
To verify continuity using free faces:
Despite equivalencing nodes with an increased tolerance, you still cannot be sure the mesh is now
continuous. To verify the continuity of a solid mesh, HyperMesh offers a visual tool based on free
faces in the solid mesh.
While the faces panel allows you to equivalence nodes that fall within a specified tolerance, it is also
used to build shell elements on the free faces of solid elements. A free face is a face of a solid
element that is not shared with any other element. For a solid mesh, it is continuous when the only
free faces that are generated are located on the outside of the mesh, forming a skin enclosing the
single volume defined by the part or set of parts. Any free face located inside the volume would
indicate that there is still some discontinuity in the mesh.
Once the free faces are generated in the faces panel, use the hidden line panel to cut through the
faces element and visually inspect the inside of the outer shell for free faces. Verifying that the only
free faces are the faces defining the outside boundaries of a volume and that they form a unique
enclosed volume, guarantees that the mesh is continuous.
1. Use the faces panel to find faces for all elements in the model.
2. Use the disp panel to turn off all the elements except the ones in the ^faces component.
Altair Engineering
Free faces
3. Shade the elements setting Gfx: Per on the Disp page of the macro menu.
4. Use the hidden line panel to look for interior free faces.
Use the reverse option on the same line as the plane selected to see the other side of the
faces model as needed.
Drag the cutting plane through the model along the z direction to verify that no face elements
exist inside of the outer boundaries of the model.
Use the reset planes option to reset the plane to the mid-section as needed.
Some free faces within the outer skin of shell elements can be observed (see figure below) and
this is an indication that the mesh is still not continuous at this last location.
Altair Engineering
With the node selector next to replace: active, select the node to be moved.
With the node selector next to with: active, select the node where the previous node needs
to be moved and merged.
Repeat these two steps for any other pair of nodes to equivalence to close the gap.
Altair Engineering
Replacing nodes
3. Repeat the steps from the previous section using the faces and hidden line panels to verify that
the mesh is now continuous.
4. Delete the ^faces component using the delete faces function from the faces panel.
The shell elements are removed as well as the component that was created to store them.
5. Use the disp panel to turn back on all the elements.
Warning
When using replace, make sure the result obtained is as desired; if it is not, immediately
reject the operation.
When you want to equivalence nodes, always check the equivalence option otherwise,
the node moves to the new location but does not combine with the other node.
Note
If the at mid point option is selected, the two selected nodes are equivalenced at a
position equidistant from their present location.
In this section, you learned how to close gaps in the mesh using the replace panel. You also verified
that the mesh was finally continuous.
This concludes this tutorial. You may discard this model, or save it to your working directory for your
own reference.
In this tutorial some of the common basic techniques for quality checking have been introduced. The
common challenge you face when meshing is continuity of the mesh and you have learned some
methods to eliminate this problem.
Displaying only the elements failing quality checks and finding the attached elements is also a very
useful approach when trying to correct elements. For example, for tetrahedral elements you can use
the tetra remesh function on these elements along with a couple of layers of surrounding elements to
try to improve their quality. For more details on this specific method, review the tutorial, Generating 3D Tetrahedral Elements - HM-3210.
In many situations, the quality of the 3-D elements is directly dependent on the quality of the 2-D
elements that were used to generate them and it is sometimes necessary to go back to the 2-D mesh
in order to improve the 3-D mesh. For more information on how to check and improve the quality of 2D elements, review the tutorials from the Quality section of the HyperMesh tutorials.
Altair Engineering
Bracket model
Altair Engineering
Criteria table
In this panel, several QI values are computed: one for each element (not reported), one for each
criterion turned on, and the compound QI value that represents the overall quality of the 2-D elements
displayed. Refer to the on-line help for the formulas used to compute these quantities. The compound
quality index is the summation of all the element quality indexes, and also the summation of all the
criteria quality indexes.
To facilitate visual review of their quality, elements are displayed in the graphics region based on their
individual element QI value, which is also based on selected criteria and their corresponding weight
factors and penalty values. With the default colors, elements with a QI value over 10 are in the worst
category and displayed in red. Elements with a QI value between 1 and 10 are in the fail category and
displayed in yellow. Elements with a QI value between 0.8 and 1 are displayed in cyan and fall in the
warn category, and elements with a QI value less than 0.8 are displayed in the background color
(black) and considered good or ideal.
Note:
A quality index value is a relative value that is completely dependent on the quality criteria
you use. The lower the quality index, the closer your mesh is to the quality criteria you
defined.
The qualityindex panel has two modes: criteria and results, which are accessed using a toggle.
In the criteria mode you can:
Altair Engineering
In the results mode, you can review the results for the different quality criteria you selected, such as:
In both modes, additional options are available: view, edit, and optimize. While the view setting
does not provide any additional options, both the edit and optimize settings provide additional
options for editing the mesh and improving its quality. These options will be discussed later in the
tutorial.
In this section, some of the concepts that govern the qualityindex panel were introduced. For
complete details on this panel, refer to the Panels section of the on-line help, or click help while in a
panel to display its context-sensitive help.
To evaluate the quality of the mesh:
In this section, use the qualityindex panel to evaluate the quality of the mesh on the bracket. While
you could manually define the criteria used to evaluate the mesh in the criteria mode, instead, load a
pre-defined criteria file to set the values for the criteria of interest. Visually inspect the quality of the
mesh based on the color-coding of the elements, and turn to the results mode to access a
quantitative report.
1. From the 2D page, go to the qualityindex panel.
By default, the setting is view for a simple review of the element quality. Elements are colorcoded based on the values currently defined for the quality criteria, the weight factors and the
penalty values, under the criteria mode that are used to compute individual element QI values.
2. Use pg3 of the criteria mode to load the criteria file quality_index.criteria from the
<install_directory>/tutorials/hm directory.
Use the page browser from the upper left corner of the panel to go to pg3.
Click load on the criteria file: line and browse for the file quality_index.criteria.
Altair Engineering
Click Open.
The quality criteria defined in the file are automatically loaded and elements in the graphics
area are color-coded based on their element QI values.
To determine which quality check a specific element fails (fail or worst category) turn
on each criterion separately (one at a time).
Note:
Elements are color-coded based on their QI values. The color-coding does not
necessarily capture the outcome for each specific quality check, but it shows how
elements fare against the entire set of criteria that are selected.
In the end, elements displayed in red and yellow are elements for which the overall
quality (defined by the criteria turned on) does not meet the requirements. Elements
displayed in cyan are simply acceptable.
4. Change the mode to results using the toggle and review the two pages of results.
The fail column lists the fail values set in the criteria mode for easy reference. The %fail column
lists the percentage of element displayed that failed the given criteria, and the worst column lists
the worst value found for the corresponding criteria.
Altair Engineering
You can also review criteria QI values as they are listed in the Q.I. column. In this case, you will
notice that the jacobian quality check is the biggest contributor to the compound quality index.
Maximum angle tria has the smallest contribution, and would not warrant much attention when
trying to decrease the compound quality index for a mesh.
5. Write down the values for comp.Q.I. and # of failed =.
Although these values are relative, they indicate how the mesh does against the set criteria. As
you improve the quality of the mesh later in this tutorial, both numbers will decrease.
In this section, you used the qualityindex panel to review the quality of the mesh based on quality
criteria you set when loading the criteria file.
To save and review criteria files:
Various finite element applications call for different quality criteria and often, various meshed parts in
the same model must meet different criteria. In such situations, the values assigned to the various
quality criteria need to be changed in the qualityindex panel to match the new requirements for each
mesh. While this can be done manually each time, HyperMesh allows you to limit this editing to a
one-time operation by saving values set for the various quality checks in the criteria mode of the
qualityindex panel to a text file. The criteria file you used earlier in this tutorial has been prepared in
a similar manner.
In this section, change the values for some of the criteria in the qualityindex panel and save the
quality criteria to a new file, starting your own library of criteria files. With a pre-defined set of criteria
files you can then easily load the various criteria files for different applications.
1. In the qualityindex panel, criteria mode, update the quality criteria listed to the values specified
in the table below:
Criterion:
Good value:
Fail value:
min length
5.5
3.5
120
140
60
40
Notice how various elements change color as you modify the criteria.
Note:
The element size elem size value used in the min size and max length checks is
the target element size set in the global panel. This value can also be set by loading
a criteria file.
The warn and worst values are set automatically from the good and fail values
when you update the latter ones in the qualityindex panel. To set the warn and
worst values to specific numbers, load the criteria file in which they are defined.
Similarly, the ideal values can be defined in a criteria file when they cannot be
changed in the qualityindex panel itself.
Warning:
When modifying criteria values, HyperMesh may reject some of the values you insert
as there needs to be a logical progression in values. For example, the fail value for
the min size check cannot be larger than the good value, so before increasing this
fail value, you may need to first increase the good value.
2. Use pg3 of the criteria mode to save a criteria file as quality_index_2.criteria to your
working directory.
3. Use any text editor to review the content of this text file.
Altair Engineering
You can edit this file to change values or simply create additional criteria files.
Criteria file
4. Use the results mode of the qualityindex panel to review the comp.Q.I. = and # of failed =
values and compare them to the values found for the criteria file loaded earlier.
Both values have changed. The criterion on the minimum element size was tightened, while those
on the minimum and maximum quad angles were loosened. The result is a slight decrease in the
compound quality index value and a change in the number, and probably the actual elements,
that fail our criteria.
In this section you experimented with changing values for the criteria in the qualityindex panel. You
reviewed how these changes affected the results for the mesh and the color-coding of elements, and
exported a criteria file for the new criteria.
To improve element quality using the edit functions:
The edit tool in the qualityindex panel allows you to improve the quality of elements by letting you
move nodes interactively and swap element edges.
The place node function allows you move nodes manually on their surface while the color-coding of
the elements sharing the node (indicating changes to their quality) is updated in real time. The swap
edge function lets you swap the common edge between two elements to use different nodes, creating
a new configuration that is automatically evaluated against the quality criteria and color-coding.
In this section, experiment with both functions from the edit tool to improve some of the elements
failing the quality criteria defined in the quality_index.criteria file.
1. In the criteria mode of the qualityindex panel, load the criteria file quality_index.criteria
from the <install_directory>/tutorials/hm directory.
2. In the qualityindex panel, use the right switch to select the edit tool.
3. Set the mode to results so that the effect of using the edit tools on the compound quality index
value and the number of elements that fail can be observed.
4. Use the view panel from the permanent menu to restore View1.
5. Use the place node function to drag the nodes shown in the figure below such that all the
elements that share them fall in the good range.
Altair Engineering
Nodes to move
Observe how the compound quality index value and the number of elements that fail both
decrease as you fix this area of the mesh. The final mesh in this area should look similar to this:
Improved mesh
As you drag nodes, observe how the values for the results listed in the last columns of the results
mode temporarily change to report the local effect of moving the nodes. The comp.Q.I. shows the
compound quality index for these elements affected by the node being dragged (this helps in
finding an optimal position); # of quads lists the number of quad elements that share the current
node; similarly # of trias shows how many trias use this node, and # of failed tells you how many
of the elements involved in the current operation still fail the quality criteria.
Note
The place node function lets you move the node only on an inferred surface and not
beyond its edges.
Use the undo function at any time to undo the changes you have made to the mesh.
Altair Engineering
Edge to swap
The common edge is changed (connectivity change) and produces two new elements from the
nodes involved.
When using the swap edge function, the edge selected is re-positioned in the next
possible way between the two elements. A single pick on the edge may or may not
improve the quality, or produce the best improvement. Pick the edge again if the quality
deteriorates. HyperMesh repositions the edge in all possible ways between the two
elements in a cyclic process.
8. Use the swap edge function again between the pair of elements produced and cycle through all
the pairs of elements possible by working with this common edge to select the one configuration
that yields the lowest compound quality index.
The configuration described in the figure above produces the lowest QI value.
9. Use any combination of the place node and swap edge functions to ensure that all the elements
in this area satisfy the quality criteria (see figure below for an example).
Altair Engineering
Improved area
In this section, you used the edit tool and its various functions to manually and interactively
improve one local area of the mesh. As you placed nodes and swap edges, you also monitored
changes to the compound quality index to measure how this number decreases as the quality of
the elements improves.
To improve element quality using the optimize functions:
The optimize tool offers semi-automatic quality correction functions. The node optimize function
finds the optimum position for the node you select so that the quality index for the elements sharing
this node is lowest. With the element optimize function, the same goal is sought; although
HyperMesh works with all the nodes involved in this element at the same time, affecting a larger area.
In this section, experiment with both functions from the optimize tool to improve the quality of the
mesh in some local areas.
1. In the qualityindex panel, set the right switch to optimize and verify the mode is set to results.
In this mode you can monitor how changes are bringing the quality indexes down and improve
the quality of the mesh.
2. Use the view panel to restore view3.
Altair Engineering
Elements to optimize
3. Use the element optimize function to improve the quality of the elements in this area.
Observe changes to the compound quality index value as you use this function.
Note:
You may need to select multiple elements (not just the failing elements) multiple
times to obtain the best possible quality as each operation only considers the
element you select and the elements with which it shares nodes.
Improved mesh
4. Use the view panel to restore view4.
Altair Engineering
Nodes to optimize
5. Use the node optimize function to improve the quality of the elements failing the checks.
Observe changes to the quality index value as you optimize the location of various nodes. You
should finish with a mesh similar to this:
Resulting mesh
6. Correct any remaining bad elements by using one of the previously mentioned functions such as
element optimize.
Altair Engineering
You may or may not always be able to improve the quality of all the elements as these
functions merely change the location of nodes for a given set of elements. These
operations do not allow you to remove or create the elements involved. Therefore, it is
sometimes impossible to meet all the quality criteria with the original elements.
In most situations, using a combination of the four functions presented yields the best
result.
7. Write down the values for comp.Q.I. = and # of failed = and compare these values to those with
which you started.
By now, these values have gone down, although they have decreased by only a certain percentage of
the initial values. This is because there are still many other areas of our mesh that need attention.
Altair Engineering
Altair Engineering
Click smooth.
HyperMesh smoothes the elements according to the specified quality criteria and returns the final
quality index value in the header bar.
Note:
Refer to the on-line help for a complete description of all the options available in this
panel.
Altair Engineering
Floor panel
Altair Engineering
3. Use the check elems panel to check the quality of the mesh against set quality criteria.
From the Tool page, select the check elems panel, or use the F10 function key.
Set the following quality criteria by typing in the values in the corresponding fields:
Criteria
Values
warpage
20
aspect
length
jacobian
0.5
45
145
15
120
Check the mesh against each one of these quality criteria by clicking the corresponding
button.
As you select a criterion, HyperMesh highlights in the graphics area the elements that fail the
check. In the header bar, it reports the total number of elements displayed that fail, the
corresponding percentage, and the worst value found in the mesh for the check.
Note
Click on any element to obtain a complete summary of how it fares against the quality
criteria. Left mouse click to close the dialog.
For complete details on the check elems panel and the options available, as well as
quality check definitions, click help to obtain the panels help.
Hint
Use the Quality Report macro from the QA page of the macro menu to obtain a
complete summary of the quality of the 2-D mesh. This summary can also be saved
to a text file.
In this section, we set some quality criteria and reviewed the mesh against them using the check
elems panel. Although the elements are highlighted, it may not always be easy to identify them.
To isolate elements that fail the quality criteria:
Isolating elements that fail the quality criteria allows for their easy identification and review, and also
helps perform editing operations on such a subset of elements. While in some situations it is better to
limit the display to only these elements that fail the check, in others it is useful to also display layers of
elements directly attached to the failing elements. This is the case when you want to perform larger
scale operations, get a better understanding of where the failing elements are located, or simply see
how neighboring elements are affected by editing operations.
In this section, use the check elems panel to place elements failing a check onto a user mark. Use
the mask panel to limit the display of these elements, and finally use the Find Attached macro to
turn on the display of the neighboring layers of elements.
1. Use the check elems panel to check for warpage and save failed.
Altair Engineering
2. Use the mask panel to mask all elements except the ones you retrieve from the user mark.
From the Tool page, select the mask panel or use F5.
Click mask.
This turns off all the elements except the ones that failed the warpage check.
3. Fit the elements on the screen using the f key from the keyboard.
Warped elements
4. Use the Find Attached macro from the QA page of the macro menu to turn on one layer of
elements attached to the failing elements.
This displays only the failed elements and the ones directly attached to them.
Note
Use the Find Attached macro several times to bring back more layers of elements.
The functions performed by the Find Attached macro can also be performed from
the find panel located on the Tool page.
Several macros (such as Warp) located in the Tools: section of the macro menus
QA page allow you to directly limit the display to the elements failing pre-defined
checks without using the combination check elems/mask panel. To review the
quality criterion value used by each tool, hold the left mouse button down on top of
the macro button and review the header bar.
In this section, we used the check elems panel to identify elements that fail quality checks and saved
them to a user mark. We then used the mask panel to display only the failed elements, and finally we
restored elements attached to the failed elements.
Altair Engineering
Use the F6 function key to go directly to the edit element panel, also found on the 1D, 2D,
and 3D pages.
Click split.
Repeat these steps for the second element to split in this view.
Altair Engineering
Click split.
This divides the quads selected into two tria elements. You could now combine some of the
trias produced with the neighboring trias that lie in a similar plane.
7. Use the Split Warped macro from the QA page of the macro menu to split any remaining warped
quad.
Warnings Macros typically do not have a reject or undo function. It is therefore not possible to
reject their operations.
This macro splits elements with a warpage above 20. It is therefore not suitable if
your quality requirements call for another warpage value.
8. Use the mask panel (F5) to unmask all.
9. Use the check elems panel to verify that no element fails the warpage check.
Warning
When splitting quad elements into trias to avoid warpage, you increase the proportion
of trias in your mesh. If the percentage of trias in your model is of concern, you need
to monitor how addressing one issue affects the other.
Hint
Splitting elements is not the only approach. A warped element can be adjusted by
moving one of the nodes closer to the plane formed by the other three nodes of the
element.
This completes the quality correction of warped elements. In our approach, we have split the element
failing warpage into two trias and improved the quality. We also combined adjacent tria elements into
quad elements.
Altair Engineering
Use the save failed option from the check elems panel to place these elements on
a user mark and retrieve them from the delete panel.
Elements to delete
6. Use the replace panel to close all the gaps left by the deleted elements.
Use the F3 function key to access the replace panel located on the 1D, 2D, and 3D pages.
Verify the equivalence option is activated and the at mid-point option is de-activated.
Pair nodes across the gaps for the node selectors of the replace: and with: categories (see
figure below for one example) until all gaps are closed
Altair Engineering
Closing gaps
7. Use the mask panel to unmask all.
8. Use the check elems panel to verify that no other element fails the aspect ratio check.
Note
Here we corrected narrow elements that could simply be deleted, with the gaps
closed using the replace function. In other instances, gaps left by deleted elements
require new elements to be created by hand using the edit element panel. This is
covered in a subsequent section.
Small gaps can be closed in an automated way using the edges or faces panel and
equivalencing nodes within a set tolerance. Refer to these panels help for complete
details.
In this section, we corrected issues with elements having a failing aspect ratio by simply deleting
them and closing the gaps left using the replace panel.
To correct elements failing the minimum length check:
Elements that fail this check have at least one side for which the length is less than the specified
value. When the element is simply narrower than its neighbors, this can be corrected using the same
technique as used in the previous section: deleting the elements and equivalencing nodes across the
gaps. In other situations, one preferred alternative consists of deleting the failed element(s) and recreating the elements in the empty area by hand. In this section, use this second technique to fix
elements that fail the length check.
1. Use the check elems panel to save the elements that fail the length check.
2. Use the mask panel to limit the display to the elements failing the length check.
3. Use the view panel to restore View3.
4. Use the Find Attached macro twice to restore two layers of surrounding elements.
Altair Engineering
Elements to delete
6. Use the edit element panel to create two quad elements to fill the hole.
Select two sets of four nodes to create the quad elements (see figure below).
Altair Engineering
Altair Engineering
Select Smooth: 1.
An elems selector is posted in the HyperMesh panel area.
Select the four elements that failed the quads: min angle check.
Click proceed.
HyperMesh smoothes the location of the nodes belonging to the elements selected and one
layer of elements surrounding them.
4. Check the mesh against the quads angle checks to verify no more quads fail.
Notes
In this section, we used smoothing tools to fix issues with the min and max interior angles of quad
elements.
To correct elements failing the jacobian check:
The jacobian is a measure of how close an element is to a perfect shape. A perfect quad element is a
square and has a jacobian of 1.0. While most of the techniques presented so far can be used to
improve the jacobian of elements, in this section we will remesh sets of elements to improve their
jacobian.
Altair Engineering
1. Use the check elems panel to check the mesh against the jacobian check.
Select Remesh: 2.
An elems selector is posted in the HyperMesh panel area.
Click proceed.
HyperMesh remeshes the elements selected as well as two layers of surrounding elements.
Altair Engineering
Note
In addition to this method, you can use the automesh panel from the 2D page, which
offers several options for remeshing not only surfaces, but also sets of elements. Refer
to this panels help for complete details.
In this section, we used re-meshing tools to fix issues with the jacobian of our 2-D mesh.
This completes the tutorial. You may discard this model or save to your working directory for your
own reference.
In this tutorial, we introduced tools for evaluating the quality of a 2-D mesh and isolated elements
failing specific quality checks. We also presented various manual techniques that can be used to
improve the quality of elements.
For more information on using automated tools to improve the quality of a 2-D mesh, please refer to
the tutorial Measuring and Improving 2-D Mesh Quality using a Quality Index - HM-3320. For more
information on remeshing a mesh or creating a higher quality mesh, review the tutorials Remeshing
2-D Elements - HM-3110 and Creating and Optimizing a 2-D Mesh Based on User-Defined Quality
Criteria - HM-3150.
Altair Engineering
Altair Engineering
Pick the weld_points component from the list and click select.
Click create.
This generates connectors at the locations specified. Notice their display in yellow, which is
the color of unrealized connectors.
Altair Engineering
With our strategy of duplicating and reflecting connectors, it was not desirable to
define any link entities for our connectors at the time of creation. The link entities (rail
components) for the various connectors will be different components for each side of
the assembly. For more details on the various options of the create panel, click help
to bring up its context sensitive help.
2. Use the create panel to create a connector for the Rail_Out_Right and cross_member
components at the node identified with the bolt1 tag.
From the create panel from the connectors module, set the entity type to nodes.
Restore the pre-defined view1 using the view panel from the permanent menu.
From the graphics area, pick the node identified with the bolt1 tag.
Click create.
Altair Engineering
3. Duplicate and reflect the connectors to the opposite side of the model by defining an x-z plane of
symmetry at the center of the model in the reflect panel.
Click base to make it active and select the temporary node located at the center of the
model.
Click reflect.
This positions the duplicate connectors on the opposite side of the model.
4. Use the quality panel from the connectors module to check that there are no duplicate
connectors in the model.
Altair Engineering
Duplicate connectors can come from using the duplicate function one too many
times, starting with duplicate weld points, or simply from weld points or connectors
being close to one another enough that they fall within the tolerance specified in the
quality panel.
In this section we created connectors at specific point and node locations. We also took advantage of
the symmetry of the model to quickly add connectors at locations where weld points were not
available. With this approach we decided not to add any information to the connectors, such as link
type or link entities. We need to define these link entities next so that we can realize our connectors
into the finite elements that will assemble our parts together.
To add link entities to connectors:
In order to realize our connectors into finite elements, we need to specify as link entities in the
connectors definition what entities are to be connected by the finite elements. To do this, we use, for
example, the add links panel from the connectors module, and supply the information we did not at
the time of creation.
1. In the add links panel, assign components as link entities by using a search tolerance of 10 and
setting the number of layers for the connectors to 2. Also, define a re-connect rule using part ID
numbers.
Click comps and select the following components from the list: cross_member,
Rail_Out_Right, Rail_In_Right, Rail_Out_Left, and Rail_In_Left.
Although these are not the components to connect for each individual connector, by using a
search tolerance and defining the number X of layers for the connectors, HyperMesh will
automatically identify the X closest components to each connector and add them as link
entities to the given connectors definition.
Check the box for search tol = and enter 10 in the corresponding field.
HyperMesh will find the 2 closest components from the connectors selected within a distance
of 10 units from each connector, and add them to their definition as link entities.
Altair Engineering
re-defined provided that the part you swap in has the same ID number (component ID) as the
part you take out of the assembly.
3. Identify the connectors with a missing link entity in the graphics area.
Leave the dialog open, and reset the connectors selector in the add links panel.
In the dialog enter the two ID numbers, separated by a comma, of the connectors with
missing link entities (refer to the table).
Altair Engineering
4. Add the missing link entities using the Connector Information Table.
In the Connector Information Table, select one of the empty Link2 spaces.
Verify Link: Type is set to comps, Link: Project to is set to elems, and set Link: Rule to
use-id.
In the graphics area, select the cross_member component, or click component and select
cross_member from the list.
Click proceed.
This restores the dialog with the corresponding field filled with the name and ID number of the
component selected.
Altair Engineering
Repeat these steps for the other connector that is missing the same link entity.
We chose to update the connector definition using the table. Another approach could
have been to use the add link panel one more time on the two connectors, by
selecting the appropriate components and simply using a high enough search
tolerance.
In this section, we completed the definition of our connectors by adding link entities with the add links
panel. We then checked the definition of our connectors and found out that some were missing links
because of the search tolerance we initially set. We corrected this issue using the Connector
Information Table.
The connectors are now ready to be realized into finite elements.
To realize connectors into finite elements:
Once the connectors have been completely defined, they can be realized into finite elements that will
constitute the actual physical connection between the various parts. Realization takes place in the fe
realize panel, and connectors can be realized into a broad range of finite elements, including userdefined custom elements.
An unrealized connector (yellow) which successfully produces a finite element becomes a realized
connector (green). One that fails becomes a failed connector (red).
While some elements are solver neutral, some types available in the fe realize panel are solver
specific and require the corresponding template be loaded. In this section we will create some rod
elements between the outer rails (Rail_Out_Right and Rail_Out_Left) and the meshed
Altair Engineering
cross_member component. We will also create Nastran ACM elements between the inner and outer
rails, and at that point we will need to load the Nastran general template.
1. Realize the connectors between the outside rails and the cross_member collector into rod
elements using the fe realize panel, and assign the bolt_props property to them.
Click property = and select bolt_props from the list of property collectors.
Click fe options.
A secondary panel appears with additional options for the finite elements to generate.
Verify the toggle is set to without systems, and check the boxes for snap to node and
attach to shells.
We create node dependent welds for which we do not want individual systems. With these
options turned on, HyperMesh will change node location or even re-mesh local areas of the
shell mesh to ensure that the rod elements created remain normal to the shell elements and
share nodes with them.
Click realize.
The two rod elements are successfully created and the connectors turn green.
Review the model and the rod elements that were created. Zoom into the model as needed.
You can review the information table again and the information that appears now that the elements
have been created: the Config field appears and the State is changed to realized for both
connectors.
Altair Engineering
Rod elements
2. Realize all the remaining connectors into ACM 71 elements and place these elements in the
ACMs component.
Use a selection by window, or use the vis opts to temporarily turn off the realized
connectors and perform a selection of displayed connectors
Click type = and select nastran 71 acm (shell gap) from the list of custom weld types.
This weld type is defined with hexahedral elements in the space between the shell elements,
and RBE3 elements tying the corners of the hexa to the closest shell elements. The property
field is automatically updated.
Load the nastran/general template using the global panel from the permanent menu, and
set the current component to ACMs.
Altair Engineering
Connectors that are realized into the wrong type of finite element can be unrealized
in the unrealize panel. They simply go back to an unrealized state (yellow) and can
be realized again into a different element type.
Deleting the finite element associated with a realized connector turns the connector
back to an unrealized state.
In this section we realized our connectors into various types of welds. We also used the connectors
information table to troubleshoot issues with realization.
Once the finite elements have been generated, the next step consists of make sure they are of good
quality.
Altair Engineering
Check the box for length > and specify a value of 5 in the corresponding text field.
Click check.
Two connectors fail and are highlighted. The corresponding rod elements have a length that
exceeds the five units we set. Looking at the model and the distance between the parts
connected by these elements, we can conclude that this is a direct consequence of the
spacing between the parts involved.
Uncheck the box for the length criterion and check the box for angle >.
Enter a maximum value for the angle of 12 degrees and click check.
No 1D element fails this check either.
2. Use the quality panel to check that 3D elements do not have a length that exceeds 5 units and
that their jacobian is higher than 0.7.
Check the box for length > and specify a value of 5 in the corresponding text field.
Click check.
No connector fails.
Check the box for jacobian < and enter a value of 0.7.
Click check.
No 3D element fails this check either.
In this section, we checked the quality of the finite elements we obtained in the realization process.
Since all connectors were successfully realized, and the quality of the finite elements is satisfactory,
we can now:
Altair Engineering
The master connectors file contains welding information at a given location and also assists in the
weld automation process. An exported master connectors file can be re-imported using the
connectors reader to re-create weld connectors at all or selected connectors.
This file can be exported from the Connector Information Table.
1. Export a master connectors file with the information for all the connectors in the model.
From the connectors module, go to the fe realize panel, or any other panel that offers the
info table function.
Use the file browser to set the name and location of the exported file.
Use, for example, your working directory.
Click Save.
Use any text editor to review the content and format of the exported file.
Note
Review the Connectors section of the on-line help for detailed information on the
master connectors file, its content and format.
In this section, we exported a master connectors file that can be used to re-generate connectors, and
we also deleted the connectors in our model.
So far we have only created connectors manually using the create panel. There are two additional
ways of creating connectors, and we will explore these automated ways in the next two sections.
To generate connectors from a master connectors file:
Automating the welding process is key to the activity of model assembly. HyperMesh has the
capability of automatically generating connectors from master connectors files as well as numerous
master weld files. For master weld files that are not supported, templates to work with the connectors
reader can be easily created.
For example, the connector entity created with the information specified in the master connectors file
is displayed as unrealized (yellow). To realize the connectors as welds, the connector fe realize
panel must be used.
In this section, import a master connector file to generate connectors between the unmeshed parts,
as well as between some of the surfaces and meshed parts. Realize these connectors into weld
elements.
Altair Engineering
1. From the files panel select the import sub-panel to import the file
<install_directory>/tutorials/hm/connectors.mcf using the WELD type.
Connectors are automatically created to connect the unmeshed cross members together as well
as with the meshed parts of the assembly. These connectors are placed, along with the weld
points which where also automatically created, into a new component called CE_Locations.
All the connectors are successfully realized into weld elements. Fixed points are created on the
surfaces where the welds are attached to ensure nodes are created at these same locations when
the surfaces are meshed. Meshed parts have local areas re-meshed to ensure that the welds share
their nodes with the pre-existing nodes (see image below).
Altair Engineering
Click elems from the HyperMesh panel area, and select by collector.
Altair Engineering
Click proceed from the HyperMesh panel area to complete the selection.
In the process above, we chose to select the elements to get converted. Given the
fact that the elements of interest were the only ones of their type in our model, we
could have simply used the all element filter in the dialog.
The connectors obtained from finite elements are defined in a manner that is consistent with
the information available from the finite elements. For example, re-connect rules will be set to
none. Use the info table function to review all connectors attributes.
In this section we learned how to generate connectors from finite elements for the purpose of
replacing these finite elements with a new weld type.
To swap parts in the assembly:
In numerous applications, the design of parts changes as part of the CAE process. With every new
design, new parts need to be incorporated in the assembly while others are removed. Connectors
give you the ability to easily swap parts in assemblies. With the use of re-connect rules, connectors
can identify the parts that are to be welded (link entities) using their names and/or their ID numbers.
When you do not use re-connect rules, link entities that you delete are removed from the connector
definition, while using re-connect rules will ensure that the link is maintained as a reference to a name
or ID. Therefore, it is important to verify that a re-connect rule has been specified for connectors
before attempting to swap parts.
In this section, verify that re-connect rules are set for the connectors involved. Swap then the
component cross_member (ID=9), with a new design, using the same ID number, imported as an
HyperMesh model.
336 HyperMesh 7.0 Tutorials HM-3400
Proprietary Information of Altair Engineering
Altair Engineering
1. Use the info table function to review the re-connect rules for the two connectors connecting the
meshed cross_member and the outer rails.
From the Connector Information Table dialog, click Configure to load the Configure Table
View dialog.
This dialog lets you customize the table and select which fields are displayed.
2. Use the Search/Replace tab from the Connector Information Table dialog to update both
connectors with the use id re-connect rule.
Select one of the cells in the Link2 column that reads comp 9 none.
The cell is highlighted in blue. The characteristics of this link entity are displayed in the
Search/Replace tab on the Find what line. Changes can be made by setting options in the
Replace with line.
Use the drop down menu on the Replace with line to set Link: Rule to use id.
Repeat these steps for the second cell in the Link2 column.
Component 9 is the only component we will swap, so this is the only link entity for which we
will update the re-connect rule.
We also learned how to manipulate connectors and review and edit their definition to perform various
tasks related to model assembly.
One implication of creating node to node welds and using the attach to shell option is that the shell
mesh may be locally modified. Should such a modification bring some shell elements outside of your
quality ranges, you can refer to the tutorial, Measuring and Improving 2-D Mesh Quality using a
Quality Index - HM3320, for ways of modifying a shell mesh based on quality criteria.
Altair Engineering
The morphing process within HyperMorph allows you to alter models in useful, logical, and intuitive
ways while keeping mesh distortion to a minimum. Results from the shape changes can be used in
analysis, optimizations, and parametric studies.
In this tutorial, you will learn the terminology used by HyperMorph as well as some of its basic
concepts. You will also experiment with some of the tools available in the HyperMorph module from
the Tool page.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click help while in the panel to bring up its context sensitive help.
This tutorial requires about 25 minutes to complete and uses files located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at
your site, see Finding the Installation Directory <install_directory>, or contact your system
administrator.
To familiarize yourself with domains and handles:
HyperMorph uses domains, handles, partitions, and morphing criteria to alter the shape of an entire
model or some portion of it. You have control over this process by relocating nodes, assigning
constraints to various nodes, making use of biasing and taking advantage of the symmetry of the part.
You divide a model into domains each of which have "handles" and manipulate the handles to
change the shape over the entire model or some portion of it. When the handles move the shapes of
the domains change and the positions of the nodes within the domains also change. During the
morphing process the mesh changes in a logical way: the nodes near the moving handles move a
greater distance than the nodes near the stationary handles and the mesh stretches or compresses
to match the changes in the domain.
Domains consist of nodes or elements grouped according to various modeling features such as
edges, break angles, and curvature changes. Handles accompany each domain and provide the
mechanism to modify the shape of the model or a portion of the model.
Domains and handles are divided into two basic groups, global and local. The global group consists
of a single domain called the global domain and eight global handles that form a box around the
model. Every node in the model is part of the global domain and thus, global handles can influence
every node in the model. The intent of the global handles are to make large-scale shape changes to
the model. Wherever there is a high density of nodes, you may also find a global handle.
The local group consists of four types of local domains (1D domains, 2D domains, 3D domains, and
edge domains) and their handles. These local handles can only influence nodes contained in the
domains they are associated with. Use local handles to make localized shape changes to the model.
Altair Engineering
Models may have only a global domain if you want to make changes over the entire model. Models
may have only local domains so changes are applied to a specific portion of the model. In addition,
models can also contain both global and local handles and domains, allowing you to logically
combine both large and small shape changes.
The following is a table describing the various domains and its corresponding symbol used in the
display of the model.
When a global domain and handles are generated automatically using autogenerate or created with
the create handles option turned on, HyperMorph generates eight global handles, one at each of the
eight corners of a box laid out along the global axes surrounding the model. These global handles are
named "corner" followed by a number from one to eight. HyperMorph will also place at least one
global handle within the box in areas of the models peak nodal density. These handles are named
"handle" followed by a number.
The automatic global handle generation works particularly well for space-frame models such as full
car models. However, for small models such as a control arm or bracket, the recommendation is for
you to build your own local domains and handles since you are more likely interested in changing the
local area rather than the entire model.
If the autogenerate process does not create handles in the positions where you want them to be, you
can always delete them, reposition them, or create additional handles.
Handles can be further classified as independent or dependent. An independent handle creates
displacements to the model only when it is moved. A dependent handle creates displacements
influenced from its own movements and that of other handles it is linked to. A handle can be made
dependent on one or more handles. This allows you to create as many layers of dependencies
between your handles as you desire. For example, you can make all the handles at one cross section
of a beam (modeling using 2D shell elements) dependent on a single handle allowing you to move an
entire cross section while only having to select one independent handle.
Altair Engineering
1. From the files panel, select the hm file sub-panel to retrieve the file
<install_directory>/tutorials/hm/domain_and_handle.hm.
2. Create a global domain and create handles using the domains panel.
Click create.
A global domain with its global handles (in red) are displayed on the screen.
Global domain
3. Create 3D domains with the elements in the solid component using the domains panel.
Select solid.
Click create.
Altair Engineering
Altair Engineering
Altair Engineering
In the domains panel, create a 2D domains using partitions domains of the elements in the set
elem element set.
Click create.
A new small domain is displayed on the screen.
Repartition domain
A smaller 2D domain is defined and appears on the screen (see figure above). Four new
handles are also identified at the corners of the new domain. This allows you to partition a
smaller, local domain within the original large domain. Moving the handles of the new
domain will influence nodes only within the new domain.
If partition domains is active, all 2D domains created will be partitioned according to the
partition criteria (edges, break angle, etc.) set from the parameters sub-panel of the
domains panel. If retain handles is active, HyperMesh does not delete any existing
handles when calculating the position of the handles for any created or organized domain.
To morph a model:
Once a model is divided into domains and handles, you move the handles to change the shapes of
the domains, and in turn change the positions of the nodes within the domains. The morphing
process consists of moving some handles to different locations:
In this section, interactively morph a mesh by:
1. Use the move handles sub-panel of the morph panel to morph a handle along xyz.
Altair Engineering
Verify the lower switch is set to interactive and the lower toggle to real time.
With the handles selector active, pick any red circular handle on the screen.
Click morph.
Move the mouse cursor onto the display, and drag the handle you selected.
You can see the shape of the entire model changes according to the movement of the
mouse.
2. Click reset under handles and repeat the above step using a local handle (yellow).
To understand biasing:
Biasing is a way of modifying the influence of a handle over other nearby nodes. You can change the
biasing factors associated with each handle from the set biasing sub-panel of the morph panel.
Higher bias values increase the influence that handle has over nearby nodes. Lower bias values
decrease the influence.
Bias values of 1 give linear results that result in morphs with sharp angles at the handle locations. A
bias value of 2 will result in morphs with a nice gentle curvature through the handle locations. Using
bias factors of 1 at the corners of a model and 2 everywhere else will generally give a smoothly
morphed model.
You can combine morphs with different bias values for the same handles. For instance, you can set a
handles bias value to 2, morph the mesh, then set it to 1 and morph the mesh again, resulting in a
cumulative effect. Refer to the figure below for example of how morphing a mesh using different
biasing values results in varying mesh patterns.
Altair Engineering
fixed
along vector
along plane
along line
along surface
When a perturbation is applied to a constrained handle, the handle moves along the constraining
feature regardless of the applied perturbation. For example, if within a particular domain you constrain
all nodes surrounding a hole to be fixed nodes, and then morph the domain by moving a handle, the
hole remains at the same location with the same size throughout the morphing process.
The set constraints feature is useful for morphing a mesh that has been mapped to, projected to, or
created on a surface.
In this section apply constraints and fix nodes. Constrain all nodes of a hole to make them fixed
nodes to leave the hole untouched while morphing the model.
1. Use the set constraints sub-panel of the morph panel to constrain nodes around the hole to
fixed.
Altair Engineering
With the nodes selector active, select the nodes around the hole.
2. Use the move handles sub-panel to move along xyz one of the global handles (red).
Verify the lower switch and toggle are set to interactive and real time.
Verify the upper switch is set to along xyz and x val= is set to 1.0.
With handles active, pick any red global handle on the screen.
Altair Engineering
Verify the lower switch and toggle are set to interactive and real time.
Click handles to make it active, and pick Handle C12 and Handle C13 from the screen.
Handles C12 and C13 are two yellow handles with name tags in the Circular symmetry
mesh.
3. Use the move handles sub-panel to morph handle Local2 along vector x-axis.
Click handles and pick the yellow handle with tag Local2 from the screen.
Altair Engineering
4. Repeat steps 2 and 3 for the two models with name tags No symmetry. Those two models are
the same as the above two, except symmetry has not been defined for them. See the figure
below for the result.
Altair Engineering
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, we introduced some of the basic principles and tools of morphing using HyperMorph.
Important concepts such as domains, handles, partitioning, symmetry and biasing were introduced.
Some limited morphing tools were also used to morph our example model.
For additional information and techniques on using HyperMorph to apply morphing to models, review
the tutorials Understanding the HyperMorph Morphing Process - HM-3510, and Applying HyperMorph
Strategies - HM-3520.
Altair Engineering
perform a shape change using morphing tools from the domains and morph panels.
Additionally you will learn how to animate shapes in HyperMesh using the deformed panel.
This tutorial is particularly useful if you want to learn some of the foundations of performing morphing
in HyperMesh using HyperMorph.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click help while in the panel to bring up its context sensitive help.
This tutorial requires about 40 minutes to complete. It uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your system administrator.
To understand the process and tools available:
In general, you perform the following activities in this order:
1. Generate shape changes
In this step create domains and handles (global and/or local); refine these domains and handles
by removing/adding your own local/global handles, merging/editing domains, creating
dependency among handles, and so forth.
How you apply these features is important and sometimes crucial to the quality of your mesh
change. For example, you may find areas in your model, particularly those defined by curved
edges, not moved or rotated in the same way as the neighboring handles. To fix this, you need to
add more handles in your model along the edges you wish to move or rotate with greater
precision.
You may employ additional HyperMorph features as necessary: use a symmetric plane, constrain
certain nodes to move in a way you desire (fixed nodes, constrained nodes to move along a
surface, etc), apply different biasing values, and so on.
This section presents different processes you can use individually or collectively to do the shape
change.
Altair Engineering
There is no reference value for the result after morphing. For example, you want to
modify the depth of a channel, however there is no requirement about how much
distance you can morph the channel.
You want to have better hand control while morphing a mesh. Namely, you can adjust
morphing easily using the mouse cursor.
interactive
Allows you to move handles directly by dragging the mouse across the
screen. Select an entity such as a vector, line, plane, surface, or
domains, to orient the mouse location in 3D space, and move a handle
by dragging it to a new location. Not recommended for moves to
specific locations.
translate
rotate
move to xyz
move to node
The basic idea revolves around selecting two nodes (a and b), and then selecting the handles
to those nodes that will change the dimensions (distance, angle, radius, or curvature)
between nodes a and b to the value you desire.
Map to line
Map to plane
Map to surface
When mapping to a surface, HyperMorph places all of the mapped nodes onto the surface,
shrinking the mesh if necessary. HyperMorph will not automatically stretch the mesh to the
edges of the mapped surface if the mapped surface is larger than the mesh. If this is desired,
Altair Engineering
you will need to use the user control option or use map to geom more than once to move
the nodes on the surface to the edges of the surface manually.
2. Save the morphs as a shape entity
From the save as shape sub-panel you can save the active morph as a shape (or shapes) entity.
You need to save as shape when:
3. Undo morph
You have two options to undo a morphing action. Both undo or undo all are found on the morph
panel. Undo returns you to the previous step before the last morph, and undo all returns the
model to its original state. redo or redo all re-applies the last shape change or all shape
changes.
To keep multiple shape changes independent, you must undo all morphs applied to the first
shape before applying the next set of shape changes.
Notes
In order to retain the newly morphed model, you need to save it as a HyperMesh data
file (*.hm) (from the files panel). When you do this, all the shape changes you saved
are stored with the HyperMesh binary data file (*.hm) as a shape entity. This allows
you at a future time to reload this saved HyperMesh database and re-apply the
shape changes stored in the shape entity.
Once you have saved the shapes with the HyperMesh model, you can recreate the
shapes anytime. This is useful when you desire to pick up where you left off or make
further modifications to a modified model. The following sections describe activities
you can do with the shape entities associated with HyperMesh models.
You can apply saved shapes to a model from the apply shapes sub-panel of the
morph panel. If you saved the shapes to the .hm binary file, to restore the shapes,
read in the file, go to the morph panel and select apply shapes. Applying shapes
before exporting a file modifies your model with the morphing changes you applied to
the model.
If you would like to visualize the quality of the mesh changes to avoid element
distortion problems, create animations. This can be done only after the morphs are
saved as shape entities and all shape changes are undone so you are back to the
original model. That means you can use the animations function after the undo
activity or you can reload the HyperMesh file with its shape entity saved, then, go to
the optimization panel in HyperMesh, select the shape sub-panel, link all shapes to
design variables, and then perform the animations. You can also scale the shape
changes or design variables.
Altair Engineering
the generation of the domains and how they are subdivided (partitioned). In this section, modify these
parameters and generate domains for a model.
1. From the files panel retrieve the file
<install_directory>/tutorials/hm/solid_plate_mesh.hm.
This loads a model containing both shell and solid elements.
2. Set domain angle = 50 and curve tolerance = 8.0 in the parameters sub-panel of the
domains panel.
The domain angle refers to the angle at which domains are broken into smaller
domains (subdivided). Curve tolerance refers to the angle below which a domain is
considered flat. This is used to recognize the faces of solid models and features of
shell models. Smaller domain angle or curve tolerance settings tend to generate
smaller domains and more handles.
Click autogenerate.
4. Click view from permanent menu, and select the right view.
5. Save the file to your working directory as solid_plate_mesh_1.hm using the files panel.
This file will be used in subsequent sections.
In this section we learned how domain parameters can influence the domains obtained from the
domains panel.
To improve morph control:
To better control the morphing operations, you can split edge domains, and add local handles. This
model contains a curved edge of shell elements. If we simply change the curvature of the radius
without adding any handles, we would end up with a rough curve. In this section compare the result of
morphing the model saved in the previous section and morphing this same model to which a handle
was added by splitting an edge domain. Start by splitting the edge and saving the current model with
a different name.
1. Use the edit edge sub-panel of the domains panel to split edge.
Click domain and pick the long edge domain from the plate component (see figure below).
Click node and select one node where the edge domain is to be split (see figure below)
Click split.
Repeat the last three steps for the second node location.
Altair Engineering
Set the leftmost switch to along vector and select the N1, N2, N3, vector.
Verify the rightmost switch is set to interactive with the toggle set to real time.
Altair Engineering
Click handles and select the corner handle (see figure above).
Click morph and drag the handle in the direction defined by the two nodes.
Notice the mesh shape change.
Altair Engineering
In this section we broke down an edge domain and added handles to gain additional control over the
way a mesh is morphed and elements are modified.
To use an edge domain to represent a bending deformation:
In this section, we look at how to lift one portion of the plate mesh away from the original surface, as
though the part represented was subjected to bending.
Start by creating the additional edge domain using a node list in the domains panel. This generates
new handles. Then use the morph panel to move handles and simulate the bending of the part.
1. From the files panel retrieve the file solid_plate_mesh_1.hm generated in a previous section.
2. Use the domains panel to create an edge domains using a node list.
Click create to generate an edge domain with two handles on the plate component.
Verify the right switch is set to interactive and the right toggle to real time.
Set the left switch to along vector, and select the z-axis vector.
With the handles selector active, select the three handles as shown as in the figure below.
Altair Engineering
Click elems and select all 14 elements as shown in the figure below.
Hint
If it is not easy to select the elements from the screen, display only the
^morphfaces component and select the elements.
Altair Engineering
Click create.
A new 2D domain is created.
3. Use the morph panel to move handles along vector in the N1, N2, N3 direction normal to the
face of the solid elements.
Set the direction to N1, N2, N3 and select three nodes on the plane of the solid faces (see
figure below).
With handles active, pick the 4 handles at the corner of the 2D domain previously created
(see figure below).
Altair Engineering
Click domains and select the 2D domain that was created in a previous section (see figure
below).
Update 2D domain
In this section we restored a 2D domain to its state before being partitioned in a previous section.
360 HyperMesh 7.0 Tutorials HM-3510
Proprietary Information of Altair Engineering
Altair Engineering
Click create.
3D domains are created for solid elements. 2D and edge domains are created on the faces and
edges of the solid elements.
4. From the files panel save the file to your working directory as solid_plate_mesh_4.hm.
5. Use the alter dimensions sub-panel of the morph panel to change the radius of edge domains.
With the domains selector active, pick the two edge as shown in the figure below.
HyperMorph automatically calculates the radius and displays about 37.41 for radius =.
Altair Engineering
Altair Engineering
Set the right switch to distance = and the left switch to hold end a.
Click node a and pick the node as shown in the figure below.
Click node b and pick the node as shown in the figure below.
The distance between node a and node b is about 32.5. We are going to reduce this to 25.
Altair Engineering
Under node a click handles, then click handles again and select by window.
Draw a window as shown in the figure above (windowA) and select the interior handles.
Under node b click handles, then click handles again and select by window.
Draw a window as shown in the figure above (windowB) and select the interior handles.
Click morph.
The height changes. Notice none of the handles in windowA move since we set hold end a
previously.
Altair Engineering
Changed height
4. Use the save as shape sub-panel to save the shape as sh1.
Altair Engineering
Note
You can find additional parameters on the parameters sub-panel. They are handle
size, symmetry size, handle tolerance and global influence. For more detail,
please refer to the online help.
8. Use the domains panel to create new 2D domains as in the figure below.
Click elems and select the 24 elements as shown in the figure below.
If the selection from the graphics area is difficult, you can display only the ^morphfaces
component to make the element selection easier.
Click create.
The 2D domain expands as shown in the figure below.
Expanded 2D domain
Altair Engineering
9. Using the morph panel, alter dimension to change the radius of the two curved edge domains of
the 2D domain created in the previous step.
Set the right switch to radius = and left switch to hold ends.
Click domains and pick the two edge domains as shown in the figure below.
Click morph.
The radii change.
Altered radii
10. Use the save as shape sub-panel of the morph panel to save the shape as node perturbations
with the name sh2.
11. Click undo all to return to the original model shape.
12. Use the apply shapes sub-panel of the morph panel to apply shapes sh1 and sh2 with a 1.0
multiplier.
Altair Engineering
Click apply.
This re-applies to the model the two shapes created previously.
13. Use the apply shapes sub-panel to remove the applied shapes.
Click apply.
This removes both sh1 and sh2 shape changes and the model returns to its original shape.
14. From the files panel, save the file to your working directory as solid_plate_mesh_5.hm.
In this section we started by creating various shapes for various morphs. We saved these shapes and
after the model was brought back to its original form, we applied these shapes using a multiplier to
perform new morphs.
To review morphing using animation:
HyperMesh allows you to review morphing via animation. By looking at the morphing animation, you
can
Altair Engineering
Set initial value = 0.0, lower bound = 0.0, and upper bound = 1.0.
This enables the shapes to be scaled by 1.0 during animation.
Click create.
Note
From the shape panel you can access the undo morphing option where you can
disable all the shape changes and return your model to its original configuration.
Click simulation = to load the animation file corresponding to each shape and click linear to
review the animation.
If the results of the animation are what you expect, then you can proceed with any solving
process you may have in mind or continue with any other steps you had in mind for the new
model.
If the results of the animation do not show what you wanted, then you can make additional
morphing changes and repeat this process until you have what you want. You could also revert to
the original model and try alternate approaches using HyperMorph to achieve the desired results.
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, we introduced one basic process of morphing using HyperMorph: creating domains
and morphs, save the morphs as shapes and undoing these transformations. Some of the morphing
tools were used to morph our example model, and the animation of shapes was also introduced.
For additional information and techniques on using HyperMorph to apply morphing to models, review
the tutorials Getting Started with HyperMorph - HM-3500 and Applying HyperMorph Strategies - HM3520.
Altair Engineering
Altair Engineering
4. Use the create sub-panel to create 2D domains for the elements in components chassis1 and
chassis2.
Click create.
Altair Engineering
Set the right switch to radius = and the left switch to hold center.
With domains active, pick the edge domain of the hole as shown in the image below.
HyperMorph shows the radius is about 12.5.
Altair Engineering
Relocate a hole
1. From the permanent menu select view and select the right view.
2. Use the handles panel to create dependency between handles from Part B and the circle handle
from Part A.
Click handles on the right of the list of handles and select by window.
Altair Engineering
Draw a window as in the figure below and select the interior handles.
Click view from permanent menu, and click restore1 to restore view1.
Under dependent on : click handles to make it active and pick the handle on the hole of part
A (see figure below).
Altair Engineering
Click update.
All the selected handles on part B turn green to signify dependency.
3. Use the move handles sub-panel of the morph panel to move the hole handle on plane defined
with three nodes N1, N2, and N3.
Set the lower switch and toggle to interactive and real time.
Pick N1, N2, N3 as shown in the figure below, and let N1 be the base node.
Altair Engineering
Select the elements interior to the window shown in the image below.
Rotate the model around the y axis using the left arrow key on your keyboard as needed to
make the window creation easier.
Altair Engineering
Click create.
5. Use the set constraints sub-panel of the morph panel to constrain nodes on plane using
nodes N1, N2, N3.
Set the switch to on plane and set the direction to N1, N2, N3.
Altair Engineering
Altair Engineering
handles.
2. Click view and select the top view.
3. Use the domains panel to create 2D domains from the elements displayed.
Set the right switch to distance = and the left switch to hold middle.
Altair Engineering
HyperMorph automatically calculates the distance between end a and end b and shows the
value in the distance = field. It reads about 120.
Click handles under node a and pick the handles marked as node a followers in the figure
below.
Click handles under node b and pick the handles marked as node b followers in the figure
below.
Altair Engineering
Selecting followers
Click morph.
The width of the entire channel is reduced based on the change in the distance between the
two nodes that were selected.
Elements by window
Four handles are created.
5. Use the autoshape panel to create four shapes for the four handles.
Verify magnitude = 1.0, and verify the toggle is set to element normals.
This ensures all the handles move along the directions of the element normals.
Altair Engineering
Click handles to make it active and select the four handles that were created previously.
6. Use the apply shapes sub-panel of the morph panel to apply the previously generated shapes
with a multiplier = 80.
Click shapes and select the last four shapes localXXX-N (XXX could be any number).
Click apply.
Autoshape
7. Go to the save as shape sub-panel, and save the shape with the name S4 and as node
perturbations.
8. Click undo all in the morph panel.
To add a fillet to an engine hood using biasing:
In this section, change a hard corner from an engine hood into a fillet using biasing. Start by creating
the necessary 2D domains using the domains panel. Then set biasing values for the various
handles, and finally use the move handles sub-panel of the morph panel to operate the
transformation.
1. Use the disp panel to turn off all domains and handles, and all comps except engine_hoodA.
2. Use the view panel to restore view2.
3. Use the domains panel, parameters sub-panel to set domain angle = 70.0 and curve
tolerance = 70.0.
4. Use domains panel, create sub-panel, to create 2D domains as shown in the figure below.
Altair Engineering
Click handles and pick the two handles shown in the figure below.
Click update.
Setting biasing
6. Use the move handles sub-panel from the morph panel to create a fillet by moving two handles
on domain.
Altair Engineering
With handles active, select the two handles as shown in the figure below.
Click nodes and select the 4 nodes in the graphics area as shown as in the image below.
Altair Engineering
Altair Engineering
With the handles selector active pick the four handles at the corners of the roof.
Click morph.
Altair Engineering
Morphed rear
14. Use the save as shape sub-panel to save the shape as s7 and as node perturbations.
15. Click undo all in the morph panel.
16. In the set constraints sub-panel, click release all to release all fixed nodes.
To apply symmetry:
In this section, take advantage of the symmetry of the model to define a plane of symmetry, and have
morphing applied to one side of the vehicle applied to the other side at the same time.
Start by creating some nodes using the create nodes panel. Then use these nodes to define a local
coordinate system using the systems panel. Use this local coordinate system to define a 1 plane
plane of symmetry in the symmetry panel. Finally, translate one of the handles from the roof of the
car in the morph panel.
1. Use the F8 key to go to the create nodes panel, type in coordinates and create nodes at:
x = 0, y = 0, z = 1500 (node B)
Altair Engineering
2. Use F11 to go to the collectors panel and create a systcols using color 5, named new1, and
with no card image.
3. Click view and select the iso 1 view.
4. Use the systems panel from the HyperMorph module to create a rectangular coordinate
system based on the nodes created earlier.
Adjust the size of the display by increasing value for size = (see figure below).
Click domains and select the global domain symbol from the screen,
Altair Engineering
Click syst and select the local system you just created.
1 plane symmetry
7. Use the Disp page from the macro menu, and click On next to Elems : to redisplay all elements.
8. In the morph panel, move handles sub-panel, translate along xyz one handle (see image
below) with x val = -200.
With the handles selector active, pick one of the handles on the back of the roof (see figure
below).
Click morph.
Altair Engineering
3. Use the map to geom panel to auto map all domains to the surface.
Set the left switch to map domains and the right switch to map to surface.
Click surf and select the surface from the graphics region.
Altair Engineering
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, we applied several tools of morphing in HyperMorph to a car model. Important
concepts were applied to a real life example. Some local morphing was done, as well as space frame
morphing.
For additional information and techniques on using HyperMorph to apply morphing to models, you
can refer to the HyperMorph and Morphing Strategies guide available in the Users Guide / Building
Models section of the HyperMesh on-line help.
Altair Engineering
Altair Engineering
Nastran
Ansys
To update all the elements to the correct element types for Nastran:
1. Go to the elem types panel on the 2D page.
2. Click on the elems button and select all.
When you select all, all element types (1D, 2D, and 3D) are updated.
3. Click update to update the element types.
Note:
For visualization purposes, HyperMesh projects the local x-axis of the selected system
onto the face of the shell elements. How each analysis code interprets this information
varies.
Altair Engineering
6. Click color and select the display color of the review vectors or lines.
7. Click size = and enter a value that specifies, in model units, how large the review vectors are
when displayed.
8. Activate join lines if you want to display connected lines instead of review vectors to represent 0degree ply directions.
9. Click assign.
To Undo:
Note:
The selected elements are re-assigned to the global coordinate system (id = 0) and the
panel is reset. This function assigns the ID of the coordinate system to the selected
elements. How each analysis code interprets this information varies. For visualization
purposes, HyperMesh projects the local x-axis of the selected system onto the face of
the shell elements. If you later modify the system, the element material directions
change implicitly.
The THETA field for the NASTRAN element card is now set to an angle for each
element in the collector. (This is the angle from the global coordinate system x-axis in
the model.)
Altair Engineering
Figure 1
Note
This function assigns a material angle to the selected elements, which is defined as the
angle between the node1-node2 direction and the projection of the selected local axis
onto the surface of the shell element. How each analysis code interprets this
information varies. For visualization purposes, HyperMesh projects the selected axis
onto the face of the shell elements. Any changes you subsequently make to the
specified system have no effect on the elements.
Altair Engineering
Note
This function assigns a material angle, which is defined as the angle between the
node1-node2 direction and the projection of the selected vector, onto the surface of the
shell element, to the selected elements. How each analysis code interprets this
information varies. For visualization purposes, HyperMesh projects the selected vector
onto the face of the shell elements.
THETA is set to 45.000. This function assigns the specified material angle, which is
defined as an angle from the node1-node2 along the surface of the shell element, to the
selected elements. How each analysis code interprets this information varies. For
visualization purposes, HyperMesh rotates the node1-node2 edge of the element
around the element normal through the defined angle.
Note
This option should be used only in situations where great care has been taken to
assure that the node1-node2 direction of the shell elements are initially aligned
properly.
Any elements that do not have a ply angle assigned, display the 0-degree direction as
the ply angle. Ply directions are set through card images in solver templates.
Altair Engineering
Modifying the mesh and re-mapping the loads to the new mesh
For more information on the various panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to bring up its context sensitive help.
This tutorial requires about 35 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm/ directory. For detailed instructions on how to locate the
installation directory <install_directory> at your site, see Finding the Installation Directory
<install_directory>.
The model file used for this tutorial is a C channel:
Altair Engineering
also apply some constraints, forces and pressure load to our model, and we will need load collectors
to organize them.
1. From the files panel select the hm file subpanel to retrieve the file
<install_directory>/tutorials/hm/c-channel0.hm.
The model geometry is of a C channel with two reinforcement ribs. The various surfaces are
organized into several component collectors.
2. Load the OptiStruct user profile using the user profile button from the Geom page.
The model does not contain any load collectors to store the loading conditions we will create.
Create three load collectors for constraints, forces and pressure loads.
3. From the collectors panel create a loadcol with the name constraints, assign color 2, and no
card image.
4. Similarly, create two more loadcols with names pressure and forces, assign colors 10 and 15
respectively, and no card images.
Everything is now ready for us to create the different boundary conditions.
To define loads and boundary conditions on geometry:
You can apply loads to geometric entities in a way similar to the manner in which loads are applied to
mesh by using the following panels from the BCs page: forces, moments, constraints, pressures,
temperatures, flux, velocities, and accels.
In this section we will apply constraints, pressure, and forces to geometric entities in the model.
Constrain the bottom portion of the c-channel using line data. Then create pressure loads on the top
surfaces. Finally add forces at the eight corners of the surfaces defining the top of the c-channel (see
image below).
Altair Engineering
constraints is displayed after loadcol: on the header bar. This indicates the current
load collector.
2. Fully constrain the bottom eight lines of the c-channel using the constraints panel from the BCs
page.
Select the eight lines defining the bottom portion of the c-channel.
Lines to constrain
Constrain dof1, dof2, dof3, dof4, dof5, and dof6 by checking their respective boxes.
Dofs with a check will be constrained, while dofs without a check will be free. Dofs 1, 2, and 3
are x, y, and z translation degrees of freedom. Dofs 4, 5, and 6 are x, y, and z rotational
degrees of freedom.
Click create.
This applies these constraints to the selected lines. They display as a triangular icon and
checking the box for label constraints would display what degrees of freedom are
constrained.
3. From the global panel set the current load collector to pressure .
4. Apply a pressure of 25 units normal to the top three surfaces using the pressures panel.
Altair Engineering
Set the entity selector to surfs and pick the three surfaces defining the top of the c-channel.
Click create.
This applies the pressure loads to the selected surfaces. They are represented with an arrow
as well as a label. This label can be template based (PLOAD4 here) or follow the HyperMesh
terminology (P) as specified in the modeling sub-panel of the options panel.
5. From the global panel set the current load collector to forces.
6. Creates forces at the 8 corners of the three top surfaces with a magnitude of 15 units in the
negative z direction using the forces panel.
Set the entity selector to points and select the eight fixed points defining the corners of the cchannels top surfaces.
Altair Engineering
Click the direction definition switch below magnitude =, and select z-axis.
Click create.
This creates a number of point forces, with the given magnitude in the z-direction, to be
applied to the fixed points selected.
Altair Engineering
Loads on geometry
Note
If you sent some loads into the wrong load collector, use the organize panel on loads
to move them into the right collector.
In this section we created various types of loads on various geometric entities: lines, surfaces and
fixed point. The ultimate goal is to have these loading conditions applied to finite elements. We
will now create these elements.
To generate elements on the surfaces:
Use the automesh panel to create a quad dominant (mixed) mesh. The elements generated will be
organized into their surfaces component collectors to avoid the need of setting current component
collectors.
1. Create a mixed mesh with an element size of 0.25 units on the surfaces displayed using the
automesh panel.
Click the toggle to switch from elements to current comp to elements to surfaces comp.
This ensures that the elements created go into the surfaces component collector.
Altair Engineering
In this mode HyperMesh will automatically generate a mesh on the surfaces based on the
element size and the type of elements selected. No further user input is required or can be
supplied.
Click mesh.
2. Use the Disp page of the macro menu to set the graphics engine Gfx: to performance Per.
Meshed c-channel
In this section we quickly created a shell mesh on the surfaces. We can now try to map the loads that
were applied to geometric entities onto these finite elements.
To map the loads from geometry to elements:
A load collector, just like component collectors, can store both loads on geometry and loads on finite
elements. These two types of loads are separate and independent, and can therefore be manipulated
independently. At this time, our load collectors contain loads only in their geom side. By mapping
these loads on geometry onto finite elements and using our existing loadcols, we will also populate
their elems side.
In this section, use the load on geom panel to map the loads from the geometric entities (to which
the geometric loads are applied) to the mesh associated with these geometric entities for the
constraints and pressure load collectors.
1. Map the constraints in the constraints loadcol to the mesh using the load on geom panel.
Click loadcols and check the box next to constraints from the list of load collectors.
Click select.
Altair Engineering
The constraints previously applied to the lines are now also applied to the nodes of the mesh
associated to these lines. These constraints are placed in the same load collector as the
ones applied to the geometry, only in the elems portion.
Altair Engineering
The display panel allows separate or simultaneous visualization of loads on mesh and loads on
geometry. Turn off the display of loads applied to the geometric entities to display only the loads
applied to the mesh.
1. Use the disp panel to turn off the display of the loads applied to geometric entities.
Click the upper switch and set the type of collector to loadcols.
Next to loadcols, toggle to geoms to modify the display of the loads applied on geometry.
Right mouse click to uncheck the boxes for constraints, pressure, and forces.
Click remesh.
The automesher deletes the existing elements before creating a completely new set based
on the new element size. As you exit the automesh panel, the loads that were applied to the
initial mesh are removed since the elements are no longer there.
Altair Engineering
New mesh
2. Map all the loads on geometry to the new mesh using the load on geom panel.
Click loadcols and check the boxes next to constraints , pressure, and forces.
Click select.
Note
Deleting geometric entities to which loads are applied will also result in the deletion of
these loads. It will not affect any loads applied to the mesh, though.
In this section we experimented with the re-mapping of loads applied to geometry onto a new mesh.
Loads applied on geometric entities can be mapped several times onto the different finite element
entities attached to these geometric entities. We took advantage of this in a situation where a mesh
had to be changed, and it saved us from having to re-create loads on the elements.
This concludes this tutorial. You may discard this model or save it to your working directory for your
own reference.
In this tutorial, we used several boundary condition creation panels to generate constraints and
various loading conditions on geometric entities. We then experimented with the mapping of these
loads on geometry onto finite elements. We also familiarized ourselves with the rules that govern the
export of loads on geometric entities.
We did not give any consideration to the creation of specific card images that need to accompany the
various loading conditions. For more information on how to generate the various loading conditions
for different solvers, refer to the Modeling / Solver Specific section of the HyperMesh tutorials.
Altair Engineering
You can access these tutorials from the OptiStruct tutorials as well.
Altair Engineering
407
Altair Engineering
6. Click Open.
Note template: displays the location of the general template.
The NASTRAN general template allows you to define NASTRAN-specific attributes in
HyperMesh.
7. Click return to access the main menu.
To create material collectors and components:
Create your material collectors before creating your component collectors; components must
reference a material collector.
1. Select the collectors panel.
2. Select the create subpanel.
3. Select the switch after collector type: and select mats.
4. Click name = and enter steel.
5. Click card image = and select MAT1.
6. Click create/edit.
The MAT1 card image is loaded for the material steel.
7. Click E to make the status title active.
8. Click the data entry field under E and enter 2E5.
9. Click NU, click the data entry field under NU, and enter 0.30.
10. Click return.
11. Click the switch after collector type : and select comps.
12. Click name = and enter shells.
13. Click card image = and select PSHELL.
14. Click material = and select steel.
15. Click color and select color 8.
16. Click create/edit.
HyperMesh goes to the card image panel for the new component, shells. HyperMesh assigns
color 8 to the elements that are organized into this component, and assigns the material steel to
this component.
17. Click T, click the data entry field under T, and enter 10.0.
18. Click return twice to access the main menu.
A component is created named shells. Any elements created and organized into this component
have the thickness attributes defined by the PSHELL card. The elements have material attributes
defined on the MAT1 card by the material collector steel, since the shells component references
this material collector.
Use the card image subpanel to modify the card images for these collectors.
410 HyperMesh 7.0 Tutorials HM-4200
Proprietary Information of Altair Engineering
Altair Engineering
Use the update subpanel to define a different material for the components.
To mesh the geometry:
The automeshing module allows you to mesh interactively on surfaces. It also includes tools for
manipulating surface edges and meshing fixed points (locations where the mesher is required to
place a node). The elements generated are organized into the current component, shells.
1. Select the automesh panel on the 2-D page.
2. Select the surface displayed in the graphics area and click mesh.
3. Click using size and biasing = and enter 40.
4. Click recalc all.
5. Click mesh.
6. The automesher creates about 400 elements on the surface.
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
3. Retrieve the input deck that was used to run the NASTRAN job:
Click FE.
Click import.
Choose plate_hole.dat.
Click Open.
Altair Engineering
Click Open.
Click execute.
Click browse and select plate_hole.hmres, located in the directory from which
NASTRAN is run.
Click Open.
Isometric view of deformed plot overlaid on original undeformed mesh. Model units are set to 250.
To view a contour plot of stresses and displacements:
1. Select the contour panel on the Post page.
2. Click simulation = and select Subcase-1.
3. Click data type = and select Displacements.
4. Select the view panel on the permanent menu.
Altair Engineering
von Mises stress plot using discrete contours (in performance graphics mode).
Altair Engineering
Altair Engineering
419
Click the switch under creation method: and select card image.
Click create/edit.
3. Edit the card image to add the appropriate material model cards:
By default, the selected type is ISOTROPIC. If it is not, click the switch and select
ISOTROPIC.
By default, the ELASTICDATACARDS= field value is 1. If it is not, input 1 to set the number
of datalines.
In the card image section of the menu, click the field beneath E(1) and enter 2.1E5.
In the card image section of the menu, click the field beneath NU(1) and enter 0.3
Altair Engineering
Altair Engineering
421
Click the switch under creation method: and select card image.
Click create/edit.
Click the field beneath dof1 in the card image and enter 3.
The dof2 field in the *SPRING card is ignored by ABAQUS for SPRING1 elements.
Click the field beneath Stiffness in the card image and enter 1.0E-5
Altair Engineering
This shorthand selects all of the nodes from 451 to 460 in increments of 3.
Click create.
423
13. Click add to the right of slave: to add these faces to the *SURFACE .
14. Click return to exit the panel.
No modification of the *SURFACE card is necessary for surfaces defined using element faces.
When you export the deck to ABAQUS, a list of element faces is written after the *SURFACE
card.
To define a *SURFACE using sets:
1. Select the interfaces panel from the BCs page.
2. Select the add subpanel.
3. Double-click name = and select MASTER.
4. Click the entity selector switch and select sets.
5. Click sets and choose BEAMSURF from the list of sets.
6. Click select to finish the selection process.
7. Click update to add the set to the *SURFACE.
8. Click return to exit the panel.
To define the face identifiers of a set in *SURFACE card:
1. Select the interfaces panel on the BCs page.
2. Select the card image subpanel.
3. Double-click name = and select MASTER.
424 HyperMesh 7.0 Tutorials HM-4300
Proprietary Information of Altair Engineering
Altair Engineering
4. Click edit.
5. Click the selection box under Label and choose S1 from the pop-up menu.
Note:
Click the selection box under Label and choose the correct face from the pop-up menu.
For this method, all elements in the set must be properly aligned and you must know
which face is involved in the contact.
Click the switch under TRIM and select YES from the list.
This method allows ABAQUS to automatically define the master surface based on rules
in the ABAQUS Users Manual.
Altair Engineering
425
Altair Engineering
Altair Engineering
427
2. Click loadcol = and select HISTORY1 from the list of load collectors.
As the constraints are created, they will be placed in this load collector.
3. Click return to exit the panel.
4. Select the constraints panel on the BCs page.
5. Select the create subpanel.
6. Activate the check boxes next to dof1, and dof2.
7. Deactivate the check boxes next to dof3, dof4, dof5, and dof6.
8. Click nodes and select by sets from the extended entity selection menu.
9. Select LOADED.
10. Click select.
11. Click create.
12. Click return to exit the panel.
To create forces on the INDENTOR component:
1. Select the forces panel on the BCs page.
2. Select the create subpanel.
3. Click nodes and select by sets from the extended entity selection menu.
4. Select LOADED.
5. Click select.
6. Click the upper switch and select vectors.
7. Click magnitude = and enter 10.0
8. Click the lower switch and select z-axis.
9. Click the toggle to global system.
10. Click create.
11. Click return to exit the panel.
Altair Engineering
4. Click return.
To edit the output block:
1. Select the output block panel from the BCs page.
2. Double-click name = and select OUTPUT1.
3. Click edit.
4. Select NodeFile in the options list.
5. Select U from the sub-options list of NodeFile.
6. Select ElFile in the options list.
7. Select S and SINV from the sub-options list of ElFile.
8. Select ContactFile in the options list.
9. Select CSTRESS from the sub-options list of ContactFile.
10. Click return to accept the changes to the card image.
11. Click return to exit the panel.
Altair Engineering
429
Select Increment and Nlgeom from below StepParameters in the options list.
Click the field after INC= in the card image and enter 100.
Click the AnalysisProcedure switch and select Static from the analysis types list.
You may have to use the vertical scroll bar on the left side of the card image to find the
AnalysisProcedure option.
Select the Dataline option from the option lists for Static analysis
Click the field beneath Init_Inc in the card image and enter 0.05 as initial increment.
Click the switch under Options and select Ascii from the list.
Altair Engineering
Click FE.
Click left toggle switch and choose ABAQUS from the pop-up menu.
Click the import.. button and select job1.inp, if you ran your own solver program (or
abaqus3_0tutorial.inp, if you want to use the supplied file).
Click Open.
Altair Engineering
431
Click execute.
If you are using the x version of HyperMesh, an error message may be displayed. Select
continue in the pop-up menu.
Altair Engineering
Altair Engineering
433
Altair Engineering
3. Move the window to the bottom-left corner of the HyperMesh interface and resize it to your liking.
Altair Engineering
9. Click the Element set: entry box and select slider-bot from the list of existing sets.
10. Click the Review Set button to highlight all the elements in the selected set.
11. Right mouse click the Review Set button to reset the highlighting.
12. Click the Face: button and select S2 from the pull down menu.
13. Check the Display option and click the Update button.
This adds the selected set and face identifier to the current surface. In addition, it creates a
special display for the surface.
Notice the S2 face actually does not define a valid surface for elements in slider-bot set.
14. Click the Face: button and select None from the pull down menu.
15. Uncheck the Display option and click the Update button.
This adds the selected set to the current surface. Abaqus will generate a free surface the set.
Note HyperMesh, by default, does not create any display for surfaces defined with sets.
16. Select the Optional parameter tab in the Element Based Surface window.
17. Select the Trimming of open free surface option and select YES from the toggle.
18. Click Close to return to the Abaqus Contact Manager dialog.
Youll notice in the Surface: table that the Display options for the slider-bot surface is disabled.
At this point, you have created all the surfaces required.
19. Click the Display All button to display all surfaces.
You can review any surface by selecting from the table and clicking the Review button. The
selected surface will be highlighted with white and show up through the solid mesh when using
performance graphics. If the surface is defined with sets (display option disabled), the underlying
elements are highlighted. A right mouse click on all Review buttons will clear the highlighting.
Altair Engineering
The column numbers in the table will change with the No of Dependencies selected. The
row numbers can be defined in the No of data lines entry box. Clicking the corresponding
Set button will update the table to have the specified number of rows.
For inputting values in the table, click on a cell to make it active and enter the values from the
keyboard. The table works like a regular spread sheet.
You can also read comma-delimited data from a text file by clicking the Read From a File
button. This button opens up a file browser window. Select the file and click Open to export
the comma-delimited data. The row number will be set to the number of data lines found in
the file.
Clicking the Right mouse button in the table displays a pull down menu with copy, cut and
paste options. Comma-separated data can be copied/cut into, or pasted from the clipboard
with these options. Relevant hot keys (for example, Ctrl-c, Ctrl-x and Ctrl-v in Windows) will
also work.
Clicking the left mouse button in a cell activates that cell. Clicking into an already active cell
moves the insertion cursor to the character nearest the mouse.
Moving the mouse while the left mouse button is pressed strokes out a selection area.
The left, right, up and down arrows move the active cell.
CTRL-leftarrow and CTRL -rightarrow moves the insertion cursor within the cell.
BACK SPACE deletes the character before the insertion cursor in the active cell. If multiple cells
are selected, BACK SPACE deletes all selected cells.
DELETE deletes the character after the insertion cursor in the active cell. If multiple cells are
selected, DELETE deletes all selected cells.
CTRL -A moves the insertion cursor to the beginning of the active cell. CTRL -E moves the
insertion cursor to the end of the active cell.
CTRL minus (-) and CTRL equals (=) decrease and increase the width of the column
with the active cell in it.
Altair Engineering
While you are over a border, pressing Button-1 (Left button) or Button-3 (the right button
in Windows) and moving the mouse causes interactive resizing of that row and/or column
to occur.
Altair Engineering
highlighted. A right mouse click on all Review buttons will clear the highlighting.
16. Click the Close button to close the Abaqus Contact Manager window.
General comments:
The Edit ... button opens the corresponding window for editing the selected interface, surface or
surface interaction.
The Review button reviews the selected interface, surface and surface interaction as follows:
For surface, it highlights the selected surface in the HyperMesh window. The surfaces are
highlighted with white and show up through solid mesh when in performance graphics. If the
surface is defined with sets (display option disabled), the underlying elements are highlighted
in the HyperMesh window.
For interface, it highlights corresponding slave and master surfaces together in HyperMesh
window. The surfaces are highlighted in the same fashion as mentioned above.
For surface interaction, it highlights the names of all interfaces using the selected surface
interaction in the Interface table. There is no graphical review for surface interaction.
The Delete button deletes the selected interfaces, surfaces or surface interactions. This button
accepts multiple selections from the Interface table.
The Sync button updates the Contact Manager with the current HyperMesh database. If you
create, update or delete any components, groups, properties or entity sets from HyperMesh
panels while the Contact Manager is open, click the Sync button to update the Contact
Manager with the changes.
If you minimize the Contact Manager window or it goes behind the HyperMesh window, clicking
the Contact Manager button in the Abaqus Macro menu restores it.
There is bubble help for important buttons. Place the mouse on the buttons for a few moments to
view it.
A double click on the interface, surface or surface interaction names in the table opens the
corresponding edit windows. A right mouse click on these names displays pull down menu with
options.
Clicking on the border with the left or right mouse button pressed down and moving the mouse
can resize columns in a table.
SHIFT and CTRL keys can be used with left mouse clicks to select multiple items in a table (useful
for deleting multiple items).
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
25. When satisfied with the surface definition, click Close to return to the Abaqus Contact Manager
dialog.
To create the "cylinder-top" surface:
1. Select the Surface tab in the Abaqus Contact Manager dialog and click the Display None button
to undisplay all surfaces.
2. Click the New button.
This opens the Create New Surface dialog.
3. Type cylinder-top in the Name: entry box.
4. Select Element based as the type of surface.
5. Click Color: button and select color 6.
6. Click Create button.
This opens the Element Based Surface dialog for defining elements and corresponding faces for
the surface.
7. Select the display panel from the permanent menu.
8. Click the upper switch and select comps.
9. Click the toggle to elems.
10. Use the right mouse button to deselect all components TOP_CYLINDER.
11. Click return to exit the panel.
12. Click the f button on the permanent menu.
13. Restore the Element Based Surface dialog (by clicking the Contact Manager button or the icon
in the task bar.)
14. Select the Define tab in the Element Based Surface dialog.
15. Select 3D solid, gasket option from the Define surface for: radio buttons.
16. Click the Elements button.
This opens the HyperMesh element selector panel.
17. Click the elems button, select by collector, check TOP_CYLINDER component and click select.
This highlights the elements in TOP_CYLINDER component.
18. Click proceed to return to the Element Based Surface dialog.
19. Select Solid skin option from the Select faces by: radio buttons.
20. Select a color from the Solid skin color: button
21. Click the Faces button.
This creates a temporary skin of the selected elements and open the HyperMesh element
selector panel.
22. Select an element from the solid skin, click the elems button, select by face.
Altair Engineering
You will see faces all around the solid skin are highlighted.
23. Rotate the model in the HyperMesh interface to verify all desired faces are selected.
You can deselect any element (by right clicking) or add more if you like.
24. When you are satisfied with the element faces selected, click proceed to come back to the
Element Based Surface dialog.
25. Click the Add button to add these faces to the current surface.
This creates special "face" elements (rectangles with dot at the middle) for display.
You can reject the recently added "faces" by clicking the Reject button. You can also delete
"faces" from the Delete Face page.
26. When satisfied with the surface definition, click Close to return to the Abaqus Contact Manager
dialog.
Altair Engineering
15. Restore the Element Based Surface dialog (by clicking the Contact Manager button or the icon
in the task bar).
16. Click the Elements button.
This opens the HyperMesh element selector panel.
17. Click the elems button, select by collector, check BOT_CYLINDER component and click select.
You will see the elements in BOT_CYLINDER component highlighted.
18. Click proceed to return to the Element Based Surface window.
The normals of the selected elements will be displayed at this point. If the normals are too big,
click Reset, go to the view panel from the permanent menu and select front from the pop-up
menu. Restore the Element Based Surface dialog and repeat steps 15 -17.
Youll notice that all normals are pointing inwards.
19. Check the Reverse option.
20. Click the Add button to add these faces to the current surface.
It will create special "face" elements (rectangles with dot at the middle) for display.
21. You can reject the recently added "faces" by clicking the Reject button. You can also delete
"faces" from the Delete Face page
22. Go to the Adjust Normal page and select Display normals option.
The normals of all the "faces" in the curret surface will be displayed. Youll notice that all normals
are pointing outwards.
23. When satisfied with the surface definition, click Close to go back to the Abaqus Contact
Manager dialog.
Altair Engineering
Altair Engineering
Note
HyperMesh, by default, does not create any display for surfaces defined with sets.
However, if you check the Display option before clicking Update, it will create a special
display using contactsurface elements. The special display does not have any link to
the set in HyperMesh database. Therefore, if you edit the set later on, the display would
not reflect them automatically. In this case, you need to come to this page, check the
Display option and click Update button again.
Altair Engineering
Altair Engineering
Altair Engineering
DELETE deletes the character after the insertion cursor in the active cell. If multiple cells
are selected, DELETE deletes all selected cells.
CTRL -A moves the insertion cursor to the beginning of the active cell. CTRL-E moves the
insertion cursor to the end of the active cell.
CTRL minus (-) and CTRL equal (=) decrease and increase the width of the column with
the active cell in it.
To interactively resize a row or column, move the mouse over the border while Button-1
or Button-3 (the right button on Windows) is pressed.
11. Click OK to go back to the Abaqus Contact Manager dialog.
The corresponding Create New button opens the Create New Surface dialog for
creating a new surface. When you are done creating and defining the surface, the
Contact Pair window returns with the new surface selected as the slave surface.
10. Follow step 7 and 8 using the Select master surface: to select the cylinder-top as the master
surface.
11. Click the Select surface interaction: entry box to show a list of the existing surface interactions.
12. Select friction1 from the list as the interaction property for the current contact pair.
13. Select the Parameter tab in the Contact Pair dialog.
454 HyperMesh 7.0 Tutorials HM-4320
Proprietary Information of Altair Engineering
Altair Engineering
Click the Close button to close the Abaqus Contact Manager window.
General comments:
The Edit ... button opens the corresponding window for editing the selected interface, surface
or surface interaction
The Review button reviews the selected interface, surface and surface interaction as follows:
For surface, it highlights the selected surface in HyperMesh window. The surfaces are
highlighted with white and show up through solid mesh in performance graphics. If the
surface is defined with sets (display option disabled), the underlying elements are highlighted
in HyperMesh window.
For interface, it highlights corresponding slave and master surfaces together in HyperMesh
window. The surfaces are highlighted in the same fashion as mentioned above.
For surface interaction, it highlights the names of all interfaces using the selected surface
interaction in the Interface table. There is no graphical review for surface interaction.
The Delete button deletes the selected interfaces, surfaces or surface interactions. This
button accepts multiple selections from the Interface table.
The Sync button updates the Contact Manager with the current HyperMesh database. If you
create, update or delete any components, groups, properties or entity sets from HyperMesh
panels while the Contact Manager is open, click the Sync button to update the Contact
Manager with the changes
If you minimize the Contact Manager dialog or it goes behind the HyperMesh window,
clicking the Contact Manager button in the Abaqus Macro menu restores it.
Altair Engineering
Bubble help exists for important buttons. Place the mouse on the buttons for a few moments
to view it.
Double clicking the interface, surface and surface interaction names in the table will open
the corresponding edit windows. A Right mouse click on these names displays a pull down
menu with options.
Clicking a table border, pressing and holding the left or right mouse button and moving the
mouse can resize columns in a table.
Shift and Ctrl keys can be used with a left mouse click to select multiple items in a table
(useful for deleting multiple items).
Altair Engineering
For more information regarding the panels used in this tutorial, refer to the Panels section of the online help, or click the help button while in a specific panel to bring up its context sensitive help. For
detailed information on the HyperMesh ABAQUS interface, refer to the External Interfacing section of
the on-line help.
This tutorial requires about 30 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your system administrator.
Altair Engineering
The abaqus_StepManager_tutorial.hm file contains pre-defined model data. Use this file in
the following exercises to define the history data portion of this model.
To define a *STEP card and specify *STATIC as the analysis procedure:
In this exercise, you will create a *STEP card with the *STATIC analysis procedure.
1. If you are currently not on the Abaqus macro page, click Abaqus from the macro menu.
2. Click Step Manager.
The Step Manager dialog is displayed.
3. Click New and enter step1 in the Name: text box.
4. Click Create to create the step.
This creates a step called step1 and opens the Load Step edit dialog.
5. From the tree on the left side of the window, select Title.
The Step heading: option with a disabled field is displayed.
6. Activate the Step heading: check box and enter 100kN load in the text box.
7. Click Update to store the heading information into step1.
8. From the tree, select Parameter.
9. Activate the Name and Perturbation check boxes, and click Update. Notice that name is
already set to step1.
10. From the tree, select Analysis procedure.
11. For Analysis type:, select static and click Update.
This creates the *STATIC keyword in step1.
In this exercise, you created a step (*STEP) called step1 and specified *STATIC as the analysis
procedure. Next, you will define the loads and boundary conditions.
Altair Engineering
4. In the menu area, activate exterior and click select entities. This selects all nodes outside the
window you drew.
5. Activate all six dofs dof1, dof2, dof3, dof4, dof5, dof6.
6. Click create.
HyperMesh creates constraints at the nodes you selected.
7. Click return.
You are returned to the Step Manager Load Step dialog.
8. Look at the Load type: line at the bottom of Step Manager window. Notice that Bc (short for
BOUNDARY) appears on this line, identifying it as a load type created in the
load_and_constraints load collector. The corresponding load type on the tree is also
highlighted.
To create Forces (*CLOAD):
1. From the tree, double-click Concentrated loads.
2. Select CLOAD-Force from the expanded options under Concentrated loads.
A new set of tabs is displayed.
3. From Define tab, click Define from Forces Panel.
The HyperMesh Forces panel is displayed. Use this panel to create forces.
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
17. To make the view clearer, click Label under the Load collector table.
The Label Options dialog is displayed.
18. De-select the Load label check box to turn off the labels.
The new view with the labels turned off is shown below.
Altair Engineering
Altair Engineering
S is added to the data line on the right. You are now requesting stress results in the .fil file.
7. Click Update.
8. Click Review.
A text-editor showing the output requests you made is displayed. This is the format used in the
ABAQUS input file (.inp).
9. Click Close on the text-editor window.
10. Click Close.
The Load Step edit dialog of Step Manager closes and you are returned to the main Step
Manager window. The main Step Manager window displays step1 information as we defined in
previous exercises.
11. Click Close to exit the Step Manager dialog.
In this exercise, you requested displacement and stress results in ABAQUS output database format
(.odb) and ABAQUS results file format (.fil). Next, you will export the model and history data
currently stored in the database to an ABAQUS input file (.inp).
Altair Engineering
After you quit HyperMesh, you can run the ABAQUS solver using the job1.inp file that was written
from HyperMesh.
For additional tools and techniques, refer to the tutorial Pre-Processing for Bracket and Cradle
Analysis using ABAQUS - HM-4340.
Altair Engineering
Viewing images of keywords and data lines in HyperMesh as they appear in the ABAQUS
input file
Selecting ABAQUS entity types for HyperMesh element and load configurations
Creating loads and boundary conditions for model data (*KINEMATIC COUPLING and
*BOUNDARY)
Millimeters and KiloNewtons (mm, kN) are used and the tutorial is based on ABAQUS 6.4.
For more information regarding the panels used in this tutorial, refer to the Panels section of the online help, or click the help button while in a specific panel to bring up its context sensitive help. For
detailed information on the HyperMesh ABAQUS interface, refer to the External Interfacing section of
the on-line help.
This tutorial requires about 30 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your systems administrator.
The model used is a ball and a baseball bat (see image below).
Altair Engineering
ELSET bracket modeled with penta (C3D6) and hexa (C3D8) elements
ELSET cradle modeled with tria (S3) and quad (S4) elements
*SOLID SECTION property for ELSET bracket with the aluminum material associated to it
454,
455,
463,
453
341,
453,
463,
464,
452
Altair Engineering
Method One
Create a material collector with a card image and edit it to define material data. Do this from
the create sub-panel with collector type set to mats. Select this material when you create a
component. The material is automatically associated to the create component.
Method Two
HyperMesh automatically creates a material collector when you create a component. The
materials name is the components name. The material is automatically associated with the
component. Use the card image sub-panel to assign a card image to the material and edit it
to define material data.
Update a component with a material from the collectors panel, update sub-panel.
In HyperMesh, it is possible to add as many data lines as you want for a material (such as *PLASTIC
with yield stress, plastic strain, and temperature data). Manually enter the data in HyperMesh or
import an ABAQUS formatted input file on top of the model in HyperMesh to create the data lines.
To review the models content:
In this section, use the card panel to review elements, section properties, and materials as they
appear in the ABAQUS input file.
Start by reviewing the card image of one of the elements. Then card edit the two components
bracket and cradle to review the sectional properties associated with the elements in these
components. Finally, card edit the aluminum material collector to review the defined aluminum
material.
1. Use the card panel from the permanent menu to edit the card image of one of the elems from
the bracket.
A card image for the element is displayed. It shows the elements type to be either C3D6 or C3D8
and belonging to the ELSET named bracket.
Altair Engineering
If you have difficulties reviewing the various card images, refer to the tutorial Getting Started
with HyperMesh - HM-1000, or click the help button to load the card panel's help.
Review of the models content is complete. Now we can complete the model data.
To create a *MATERIAL for the cradle:
In this section, create a *MATERIAL with *ELASTIC to define as steel the ELSET (component)
cradle. Create the material from the collectors panel, create sub-panel. Then update the cradle
component with this new material. When you define the sectional property for the cradle component
in the next section, the material will already be referenced in the property.
1. From the collectors panel, create/edit a mats collector with the name steel, and the
ABAQUS_MATERIAL card image.
From the menu area of the card editor, slide the scroll bar down and activate the Elastic
option to create *ELASTIC.
In the displayed card image, specify 200 for elastic modulus E(1).
2. Use the update sub-panel to assign the steel material to the cradle component and update the
material id field.
The steel material is now associated to the ELSET cradle.
Note
If you have difficulties performing these steps, click help and review the help for the
collectors panel.
Altair Engineering
Altair Engineering
The connection component is now the current component as shown in the header bar. All
elements and geometry created from this point forward are automatically organized into it.
2. Use the elem types panel to set the type rigid to KINCOUP.
3. Use the view panel from the permanent menu to restore the top bolt hole view.
4. Use the distance panel to create a node at the center of the bolt hole to be the *KINEMATIC
COUPLING reference node.
Press the F4 key to enter the distance panel from the Geom page.
From the graphics area, select three nodes on the top side of the bolt hole for N1, N2, and N3
(see figure below).
Click circle center to create a node at the center of the selected nodes.
5. Use the rigids panel to create a spider -like rigid link for the *KINEMATIC COUPLING.
Activate all six degrees of freedom, dof1 to dof6, to constrain the *KINEMATIC COUPLING
reference node in all six directions.
With the node selector for independent: active, select the center node created in the
previous step.
With the nodes selector active, select all the nodes on the top side of the bolt hole (see figure
below).
Altair Engineering
Use the disp panel from the permanent menu to turn off the elements in the bracket
component.
With the nodes selector active, select the nodes around the hole in the cradle (see figure
below).
Use the disp panel from the permanent menu to turn on the elements from the bracket
component.
Altair Engineering
Kinematic coupling
The *KINEMATIC COUPLING is now created and organized into the connection component.
6. Move all *KINEMATIC COUPLING entities into the connection component using the organize
panel.
Click the toggle in the middle of the panel to change displayed rigid links to all rigid links.
All the *KINEMATIC COUPLING entities are now organized into the connection component. Model
data definition is complete.
Altair Engineering
Step Manager
Step Manager has a default step named Initial Condition. It is used to create boundary conditions
and loads (initial conditions) in the model data portion of the ABAQUS input file.
A dialog is displayed to edit the Initial Condition step. Only valid boundary conditions and load types
for model data can be selected from the Step Managers Load Step options list for the Initial
Condition step.
Altair Engineering
To define *BOUNDARY:
Create these constraints at the cradles ends using the Step Manager. Define them as model data,
not history data. Do this by editing the Step Managers default step named Initial Condition. For this
step, create a load collector and then create the constraints.
1. Open the Step Manager from the Abaqus page of the macro menu.
2. From the Step tab, select Initial Condition from the table.
3. Click Edit to modify this step.
A new dialog is displayed.
4. From the Load Step options list, select Boundary.
This specifies the type of initial condition you want to create.
5. Use New to create a new load collector named constraints.
6. Check Display for the constraints load collector.
7. Optionally, select a Display color for the constraints load collector.
8. From the load collector table, click constraints to make this collector active.
New menus are displayed on the right for the Load Type selected (Boundary).
9. From the Define tab, set Type: to default (disp).
10. Click Define from Constraints panel to go to the Constraints panel.
The Constraints panel in HyperMesh is displayed.
11. Use the view panel from the permanent menu to select the right view.
12. Click nodes and select by window.
13. Draw a window in the graphics area such that all nodes at both ends of the cradle are selected.
Altair Engineering
1. From the Step tab of Step Manager, create a New step named step1.
2. From the Load Step options list, select Title to define the steps title.
The menu for Title is displayed on the windows right side.
Activate the option Name so the steps name is written to the ABAQUS input file.
Activate the option Perturbation to set the analysis for small-scale, linear deformations.
5. Click Text to review what has been defined so far for the step.
6. From the Load Step options list, expand the list for Concentrated loads.
7. Select CLOAD-Force (Concentrated loads >> CLOAD-Force).
8. Create a new load collector named force.
9. Optionally, select a Display color for the force load collector.
Altair Engineering
10. From the Load collector table, select force to activate this collector.
New menus are displayed on the right for the selected load type (CLOAD-Force).
11. From the Define tab, click Define from Forces Panel to create a CLOAD from the Forces
panel.
12. From the graphics area, select the central node on the top side of the brackets arm (see figure
below).
Altair Engineering
Note
Resize the Step Manager window as needed to view the output options list more easily.
8. From the Load Step options list, under Output request, select Result file (.fil).
The output block step1_output is still highlighted (active) in the Output block table.
9. From the Define tab, activate the options Node file and Element file.
10. Specify nodal displacement output for the FIL file.
11. Specify the elemental stress output for the FIL file.
Altair Engineering
Altair Engineering
The units used in this tutorial are Miliseconds, Millimeters, Kilograms, and Kilonewtons (ms, mm, kg,
kN), and the tutorial is based on ABAQUS 6.4.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to bring up its context sensitive help. For
detailed information on the HyperMesh ABAQUS interface, refer to the External Interfacing section of
the on-line help.
This tutorial requires about 30 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your system administrator.
The model used is composed of four tubes (see image below).
Crashing tubes
Altair Engineering
To load the ABAQUS Explicit user profile and retrieve the model:
1. Click user prof from the Tool page to load the Abaqus user profile and Explicit template.
2. Use the files panel to retrieve the file crash_tubes.hm file from the
<install_directory>/tutorials/hm directory.
The model contains the following ABAQUS model and history data:
Four tubes with shell (S4R) elements. The corresponding ELSETs are named FixTube,
MovTube, MovTube2 and MovTube3.
A *SHELL SECTION property for each tube. Each property is associated with one of two
materials.
A HyperMesh system.
Altair Engineering
*ORIENTATION system is for shell and membrane elements, activate the locdir_alpha option.
By default, the local axis closest to being normal to the elements 1 and 2 material directions is
the local 1-axis. Also by default, the additional rotation about the local normal axis is 0. You can
change these values by editing the [locdir] and [alpha] fields in the pop-up card image.
6. Associate the *ORIENTATION to the desired sectional properties:
In the pop-up card image, specify the name of the systems collector in the OrientationName
field.
Altair Engineering
In the card image, leave [locdir] set to 1 to specify the radial axis as the axis closest to
being normal to the shells 1 and 2 material directions.
Leave [alpha] set to 0 for the additional rotation of the local normal axis.
3. Associate *ORIENTATION to the fixed tubes sectional property using the card panel.
In the card panel, click the entity selector switch and select comps.
Click edit.
*SHELL SECTION, ELSET = FixTube is shown in the pop-up card image.
Altair Engineering
1. Open the Contact Manager from the Abaqus page of the macro menu.
2. On the Surface tab, click New to begin defining a surface.
Click Create.
The Element Based Surface, Name: S1_Fixed window is now displayed.
3. Select 3D shell, membrane, rigid from the Define surface for: options list.
4. Click Elements to select the elements on which the surface will be defined.
In the HyperMesh panel, click elems and select the by collector selection method to select
elements by component collector.
2. Select Element set from the Define surface for: options list.
3. Use the drop-down menu below Element set: to select the pre-defined element set
Ma_TubeContSet.
4. Click Review Set to highlight the elements in the selected set.
5. Right-click Review Set to remove the highlight on the elements.
6. Select Show Faces to view the direction of the element normals.
7. Click OK in the pop-up information window.
Altair Engineering
The normals are pointing into the moving tube. Hence, the faces on the inside of the moving tube
elements are SPOS.
8. Switch the Face: option from None to SNEG.
This specifies the faces on the outside of the moving tube elements. SNEG is written to the input
file for the set of elements forming this master contact surface.
9. Activate the Display option.
10. Update the surface definition.
11. Answer Yes to the pop-up confirmation question.
12. Close out of the Ma_Moving surface window and return to the Contact Managers main window.
Notice the surface Ma_Moving is listed in the Surface tab.
To create *SURFACE INTERACTION in the Contact Manager:
1. On the Surface Interaction tab, create a new surface interaction with the name
CrashContact_Inter.
A Surface Interaction dialog displays.
2. On the Define tab, activate the Friction option.
3. On the Friction tab, specify 0.2 for Friction Coeff in the table.
4. Click OK to return to the Contact Managers main window.
Notice the surface interaction CrashContact_Inter listed in the Surface Interaction tab.
To define a general contact, *CONTACT in the Contact Manager:
1. On the Interface tab, click New to begin defining an interface.
Altair Engineering
Altair Engineering
Method 1:
Create *AMPLITUDE using the edit curves panel with the math option.
Method 2:
Create *AMPLITUDE by importing an xy data file. Below is an example of the xy data file format.
XYDATA
0.0, 0.0
1.0, 2.0
(more lines)
ENDDATA
HyperMesh supports *AMPLITUDE with DEFINITION = TABULAR. Use the Step Manager to
associate a *AMPLITUDE to a load in HyperMesh.
Curves are displayed in xy plots in HyperMesh. Create a plot using the plots panel. Use the curve
attribs panel to change a curves name. Use the delete panel to delete curves and plots. Preview the
card image of a *AMPLITUDE by selecting curves in the card panel.
In this section, create two *AMPLITUDEs. Create the first one using Method 1. The purpose for
creating this *AMPLITUDE is to simply demonstrate how to do it using the edit curves panel.
Create the second *AMPLITUDE using Method 2. The time and acceleration (gravity) data file was
created in Excel and exported as a comma separated file (*.csv). Specify the second *AMPLITUDE
for the *DLOAD, TYPE = GRAVITY that you will define.
1. Create *AMPLITUDE in the edit curves panel using a mathematical expression:
Use the disp panel as needed to turn on the display of the plots.
The curve is named curve1. Since no plot was selected in the edit curves panel, the xy plot
was automatically created and is named untitled.
2. Create *AMPLITUDE by importing a data file in the read curves panel.
Click input.
Altair Engineering
Altair Engineering
11. Under Displacement from the output options list, select U to request nodal displacement output.
12. Update the step.
13. Go to the Element Output tab.
14. Under Section_points select 0 and then 1 through 5 to request results on element layers 1
through 5.
15. Under Stress select S to request element stress output.
16. Update the step and close the Step Manager.
17. Use the files panel to export the model to your working directory as
crash_tubes_Complete.inp.
Make sure the template field shows the filename abaqus/explicit.
This concludes this tutorial. You may discard this HyperMesh model or save it to your working
directory for your own reference.
In this tutorial we introduced some of the concepts that govern the HyperMesh interface to ABAQUS.
We used the Contact Manager to setup a general contact between all the tubes. We also used the
Step Manager to do basic modeling in terms of ABAQUS such as defining boundary conditions,
output requests and steps.
For more detailed information on the Contact Manager and Step Manager, please refer to the on-line
help.
Altair Engineering
Updating elements
Altair Engineering
Updating Elements
In this section, make the existing element types ANSYS-compatible elements.
To retrieve the file for this tutorial:
1. Launch HyperMesh or clear the current model.
2. Select the files panel on any main menu page.
3. Select the hm file subpanel.
4. Click retrieve.
HyperMesh displays the Open files dialog.
5. Select the hm-ansys.hm file, located in the <install_directory>/tutorials/hm/
directory.
6. Double-click file name or click Open.
HyperMesh returns to the files panel. Note that file = now displays the location of the
ansys.hm file.
hm-
Altair Engineering
Altair Engineering
Altair Engineering
10. Click the data entry field under MASS(1) and enter 100 for the mass of the MASS elements.
11. Click return.
HyperMesh returns to the collectors panel.
12. Click return to access the main menu.
To create a property collector for gap elements:
1. Select the collectors panel.
2. Select the create subpanel.
3. Click name = and enter GAP.
4. Click card image = and select CONTAC12p.
5. Click material = and select mat.
6. Click create/edit.
HyperMesh goes to the card image panel.
7. Click the data entry field under KN(2) and enter 2 E 05.
8. Click return.
HyperMesh returns to the collectors panel.
9. Click return to access the main menu.
To create a property collector for link elements:
1. Select the collectors panel.
2. Select the create subpanel.
3. Click name = and enter LINK.
4. Click card image = and select LINK1p.
5. Click material = and select mat.
6. Click create/edit.
HyperMesh goes to the card image panel.
7. Click the data entry field under AREA(1) and enter 10 for the cross sectional area of the link
elements.
8. Click return.
HyperMesh returns to the collectors panel.
9. Click return to access the main menu.
After creating property collectors, assign them to their respective element types.
Altair Engineering
Altair Engineering
7. Click update.
8. Click return.
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
3. Click comps.
4. Select the component named DISC_42.
5. Click select.
6. Click proceed.
The Next button in the Selecting Target Body dialog will be activated.
7. Click the Next button. The edges of the selected target body will be extracted and displayed as
shown in the figure below. The Selecting Target Elements dialog will be displayed.
Altair Engineering
2. Click elems.
The HyperMesh extended entity selector will be displayed.
3. Select by window as the element selection method.
4. Select the contact surface elements as shown in the figure below.
Altair Engineering
This dialog displays the default target component ID and default target component type
which cannot be modified.
The target component name can be changed, but the name should not be used by other
components in the model.
Click the target contact component color button to change the default target/contact
component colors. Select the new color from the pop-up menu.
The KEYOPT values will be assigned to the target component by default. Click on the radio
button Do not apply KEYOPTs, if you do not want to assign any KEYOPTs to the target
components.
Optionally, click on a KEYOPT menu button to select the appropriate KEYOPT value from the
pop-up menu. To see all options for a specific KEYOPT, move the mouse over a KEYOPT
button, and a yellow cursor-help box pops up with detailed description of all available options.
Click the Next button in the Defining Target Element Component dialog. A full model
displays as shown in the following figure. The Selecting Contact Body dialog then displays.
Altair Engineering
2. Click comps.
3. Select the component named BOX_42.
4. Click select.
5. Click proceed.
6. Click the Next button in the Selecting Contact Body dialog.
The edges of the selected contact body will be extracted and displayed as shown in the following
figure.
Altair Engineering
1. Click the Select Contact Elements button, and the following HyperMesh panel will be displayed.
2. Click elems.
The HyperMesh extended entity selector displays.
3. Select by window as the element selection method.
4. Select the contact surface elements as shown in the following figure.
Altair Engineering
This dialog displays the default contact component ID: and contact component type
which cannot be modified.
The contact component name can be modified, but this name should not be used by other
components in the model.
The previously selected (in step 3, the Defining Target Element Component dialog)
target/contact component color will be displayed. The color can be modified again. The new
color will be applied to both target and contact components.
The KEYOPT values are assigned to the contact component by default. Click on the radio
button Do not apply KEYOPTs, if you do not want to assign any KEYOPTs to the contact
component.
Optionally, click on a KEYOPT menu button to select the appropriate KEYOPT value from the
pop-up menu. To see all of the options for a specific KEYOPT, move the mouse over a
Altair Engineering
KEYOPT button, and a yellow cursor-help box pops up with detailed description of the
available options.
Click the Next button in the Defining Contact Element Component dialog. The full model
will be displayed as shown in the figure below.
Altair Engineering
The target and associated contact elements are identified by a shared real constant set. This
real constant set includes all real constants for both the target and contact elements.
A new property with the real constant values will be created by default. Both target and
contact components will be pointed to this new property. Click the radio button Do not apply
real constants if you do not want to assign any real constants to the target/contact elements.
Optionally, modify or enter the target/contact elements real constant values. Click the Reset
Default button to reset the default values at any time.
Click the Next button in the Defining Properties dialog. The Defining Material Properties
dialog displays.
It is optional to define a new material for the target/contact elements or to select an existing material.
If do not want to assign any material properties:
1. Click the Next button in the Defining Material Properties dialog to create target/contact
elements.
2. Go to Step 9 (below).
To define a new material:
1. Click the Define New button in the Defining Material Properties dialog, and the Defining New
Material dialog will be displayed.
Altair Engineering
A new material will be created in the HyperMesh database. The default material ID will be
displayed which cannot be modified.
2. Click Next in the Defining New Material dialog to create the target/contact elements. The
Exiting dialog will be displayed.
3. Go to Step 9 (below).
To select an existing material:
1. Click the Existing button in the Defining Material Properties dialog. The Selecting Existing
Material dialog will be displayed.
Altair Engineering
3. Click mats.
4. Select a material. Only one material should be selected.
5. Click select.
6. Click return.
7. Click on Next in the Select Existing Material dialog to create the target/contact elements. The
Exiting dialog will be displayed.
Step 9: Exit or Restart
A summary of target/contact elements created by the contact wizard is displayed in the Exiting
dialog.
To exit the Contact Wizard:
Altair Engineering
Altair Engineering
Altair Engineering
3. Click comps.
4. Select the component named CYLINDER_SOLID45.
5. Click select.
6. Click proceed.
7. The Next button in the Select Target Body dialog is activated.
8. Click Next.
The faces of the selected target body are extracted and displayed as shown below.
Altair Engineering
5. Click proceed.
The Next button is activated.
6. Click Next.
The Defining Target Elements Component dialog is displayed.
Altair Engineering
Altair Engineering
2. Click comps.
3. Select the component named BOX_SOLID45.
4. Click select.
5. Click proceed.
6. Click the Next button in the Selecting Contact Body dialog. The faces of the selected contact
body will be extracted and displayed as shown in the figure below.
Altair Engineering
5. Click proceed.
6. Click Next in the Selecting Contact Elements dialog. The Defining Contact Element
Component dialog will be displayed.
Altair Engineering
1. This dialog will display the default contact component ID and type which cannot be modified.
2. The contact component name can be modified, but should not be used by other components in
the model.
3. The previously selected target/contact component color will be displayed, but can be changed
again. The new color will be applied to both target and contact components.
4. By default, the KEYOPT values will be assigned to the contact component. Click the radio button
Do not apply KEYOPTs, if you do not want to assign any KEYOPTs to the contact component.
5. Optionally, click on a KEYOPT menu button to select the appropriate KEYOPT value from the
pop-up menu. To see all of the options for a specific KEYOPT, move the mouse over a KEYOPT
button, and a yellow cursor-help box pops up with detailed description of all the available options.
6. Click the Next button in the Defining Contact Element Component dialog.
7. A full model displays as shown in the figure below.
Altair Engineering
The target and associated contact elements are identified by a shared real constant set. This
real constant set includes all real constants for both the target and contact elements.
Altair Engineering
By default, the real constants values will be assigned to the target/contact components. Click
on the radio button Do not apply real constants if you do not want to assign any real
constants to the target/contact elements.
Optionally, modify or enter the target/contact elements real constant values. You can click on
the Reset Default button to reset the default values at any time.
Click the Next button in the Defining Properties dialog. The Defining Material Property
dialog will be displayed.
It is optional to define a new material for the target/contact elements or to select an existing material.
If do not want to assign any material properties:
1. Click the Next button in the Defining Material Property dialog to create target/contact elements.
2. Go to Step 9 (below).
To define a new material:
1. Click the Define New button in the Defining Material Property dialog. The Defining New
Material dialog will be displayed.
Altair Engineering
A new material will be created in the HM database. The default material ID will be displayed, and
cannot be modified.
The default material name can be modified. The default coefficient of friction (MU) value can also
be changed.
2. Click Next in the Defining New Material dialog to create the target/contact elements. The dialog
Reviewing Normals will be displayed. The model will be displayed as shown in the figure below.
3. Go to Step 9 (below).
To select an existing material:
1. Click on the Select Existing button in the Defining Material Properties dialog. The Selecting
Existing Material dialog will be displayed.
Altair Engineering
3. Click mats.
4. Select a material. Only one material should be selected.
5. Click select.
6. Click return.
7. Click Next in the Selecting Existing Material dialog to create the target/contact elements. The
Reviewing Normals dialog will be displayed.
The model will be displayed as shown in the following figure.
Altair Engineering
The target and contact elements normal should point towards each other. If they do not, the solution
will not be performed correctly in ANSYS. Please review the normal vector direction and reverse
them if needed.
1. Select the target and/or contact components.
2. Define a vector size (default size is 0.000).
3. Click on Display Normals to see the normal vector directions.
4. Select the target/contact components again for which the normal vector direction needs to be
reversed.
5. Click on Reverse Normals to reverse the normal vector directions.
6. Click Next after reviewing the normals. The Exiting dialog will be displayed.
Altair Engineering
This will take you back to the first step and allow you to create another pair of target/contact
elements.
You are encouraged to create another pair of target/contact elements by selecting the
CYLINDER_SOLID45 as the target body and BOX_SOLID95 as the contact body. If you elect to do
so, we would suggest using the display panel to display only the couple of contact components. The
number panel might then be used to display the node numbers of these elements. Please note the
BOX_SOLID45 elements are first order elements, whereas the BOX_SOLID95 elements are second
order.
Altair Engineering
Fixing penetrations
Creating joints
Altair Engineering
525
Detect and fix the penetration between the elements defining a contact Surface to Surface.
The penetration panel calculates penetration based on the following formula:
Ta/2 + Tb/2 - d = P
Where Ta and Tb represent element and/or nodal thickness, d is the distance between the element
midplanes, and P is the amount of penetration. HyperMesh computes the penetration and checks on
a node by node basis, which allows the penetration, P, to vary throughout the model. Nodes with
negative penetration values are marked as non-penetrating nodes.
Altair Engineering
Segment or Element normals are not considered when determining if nodes are penetrating the
opposing face. Nodes are marked as failed regardless of the normals. The normals direction is
taken into account in the phase of Fixing Penetrations, as we will discuss in more detail next.
Nodes that penetrate far enough through the thickness of the opposing surface so that the
thickness does not overlap at the nodal location (left diagram in above figure).
Nodes that lie exactly normal to nodes on the opposing contact surface (right diagram in
above figure). Some of the nodes in the right diagram will be detected, however some of the
nodes will not be detected.
Altair Engineering
527
Fixing Penetrations
All of the nodes that fail the Penetration check are marked as temporary nodes, and the Penetration
Fix panel displays.
The header bar reports the total number of penetrating nodes and the Max/Min penetration occurred.
Altair Engineering
Note
The Penetration Fix panel can only be accessed after completing a penetration check in
the penetration panel.
1. Under interface thickness calculator select the option part thickness using a scale = 1.0.
2. Set the display mode to nodes.
With nodes mode on HyperMesh displays yellow temporary nodes at all node locations failing the
penetration check. The vectors mode displays vectors in the direction and magnitude required to
fix each penetrating node. You can alternate the vector display between uniform size or
magnitude %. The contour mode displays a contour plot from zero to the maximum penetration.
3. Click adjust to fix the penetration.
The adjust function allows you to quickly fix penetrations by moving the nodes that failed the
penetration check. When you click adjust, the penetrated nodes move in the direction and
magnitude of the vectors in the vectors display mode.
Additional use of the adjust function continues to translate the nodes in the same direction and
magnitude. You must use this function with discretion because the adjust function deforms the
original model at the points of penetration (shown in the next exercise).
After the adjust function has been applied, you can:
Use reject to undo the last modifications and remain in the penetration check adjustment panel
Use abort to undo the last modifications and return to the penetration panel
4. Use return to accept the modifications and return to the penetration panel
Once the amount of penetration is determined, the value is used to calculate the vector directions
and magnitudes required to fix the penetrating nodes. Surface to Surface and Single Surface
contacts create vector magnitudes equal to P/2 (the total penetration divided by 2). Node to
Surface contacts define vector magnitudes equal to P because only slave nodes are adjusted.
Note
The interface thickness calculator has two criteria available to fix penetrations:
When the part thickness scale is selected HyperMesh obtains the thickness of the
elements from the current template, applies the scale factor, and uses that thickness to
determine the penetration.
Altair Engineering
529
When the contact thickness is selected HyperMesh uses the value entered as the
thickness of the elements to determine the adjustment for the penetration. Entering a
value 0 tells HyperMesh to use the original thickness.
The save penetrated option allows you to save the location of the penetration areas.
Those data can then be used in other HyperMesh panels to fix the penetration.
In the Penetration Checking, HyperMesh does not take into account the direction of the
element or segment normals. Nodes are marked as failed regardless of the direction
the normals are pointing. However, during the Penetration Fix the computed direction
and magnitude of the penetration does take into account the direction of the normals.
When the segment orientation option is off (second figure below), the penetration
check does not take into account the directions of normals. Instead, the check
calculates the amount of penetration as the shortest distance required to move nodes
so they do not lie within the region defined as the element thickness. The returned
values are the mathematical absolute amount of nodal penetration. It is recommended
that you leave the segment orientation option active unless all the vectors in the
vector display mode are pointing in the opposite direction needed to fix the
penetration. The segment orientation can be used to check penetration for contact
defined by contact surf (*set_segment) as well as for other contacts or when the area of
the penetration check is defined by just nodes/elements.
In the first case the algorithm takes into consideration the orientation of the
*set_segment. In all other cases, the algorithm considers the element normal.
Note
The element normal is defined using the right hand rule according to the elements
nodes.
Segment normal is associated to the direction of the *set_segment used to define
contacts. The LS-DYNA entities *set_segment are created in HyperMesh using the
contactsurf panel in the BCs page.
The following picture illustrates the exercise we will do next where the use of the
segment orientation option is necessary to avoid erroneous penetration adjustment.
The first image shows the nodes where the two parts are penetrating and the second
one shows the direction of the element normals.
Altair Engineering
Altair Engineering
531
Creating Joints
Joint definitions are created in the fe joints panel on the 1D page. HyperMesh supports the following
standard joint types: Spherical, Revolute, Cylindrical, Planar, Universal, Translational, and Locking.
HyperMesh also supports LS-DYNAs *CONSTRAINED_JOINT_STIFFNESS_OPTION property to
define friction, damping, stop angles, etc. The LS-DYNA solver interface supports the creation of
joints in the fe joints panel. The PAMCRASH solver interface currently supports the creation of joints
as rod elements (see the PAMCRASH tutorial).\
532 HyperMesh 7.0 Tutorials HM-4500
Proprietary Information of Altair Engineering
Altair Engineering
Note
A spherical joint consists of two coincident nodes. During analysis, the two coincident
nodes are forced to remain coincident but the bodies attached to each coincident node
are allowed to rotate freely about the joint location.
533
7. Repeat the last three steps, but select node 1 from the coincident node picking window instead
of node 598.
8. Click create to generate the spherical joint element.
Note
A revolute joint consists of four nodes, two sets of two coincident nodes. During
analysis, all four of the revolute joints nodes remain at the same location with respect
to each other. The bodies attached to the nodes are free to rotate about the axis that
lies along the length of the revolute joint.
Altair Engineering
535
2. Click load.
3. Select the ls-dyna/dyna.key file.
4. Click Open.
5. Click return.
To check the time steps:
1. Select the check elems panel on the Tool page.
2. Select the time sub-panel.
3. Click check elems.
HyperMesh lists the total number of elements failing the check.
Altair Engineering
Dummy positioning
Seatbelt routing
Dummy positioning
The dummy panel is located under the safety panel module. The dummy panel is used to position
any dummy model that contains a component hierarchy (a.k.a. tree structure) defined in HyperMesh .
The dynakey and pamcrash import translators can build the tree structure automatically when
importing supported dummy model files.
H-Point subpanel
Altair Engineering
Incremental subpanel
Altair Engineering
previous joint in the knee and down to the end of the hierarchy through the foot.
4. Click the <, decrement, next to yrot row five times to change the rotation of the left knee to -25.0
degrees.
5. Select any element in the lower right leg and click the <, decrement, next to yrot row five times to
change the rotation of the right knee to -25.0 degrees.
6. Repeat this exercise to set the shoulders yrot to -40.0, elbows yrot to -65.0, and wrists xrot
to +/-10.0.
7. Click return.
Seatbelt Routing
The seatbelt panel is located under the safety panel module. The seatbelt panel can be used to
create straight seatbelt segments as well as seatbelt segments that wrap around a dummys torso or
lap.
Seatbelts panel
Seatbelt 1
Altair Engineering
Click retrieve.
Click open.
Turn on performance graphics from the Display macro button group, by clicking on the per
button next to gfx.
3. From the tool page, select the safety panel, then the seatbelt sub-panel.
4. Activate the yellow from node entity selection box and select the yellow retractor element (see
figure, Seatbelt 1, below).
5. Select the upper, red slipring for the to node selection box (see figure).
6. Click mesh. When components for the wrap around: selection have not been specified,
HyperMesh creates straight belt segments between the from node and two node nodes.
7. Click return.
To create shoulder belt segments that wrap around the torso:
Seatbelt 2
540 HyperMesh 7.0 Tutorials HM-4510
Proprietary Information of Altair Engineering
Altair Engineering
1. Activate the yellow from node entity selection box and select the upper, red slipring element (see
figure).
2. Select the lower, red slipring element for the to node selection box (see figure).
3. Activate the comps selection box and select the components that compose the torso area.
Click the comps entity selection box twice to bring up the component list panel.
Click the comps entity selection box in the component list panel to bring up the entity
selection window.
Click return.
4. Click the toggle next to 1D to set it to 2D/1D to create a combination of linear and plate belt
elements.
5. Enter 0.03, 0.10, 0.01, and 0.005 in the belt width =, from side endlength =, to side
endlength =, and gap = fields, respectively.
6. Click place 1D elements in twice and select the seatbelts_linear collector containing linear
element properties.
7. Click place 2D elements in twice and select the seatbelts_shell collector containing shell
element properties.
Panel settings
8. Click orient to create the belt line and enter belt orientation mode. Two red and one green belt
segments are displayed. The red segments represent the belt line between the connection points
and the first point of contact on the dummy. The green segment is in contact with the dummy.
9. Adjust the segments by clicking on a segment to activate it, then while holding in the left mouse
button, drag the mouse up and down to adjust the segments orientation about its endpoints. The
easiest way to adjust the belt line is to adjust the two end segments rather than the center green
segment.
10. When the belt is properly oriented, click mesh to enter the mesh model.
11. Adjust the belt densities in the mesh module as needed then click return to leave the mesh
module.
Note
Click the toggle in the panel area of the mesh module to switch between a tria and rigid
element transition between the shell and linear elements.
Altair Engineering
1. Activate the yellow from node entity selection box and select the top of the constraint on the floor
(see figure).
2. Keep the lower, red element at the buckle as the to node (see figure).
3. Click reset under the comps selection box.
4. Select the components that compose the lap.
Click the comps entity selection box to bring up the component list panel.
Click the comps entity selection box in the component list panel to bring up the entity
selection window.
Activate the checkboxes next to the lower torso, upper left leg, and upper right leg
assemblies.
Altair Engineering
5. Click orient to create the belt line and enter belt orientation mode. Two red and one green belt
segments are displayed. The red segments represent the belt line between the connection points
and the first point of contact on the dummy. The green segment is in contact with the dummy.
6. Adjust the segments by clicking on a segment to activate it, then while holding in the left mouse
button, drag the mouse up and down to adjust the segments orientation about its endpoints. The
easiest way to adjust the belt line is to adjust the two end segments rather than the center green
segment.
7. When the belt is properly oriented, click mesh to enter the mesh model.
8. Adjust the belt densities in the mesh module as needed, and then click return to leave the mesh
module.
Seatbelt 3
Altair Engineering
Click retrieve.
Under the Display: macro button group, click on the Per button next to Gfx to turn on
performance graphics
Under the vis panel, click on the shaded only icon, then the all button.
3. Enter the control vol panel from the safety panel on the tool page.
4. Select the view button on the permanent menu on the right side of the menu panels and select
the restore2 button.
5. Select reference geometry sub-panel.
6. Click review.
7. Select cv1 from the control volume list to display this control volumes design state in the
HyperMesh GUI window.
8. Click return to leave the control vol panel. The display of the control volume will be set back to
its initial state.
Altair Engineering
Defining the contact between the ball and the bat with the
*CONTACT_AUTOMATIC_SURFACE_TO_SURFACE card
Applying an initial velocity to the ball and the bat using the
*INITIAL_VELOCITY_GENERATION card
The units used in this tutorial are Milliseconds Millimeters Kilograms (ms, mm, kg), and the tutorial is
based on LS-DYNA 970.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to bring up its context sensitive help. For
detailed information on the HyperMesh LS-DYNA interface, refer to the External Interfacing section of
the on-line help.
This tutorial requires about 30 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at your
site, see Finding the Installation Directory <install_directory>, or contact your system administrator.
The model used is one of a ball and a baseball bat:
Altair Engineering
When importing an LS-DYNA deck, any HyperMesh warning and error messages are
written to a file named dynakey.msg. This file is created in the folder from which
HyperMesh is started. The content of the file is also displayed in a pop-up Tcl window.
On import, any LS-DYNA cards not supported by HyperMesh are written to the control
card unsupp_cards. This card is accessed from the BCs page/control cards panel
and is a pop-up text editor. The unsupported cards are exported with the rest of the
model.
Care should be taken if an unsupported card points to an entity in HyperMesh. An
example of this is an unsupported material referenced by a *PART card. HyperMesh
stores unsupported cards as text and does not consider pointers.
On import, HyperMesh renumbers entities having the same ID as other entities. In
HyperMesh, for example, all elements must have a unique ID. The message file
dynakey.msg provides a list of renumbered elements and their original and new IDs.
To understand the relationships between the *PART, *ELEMENT, *MAT and *SECTION cards in
HyperMesh:
A *PART shares attributes such as section properties (*SECTION) and a material model (*MAT). A
group of elements (*ELEMENT) sharing common attributes generally share a common part ID (PID).
The figure below shows how the keywords *PART, *ELEMENT, *MAT and *SECTION relate to each
other in LS-DYNA.
Relationships in LS-DYNA
Altair Engineering
The figure below shows how these keywords are mapped to HyperMesh entities:
In the card previewer, click [Rho] to activate its field and enter 5.0 E-7 for the density.
2. Create/edit a material collector with the name elast2, and a MATL3 card image.
Altair Engineering
Click the [Rho] field and enter 3.7 E-6 for the density.
Note
If you have difficulties completing any task with the creation, update or editing of
collectors in this tutorial, refer to the on-line help for the collectors panel by clicking
help from the permanent menu.
Hint
Any collector that you mistakenly create instead of create/edit can be edited using the
card image sub-panel of the collectors panel.
In this section, we created the materials we will use for the analysis. We can now define the
*SECTION cards that will be used to define the properties of the elements in the model.
To create *SECTION cards:
In HyperMesh, the *SECTION card is assigned to a property collector. To generate this card, create a
property collector using the collectors panel.
Although a material = field displays in the create sub-panel of the collectors panel when creating a
property collector, this field is not meaningful for LS-DYNA models as *SECTION cards do not
reference any materials (*MAT card).
This field is needed for interfacing with other solvers and this is why you see it. As an LS-DYNA user,
you have two ways of treating this field:
You can select an existing material when creating a property collector and avoid creating a
material you will not use.
You can leave the field blank. By doing so, a new material (with no material card image) is
created with the same name as the property collectors, but it is not exported to the LS-DYNA
input file as no card is assigned to it.
The model consists of a ball modeled with shell elements, a bat meshed with solids, and beam
elements to constrain the bat to its rotation center. Create property collectors with appropriate
*SECTION cards for all three types of elements.
1. Create/edit a property collector with the name prop shell, and a SectShll card.
-
In the card previewer for the *SECTION_SHELL card, specify 2.5 for the shell thickness
[T1].
This *SECTION_SHELL card will be used for the ball (component 2).
2. Create a property collector with the name prop solid, and a SectSld card.
This *SECTION_SOLID card will be assigned to the bat (component 3).
3. Create/edit a property collector with the name prop beam, and a SectBeam card.
-
Altair Engineering
In this section we created the *SECTION property cards that will be assigned to the component
collectors.
To update components with materials:
The various components in the model do not have materials assigned to them. Update the
components containing the bat (3) and beam (1) elements with the elast2 material using the
collectors panel, update sub-panel. Similarly associate the material elast1 to the component 1
defining the ball.
1. Assign the material elast2 to comps 1 and 3 representing the beam and solid elements using the
update sub-panel of the collectors panel.
-
The message The collectors have been updated appears in the header bar.
2. Assign the material elast1 to comps 2 representing the ball using the update sub-panel of the
collectors panel.
In this section we updated the material collectors assigned to component collectors. By doing this, we
created a relationship that will result in the right material ID showing in *PART cards once we assign
them to our component collector.
To assign *PART cards to the ball, bat and beam elements:
Assign the *PART card to the component for the ball and specify the *SECTION_SHELL card ID in it.
Do this by loading and editing the Part card image for the ball component collector (2) using the
collectors panel, card image sub-panel.
Next, using the same procedure, assign a *PART card to the bat component (3) and specify the
*SECTION_SOLID card ID. Finally assign a *PART card to the component containing the beams (1)
and specify the *SECTION_BEAM card ID in it.
1. Load/edit the Part card for component 2 using the card image sub-panel of the collectors
panel, and assign prop shell to the [SID] field.
-
Click the [SID] yellow selector and select prop shell from the list of property collectors
(*SECTION cards).
2. Similarly, load/edit the Part card for component 3 using the card image sub-panel of the
collectors panel, and assign prop solid to the [SID] field.
3. Similarly load/edit the Part card for component 1 using the card image sub-panel of the
collectors panel, and assign prop beam to the [SID] field
In this section we assigned *PART cards to our component collectors. We also made sure to link
them to the *SECTION cards by assigning the corresponding property collectors. The material id
fields were automatically set from assigning material collectors to the component collectors in the
previous section.
To create *CONTACT cards:
With the exception of *CONTACT_ENTITY (created in the rigid walls panel), LS-DYNA contacts are
created in the interfaces panel from the BCs page.
An LS-DYNA contact is a HyperMesh group. When you want to manipulate a *CONTACT, such as
Altair Engineering
delete it, renumber it, or turn it off, you need to work with groups.
LS-DYNA has multiple ways to define master and slave entity types from which to choose. The table
below lists these types. While HyperMesh supports all of them, this section focuses on contacts with
slave and master type 3.
SLAVE AND MASTER TYPES
LS-DYNA Card
*SET_SEGMENT
*SET_SHELL_Option
*SET_PART
EQ. 3: part id
*PART
*SET_NODE_Option
*SET_PART_LIST
Click create.
2. Define the master and slave as comps 3 and 2 respectively using the add sub-panel.
-
Click the yellow comps selector and select the bat component 3.
Altair Engineering
Click update in the master: line, to the right of the yellow comps selector.
Click the yellow comps selector in the slave: line and select the ball component 2.
Click review to graphically view the entities in the interface the master entities of the interface
are drawn in blue and the slave entities in red.
3. Edit the definition of the group, using the card image sub-panel, to select the Automatic option
and set the static coefficient to 0.1.
-
Under Options, use the switch and select Automatic from the pop up menu.
In this section we defined the contact between the bat and the ball as a
*CONTACT_AUTOMATIC_SURFACE_TO_SURACE.
To create *DEFORMABLE_TO_RIGID cards in HyperMesh:
The table below lists the LS-DYNA *DEFORMABLE_TO_RIGID keywords. Each of them is generated
by creating HyperMesh load collectors with the Dform2RigidNew card image.
DYNA Keyword
Purpose
*DEFORMABLE_TO_RIGID
*DEFORMABLE_TO_RIGID_AUTOMATIC
*DEFORMABLE_TO_RIGID_INERTIA
Below is the card format for specifying parts for the *DEFORMABLE_TO_RIGID keywords:
1
PID
MRB
where
MRB is the part ID of the master rigid body to which the part is merged.
In HyperMesh, rather than specifying one part at a time, you specify an entity set containing all of
the desired slave parts in the *DEFORMABLE_TO_RIGID card image. On export, the entity sets
part IDs are written to the LS-DYNA input file according to the above card format.
Altair Engineering
Purpose
*DEFORMABLE_TO_RIGID
*DEFORMABLE_TO_RIGID_AUTOMATIC
1. Create an entity set of comps with the name bat set and containing the bat component 3 using
the entity sets panel.
-
Create.
2. Create/edit a loadcols named def_to_rig with the card Dform2RigidNew in the collectors
panel.
-
In the card previewer, click the part set ID option [PSID] to activate a PSID(1) selector.
Click PSID(1) and select bat set from the list of sets.
Use a similar approach to define the conditions to switch the baseball bat back to its original
deformable configuration.
Enter 1 for the unique set number for this automatic switch set [SWSET].
Move the scroll bar on the left side of the card image down until you see [PSIDR2D].
In this section we defined the bat as a rigid until the time of impact.
Altair Engineering
We can now apply boundary conditions: a translational velocity to the ball, a rotational velocity to the
bat and constraints the common node of the beam elements.
To create an initial velocity (*INITIAL_VELOCITY_GENERATION) for the ball:
In this section, create an initial velocity *INITIAL_VELOCITY_GENERATION card to apply velocity to
the ball.
Create/edit a loadcols with the name tran_vel and an InitialVel (*INITIAL_VELOCITY) card
using the collectors panel.
-
Specify -30.0 for the initial velocity in the global y-direction VY.
This completes the creation of an initial velocity for the ball in the negative global Y direction.
Create/edit a loadcols named rot_vel and with the InitialVel card image using the collectors
panel.
-
Altair Engineering
3. Constrain the common node of the beam elements using the constraints panel.
-
Check the boxes for the first five degrees of freedom, dof1 through dof5, leaving the box for
dof6 unchecked.
In this section, we used the load types panel to ensure that the type of constraints was set to the LSDYNA card of interest. We then simply used the constraints panel to constrain the node common to
all the beam elements fully except for rotation around the Z axis (dof6).
To review control cards and export the model:
In this section, enter the control cards panel from the BCs page to review the controls and
parameters used for this run, and export the model to an LS-DYNA deck.
1. From the BCs page select the control cards panel.
This panel will display, on multiple pages, the control cards available. The control cards that are
activated are displayed in green.
2. Export to your working directory the model as an LS-DYNA deck called baseball_run.key
using the export sub-panel of the files panel.
This concludes this tutorial. You may discard this HyperMesh model or save it to your working
directory for your reference.
In this tutorial we introduced some of the concepts that govern the HyperMesh interface to LS-DYNA.
We also use numerous panels that allowed us to do basic modeling in terms of LS-DYNA such as
defining contacts or boundary conditions.
For additional tools and techniques, refer to the tutorial Pre-Processing for Airbag Analysis using LSDYNA - HM-4610.
Altair Engineering
Defining the contact between the ball and the airbag with a
*CONTACT_AUTOMATIC_SURFACE_TO_SURFACE card
Defining the contact between the airbag and a rigid plane with a
*CONTACT_AUTOMATIC_NODES_TO_SURFACE card
The units used in the model are millisecond millimeter and kilogram (ms, mm, kg), and the tutorial is
based on LS-DYNA 970.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to bring up its context sensitive help. For
detailed information on the HyperMesh LS-DYNA interface, refer to the External Interfacingsection
of the on-line help.
This tutorial requires about 20 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at
your site, see Finding the Installation Directory <install_directory>, or contact your system
administrator.
The model used is one of a ball, a folded airbag and a rigid plane:
Altair Engineering
1. Load the LsDyna user profile using the user profile button from the Geom page.
Selecting the LS-DYNA user profile sets the FE input reader to LS-DYNA KEY and loads the
dyna.key FE output template. It also loads a LS-DYNA macro menu with numerous tools specific
to this interface. The graphical user interface is tailored to LS-DYNA users with panel names and
options renamed or removed top match LS-DYNA terminology as much as possible.
2. Retrieve the file airbag.hm from the <install_directory>/tutorials/hm directory using the hmfile
sub-panel of the files panel.
The model contains 4 component collectors defining the folded airbag, the ball and a rigid plate. It
also contains several curves displayed in a plot. You can turn the display of plots off using the
display panel disp.
3. Set the display of plots to none in the disp panel from the permanent menu.
In this section, we simply retrieved the model and simplified the display by turning off plots.
To define the airbag with a *AIRBAG_WANG_NEFSKE card:
The *AIRBAG card defines an airbag or control volume in LS-DYNA, and is created in HyperMesh
using the control vol panel from the safety module accessed from the Tool page.
Note that this same panel is also accessible by clicking the *airbag shortcut on the A-D page of the
LS_DYNA macro menu.
In this section, start by creating a *SET_PART_LIST card containing the components AirbagTop
and AirbagButton. Then create and edit the *AIRBAG card using the control vol panel to specify
the set ID that describes its geometry.
1. Create a set of comps named airbag and containing components AirbagTop and
AirbagButton using the entity sets panel.
-
2. In the control vol panel, create a control volume named bag, with the card airbag, and assign to
it the airbag set.
-
3. Edit the control volume bag, select WangNefske under Options, and enter the following data in
the card image.
Field
Parameter description
Value
CV
1000.0
CP
1300.0
Altair Engineering
800.0
LCMT
curve id 1
C23
1.0
LCA23
curve id 2
CP23
1.0
PE
Ambient pressure
1.0E-4
RO
Ambient density
1.0E-9
GC
1.0
In this section, we defined the airbag referencing in an *AIRBAG card the set of components
containing the actual elements. We also specified numerous parameters in the card itself.
To define the gravity on the ball with a *LOAD_BODY_X card:
Create this card to define the gravity load acting on the ball in the negative x-direction. Do this by
creating a load collector with the LoadBody card image. In the collectors card image, specify the
pre-defined *DEFINE_CURVE curve with ID 3.
In the collectors panel, create/edit a loadcols named grav, and using the LoadBody card
image.
-
Specify the pre-defined curve for gravity for the load curve ID [LCID].
DYNA Card
Equivalent Type in
interfaces panel,
add sub-panel
*SET_SEGMENT
set_segment (contactsurfs)
or
csurfs
entity
entity sets or
sets
entity
entity sets or
sets
comps
*SET_SHELL_Option
*SET_PART_LIST
EQ. 3: part id
*PART
collectors
comps
*SET_NODE_Option
entity sets or
sets
entity
all
sets
Altair Engineering
*SET_PART_LIST
exempted parts
* For slave surface only
As shown in the table the interfaces panel add sub-panel has several master and slave types
(comps, sets, entity, etc.) to choose from to specify the LS-DYNA master or slave for a
*CONTACT. Only the valid master and slave types can be selected for the particular contact you
are creating.
When the master or slave type is set to comps and only one component is selected, the LS-DYNA
type is 3, part id, and *PART is created. When multiple components are selected, the LS-DYNA type
is 2, part set id, and *SET_PART_LIST is created.
Moreover with the lsdyna user profile loaded when the master or slave type is sets, only those
sets valid for the particular contact you are can be selected. For example, for
*CONTACT_NODES_TO_SURFACE, only a list of node sets is available for slave; you will not see
a list of other set types, like element or part sets.
Note
You can review contacts with the review button in the interfaces panel, add sub-panel.
From the BCs page, enter the interfaces panel, create sub-panel.
2. Use the add sub-panel to define the Ball comps as master and the airbag sets as slave.
-
In this section we defined the contact between the ball and the components defining the folded
airbag.
Altair Engineering
2. Use the add sub-panel to update the slave with comps AirbagTop and AirbagButton
-
In this section we defined the self contact for the airbag itself.
To define the contact between the plate and the airbag:
In this section, define the contact between the plate and the airbag with a
*CONTACT_NODES_TO_SURFACE card. Define the RigidPlate part as the master with master
type 0 set segment id. Define AirbagButton as the slave with slave type 4, node set id.
1. Create a contactsurf (*SET_SEGMENT card) for the master entities RigidPlate using the
set_segment panel
-
2. Create the NodesToSurface contact with the name Airbag_Plate using the interfaces panel.
-
Altair Engineering
3. Use the add sub-panel to add the master csurf and the slave nodes from AirbagButton.
-
In this section, we defined the contact between the rigid plate and the airbag as a surface to nodes
contact using the HyperMesh contact surface entity and nodes.
To review control cards and export the model:
In this section, review the controls and parameters used for this run. Finally, export the model as a
LS-DYNA deck.
In HyperMesh, with the exception of the cards listed in the table below, all *CONTROL and
*DATABASE cards are created from the control cards panel in the BCs page.
*DATABASE cards NOT created from control cards panel
DYNA card
*DATABASE_CROSS_SECTION_(Option)
*DATABASE_HISTORY_(Option)
*DATABASE_NODAL_FORCE_GROUP
interfaces panel
1. Enter the control cards panel in the BCs page to review the control cards for this run.
2. Export to your working directory a LS-DYNA input file using the export sub-panel of the files
panel.
You can submit the LS-DYNA input file to LS-DYNA.
This concludes this tutorial. You may discard this HyperMesh model or save it to your working
directory for your reference.
In this tutorial we learned how to generate various loading and boundary conditions in HyperMesh.
We also defined various types of contacts using the interfaces panel.
For additional information on how to create the various LS-DYNA cards supported in HyperMesh,
review the topic Generating LS-DYNA Cards Supported by HyperMesh. Use, for example, the Index
tab of the on-line help to access this topic that contains step by step instructions on how to generate
the various cards.
Altair Engineering
The units used in the model are millisecond millimeter and kilogram (ms, mm, kg), and the tutorial is
based on LS-DYNA 970.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to display its context sensitive help. For
detailed information on the HyperMesh LS-DYNA interface, refer to the External Interfacing section of
the on-line help.
This tutorial uses a file located in the <install_directory>/tutorials/hm directory. If you are
unable to locate this directory at your site, see Finding the Installation Directory <install_directory>, or
contact your system administrator.
The model used consists of a simplified bumper model (see image below):
Bumper model
Altair Engineering
Material (*Mat)
Property (*Prop)
aluminum
section 1mm
Mounting Bracket
steel
section 2mm
steel
section 2.5mm
steel
section 2.5mm
Altair Engineering
1. Click the Content Table macro from the Tools page of the macro menu.
A dialog is displayed with a tabular list of the parts (components) in the model.
Content table
2. Assign a new section and material to the Backing Plate Bumper part.
Left click the selection button (left-most column) corresponding to the Backing Plate
Bumper part
The entire row highlights. The Original Section name(id) and Material name(id) fields are
filled in the Update area if available.
Use the drop down menus next to New to select section 1 mm and aluminum.
Click Update.
You can select Lower Front Bumper and Top Front Bumper at the same time with
the CTRL or SHIFT key to update the two parts in a single step.
Altair Engineering
For more information on this tool, refer to the Content Table section of the on-line help.
In this section, we used the Content Table to quickly and effectively assign material and properties to
the various parts in the model.
To convert node to node connections into meshless welds:
The different parts in the bumper are connected using 2-node *Constrained_Node_Set (similar
procedure would apply to *Constrained_Nodal_Rigid_Body), which are all stored in the welds
component.
In this section, use the fe absorb function from the connectors module to extract the connectivity
information from the rigids, and generate connectors. Then create beam type 9 elements by realizing
the connectors into LS-DYNA MAT100 elements using the fe realize panel from the connectors
module.
5. Use the fe absorb function to generate connectors from the rigids.
Click fe absorb.
Altair Engineering
Fe absorb dialog
Click Absorb.
HyperMesh generates connectors at the locations of the rigids. These connectors are
displayed in green to signify that they are in the realized state.
Connectors
6. Realize the connectors into dyna 100 mat100 custom elements in the fe realize panel.
Altair Engineering
Use the element config: switch to select custom from the list.
Click type= and select dyna 100 mat100 as the type of element to create.
Click realize.
This generates:
A *Section_Beam card for every pair of component connected. Define then the cross
section you prefer.
A *Mat_Spotweld for every pair of component connected. You can optionally define
failure criteria.
A *Element_Plottel card to connect the beams to the nodes of the shell surrounding. Use
this connection to find elements attached to beams.
In this section we used the connectors tools to replace rigid welds in the model with mesh-less welds.
For more detailed information on connectors, please refer to the Connectors section of the on-line
help.
To define the self contact for the bumper:
In this section, define the self-contact for the bumper using the interfaces panel. Define a
*Contact_Automatic_General card and use all of the components to be the slave surface.
1. From the interfaces panel, create a group named contact with the Automatic_General type.
2. Use the add sub-panel of the interfaces panel to select all as slave.
Click update.
In this section we defined the self-contact for the elements in the bumper.
Altair Engineering
Specify the coordinates for lower bound: and upper bound: as:
lower bound
upper bound
x=
100
200
y=
-600
600
z=
400
700
Optionally activate review nodes to see which nodes are included in the box.
3. Use the geom sub-panel to define the location and size of the rigid wall.
Enter the values 100, 0 and 565 for x=, y= and z=, respectively.
Create node.
Altair Engineering
4. Define the motion of the rigid wall using the motion sub-panel.
Set the upper left switch to components and type in 5.0 for the x comp = field.
5. Use the card sub-panel to edit the card image for the group.
Specify the ID of the box box rwall for the [BOXID] field to define the slave nodes of the rigid
wall.
Specify 1.2 for the friction coefficient [Fric] and enter 300 for the [mass] value of the moving
rigidwall.
To create a *DATABASE_HISTORY_SHELL card, review control cards and export the model:
In this section, create a *DATABASE_HISTORY_SHELL card to request some nodes to be output to
the ASCII file ELOUT. Then review the control cards and export a deck of the model.
1. Use the output block panel to generate this card for a few nodes.
2. From the BCs page, select the control cards panel to review the control cards for this run.
3. Export to your working directory the LS-DYNA model as bumper_complete.k using the files
panel.
This concludes this tutorial. You may discard the HyperMesh model or save it to your working
directory for your own reference.
In this tutorial, we introduced some of the macros that can be used to manage parts, materials and
properties effectively in HyperMesh. We also introduced connector entities that are used for model
assembly, and the use of the rigid walls panel for the creation of rigid walls.
For more information on connector entities, you can review the tutorial Creating Connectors - HM3400.
Altair Engineering
Altair Engineering
Content table
A rigid material (MATL20) is assigned to the CARTRIDGE and PLATFORM components while
a Mat Null (MATL9) is used for the INK and AIR. These two components also refer to the same
property named SOLID PROP FOR ALE that needs to be updated in the model at this point.
Altair Engineering
In the card previewer for the EOS_LINEAR_POLYNOMIAL card, specify 1.5E+9 for [c1]
and 1 for [V0].
2. Use the card image sub-panel of the collectors panel to assign the property to the ALE
components.
-
Click edit and use the EOSID selector to assign the EOS_LINEAR property to the *PART
card.
Altair Engineering
1. Use the card panel from the permanent menu to edit the Initial Velocity load collector and
review the initial velocity applied to the model.
2. Use the card panel to edit the LoadBody_3 load collector and review the gravity load applied
to the model.
3. Optionally, use the disp panel to turn on the plot LS-Dyna Load Curves that contains the curve
defining the gravity.
4. Use the review capability available in the add sub-panel of the interfaces panel to graphically
identify the contact.
-
Click review.
5. Use the disp panel from the permanent menu to temporarily turn on the Spc load collector, and
review the constraints.
To setup the AIR-INK fluid interaction:
The ALE setup panel allows to create and modify input data pertaining to the Arbitrary-LagrangianEulerian LS-DYNA capability. This panel is available from the BCs page and displays only when the
LS-DYNA user profile is loaded.
In this section, create the *INITIAL_VOID_PART to define the AIR component as the void in the
fluid interaction. Then use *ALE_REFERENCE_SYSTEM_NODE to control the motion of the ALE
mesh. Finally generate *ALE_REFERENCE_SYSTEM_GROUP to define the type of reference
system prescribed for the fluid interaction and to link the components AIR and INK to the reference
system group
1. Define the *INITIAL_VOID_PART for the AIR component using the ALE setup panel.
-
Click update.
2. Define the *ALE_REFERENCE_SYSTEM_NODE to control the motion of the ALE mesh using
the ALE setup panel.
Altair Engineering
Altair Engineering
Altair Engineering
Creating a function
HyperMesh returns to the files panel. Note that file = now displays the location of the raildyna.hm file.
5. Click retrieve.
6. Click return to access the main menu.
The settings of the control cards influence the default values for defining materials. No
PAM-CRASH deck can be executed without error if the control card CTRL is undefined.
Altair Engineering
The material collector is not used in the PAM-CRASH interface. PAM-CRASH does not
differentiate between material data and cross section data as other solvers do.
Consequently, elements have no reference to materials, which only belong to a
component. The material definition for the elements is included with this component.
Elements are located in a component (beam, bar, joint, shell). The template takes the component ID
as material ID. The card image type of the collector defines the material as 1-D material, 2-D
material, or 3-D material.
To define a Material Type 102 for collector side:
1. Select the collectors panel on any main menu page.
2. Toggle the card image option.
3. To set the collector type, click the switch and select comps from the pop-up window.
4. Click name = twice and select side.
5. Click card image = and select MAT_2D from the pop-up menu.
Note
The template provides MAT_1D, MAT_2D, and MAT_3D dictionaries. Material types
from 200 to 230 are defined with MAT_1D. Materials types from 100 to 151 are defined
with MAT_2D. Material types from 1 to 41 are defined with MAT_3D. To switch the
material type, use the card previewer.
6. Click load/edit.
7. Click the switch below Material Type and select Type 102 from the pop-up menu.
Note
Only the materials of the current dictionary (1-D, 2-D, 3-D) can be selected. The ID of
the material is given by HyperMesh with the component ID.
Altair Engineering
Note
You can use the TAB or SHIFT TAB key on the keyboard to go to the next or previous
edit field.
9. Select LARGE_FMT.
Note
The card previewer of the components allows you to change between the MAT and the
large material format MATER.
The created component topbottom now is empty. We will now move the elements of
the component tmp into the component topbottom.
Altair Engineering
It is possible to define various types of sliding interfaces. All of them, except the
SLINT42, are written as a SLINT / card. The SLINT42 type is written as the PAM 98
SLINT2/ card.
If you edit this interface with the card previewer, the master and slave set and
component definition are not shown; however, they are still defined in the add
subpanel.
Altair Engineering
You can switch between the PAM 97 RIGWA and the PAM 98 RWALL card by
choosing different types: RIGWA or RWALL.
Altair Engineering
6. Click base node to highlight the box with the blue input cursor.
7. Select the created node in the graphics area.
You may need to click f on the permanent menu to see the node.
8. Click update.
The rigid wall is now shown in the graphics area.
To add slave nodes for the rigid wall:
1. Select the add subpanel.
2. Click the switch below slaves: and choose nodes from the pop-up menu.
3. Click nodes twice and select by id from the extended entity selection menu.
4. Enter the value 1-21 and press ENTER.
Note that 21 nodes at the interface of the rail and the rigid wall are highlighted. Also note that
one of the nodes was not selected.
5. Click the node that was not highlighted.
or
Enter the value 1012 in the by id field.
6. Click add.
The selected nodes are now set as slaves.
Altair Engineering
Altair Engineering
7. Click the switch below Rigid Wall Descriptor Plane Type and select Type 4 from the pop-up
menu.
Note
The card previewer of the rigid wall changed according to the definitions made. Now it
is possible to define the mass and the initial velocity for moving rigid wall with finite
mass.
Altair Engineering
Altair Engineering
Altair Engineering
6. Click edit.
The time history card is displayed as it will look in the output.
7. Click return twice to access the main menu.
Create a Function
This section describes how to generate curves, which corresponds to the function cards FUNCT and
LOCUR in PAM-CRASH. This curve should serve as a function for a logical sensor switching on and
off. At time=0, the sensor is on, at time=0.01 the sensor is switched off.
To create a curve:
1. Select the xy plots panel from the Post page.
2. Click plots.
3. Click plot = and enter sensor.
4. Click create plot.
5. Click return.
6. Click edit curves.
7. Select the create subpanel.
8. Click plot = and select sensor.
9. Select math.
10. After x = type {0, 0.01, 0.1}.
11. After y = type {1, 0, 0}.
12. Click create.
Altair Engineering
Altair Engineering
Altair Engineering
rail_crash.hm
To load the RADIOSS template:
1. Select the files panel and select the template sub-panel.
2. Click load to display the file browser.
3. Select the radioss41.fix template, located in the HyperMesh installation directory under
feoutput/radioss/.
4. Click open.
5. Click return.
To define material data:
1. Select the collectors panel on any main menu page.
2. Select the card image subpanel.
3. Click the switch after collector type: and select mats from the pop-up menu.
4. Click name = twice and select steel.
5. Click card image = and select MLAW2 from the pop-up menu.
This is the RADIOSS material.
6. Click load/edit.
7. Below Title, enter steel.
8. Below RHO_1, enter the value 7.8e-06.
This is the density.
592 HyperMesh 7.0 Tutorials HM-4800
Proprietary Information of Altair Engineering
Altair Engineering
It is not necessary to specify material in this panel when using the RADIOSS template.
6. Click create/edit.
7. Below Title, enter rail property.
8. Below Thick, enter the value 1.0.
The property data is now defined.
9. Click return to access the collectors panel.
Altair Engineering
To define components:
1. Select the card image subpanel.
2. Click the switch after collector type: and select comps from the pop-up menu.
3. Click name = twice and select rail.
4. Click card image = and select Part from the pop-up menu.
5. Click load/edit.
Note
Although not a RADIOSS card, this allows you to control which property is associated
with a component. RADIOSS does not have a component concept such as
HyperMesh, so this "card" was created to bridge the gap. This card will not be output,
but element data associated with this component will reflect the MATNUM (material ID)
and IPID (property ID) shown here.
Altair Engineering
Note
For the RADIOSS template, only entity, sets, or all are valid for element definitions.
12. Click the upper elems box and select all from the extended entity selection menu.
You can also select elements individually or with any other option on the extended entity selection
menu.
13. Click the upper right add.
Master interface elements are created on each structure element.
We will now add slave elements to the model.
14. Click the switch below slave and select entity from the pop-up menu.
15. Click the lower elems box twice and select all from the extended entity selection menu.
16. Click the lower right add.
Slave interface elements are created on each structure element.
Note
Slave and master elements are added to all structure elements in order to define the
model for self contact.
Altair Engineering
Altair Engineering
Only nodes, sets, comps, or all are supported for the RADIOSS template.
21. Click the yellow nodes box twice and select all from the extended entity selection menu.
22. Click add.
We will now edit the RADIOSS rigid wall card.
Altair Engineering
Rigid wall
Note
There are no card images associated with loadcols for the RADIOSS template.
Altair Engineering
Altair Engineering
Altair Engineering
Altair Engineering
\
RADIOSS header card
To reset a control card:
1. Click delete.
2. Select the control card you want to reset.
The card changes colors from green to grey.
To suppress control card data from being written:
1. Click disable.
2. Select the control card you wish to suppress.
The color changes from green to red.
To reactivate the control card:
1. Click enable.
2. Select the card you want to restore.
The color changes from red back to green.
To define a control card in order to export a RADIOSS file:
1. Click TimeHistory_1.
2. Click return twice to access the main menu.
Altair Engineering
File export
Altair Engineering
Altair Engineering
Applying local constraints to the other pipe using the /BCS card.
The units used in this tutorial are Milliseconds Millimeters Kilograms (ms, mm, kg), and the tutorial is
based on Radioss Block 4.4.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to display its context sensitive help. For
detailed information on the HyperMesh Radioss interface, refer to the External Interfacing section of
the on-line help.
This tutorial requires about 40 minutes to complete and uses a file located in the
<install_directory>/tutorials/hm directory. If you are unable to locate this directory at
your site, see Finding the Installation Directory <install_directory>, or contact your system
administrator.
The model used is of two pipes (see image below):
Pipe model
Altair Engineering
To load the Radioss Block user profile and import the model:
In this section, load the Radioss Block user profile, then import a Radioss input deck containing the
mesh for the two pipes.
1. Load the RadiossBlock user profile and select the Radioss44.blk template using the user
profile button from the Tool page.
Selecting the Radioss user profile sets the FE input reader to Radioss Block and loads the
Radioss44 FE output template. It also loads a Radioss macro menu with numerous tools specific
to this interface. The graphical user interface is tailored to Radioss users with panels such as the
admas panel on the 1D page, panel names and options renamed or removed to match Radioss
terminology.
2. From the files panel select the import sub-panel and import the following RADIOSS deck:
<install_directory>/tutorials/hm/pipes.
The model is loaded and is organized into two component collectors: 1 and 2 (named by
HyperMesh). No materials or properties are defined at this time.
Notes
On import of a Radioss deck, any HyperMesh warning and error messages are
written to a file named radiossblk.msg. This file is created in the folder from
which HyperMesh is started. The content of the file is also displayed in a pop up
window.
On import, any Radioss cards not supported by HyperMesh are written to the
control card unsupp_cards. This card is accessed from the control cards panel
on the BCs page and is a pop-up text editor. The unsupported cards are exported
with the rest of the model.
Care should be taken if an unsupported card points to an entity in HyperMesh. An
example of this is an unsupported material referenced by a /PART card. HyperMesh
stores unsupported cards as text and does not consider pointers.
On import, HyperMesh renumbers entities having the same ID as other entities. In
HyperMesh, for example, all elements must have a unique ID. The message file
radiossblk.msg provides a list of renumbered elements and their original and
new IDs.
To understand the relationships between the /PART, /SHELL, /MAT and /PROP cards in
HyperMesh:
A /PART shares attributes such as section properties (/PROP) and a material model (/MAT). A
group of shells (/SHELL) sharing common attributes generally share a common part ID (PID).
Altair Engineering
The figure below shows how these keywords are mapped to HyperMesh entities:
/SHELL
elem_id
part_id
/PART
part_id
prop_id
mat_id
Component collector
with a component card image
/PROP
prop_id
Property collector
with a property card image
/MAT
mat_id
Material collector
with a material card image
Create/edit a material collector with the name elast1, and a M1_ELAST card image using the
create sub-panel of the collectors panel.
In the card previewer, click [Rho_I] to activate its field and enter 7.8 E-6 for the density.
Altair Engineering
Note
If you have difficulties completing any task with the creation, update or editing of
collectors in this tutorial, refer to the on-line help for the collectors panel by clicking
help from the permanent menu.
Hint
Any collector that you mistakenly create instead of create/edit can be edited using the
card image sub-panel of the collectors panel.
In this section, we created the material we will use for the analysis. We can now define the
/PROP card that will be used to define the properties of the elements in the model.
To create a /PROP card:
In HyperMesh, the /PROP card is assigned to a property collector. To generate this card, create a
property collector using the collectors panel.
Although a material = field displays in the create sub-panel of the collectors panel when creating a
property collector, this field is not meaningful for Radioss models as /PROP cards do not reference
any materials (/MAT card).
This field is needed for interfacing with other solvers and this is why you see it. As a Radioss user,
you have two ways of treating this field:
You can select an existing material when creating a property collector and avoid creating a
material you will not use.
You can leave the field blank. By doing so, a new material (with no material card image) is
created with the same name as the property collectors but it is not exported to the Radioss
input file as no card is assigned to it.
The model consists of two pipes modeled with shell elements. Create a property collector with a
/PROP/SHELL card that will be used for all the elements.
Create/edit a property collector with the name prop shell, and the P1_SHELL card.
In the card previewer for the \PROP\SHELL card, specify 2.5 for the shell thickness [Thick].
From the collectors panel, select the update sub-panel to assign the material elast1 to comps 1
and 2.
The message The collectors have been updated appears in the header bar.
In this section, we updated the material collectors assigned to component collectors. By doing
this, we created a relationship that will result in the right material ID showing in /PART cards once
we assign them to our component collector.
To assign the /PART cards to the elements:
Assign the /PART card to the component for the coarse pipe and specify the /PROP/SHELL card ID
in it. Do this by loading and editing the Part card image for the pipe component collector (1) using
the collectors panel, card image sub-panel.
Altair Engineering
Next, using the same procedure, assign a /PART card to the second pipe (2) with finer mesh and
specify the /PROP/SHELL card ID.
1. Load/edit the Part card for component 1 using the card image sub-panel of the collectors
panel, and assign prop shell to the [Prop_id] field.
2. Similarly, load/edit the Part card for component 2 using the card image sub-panel of the
collectors panel, and assign prop shell to the [Prop_id] field.
In this section we assigned /PART cards to our component collectors. We also made sure to link
them to the /PROP/SHELL card by assigning the corresponding property collectors. The material id
fields were automatically set from assigning material collectors to the component collectors in the
previous section.
To create contact cards:
Radioss contacts are created in the interfaces panel from the BCs page.
A Radioss contact is a HyperMesh group. When you want to manipulate a /INTER card, such as
delete it, renumber it, or turn it off, you need to work with HyperMesh group entities.
In this section, create a contact between the two pipes using /INTER/TYPE7. The pipe with the
coarser mesh (2) will be the master surface while the one with finer mesh (1) will be the slave
surface. Radioss has multiple ways to define master and slave entity types from which to choose; in
this example define the master and slave entities as components, doing this the master will be
exported as SURF/PART and the slave as a /GRNOD/PART
First create a group with the TYPE7 card image using the create sub-panel of the interfaces panel.
Next, add the master and slave to the group using the add sub-panel. Lastly, edit the groups card
image using the card image sub-panel, and specify a friction coefficient.
1. Create a group with the name contact and the TYPE7 card image using the create sub-panel
of the interfaces panel.
Click create.
2. Define the master and slave as comps 2 and 1 respectively using the add sub-panel.
Click the yellow comps selector and select the coarser pipe component 2.
Click update in the master: line, to the right of the yellow comps selector.
Altair Engineering
Click the yellow comps selector in the slave: line and select the finer mesh pipe component
1.
Click review to graphically view the entities in the interface the master entities of the interface
are drawn in blue and the slave entities in red.
3. Edit the definition of the group, using the card image sub-panel to set the static coefficient to
0.10.
In this section we defined the contact between the two pipes as /INTER/TYPE7.
To create an initial velocity (/INIVEL/TRA):
When working with the Radioss Block format, HyperMesh requires that all the loads be placed in a
valid load collector.
To assign loads to a load collector you have two choices:
Create individual loads all of same type and direction and store them under the appropriate
load collector. For example BCS stored in a BCS load collector with the same degree of
freedom constrained.
Identify the nodes at which loads act by selecting them through a set. The selection of the set
is possible once the card image of the load collector is edited.
In this section, apply a translational initial velocity to the coarse pipe using /INIVEL/TRA applied to a
predefined set of nodes GRNOD/PART.
Create/edit a loadcols with the name tran_vel and an INIVEL_Collector card using the
collectors panel.
In the card previewer specify -30.0 for the initial velocity in the global z-direction [Vz].
This completes the creation of an initial velocity for the pipe in the negative global Z direction.
To create a /BCS and constrain the finer mesh pipe:
In this section, fully constrain the end nodes of the pipe with the refined mesh using a /BCS card.
Do this by first creating a load collector with the BCS_Collector card image. The constraints will be
organized into this collector. Then select BCS for the HyperMesh constraint configuration from the
elem types panel. Lastly, create constraints from the constraints panel
1. Create/edit a loadcols with the name SPC and the BCS_Collector card image using the
collectors panel.
In the card previewer activate all the translational and rotational check boxes
(Translation_Vx, Translation Vy,, Translation_Wz).
Altair Engineering
3. Constrain the end nodes of the finer mesh pipe elements using the constraints panel.
Select the nodes at both ends of the finer mesh pipe (see figure below).
Nodes to contrain
-
In this section, we used the load types panel to ensure that the type of constraints was set to the
Radioss card of interest. We then used the constraints panel to fully constrain the end nodes of one
of the pipes.
Notes When creating load magnitude, direction of load or degree of freedom needs to be
specified. It is advisable for visualization purpose to have the load acting in the same
direction as specified in the load collector card. The direction/magnitude of the load is
controlled by the specification entered in the load collector card. For example, a load may
be shown acting along the X axis but if it is stored in a load collector with direction along the
Z axis, this Z direction will be the one assigned to the load.
Every load needs to be stored in a load collector with correspondent card image. For
example store the velocity loads in a velocity load collector.
To review control cards and export the model:
In this section, enter the control cards panel from the BCs page to review the controls and
parameters used for this run, and export the model to a Radioss deck.
1. From the BCs page select the control cards panel.
This panel displays the control cards available. The control cards that are activated are displayed
in green.
Altair Engineering
2. Export the model to your working directory as a RADIOSS deck called PIPESD00 using the
export sub-panel of the files panel.
This concludes this tutorial. You may discard this HyperMesh model or save it for your own
reference.
In this tutorial we introduced some of the concepts that govern the HyperMesh interface to Radioss.
We also use numerous panels that allowed us to do basic modeling in terms of Radioss such as
defining contacts or boundary conditions.
Altair Engineering
Defining the contact for the elements in the bumper with a\INTER\TYPE7 card.
Defining the interaction bumper-moving wall with the \RWALL\PLANE and \BOX cards.
Creating a /TH/NODE card to output time history for user defined elements.
The units used in the model are millisecond millimeter and kilogram (ms, mm, kg), and the tutorial is
based on RADIOSS Block 4.4.
For more information regarding the panels used in this tutorial, please refer to the Panels section of
the on-line help, or click the help button while in the panel to display its context sensitive help. For
detailed information on the HyperMesh RADIOSS interface, refer to the External Interfacing section of
the on-line help.
This tutorial uses a file located in the <install_directory>/tutorials/hm directory. If you are
unable to locate this directory at your site, see Finding the Installation Directory <install_directory>, or
contact your system administrator.
The model used consists of a simplified bumper model (see image below):
Bumper model
Altair Engineering
Material (/Mat)
Property (/Prop)
aluminum
Section 1mm
Mounting Bracket
steel
Section 2mm
steel
Section 2.5mm
steel
Section 2.5mm
Altair Engineering
1. Click the Component List macro from the Tools page of the macro menu.
A dialog is displayed with a tabular list of the parts (components) in the model.
Component List
2. Assign a new section and material to the Backing Plate Bumper part.
Left click the selection button (left-most column) corresponding to the Backing Plate
Bumper part
The entire row highlights. The Original Section name(id) and Material name(id) fields are
filled in the Update area if available.
Use the drop down menus next to New to select section 1 mm and aluminum.
Click Update.
You can select Lower Front Bumper and Top Front Bumper at the same time with
the CTRL or SHIFT key to update the two parts in a single step.
Altair Engineering
Click fe absorb.
This displays a dialog.
Fe absorb dialog
Click Absorb.
Altair Engineering
HyperMesh generates connectors at the locations of the rigids. These connectors are
displayed in green to signify that they are in the realized state.
Note
HyperMesh can also create a 2 nodes \RBODY using a rigidlink element. In that case
fe Absorb requires the rigid links config to select the /RBODY.
Connectors
5. Realize the connectors into radioss type2 (spring) custom elements in the fe realize panel.
Use the element config: switch to select custom from the list.
This loads additional fields.
Click type= and select radioss type2 (spring) as the type of element to create.
Click realize.
This generates:
AnHMPlottel card to connect the springs to the nodes of the shell surrounding. This
\element will not be recognized by radioss; it is introduced to easily find elements
attached to the springs.
In this section we used the connectors tools to replace rigid welds in the model with mesh-less welds.
For more detailed information on connectors, please refer to the Connectors section of the on-line
help. Alternatively the Radioss Welds Macro can be used to create mesh less welding for Radioss. It
is available in the Tool macro page. CREATE LINK
To define the contact for the bumper:
In this section, define the self-contact for the bumper using the interfaces panel. Define a
\INTER\TYPE7 card and use all of the entity to define both slave and master surfaces.
1. From the interfaces panel, create a group named contact with the TYPE7l type.
Altair Engineering
2. Use the add sub-panel of the interfaces panel to select master and slave.
Select the components Backing Plate Bumper, Mounting Bracket, Lower Front Bumper and
Top Front Bumper.
Click update.
Click update
In this section we defined the self-contact for the elements in the bumper. The master entities have
been selected using a /SURF/PART the slave nodes using /GRNOD/NODE. Optionally click review
to identify master and slave.
To define the moving rigidwall impacting the bumper:
In this section, define the moving rigidwall using the rigidwall panel. Create a \RWALL\PLANE card.
The nodes to be slave to the rigidwall are all the nodes included in a \BOX that you define first using
the blocks panel.
1. Use the blocks panel to create the \BOX card.
Specify the coordinates for lower bound: and upper bound: as:
Lower bound
upper bound
x=
100
200
y=
-600
600
z=
400
700
Optionally activate review nodes to see which nodes are included in the box.
Altair Engineering
3. Use the geom sub-panel to define the location and size of the rigid wall.
Enter the values 100, 0 and 565 for x=, y= and z=, respectively.
Create node.
4. Use the add sub-panel to define the type of slave for the RWALL.
Set the slave to rad_box (the actual /BOX will be selected withing the card image)
Click update.
5. Define the motion of the rigid wall using the motion sub-panel.
Set the upper left switch to components and type in 5.0 for the x comp = field.
6. Use the card sub-panel to edit the card image for the group.
Specify the ID of the box in the [Grnod1Box] field to define the slave nodes of the rigid wall.
Specify 1.2 for the friction coefficient [fric] and enter 300 for the [mass] value of the moving
rigidwall.
Altair Engineering
To create a /TH/NODE card, review control cards and export the model:
In this section, create a /TH/NODE card to request some nodes to be output to the Radioss T01 file.
Then review the control cards and export a deck of the model.
1. Use the output block panel to generate this card for a few nodes.
2. From the BCs page, select the control cards panel to review the control cards for this run.
3. Export to your working directory the RADIOSS model as BUMPERD00 using the files panel.
This concludes this tutorial. You may discard the HyperMesh model or save it to your working
directory for your own reference.
In this tutorial, we introduced some of the macros that can be used to manage parts, materials and
properties effectively in HyperMesh. We also introduced connector entities that are used for model
assembly, and the use of the rigid walls panel for the creation of rigid walls.
For more information on connector entities, you can review the tutorial Creating Connectors - HM3400.
Altair Engineering
Altair Engineering
621
its label
Following the definition of the control is the set of commands you wish to execute.
HyperMesh macro commands reside in macro page files. Each page of the macro menu is defined in
its own file. These files are located in the HyperMesh bin directory. All the modifications we will make
in the tutorial will be done to the file userpage.mac and will appear on the user page of the macro
menu.
Below is a sample macro file. It contains documentation (follows the // at the beginning of the line),
creates three buttons and a macro for each of the three buttons.
Sample macro
///////////////////////////////////////////////////////////////////////////////
//
Filename:
userpage.mac
//
Purpose:
Macro menu User page definitions.
// Version: HyperWorks 6.0
//
Copyright:
2002 Altair Engineering Inc., All rights reserved.
///////////////////////////////////////////////////////////////////////////////
//
//
//
//
//
//
//
The following templex test is used to see if the Tcl support buttons
should be added.
{ if ( getenv("HM_DEBUG") == "ON" ) }
*createbutton(5, "TkCon ...",
-1, 0, 10, BUTTON, "Launch the Tk Console.",
EvalTcl, "tkcon.tcl")
*createbutton(5, "WidgetTour ...", -1, 0, 10, BUTTON, "Launch the Tk
Console.", LaunchWidgetTour)
*createbutton(5, "ProDebug", 0, 0, 10, BUTTON, "Connect to the TclPro
debugger.", ConnectToDebugger)
{ endif }
//
///////////////////////////////////////////////////////////////////////////////
*beginmacro("ConnectToDebugger")
// Purpose: To connect to a remotely running ProDebug session.
//
// Note:
The pathname to the prodebug.tcl script may need to be
Altair Engineering
//
modified to
HyperMesh macros consist of valid command file or templex commands, and are enclosed by the
*beginmacro(macroname) and *endmacro() commands. Macros may accept data passed to them
using the arguments $1, $2, etc. Each argument specifies where the values should be substituted.
The following skeleton shows the format of a macro.
*beginmacro(macroname)
macro command statements go here
*endmacro()
Indicates the page number on which the button is to appear (values 1 through n;
initially there are 5).
name
The text to display on the button. Enclose the text with quotes (").
row
The row in which to place the button (values 1 - n). The number of rows visible
depends upon the graphics resolution setting of your hardware.
column
Altair Engineering
623
width
COLOR
The color of the button. The available button colors are: RED, BLUE, GREEN,
CYAN, BUTTON, and MAGENTA. The color name must appear in capital letters.
helpString
The string to be displayed in the menu bar when the button is selected. Enclose
text of string in quotes (").
macroName
The name of the macro to call when the button is selected. Enclose text of string
in quotes (").
arg1
A list of one or more optional arguments passed to the macro. You may have as
many arguments as your computers memory will allow.
button for
The end of a command is a hard return (press the ENTER key). In your text editor,
type each command until you get to the end of it, then press ENTER. The entry <cr>
represents the hard return.
Altair Engineering
6. Press the User button on the Macro Menu. You will see Test, the button we defined in Step 3.
Compare this button to our definition. It is magenta in color, begins in the middle of the row, and
only goes half way across the Macro Menu.
Note:
There is no functionality behind the button at this time because all we did was create
the button now appearing on the User page. Next we will add something for it to do.
625
etc..
*findedges(elements,1,0)
*createmark(nodes,1) 1 2 3 4 5 6 7 8 9 10 11
etc .
*loadcreate(1,3,1,0,0,0,0,0,0)
*deleteedges()
Altair Engineering
Observe the *createmark commands and the list of entity id numbers. A mark is a storage
buffer in HyperMesh. For some actions performed on entities, the entity id is first entered into the
designated mark.
There are two marks available to you (1 and 2) for each entity type (elements, nodes, lines,
surfaces, points, etc). At the execution of the command using the mark, the changes apply to
all entities identified in the mark.
Step 6: Modify as necessary and add macro wrapper commands
1. Embed these commands between a *beginmacro(macroEdge_Const) and a *endmacro().
Notice after the *createmark() commands there are a series of numbers. These numbers are
the element ids, or node ids for the selected nodes. These ids will not be consistent from model to
model. To make the macro useful for multiple models, change the selection method.
Several options exist to make the *createmark commands general enough to work with any
model. For example, to select all the currently displayed elements in the model use the command
*createmark(elements,1)"by displayed".
Another option is to replace the *createmark command with *createmarkpanel. When
executed, this command presents you with an element selection panel in which any of the
HyperMesh element selection methods can be used. This is the method employed in this macro.
2. Change the *createmark(elements,1) command to *createmarkpanel(elements,1,"Select the
elements").
The *createmarkpanel command brings up a selection window in the main menu area of
HyperMesh. This allows you to interactively select entities with the same selection methods as in
all other panels. For further information and arguments for this and other command file
commands, see the on-line help using the index (commands entry) or navigating the contents tab
from HyperWorks, to HyperMesh, to Commands.
3. Change the *createmark(nodes,1) command to *createmark(nodes,1) "by comp"
^edges.
"by comp" is one of many selection methods available. Most of the extended entity selection
methods are available. See on-line help for further details.
The final macro is:
*beginmacro(macroEdge_Const) <cr>
*collectorcreate(loadcols,"constraints","",7) <cr>
*createmarkpanel(elements,1,"Select the elements to apply constraints
to") <cr>
*findedges(elements,1,0) <cr>
*createmark(nodes,1) "by comp" ^edges <cr>
*loadcreate(1,3,1,0,0,0,0,0,0) <cr>
*deleteedges()<cr>
*endmacro()<cr>
4. Save the userpage.mac file.
Altair Engineering
627
Altair Engineering
Select the transient dynamic option if a dynamic finite element analysis was used to
obtain the stress/strain results for the model.
Altair Engineering
629
Note
Select the binary option if the fatigue solver allows a binary input file.
For more information on fatigue solvers and acceptable input file formats, please see
the fatigue panel in the Panels On-line Help.
4. Click browse and locate the file folder you want store the file in, then enter a name for the
output file.
This output file is the input file for the fatigue solver.
5. Click data group = and select any of the data groups that you want to write to the output file.
The data groups are organized based on whether nodal or elemental results are available in the
results file.
Note
For more information on how HyperMesh organizes the analysis results available in the
results file, please see the fatigue panel in the Panels On-line Help.
You can write out stress/strain information for all of the time steps, or you can choose a
range from a starting time step to an ending time step, or you can choose a selection
of time steps manually from the available list.
For more information, see the fatigue panel in the Panels On-line Help.
The next step is to select the entities for which the finite element analysis results file is written.
Note
The type of entity you select is based upon the data group you selected. Select nodes
if the data group you selected refers to nodal results. Similarly, select elements if the
data group you selected refers to elemental results. Select sets to choose a predefined
entity set comprised of nodes or elements corresponding to a data group with
nodal/elemental results, respectively. If the data group results and the entity type are
not the same, HyperMesh displays an error message, "Results file doesnt contain
nodal values".
Altair Engineering
Altair Engineering
631