Professional Documents
Culture Documents
HyperMesh 10.0
Core Tutorials
HyperWorks is a division of
Altair Engineering Contact Information
Web site www.altair.com
©2009 Altair Engineering, Inc. All rights reserved. No part of this publication may be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated to another language without the written permission of Altair
Engineering, Inc. To obtain this permission, write to the attention Altair Engineering legal department at: 1820 E.
Big Beaver, Troy, Michigan, USA, or call +1-248-614-2400.
HyperMesh Tutorials
Finding the Installation Directory <install_directory>
...........................................................................................................................................5
Basics...........................................................................................................................................6
Getting Started with HyperMesh - HM-1000
...........................................................................................................................................7
Opening and Saving Files - HM-1010
...........................................................................................................................................11
Working with Panels - HM-1020
...........................................................................................................................................18
Organizing a Model - HM-1030
...........................................................................................................................................25
Controlling the Display - HM-1040
...........................................................................................................................................35
Geometry
...........................................................................................................................................45
Importing and Repairing CAD - HM-2000
...........................................................................................................................................46
Generating a Midsurface - HM-2010
...........................................................................................................................................56
Simplifying Geometry - HM-2020
...........................................................................................................................................59
Refining Topology to Achieve a Quality Mesh - HM-2030
...........................................................................................................................................67
Creating and Editing Line Data - HM-2040
...........................................................................................................................................78
Creating Surfaces from Elements - HM-2050
...........................................................................................................................................95
Creating and Editing Solid Geometry - HM-2060
...........................................................................................................................................107
Geometry and Mesh Editing Using the Quick Edit Panel - HM-2070
...........................................................................................................................................123
Meshing
...........................................................................................................................................131
1-D Elements
...........................................................................................................................................132
Creating 1-D Elements - HM-3000
..............................................................................................................................133
2-D Elements
...........................................................................................................................................137
AutoMeshing - HM-3100
..............................................................................................................................138
Meshing without Surfaces - HM-3110
..............................................................................................................................148
2-D Mesh in Curved - HM-3120
..............................................................................................................................156
QI Mesh Creation - HM-3130
..............................................................................................................................161
Batch Meshing - HM-3140
..............................................................................................................................165
Meshing a Model Using Shrink Wrap - HM-3150
..............................................................................................................................173
3-D Elements
...........................................................................................................................................183
Tetrameshing - HM-3200
..............................................................................................................................184
Creating a Hex-Penta Mesh using Surfaces - HM-3210
..............................................................................................................................193
Creating a Hexahedral Mesh using the Solid Map Function - HM-3220
..............................................................................................................................208
CFD Mesh - HM-3230
..............................................................................................................................217
CFD Mesh - HM-3240
..............................................................................................................................229
CFD Mesh - HM-3250
..............................................................................................................................236
CFD Mesh – Plane 2-D Meshing with Boundary Layers - HM-3260
..............................................................................................................................248
Using the TetraMesh Process Manager - HM-3270
..............................................................................................................................260
Quality
...........................................................................................................................................271
Suggested Order If you are a new user it is recommended that you complete the introductory
tutorial Getting Started with HyperMesh- HM-1000 before taking any other
tutorial. Most tutorials are built on the assumption that users are familiar
with the basic and common tasks presented in this introductory tutorial.
File Location All files referenced in the HyperMesh tutorials are located in the HyperWorks
installation directory under <install_directory>/tutorials/hm/.
Press G on the keyboard to access the global panel and review the path
next to template file:. <install_directory> is the portion of the path
preceding the templates/ directory on PC, and the hm/ directory on UNIX.
If you need more help finding the installation directory, see Finding the
Installation Directory <install_directory> or contact your systems
administrator.
Basics
Geometry
Geometry and Mesh Editing Using the Quick Edit Panel - HM-2070
Meshing
1-D Elements
2-D Elements
AutoMeshing - HM - 3100
3-D Elements
Tetrameshing - HM - 3200
Quality
Penetration - HM-3320
Assembly
Morphing
Sculpting - HM3520
Analysis Setup
Customizing
Scripts
Create Forces on Nodes and Add a Button on the User Page - HM-8050
Post-Processing
Most tutorials use files that are located in the tutorials\ directory of the software installation. In the
tutorials, file paths are referenced as <install_directory>\..\. In order to locate the files needed,
you will need to determine the path of the installation directory <install_directory>. This path is
dependent on the installation that was performed at your site. To determine what this path is, follow these
instructions:
The HyperWorks Update Information dialog opens. The installation directory path appears after Altair
Home:.
In this tutorial, you will explore the basic concepts of the user interface of HyperMesh 10.0.
Overview
It is highly recommended before you begin the exercise, you review the general overview for this tutorial.
Tools
Title bar The bar across the top of the interface is the title bar. It contains the version
of HyperMesh that you are running and the name of the file you are working
on.
Menu Bar Located just under the title bar. Like the pull-down menus in many graphical
user interface applications, these menus "drop down" a list of options when
clicked. Use these options to access different areas of HyperMesh
functionality.
Toolbars Located around the graphics area, these buttons provide quick access to
Model browser The Model tab contains the Model browser. This tool displays the
contents of a model in a hierarchical tree format. It can be used to create
and edit many types of entities, and also to organize them and control their
display status.
Utility tab This area contains four pages of tools that perform various functions. By
default, the Disp page is active and therefore shaded. The Disp page tools
control how a model is displayed in the graphics area.
The other pages available are QA/Model (element checking tools), Geom/
Mesh (tools for working with a model’s geometry as well as for creating and
editing meshes), and User (custom tools you create).
The content of the Utility tab changes based upon the selected user profile.
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.
Main menu The main 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.
Main menu pages The main menu pages menu divides the main menu into groups of related
functions. Only one page of the main menu is displayed at a time.
The Geom page contains functions for creating and editing geometry.
The 1D, 2D, and 3D pages contain element creation and editing tools
grouped according to element type.
The Analysis page contains functions to set up the analysis problem and
define the boundary conditions.
Command window You can type HyperMesh commands directly into this text box and
execute them instead of using the HyperMesh graphical user interface.
This window is not displayed by default.
Status bar The status bar is located at the bottom of the screen. The left end of the
status bar displays your current location in the main menu. By default,
Geometry is displayed. The three fields on the right side of the status bar
display the current Include file, current component collector, and current
load collector. All three fields are blank by default.
Hint: You can hold the left mouse button down on top of a panel to see a
description for it in the status bar.
Starting HyperMesh
To start HyperMesh on a PC, go to Start > Programs > Altair HyperWorks > Altair
HyperMesh.
Or
3. Type in a pre-defined alias that you or a systems administrator has created in the user .alias or .
cshrc file in the user home directory.
By default, HyperMesh uses a "start directory" for files. HyperMesh reads and writes a number of files
from the start directory:
1. At start up, HyperMesh reads configuration files (hm.mac, hmmenu.set, etc.).
2. Upon closing, HyperMesh writes out a command history file (command.cmf) and a menu settings
file (hmmenu.set).
3. By default, HyperMesh will read from/write to this directory for any open, save, save as, import, or
export funcionality.
4. Image files (.jpg) created using the F6 key are saved to the start directory.
2. Go to Properties.
HyperMesh Help
To obtain help for a particular feature, go to the Help menu and select HyperMesh and Batch Mesher. The
help is organized by product and contains the following types of information:
· Tutorials
· Programming guides
Model Files
This exercise uses the following model files: bumper_cen_mid1.hm, bumper_mid.hm, bumper_end.
igs, and bumper_end_rgd.fem. Each model file contains various sections, but the whole bumper model
is shown, following.
The model file, bumper_cen_mid1.hm, is now loaded. This file contains mesh and geometry data.
Step 2: Import the HyperMesh model file, bumper_mid.hm, into the current
HyperMesh session.
1. Access the Import tab in one of the following ways:
2. From the Import tab in the tab area, click the Import HM model icon .
3. Under File selection, click the file icon ( ) and browse to select the file, bumper_mid.hm.
4. Click Import.
Step 3: Import the IGES geometry file, bumper_end.iges, into the current
HyperMesh session.
1. From the Import tab in the tab area, click the Import Geometry icon .
2. In the File type: field, select Iges from the pull-down menu.
3. Click the file icon ( ) and browse to select the file, bumper_end.iges.
4. Click Import.
Step 4: Import the OptiStruct input file, bumper_end_rgd.fem, into the current
HyperMesh session.
1. From the Import tab in the tab area, click the Import FE model icon .
2. In the File type: field, seelct OptiStruct from the pull-down menu.
3. In the File field, click the folder icon and browse to bumper_end_rgd.fem.
4. Click Import.
This OptiStruct input file contains mesh for the bumper’s end portion. The mesh is added to the existing
data in the current HyperMesh session and will be located in the same area as the geometry
representing the bumper’s end.
Step 5: Save the HyperMesh session as a HyperMesh model file called practice.
hm.
1. From the Menu Bar, select File, then select Save As...
2. Enter the name, practice.hm.
3. Click Save.
The data currently loaded in HyperMesh is now saved in a HyperMesh binary data file of the name you
entered.
Step 6: Export the model’s geometry data to an IGES file called practice.iges.
1. Access the Export tab in one of the following ways:
4. Click the folder icon in the File field, browse to the desired destination folder, and enter practice.igs.
5. Click Save.
Step 7: Export the model’s mesh data to an OptiStruct input file called practice.
fem.
2. Under File selection, choose File type: OptiStruct from the pull-down menu.
3. Under File selection, click the folder icon in the File field, browse to the desired destination folder, and
enter practice.fem.
4. Click save.
All of the finite element data loaded in HyperMesh (nodes, elements, loads, etc.) is now saved as an .
fem file with the name you entered.
Step 8 (Optional): Delete all data from the current HyperMesh session.
1. Access the delete New HyperMesh Model function in one of the following ways:
2. Answer Yes to the pop-up question "Do you wish to delete the current model? (y/n)".
Step 9 (Optional): Import the IGES geometry file you created, practice.igs.
Refer to Step 3 for detailed instructions.
Step 10 (Optional): Import the Optistruct input file you created, practice.fem,
into the current HyperMesh session.
Import practice.fem into the current session. The data in the file will be added to the existing data in the
current HyperMesh session. Refer to Step 4 for detailed instructions.
With the completion of Steps 8, 9, and 10, your current HyperMesh session should contain all of the
geometry and mesh data that existed in the HyperMesh session that was saved to a HyperMesh file in Step
5.
A large portion of HyperMesh functionality is organized into panels. Many panels have common attributes
and controls, so once you become familiar with the features of one panel, it is much easier to understand
other panels.
· Use the entity selector and the extended entity selection menu to select and unselect nodes and
elements from the graphics area.
· Use the direction selector to define vectors along which to translate nodes and elements.
· Use the rapid menu functionality to execute commands with the mouse buttons rather than clicking
buttons.
· Interrupt, but not exit, a panel to go to another panel using the keyboard function keys.
Exercise
Step 2: In the translate panel, select nodes from the graphics area.
1. From the Tool page, access the translate panel.
2. With the nodes selector active, select a few nodes from the graphics area by left-clicking the corners of
the elements.
Node selector
The cyan border around it indicates that it is active; HyperMesh is expecting nodes to be selected as the
next action.
A node is positioned at each element corner. A selected node is highlighted with a small, white circle.
1. Click the entity selector switch ( ) and select elems. (Switch the entity selector to elems.)
The menu that pops-up contains a list of entities that can be translated.
2. With the elems selector active, select several elements from the graphics area.
To select an element, click its element handle (the dot at the element’s center).
Step 4: Select and unselect elements using the quick window selection method.
1. Verify that the elems selector is active.
3. Press and hold the SHIFT key + left mouse button and move the mouse to draw a rectangular window
around a few elements, and then release the SHIFT key and left mouse button.
All the element handles inside the rectangular window are selected.
4. Unselect elements by pressing and holding the SHIFT key + right mouse button and moving the mouse
to create a window around the selected elements.
5. Press the SHIFT key and quick-click the left mouse button.
A pop-up window appears, which contains four icons as shown in the following image.
7. Press and hold the SHIFT key + left mouse button and move the mouse around a few unselected
This draws a polygon window rather than a rectangular window. All element handles inside this window
are selected.
Step 5: Select and unselect elements by using the extended entity selection menu.
1. Click the elems selector and select reverse. (Select elems >> reverse.)
The selection of elements is reversed; the elements that were selected are now unselected and the
elements that were not selected are now selected.
The menu that appears contains a list of functions for selecting elements. Once you select a function
from the menu, the menu disappears. If you do not want to select a function, move the mouse handle out
of the menu.
Step 6: Shade the elements, reset the selection, and select a few adjacent
elements.
The elements are displayed in shaded mode, rather than wireframe mode.
2. In the translate panel, click the reset icon ( ) to clear the elements selection.
3. With the elems selector active, select a few elements that are adjacent to each other.
Step 7: Specify a direction vector (N1 and N2 only) along which to translate the
selected elements.
The menu shown in the following image appears. It contains a list of vector and plane options for defining
the direction in which to translate the selected elements.
The selected elements are displayed in gray because the elems entity selector is not active.
The selected node is highlighted in green. The active selector advances to N2.
The selected node is highlighted in blue. The active selector advances to N3. Do not select a node for N3
.
Note: Selecting the two nodes, N1 and N2, defines a vector for the direction of translation. This vector
goes from N1 towards N2. Selecting a third node, N3,defines a plane. The direction of
translation is the positive direction of the vector normal to the plane. The positive direction is
determined by the right-hand rule.
Step 8: Specify a distance to translate the selected elements and then translate
them.
2. Click translate +.
3. Notice the thick, black border around the translate button. It indicates this is a rapid menu button; you
can click the middle mouse button rather than click translate +.
The selected elements are translated in the negative N1-N2 vector direction and are now in their original
position.
The element and node you selected in the translate panel are currently not visible. However, they are still
selected. They will be visible again when you return to the translate panel.
Notice the distance = field value reflects the absolute distance between N1 and N2.
8. Notice the elements and nodes you selected in the translate panel before you went to the distance
panel are once again visible.
Step 10: Specify a distance to translate the selected elements and then translate
them.
1. Toggle from magnitude = N1-N2 to magnitude =.
3. Press CTRL+V to paste the distance = value copied from the distance panel.
4. Click translate +.
The selected elements translate in the direction from N1 to N2 by the number of units specified for
magnitude =.
The selected elements are translated in the negative N1-N2 vector direction and are now in their original
position.
Step 11: Calculate 5.5 * 10.5 and specify the resulting value for magnitude =.
1. Double-click magnitude =.
4. Click X.
5. Click exit.
You can type a value in the magnitude = field by clicking in the field once to highlight the current value.
Then type a new value.
Step 12: Specify a new vector and translate the elements again.
The elements are translated 57.75 units in the positive direction normal to the defined plane.
A large portion of HyperMesh functionality is organized into panels. Many panels have common attributes
and controls, so once you become familiar with the features of one panel, it is much easier to understand
other panels.
· Rename components
· Create an assembly
Overview
· From the Menu Bar, choose Collectors, then Create, and then select Components.
The message: "The component was created" appears in the status bar.
Left-click once anywhere in the HyperMesh window (except on a button) to dismiss the message in the
status bar.
The component called geometry now appears in the status bar. It is now the current component. Any
geometry or elements that are created will be organized into this component.
Step 3: Create two geometry lines and organize them into different components.
1. Access the lines panel in one of the following ways:
· From the Menu Bar, choose Geometry, select Create, and click Lines.
· From the main menu, choose the Geometry page, and click Lines.
3. With the node list selector active, select two nodes, opposite and diagonal to each other, on the same
element as indicated in the following image.
5. Notice the line is yellow, the same color assigned to the component, geometry. This is because the line
is organized into the current component, geometry.
6. On the status bar, located at the bottom of the screen, click geometry.
9. Moving the cursor away from the collector’s pop-up will return you to the lines panel.
10. With the node list selector active, select two nodes, opposite and diagonal to each other on another
element.
Step 4: Move all the model’s geometry surfaces into the component, geometry.
1. From the Tool page, access the organize panel.
Displayed surfaces are highlighted in white indicating they are selected. All other surfaces that are not
displayed are still selected because you selected surfs >> all.
5. Click dest = and select the component, geometry, from the list of components in the model.
6. Click move to move the selected surfaces into the component, geometry.
Step 5: Move all the model’s shell elements (quads and trias) into the component,
center.
You should still be in the organize panel.
Select a component by left-clicking its name, color, or check box. A component is selected when it has
a check in its check box. To unselect a component, right-click it.
6. Click move to move the elements in the selected components to the component, center.
All of the shell elements should now be a cyan blue, the same color assigned to the component, center.
6. Type shells.
The status bar displays the message: "3 entities are empty."
These are the mid1, mid2, and end components that no longer have elements in them.
4. Click the entity selector, comps, once to see a list of the identified empty components.
A complete list of the model’s components appears. The empty components are indicated with an
activated check box.
Step 9: Move the component, geometry, to the front in the components list.
1. Access the reorder panel in one of the following ways:
3. On the right side of the panel, click the switch and select name(id). (Switch from name to name(id).)
4. Notice the IDs of the components. The ID for shells is one, the ID for rigid is five, and the ID for
geometry is six.
9. The status bar displays the message, "The selected collectors have been moved."
10. Click the comps selector once to review the reordered list of components.
11. Notice the component, geometry, is at the top of the list. However, it still has the same ID, six.
Step 10: Renumber the components to be the same as their position in the list.
1. Access the renumber panel in one of the following ways:
11. Click the comps selector to review the model’s component list.
12. Notice the components are numbered according to their position in the list.
Having components with IDs that do not reflect their position in the model’s list of components will not
result in errors. However, having components with IDs that do reflect their position in the model’s list of
components can be helpful for organizational purposes.
· From the Collectors menu, choose Create and select Load Collectors
The status bar displays the message: "The loadcol was created."
7. Left-click anywhere in the HyperMesh window (except on a button) to dismiss the message in the status
bar.
8. Notice that loadcol constraints now appears in the status bar. The current load collector is constraints.
Any loads that are created will be organized into this load collector.
Step 13: Move the model’s one constraint into the load collector, constraints.
The existing load collector, loads, contains several forces and one constraint. The organize panel is used to
9. Click move to move the selected (constraints) into the load collector, constraints.
5. In the Model browser, click the + button beside the Components entity to see that Component1 is
bolded in the list to indicate it is the current component.
Step 16: Review the existing assembly elements from the Model browser.
Note that the assemblies panel allows you to add components, which are in one assembly, to another
assembly. The Model browser does not allow you to do this, but you can create assemblies from it.
Step 17: Add the components, geometry and component1, to the assembly,
assem_mid, using the Model browser.
1. Left-click the component name, geometry, to select it.
2. Press the CTRL key and left-click the component name, component1.
Press the CTRL key and left-click a selected item to deselect it.
3. Left-click any one of the selected components and drag the mouse pointer over the assembly,
assem_mid. When assem_mid is highlighted, release the mouse button.
Use the SHIFT key and left mouse button to select multiple items in the Model browser list at one time.
Left-click the first item in the list. Then press the SHIFT key and left-click the last item in the list.
Step 18: Rename the assembly, assem_mid to assem_geom, from the Model
browser.
1. Right-click assem_mid and select Rename.
2. Confirm that you wish to delete the component by clicking yes in the delete confirm dialog.
Component1 is deleted.
Notice that in the list, there is no bolded component name. This indicates there is no current component
specified.
Step 20: Set the current component from the Model browser.
1. Right-click shells and select Make Current.
2. Notice that the staus bar specifies that that current component is shells.
When performing finite element modeling and analysis setup, it is important to be able to view the model from
different vantage points and control the visibility of entities. You may need to rotate the model to understand
the shape, zoom in to view details more closely, or hide specific parts of the model so other parts can be
seen. Sometimes a shaded view is best, while other times, a wireframe view allows you work on details
inside the model.
HyperMesh has many functions to help you control the view, visibility, and display of entities.
· Control the visibility of entities using the display panel, mask panel, and tools on the Utility menu.
· Control how entities look by using the toolbar and the Model browser.
· Rename components.
2. Press the CTRL key + left mouse button and move the mouse around.
A small white square appears in the middle of the graphics area, indicating the center of the rotation.
Release the left mouse button and press it again to rotate the model in a different direction.
3. Press the CTRL key and quick-click the left mouse button anywhere on the model.
HyperMesh searches for one of the following conditions in the listed order and relocates the center of
rotation at or near the first condition identified (if none of the conditions are met, the center of rotation is
relocated to the center of the screen):
4. Press the CTRL key + left mouse button to rotate the model and view the change in rotation behavior.
6. Press the CTRL key + left mouse button to rotate the model and observe the change in rotation behavior.
7. Press the CTRL key + middle mouse button, move the mouse around, and then release the mouse
button.
A white line is drawn along the path of the mouse movement. When the mouse button is released,
HyperMesh zooms in on the portion of the model where the line was drawn.
You can also simply draw a line to zoom in on a portion of the model.
The model zooms in or out depending on which direction you spin the mouse wheel.
10. Move the mouse pointer to a different location in the graphics area and repeat #9.
Notice the model zooms in or out from where the mouse handle is located.
11. Press the CTRL key + quick-click the middle mouse button to fit the model to the graphics area.
12. Press the CTRL key + right mouse button and move the mouse around.
Step 3: Manipulate the view of the model using the rotate functions on the toolbar.
The status bar displays the message, "Move the mouse into the graphics region."
3. Press and hold the left mouse button, and then move the mouse around.
The model rotates with the movement of the mouse, similar to the way the model rotates when you press
the CTRL key + left mouse button and move the mouse.
5. Move the mouse pointer out of the graphics area or right-click to exit the rotation mode.
6. On the View Controls toolbar, right-click dynamic rotate, , and move the mouse pointer into the
graphics area.
7. Press the right mouse button near the center of rotation square.
The model rotates continuously in the direction of your mouse pointer, relative to the center of rotation.
8. With the right mouse button still pressed, move the mouse around slowly.
The direction and speed of the rotating model changes. The farther the mouse pointer is from the center
of rotation, the quicker the model rotates.
You can release the right mouse button, and then press it again to rotate the model in a different
direction.
9. Middle mouse click anywhere in the graphics area, except on the model.
10. Move the mouse pointer out of the graphics area or left-click to exit the rotation mode.
Step 4: Manipulate the view of the model by using the zoom in and out functions
on the toolbar.
The status bar displays the message, "Circle the data to be zoomed in on."
3. Press the left mouse button, move the mouse around, and then release the left mouse button.
A white line is drawn along the path of the mouse movement. When the mouse button is released,
HyperMesh zooms in on the portion of the model where the line was drawn.
You can also simply draw a linear line to zoom in on a portion of the model.
This function is similar to pressing the CTRL key + middle mouse button to zoom into a portion of the
model.
The status bar displays the message "Move the mouse into the graphics region."
13. Move the mouse pointer into the graphics area, press the right mouse button, and then move the mouse
pointer up and down.
The model is zoomed in and out according to how far you move the mouse up or down.
14. Move the mouse pointer out of the graphics area or left-click to exit the dynamic zoom mode.
Step 5: Manipulate the model view using the arrows and view panel on the toolbar.
1. On the View Controls toolbar, right-click or left-click any of the rotate icons ( , , ).
The model rotates in the direction of the arrow by the rotation angle specified in the options panel.
4. Exit the view panel by moving the mouse pointer out of the pop-up window.
Notice the model rotates by the new specified rotation angle, 90.
10. Use CTRL + left mouse button, or the rotate icons on the toolbar to rotate the model.
11. Use CTRL + middle mouse button, or the zoom icons on the toolbar to zoom into or out on the model.
Both the view angle of the model and level of zoom are saved.
3. Right-click Shaded Elements and Mesh Lines, , and switch to Shaded Elements and Feature
Lines, .
4. Notice now the elements shading does not show any mesh lines. Only feature lines are displayed.
6. Notice now the feature lines are also removed from the display.
7. Click Wireframe Elements (Skin Only), , to return to the wireframe shading mode.
Step 7: Control the display of components using the Visual Attributes panel.
4. Click all to select all components and set their display mode to hidden line (shaded) mode.
Hidden Line with Mesh Lines – The element is displayed as a filled polygon with the feature
edges drawn in mesh line color.
Hidden Line with Feature Lines – The element as a filled polygon with the feature edges in
mesh line color.
Step 8: Control the visibility of various entity categories using the Model browser.
1. In the tab area, activate the Model tab.
2. Right-click anywhere in the white space of the browser list and pick Expand All from the context menu.
The display of component collectors is turned off, but all other entities remain displayed.
Display all, Display none, and Display reverse act globally (on all entities) if nothing in the browser list
is selected. If a folder is selected (highlighted), the action will be performed only on the entities within
that folder. If an individual entity is selected, the action will apply only to that entity.
7. Left-click in the white space of the browser list.
The display is reversed. Only the components are now shown instead of everything but components.
Display all, Display none, and Display reverse will no longer affect the display of geometry in the
components.
12. Switch the elements and geometry filter back to Elements + Geometry, .
Step 9: Control the visibility of individual components using the Model browser.
1. Click elements, , next to the mid2, end, and rigid components.
2. Only the components center and mid1 have their elements displayed now.
The geometry in the components, mid2 and end, and the elements in the components, center and
mid1, are displayed.
A component collector has two ‘compartments’: one for elements and the other for geometry. The
display for elements and geometry in a component can be controlled separately.
Step 10: Control the display of entities using the mask panel.
1. Access the mask panel in one of the following ways:
· From the main menu, click the Tool page, then select the mask panel
6. From the graphics area, manually select a few elements in the center (blue) component.
The elements in the mid1 component and the elements you selected from the graphics area are no
longer displayed.
8. In the Model browser, notice that the elements ( ) for the components center and mid1 are still
displayed. Their display icons indicate that they are activated even though some or all of the elements in
these components are masked (hidden).
9. In the mask panel, click unmask all, or on the display toolbar click unmask all, .
All the elements in the components, center and mid1, are visible again.
Notice the elements in the other components are not displayed. This is because these components are
not active in the Display panel.
Step 11: Control the display of entities using the find panel.
1. Access the find panel in one of the following ways:
· From the main menu, click the Tool page, then select the find panel.
3. Select elems >> by collector, and select the component, end, from the components list.
5. In the Model browser, notice that the elements for the component, end, are now shown as active ( ).
This is because the collector containing the entities that are to be displayed (found) must be active.
Some of the elements in the components, mid2 and rigid, are now displayed. These elements are
immediately adjacent and connected to the selected elements.
Again, notice that the elements for these components are now shown as active ( ). The components
were made active so that the elements could be displayed.
All of the model’s elements are now displayed. This is because the find panel finds the entities it is
supposed to find, activates (displays) the corresponding collectors, and masks the other entities in the
Step 12: Change the display of entities using the Mask By Config tab.
1. In the Model browser, click in the white space of the browser list to make sure nothing is selected.
Performing these two steps makes sure that everything is displayed in the model.
4. Click to the Mask By Config tab.
5. Click the 1 in the Isolate column for Components.
Only the components in the model (elements, geometry, and connectors) are displayed. Everything else
is now masked.
6. Expand the Components branch to expose connectors, elements, and geometry.
7. Click the – in the Hide column for Elements.
The elements in the model are now masked, leaving only surfaces shown.
8. Expand the LoadCollectors branch to expose loads and equations.
9. Expand the Loads branch to expose constraints, forces, moments, etc.
10. Click the + in the Show column for Constraints.
Rigid elements are added to the display, while the surfaces are now masked. The constraints remain
displayed. This is because using isolate below the top level of the list will not mask anything outside of
the top level that entity belongs to. Rigids belong to components at the top level, so no entities in the
other top levels are masked.
13. Click the 1 in the Isolate column for Components.
All of the entities in the components are shown again, while the constraints are masked. This is
because using isolate at the top level of the list (components, groups, loadcollectors, morphing,
multibodies, and systemcollectors) will mask everything outside of the entity type being isolated.
Step 13: Change the color of components using the Model browser.
1. Click the Model tab to go to the Model browser.
Step 2: View the model in topology display toolbar and shaded mode to evaluate
its integrity.
1. Observe where the model has incorrect connectivity and missing or duplicate surfaces.
Note that the surface edges are now colored according to their topology status. This occurs because
Geometry Color is set to auto ( ).
3. Click Wireframe Geometry ( ) and Shaded Geometry and Surface Edges ( ) to explore the
different display modes.
The toolbar contains icons that control the display of the surfaces and surface edges. Surfaces can be
shaded with or without edges or wireframe. Right-click the icons to access the drop-down menu for
additional options. Place your mouse over the cursor to view a description of the button’s functionality.
Visualization controls the display of the surfaces and surface edges. Surfaces can be shaded or
5. Clear all the check boxes except the Free check box.
6. Observe the free edges and make note of where they are.
The free (red) edges show where there is incorrect connectivity or gaps.
7. Note the locations where there are closed loops of free edges. These are locations that probably have
missing surfaces.
9. Observe the non-manifold edges and make note of where they are.
The non-manifold edges show where there are more than two surfaces sharing an edge, which might
indicate incorrect connectivity. For this part, there are yellow edges completely surrounding two areas.
This indicates that there are probably duplicate surfaces in these locations.
The surfaces should now appear solid rather than having only their edges displayed.
13. Rotate, zoom, and pan to locate any errors in the geometry.
· A missing surface
· Press F2
2. In the graphics area, select the overhanging surface shown in the previous figure.
The keep tangency option examines surfaces attached to the selected edges and tries to create a
surface tangent to them. This helps to form a smooth transition to the surrounding surfaces.
The auto create option simplifies the selection of the lines bounding the missing surface. Once a line is
7. Pick one of the red lines bounding one of the gaps (missing surfaces).
9. Click return.
3. In the cleanup tol = field, type 0.01 to stitch the surfaces with a gap less than 0.01.
Step 6: Combine multiple free edge pairs at one time with the equivalence tool.
1. Enter the edge edit panel in one of the following ways:
· From the Menu Bar, select Geometry, then Edit, then edges
· From the main menu, select Geom Page, then choose Edge Edit
5. Verify that the cleanup tol= is set to 0.01, which is the global cleanup tolerance specified in the
options panel.
6. Click the green equivalence button to combine any free edge pairs within the specified cleanup
tolerance.
Most of the red free edges are combined into green shared edges. The few remaining are caused by
gaps larger than the cleanup tolerance.
Step 7: Combine free edge pairs, one pair at a time, using the toggle.
1. Go to the toggle sub-panel.
3. In the graphics area, click one of the free edges shown in the following image.
4. Rotate and zoom into the area if needed. When the edge is selected, it will change from red to green,
indicating that the free edge pair has been equivalenced.
4. With the selector under moved edge: active, click the leftmost free edge in the graphics area.
7. Click replace.
5. Click find.
The status bar displays the following message, "2 surfaces are duplicated."
Step 10: Observe the model again to identify any remaining free edges, or missing
· Create a midsurface
This exercise uses CAD geometry data for a thin solid clip. Because of the small thickness of the part, it is
assumed that it will be modeled for FEA as shell elements. The elements will be created on the mid-plane of
the part.
The surfaces in the model have no connectivity errors. This could be because the file was imported without
errors or because the errors were corrected using HyperMesh. In this case, errors in the topology were
repaired in the previous exercise (missing surfaces are re-created, duplicate surfaces are deleted, gaps are
closed, etc.). You can use either the file created from the previous exercise, or open the new,
c l i p _ m i d s u r f a c e . h m, file. Either way, the geometry is at the point where you can use the midsurface
panel to generate a midsurface.
1. On the visualization toolbar, change the visualization to Shaded Geometry And Surface Edges (
).
2. On the visualization toolbar, set the Geometry Color drop-down menu to Mixed ( ).
Notice how the surfaces represent a solid part, these visualization techniques will be necessary for
viewing the newly created midsurface.
· From the main menu, select the Geom page, then select midsurface
2. Go to the auto midsurface panel.
3. Verify that the closed solid option and the yellow surfs selector are active.
4. Select one surface from the graphics area.
5. Click extract to start the midsurface generation.
The midsurfaces generated for the solid sections of the model using the solid sub-panel are shown in the
following image.
2. Turn the geometry for lvl10 component back on from the model browser.
4. With the comps selector active, select a line or surface of the lvl10 component in the graphics region.
5. In the panel, click the arrow button on the right under transparency several times.
You should see the surfaces in the lvl10 component becoming more and more transparent.
Close-up of the midsurface with the lvl10 component set to full transparency
Summary
You now have surfaces created on the mid-plane of the part. These surfaces can now be meshed or further
modifications can be made to their topology, depending on the requirements of the analysis.
· Mesh the clip, review the mesh quality, and determine the features to be simplified
· Remove pinholes
This exercise involves changing the shape of a part in order to simplify the geometry. Certain details of the
shape, such as small holes or blends, may simply not be necessary for the analysis being performed. When
these details are removed, the analysis can run more efficiently. Additionally, mesh quality is often improved
as well. Changing the geometry to match the desired shape can also allow a mesh to be created more
quickly.
Exercise
This exercise uses the model file, clip_defeature.hm. The model file has geometry that has been
midsurfaced. (Surfaces have been created on the mid-plane of the part.) The model will be meshed using an
element size of 2.5. You can assume a simple structural analysis will be run on the part, and thus does not
require much detail. There are unnecessary features in he model that can be removed.
Step 2: To easily work with the midsurface, turn off the display of the lvl10
component.
If the lvl10 component is displayed, it needs to be turned off so that you can easily work on the midsurface
geometry. (It may be on if you used the model you had open for the previous section.)
3. If geometry display for the the component lvl10 is selected as active click the check box for the lvl10
component to turn off the display of the geometry in that component.
· From the Menu Bar, choose Mesh, then Create, then 2D AutoMesh
Take a minute to rotate, zoom, and pan the model to review the mesh that was created. Note the locations
where the mesh was not created in neat rows and columns of quads.
· From the Menu Bar, select Mesh, then Check, then Elements, then Check Elements
· From the main menu, select the Tool page, then select check elems
Many of the elements failing the length test are located around the fillets of this model.
Note: You may need to change the geometry display to wireframe for better visualization of element
5. Click return.
· From the main menu, click Geom Page, then click Defeature
Notice the xP symbol at the center of the four circular holes. These symbols are highlighted in white,
indicating they are pinholes identified by HyperMesh for removal.
The selected pinholes are removed and replaced by fixed points located at the center of the original
pinholes.
3. If the surfaces are not shaded, click Shaded Geometry and Surface Edges ( ).
6. Click find to identify all the surface fillets with radius of 2 or greater.
5. Click find.
The edge fillets that meet the filter criteria are identified on the screen with an F symbol and radial lines
marking the fillet beginning and end.
6. Notice that the selector moves down to the fillets entity selector.
7. Right-click on one of the F fillet markers on the screen to deselect the fillet.
2. Select surfs>>displayed.
3. Click mesh.
Observe the mesh and you will notice that the mesh is created in rows of quads.
Summary
The model is now represented in a much simpler form that suits the analysis that will be performed. Holes,
surface fillets, and edge fillets were removed that were considered too small to be captured by the desired
element size of 2.5.
· Split surfaces
Topological details of the geometry may affect the quality of the mesh created from the surfaces. Some of
these details may not reflect any major feature of the part’s shape, and can be removed without concern.
When modifying the topology affects the shape of the surfaces, a compromise must be made between the
part shape and the element quality necessary for the analysis. Other times, adding topological features that
do not change the shape of the part may actually help create a better quality mesh.
· From the Menu Bar, select Mesh, then Create, then 2D AutoMesh
· From the main menu, select the 2D page, then click automesh
· From the Menu Bar, select Mesh, then Check, then Elements, then Check Elements
· From the main menu, access the Tool page, and then click check elems
6. Note the elements that failed the check. The topology will be edited to correct of some of these, and the
others will be left as is.
8. Use the Model browser to turn off the display of the elements in the lvl10 component.
· From the Menu Bar, select Geometry, then Edit, then Points
· From the main menu, select the Geom page, and then click point edit
· From the Menu Bar, select Geometry, then Edit, then Surfaces
· From the main menu, select the Geom page, then select surface edit
4. Zoom into the area indicated below and select the indicated fixed point.
5. With the active selector now on lines, select the line shown in the following image.
Once both the point and line are selected, an edge will be created from the location of the fixed point
perpendicular to the line.
6. Repeat sub-steps 6.3, 6.4, and 6.5 for the following point and line.
7. Repeat sub-steps 6.3, 6.4, and 6.5 for the following point and line.
8. Repeat sub-steps 6.3, 6.4, and 6.5 for the following point and line.
4. If necessary, toggle the direction selector to N1, N2, and N3. Click N1 to make the selector active.
5. Press and hold your left mouse button, and then move it over the edge indicated in the following figure.
Once over the line, the cursor will change to a square with a dot in the center, . Release your
mouse button. Click two points anywhere along the edge. Do not click a third.
8. As in 7.6, press and hold your left mouse button, and then move it over the edge of the hole, as indicated
in the following image. Once over the line, the cursor will change to a square with a dot in the center.
Release your mouse button.
Temporary nodes will be placed on the line representing N1, N2, and N3.
Note that the technique used to create nodes to select where none existed before can be used in any
place where nodes need to be selected but don’t exist in the model. You can create nodes in this
manner on lines, surfaces and elements. For more details, see the HyperMesh online help. Pick the
index and type, Picking Nodes on Geometry or Elements.
10. Click circle center to create a node at the center of the hole.
13. Select the node that was just created at the center of the hole.
1. Use the Model browser to display the elements in the lvl10 component.
3. Verify that elem size = is set to 2.5 and the mesh type is set to mixed.
5. Click mesh.
Note the elements that failed the check. There are only two elements that fail the check, and these fail
the check because of the shape of the part. However, they are not too small compared to the global
element size, so you can leave them as they are.
8. Verify that elem size = is set to 2.5 and the mesh type is set to mixed.
14. If there is a message saying, "There is a conflict between the user requested element size and quality
criteria ideal element size," click the button, Recomute quality criteria using size of 2.5.
· From the Menu Bar, select Mesh, then Check, then Elements, then Quality Index
· From the main menu, select the 2D page, then select qualityindex
16. Go to pg1 and verify that the comp. QI is 0.01.
This low value indicates that the mesh is good quality. The higher the number, the lower the mesh
quality.
Sometimes CAE users need to create models from sketches where there is no pre-existing geometry. The
tools in this tutorial will help you accomplish that task.
· From the Menu Bar, select Collectors, then Create and click Components.
5. Click create.
6. Click return.
· From the Menu Bar, select Geometry, then Create, and then click Nodes.
4. Create five nodes by entering the X, Y, and Z coordinates from the following table and click create node
for each of the nodes.
Node X Y Z
1 0 0 0
2 0 0 25
3 0 0 37
4 0 5 25
5 0 5 -2
5. Click return.
3. Select nodes and on the extended entity selection menu select all.
5. Click return.
· From the Menu Bar, select Geometry, then Create, then Circles
· From the main menu, select the Geom page, and select circles
3. With the active selector set to node list, pick node 2 from the graphics area.
5. With the active selector set to base point ( ), pick node 2 from the graphics area.
In this case, the base point defines the position of the plane on which the circle is going to be created.
8. Click create.
2. With the active selector set to node list, pick node 2 from the graphics area.
4. Pick the node with ID number 2 again as the base for the axis of rotation.
· From the Menu Bar, select Geometry, then Create, then Lines
· From the main menu, select the Geom page, then select lines
5. Click return.
· From the Menu Bar, select Geometry, then Translate, then Lines
· From the main menu, select the Tool page, then select translate
4. Select lines, then duplicate, then current comp from the extended menu to copy the new line into the
current component (Geometry).
5. Click the plane and vector collector switch and select y-axis.
7. Click translate -.
8. Click return.
· From the Menu Bar, select Geometry, then Edit, then Lines
· From the main menu, select the Geom page, and then select line edit
4. Click cut line and pick the line between node 4 and node 5.
5. Click split.
The circle has one quarter split off from the rest.
6. Repeat this procedure, picking the remaining 3/4 arc of the circle and the other line that was just
translated.
7. Click return.
· From the main menu, select the Tool page, then select delete
3. Select the lower semi-circle (line IDs 5 and 10) from the graphics area.
5. Click return.
· From the Menu Bar, select Geometry, then Reflect, then Lines
· From the main menu, select the Tool page then select reflect
4. Click the plane and vector collector switch and select z-axis.
6. Select lines, then duplicate, then original comp from the extended entity selection menu to copy the
new line into the current component (Geometry).
8. Click return.
Note: Line ID may be different, depending on whether you needed to perform the split/delete/duplicate
tasks more than once.
3. Click lines, then all from the extended entity selection menu.
Step 14: Split curves by tangent line and delete redundant line.
1. Go to the Line Edit panel and enter split at line sub-panel.
2. Pick semi-circular line 8 for lines and tangent line 12 for cut line.
4. Repeat steps 3-5 in order to cut curved line 8 with tangent line 13 in line edit panel.
5. Press the F2 key to jump into delete panel from line edit panel.
3. Click the switch under creation method and select no card image.
5. Click create.
· From the main menu, select the 2D page, then select planes
4. For base node, choose the node with ID number 1 to be the base reference node.
Step 17: Create a line that connects two parallel lines on an X-Y plane.
1. Access the Lines panel.
3. Select z-axis (located at the bottom-center of the panel, shared between the controls for elements with
plane and lines with plane) to represent the intersection plane.
The reason for choosing the z-axis is that you want to create the line on the X-Y plane.
4. For base, choose the node with ID number 1 to be the base node.
6. For line list, choose the two straight lines that are perpendicular to the X-Y plane.
From this point onwards any element or geometry created will be placed in the geometry component
collector.
2. Click Iso1.
7. Activate the top line selector and pick the line created in step 17--the line that passes through node 1--
as the line to be extended.
9. Activate the lower line selector and--with the view still in iso1--select the lower-right edge of the purple
plane.
You can see the line is extended to reach one surface edge.
· From the Menu Bar, select Geometry, then Create, then Lines.
· From the main menu, select the Geom page, then select lines.
5. For 1st line, pick the vertical line through which the line extended in step 19 passes.
6. For 2nd line, pick the extended line from step 19.
"Please select fillet quadrant" displays in the status bar. HyperMesh is asking you to select a reference
location for the fillet.
7. Pick the upper-right X for the fillet quadrant, as shown in the image.
3. With the lines selector active, select the vertical line that does not have a fillet.
9. Choose the small line segment under the X-Y plane, and click delete entity to remove the line segment.
· From the Menu Bar, select Mesh, then Delete, then Nodes
· From the main menu, select the Geom page, then select temp nodes
The IGES file you have generate can be shared with other CAD packages such as UG, Catia, and ProE.
· Plot elements
The surfaces created in this process are regular surfaces that can be used for geometry editing (for changes
to a design) and meshing, and to export geometry information (in reverse engineering applications, for
example). This is particularly useful if you are trying to obtain geometry information (surfaces) from a model
containing elements only.
Exercise
This exercise uses the model file, fe_to_surf.hm. The model is the tetrahedral mesh of a bracket. It is
organized into a single component, and does not contain any entities besides the solid elements.
2. Use the faces panel to generate shell elements on the outside of the solid mesh.
1. From the Tool page, select the faces panel.
2. With the entity selector set to comps, click any element.
3. The element is temporarily highlighted, signifying that the component has been selected. The
tolerance field can be left unchanged, as it does not influence the creation of face elements.
HyperMesh creates shell elements on the free faces of the solid elements (faces that are not shared
with any other element), and places them into the ^faces component collector.
3. In the Model browser, turn off display of the elements by clicking the element icon next to the tetras
component.
1. On the toolbar, click the Components icon ( ) to go to the Components panel and create a
component collector with the name surfaces. Select any color, and do not assign any card image or
material to the component.
2. Run the FE surf functionality on elements in the ^faces component as shown in the following image.
1. From the Geom page, click surfaces, and select the from FE sub-panel.
2. With the upper elems selector active, select displayed.
3. Toggle to auto defect features and mesh based auto tolerance.
Auto detect features will automatically create 1-D plot elements at feature lines. Features are
created where the normals of adjacent elements vary more than the feature angle specified in
the options panel. Once the feature lines are created, it also combines open ended features to
form closed loops. These features are used as delineations for the new surfaces being created.
4. Mesh based autotolerance option allows the tool to determine the tolerance as a factor of the
average element size. The new surfaces created are allowed to deviate from the existing mesh
no more than the specified/calculated tolerance value.
5. Set surface complexity: to 5 using the slider bar.
6. Click create. It may take up to 40 seconds to create surfaces.
3. Turn off the display of all elements to review the surfaces that were created.
Notice how only two surfaces (from over 70) were created. Take some time to review the surface by
rotating and zooming in and out the model. The delineation of the surfaces may or may not correspond to
On the toolbar, click User Views ( ) to restore previously saved views 1 through 5 where delineation
lines are not intended.
4. Delete the surfaces that were generated by going to the Tool page and selecting the delete panel.
In this section, you have learned how to use the FE surf panel to generate some surfaces that can later be
meshed.
You have also seen that when the surface generation engine is asked to create surface delineation
automatically, the surfaces obtained may not necessarily have the specific delineation you 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.
The new surfaces should have boundaries that respect the features of the tria mesh as the tria mesh
captures, 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, features, and
edit element panels to create plot elements. Using the features panel is one of the most automated ways of
generating plot elements, although it does not always create the features as desired. Some manual
methods will be used to modify the results of automatic feature creation.
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.
1. From the surfaces panel, FE sub-panel, click the features button to access the features panel.
This is a shortcut to this panel. You can also find features panel in the Tool page by selecting the
features sub-panel.
2. Set the entity selector to elems.
3. Click elems and select displayed.
4. Enter 30 in the feature angle = field.
This generates plot elements representing the features of the mesh (see previous image). These
plots elements are automatically created in a component collector named ^feature. For detailed
information, view additional details on the feature panel.
8. On the toolbar, click User Views ( ) to restore previously saved views 1 through 5 where the
features are not as intended.
2. Click remove.
5. All the nodes in the path between these two nodes are selected.
6. Click add.
A new feature line is created.
Notice that the features created here are of zigzag pattern. You will delete those and create new smooth
features:
1. From the features panel, select the edit sub-panel.
2. Click elem for the element features to remove and pick the plot elements as shown in the
following image. As you pick these plot elements, the entire row of elements to the next
intersection is selected.
3. Click remove.
6. Follow procedure in sub-step 3.4 and add two new feature lines (see following image).
You created plot elements that will be used in the surfaces 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. 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, significantly limiting the amount of
subsequent editing required.
In this section, you 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 you
used the ones that would allow you to get to your goal the most effectively.
Now that both the shell elements and the plot elements delineating the surfaces are available, you will
generate surfaces on the entire model.
10. Turn off the display of all elements to review the surfaces that were generated (see following image).
Surfaces generated
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, this 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.
· What topology is
Solids are geometric entities that define a three-dimensional volume. Geometric entities are defined as
follows:
The use of solid geometry is helpful when dividing a part into multiple volumes. For example, divide a part into
simple, mappable regions to hex mesh the part.
7. The status bar indicates that a solid has been created. The solids are identified by thicker lines than
surfaces.
4. Click bottom center, and select one of the temporary nodes (see following image).
A solid cylinder is created in the middle of the first solid that was created.
Step 4: Subtract the cylinder’s volume from the rest of the part.
1. Enter the solid edit panel in one of the following ways:
5. With the solids entity selector for A: active, select the original solid.
7. Click calculate.
2. Under with bounding lines:, activate the solids entity selector, and click anywhere on the model to
select it.
3. Activate the lines entity selector and, in the graphics area, select the lines shown in the following image.
1. Under with cut line:, activate the solids entity selector, and select the small, tetrahedral shaped solid
created in step 5.
5. Pick two locations on screen such that they define the endpoints of a line that roughly divides the
tetrahedral solid in half, as shown, following.
7. Select the half of the original tetrahedral solid as shown in the following image.
11. Use with cut line: to split the solid as shown in the following image.
2. With the solids entity selector under to be merged: active, select the three solids shown in the following
image.
The resulting solids in the tetrahedral area should look like the following image. There should be two solid
entities, with one of them being hexahedral in shape in the corner.
3. With the solids entity selector under with plane: active, select the large solid representing the majority
of the part.
5. With N1 active, press and hold the left mouse button, and move the mouse cursor over one of the two
edges shown in the following image.
6. Release the mouse button, and left-click in the middle of the edge.
A green temp node appears at the location to indicate the selection for N1.The plane selector is
advanced to the N2 selection.
7. In the same manner, highlight the other line shown in the image and select two nodes along its length.
2. With the solids entity selector under with sweep lines: active, select the solid with the cylinder
removed.
3. Activate the line list entity selector and select the edges used in step 8 to define N1, N2, and N3.
5. Verify that the panel is set to sweep all below the plane selector.
2. With the solids entity selector under with plane: active, select the solid with the cylinder removed.
4. Press and hold the left mouse button, and move the mouse cursor over the edge shown in the following
image.
6. A purple temp node appears at the location to indicate the selection for the base node.
Step 11: Split the solid geometry by creating surfaces inside the solids.
1. Enter the surfaces panel in one of the following ways:
9. Under with surfs:, with the solid entity selector active, select the solid in the graphics area.
10. Under with surfs:, with the surfs entity selector active, select the surface in the graphics area that was
just created.
· From the Geometry menu, point to Edit, and then click Solids
20. Under with surfs: activate solids and click the solid in the graphics area.
21. Under with surfs:, with the surfs entity selector active, select the surface in the graphics area that was
just created.
4. With the solids entity selector active, select the four solids shown in the following image.
This tutorial will explore the geometry and mesh editing functions available in the qucik edit panel.
The quick edit panel provides easy access to a number of geometry editing mesh editing tools. More than a
dozen functions are presented in this single panel. Many of the functions can be found in other HyperMesh
panels. These tools may be used before creating the surface mesh to simplify geometry, correct geometry
errors, or add additional geometric features to control the mesh generation. Additionally, if a mesh already
exists on the geometry, you have the option of automatically remeshing the geometry as you modify it.
· From the Menu Bar, select Mesh, then select Create, then 2D Automesh
· From the main menu, select the 2D page, then select automesh
8. Click mesh.
For the base component, your focus will be to improve the mesh quality around the large holes in the side
surface and the mounting holes on the flanges. The oblong holes will be removed. On the top surface, the
mesh quality around the five small holes will be improved by trimming in a "washer" surface around the holes.
3. Pick each of the six oblong holes (under the large circular holes) to remove them and re-generate the
mesh.
3. Pick the node and line as indicated in the image to trim the surface.
Surface trim lines isolating small holes onto individual surfaces. Note that element display has been turned off for clarity.
Step 4: Trim a washer layer into the surface around each of the four holes.
1. In the offset value field next to washer split, enter 0.05.
4. For the adjust/set density function, activate the left line(s) selector.
5. Click the surface edge segment to adjust the densities as shown in the image:
7. Left-click one of the adjusted outer washer edges (one where the density has been changed from 7 to 8
in the last step).
8. Right-click the remaining outer washer edges to set the element densities to 8 elements.
9. Use either the adjust or set edge density functions to make the remaining mesh adjustments, as
indicated in the following image.
Step 5: Adjust the mesh around the large holes on the side surfaces.
The approach used around the large holes is to trim the surfaces into individual patches to which a mapped
meshing algorithm can be applied. Use the split surf-line function to make the following surface trims. Note
that only one side is shown and the element display has been turned off for clarity.
The mapped meshing algorithms apply a mesh pattern template to a surface, and then map that pattern to
the specific surface size and shape. For this method to be applied certain criteria must be met, including
2. Select the 12 surface patches around the three holes on one side of the model.
3. Verify that you are working in the size and bias sub-panel.
7. On the density sub-panel, adjust the density on the six edges across the center of the holes from 1 to 2
.
8. On the mesh style sub-panel, set the mesh method to map as pentagon, then click set all.
10. Click return to accept the mesh and go back to the automesh panel.
This completes this tutorial. For more practice using these methods, use the other components in the
model.
· From the Menu Bar, select Mesh, then Create, then 1D Elements, then Bars
· From the main menu, select the 1D page, then select bars
9. Click the switch below update and select components from the pop-up menu.
13. Click node A and select the lower node in the graphics area.
14. Click node B and select the upper node in the graphics area.
6. Click mesh.
2. Use Model brower to turn on only the elements in the feature_elements component.
· From the Menu Bar, select Mesh, then Check, then Components, then Features
· From the main menu, select the Tool page, then select features
9. Click features.
· Learn how to mesh all the surfaces at once specifying different element sizes and element types
· Practice checking element quality and changing the mesh pattern by changing the mesh algorithm
· Practice changing the element type and node spacing (biasing) along surface edges
The optimal starting point for creating a shell mesh for a part is to have geometry surfaces defining the part.
The most efficient method for creating a mesh representing the part includes using the automesh panel and
creating a mesh directly on the part’s surfaces.
Exercise
· On the Menu Bar, select Mesh, then Create, and then click 2D AutoMesh
· From the main menu, select the 2D page, and then select automesh
6. On the panel’s bottom-left corner, set interactive as the active mesh mode (it may currently be on
automatic).
7. Check the status bar at the bottom and verify that the current component collector is Middle Surface.
8. Ensure that the elements to surf comp/elements to current comp toggle is set to elems to current
comp.
Notice that you are in the density sub-panel of the meshing module. There is node seeding and a
number on each surface edge. The number is the number of elements that were created along the edge.
At this point, you could be done using the automesh panel to mesh the part. The mesh quality is very
good. However, you will remain in the meshing module to perform the next steps, which demonstrate
how to use various sub-panels to interactively control the creation of the mesh.
Step 4: Mesh the surface having three fixed points interior to its surface.
2. Select the surface that has three fixed points interior to its surface.
Step 5: Fit only the surface being meshed to the graphics area.
Fit the surface to the graphics area in one of the following ways.
Step 6: From the graphics area, specify a new element density along surface
edges.
1. From the density sub-panel, click the selector, adjust : edge to make it active.
2. From the graphics area, left-click an edge’s element density number to increase it by one.
4. Click and hold the mouse pointer on an edge’s number and drag the mouse up or down to increase or
decrease the number.
Step 7: From the menu panel, specify a new element density along surface edges.
You should still be in the density sub-panel.
Step 8: From the menu panel, specify a new element size to adjust element
densities along surface edges.
You should still be in the density sub-panel.
Step 9: Change all edge element densities to reflect the initial element size of 5.
1. For elem size=, specify 5.
4. Return to accept the mesh and go back to the size and bias sub-panel.
1. With the surfs selector active, select the rib surface in the middle of the part.
5. Click local view and pick the rear view to display the rib’s surface in this position, filled to the graphics
area.
2. Click aspect to identify all elements having an aspect ratio greater than 5.
3. Notice that no elements fail this check. In the status bar, the highest aspect ratio value reported is 1.67.
5. Click jacobian to identify all elements having a jacobian less than 0.8.
6. Notice that several elements fail this check and are outlined red. The status bar reports the smallest
jacobian value to be 0.71.
9. Check for quad elements having a min angle less than 45.
11. Check for quad elements having a max angle greater than 135.
Step 12: Change the rib’s mesh pattern by changing the mesh method used for its
surface.
1. Go to the mesh style sub-panel.
2. Notice that the edges’ element density numbers disappear. Interior to the rib’s surface is a white icon. It
indicates the free (unmapped) mesh method is currently being used to mesh the surface.
3. Under mesh method: set the option to map as rectangle (autodecide is default).
5. Notice that the icon changes to reflect the new mesh method.
Step 13: Check the quality of the rib’s preview mesh again.
1. Go the checks sub-panel.
4. Check for quad elements having a min angle less than 45.
5. Check for quad elements having a max angle greater than 135.
6. Notice that in this case, the free (unmapped) mesh has better jacobian than the map as rectangle
mesh.
Step 14: Change the rib’s mesh method back to free (unmapped).
1. Go to the mesh style sub-panel.
5. Click return to accept the mesh as final and go back to the automesh panel.
2. Move your mouse off the pop-up menu to return to the automesh panel.
The status bar displays the following message: "There are no surfaces with meshing errors". This is
correct; all surfaces you selected to mesh so far have a mesh on them.
5. Click unmeshed surfs to identify and select all displayed unmeshed surfaces.
Step 16: Change the element type for some surfaces to trias.
1. Go to the mesh style sub-panel.
Notice that interior to each surface is a blue icon. It indicates the mixed element type (quads and trias)
is currently being used to mesh the surface.
4. Under element type: activate the selector set surf. (Click set surf.)
5. Left-click the blue icon twice in each of the channel’s bottom two surfaces to set their element type to
trias.
2. Notice the bias intensity number (default 0.000) on each surface edge.
This style corresponds to the positive slope of a straight line over the interval [0,1] of the real line. For a
positive bias intensity, smaller elements are at the start of the edge.
5. Left- or right-click the edge biasing intensity number as indicated in the following image to increase or
decrease its value by 0.1.
6. Click and hold the mouse pointer on the same edge biasing intensity number and drag the mouse up to
increase its value to 3.0.
10. Click the same edge’s bias intensity value to change it to 10.
This style distributes nodes along the edge in a pattern that is symmetric across the midpoint of the
edge. For a positive biasing intensity, the smaller elements are at the start and end of the edge.
14. Click the same edge’s blue icon to change it from linear bias style to the bellcurve bias style.
16. Click return to accept the final mesh and go back to the automesh panel.
This mode is not interactive; it does not take you to the meshing module. Rather, it meshes surfaces
using only the basic parameters of the automesh panel. Interactive mode can be used to remesh the
surfaces if you require the different options to control the created mesh.
2. With the surfs selector active, select the channel’s bottom two surfaces (having the tria mesh).
4. Click mesh to delete the existing mesh on the surfaces and create a new mesh.
Note that connectivity was maintained with the surrounding, smaller mesh. This is because the break
connectivity option was not used.
In this tutorial, you will learn the basic concepts of surfaceless meshing and how to mesh a bracket.
Surfaceless meshing is defined as the creation of mesh using points, lines, and nodes rather than surfaces.
Some parts may have missing surfaces and some parts may not have any surfaces at all and are instead
defined by line data. Either way, a mesh still must be created. HyperMesh has a number of panels that
allow you to create a mesh based on geometry other than surfaces.
This exercise uses the model file, bracket.hm. The model consists of only line data; no surfaces are
present.
Step 2: Create a concentric circle around a hole on the top face using the scale
panel.
There are three circles on the upper region of the bracket representing three holes in the bracket. Two of the
holes have concentric circles around them. This configuration allows you to create a radial mesh pattern
around the holes. The following steps will show you how a concentric circle can be created around the third
hole.
· On the main menu, select the Tool page and go to the scale panel
6. Move the mouse pointer to the graphics area. While keeping the left mouse button pressed, drag the
mouse pointer over the circle representing the hole. When the mouse pointer changes to a square and
the circle is highlighted, release the mouse button. The circle remains highlighted. Left-click the
highlighted circle to create a node for N1. Click twice more at different locations on the line to create
nodes N2 and N3.
A node is created at the circle’s center. This node will be selected as the origin node when the circle is
duplicated and scaled.
13. Select the temporary node you created at the circle’s center.
Step 3: Create a radial mesh between each of the concentric circles using the
spline panel.
1. To go to the spline panel, do one of the following:
· From the Menu Bar, select Mesh, then Create, then 2D Elements, and then click Spline
· On the main menu, select the 2D page and go to the spline panel.
2. With the entity type set to lines, select all six circular lines.
This option creates surfaces based on the selected entities, uses the surfaces to create a mesh, and
then deletes the surfaces.
The meshing module appears. Element edge density numbers appear on the selected lines. The
numbers on a pair of concentric circular lines must be identical in order to achieve a radial mesh.
8. Click mesh.
9. Click return.
Step 4: Mesh the rest of the top face using the spline panel.
1. With the entity type set to lines, select the four lines defining the perimeter of the top face and the three
circular lines defining the outside perimeter of the three radial meshes.
2. Click create.
4. Click return to accept the mesh and go back to the main menu.
Step 5: Mesh the back face of the bracket using the line drag panel.
1. To go to the line drag panel, do one of the following:
· From the Menu Bar, select Mesh, then Create, then 2D Elements, and then click Line Drag
· On the main menu, select the 2D page and enter the line drag panel
3. Switch the drag: entity type from node list to line list.
4. Select the line that is on the perimeter of the existing mesh and adjacent to the bracket’s back face.
6. Select one of the two lines defining the back face and perpendicular to the selected line to drag.
9. Click drag.
11. Click return twice to accept the mesh and go back to the main menu.
Step 6: Mesh the bottom face of the bracket using the ruled panel.
1. To go to the ruled panel, do one of the following:
· From the Menu Bar, select Mesh, then Create, then 2D Elements, and then click Ruled
· On the main menu, select the 2D page and enter the ruled panel
4. Select the end nodes located on back face edge that borders the bottom face, as indicated in the
following image.
All the nodes between the two selected nodes are automatically selected.
The nodes are highlighted and numbered to show the order in which they have been selected.
7. Select the line defining the opposite edge of the bottom face.
8. Switch the creation method from mesh, keep surf to mesh, w/o surf.
When elements are generated, the edges used to create them can be ordered in different directions. The
order of the edges is determined by the order in which the nodes are selected or the direction of the
selected line(s). If the direction is different for each selection, then a mesh that crosses itself, similar to a
bow tie, will be created. To prevent this, the auto reverse option ensures elements are generated with a
similar order on each side of the mesh.
· From the Menu Bar, select Mesh, then Create, then 2D Elements, and then click Skin
· On the main menu, select the 2D page and enter the skin panel
2. With the line list selector active, select any two of the three lines defining the rib.
3. Switch the creation method from mesh, keep surf to mesh, dele surf.
5. Click create.
7. Click return to accept the mesh and go back to the main menu.
Mesh of rib
Chordal deviation is a meshing algorithm that allows HyperMesh to automatically vary node densities and
biasing along curved surface edges to gain a more accurate representation of the surface being meshed.
In this section, create a mesh using only element size, not the chordal deviation meshing parameters.
· From the Menu Bar, select Mesh, then Create, then select 2D AutoMesh
2. Set the mesh mode to automatic (it may be currently set to interactive).
6. Select surfs > >by collector >> use size from the extended entity selection menu.
7. Click select.
9. Click return.
In this section, mesh a set of surfaces using the maximum deviation parameter to control the element
densities and biasing.
Cycle through the parameter settings by pressing the TAB key after typing in a value.
6. Set max angle = to 90.000 for the maximum angle parameter to be neglected.
2. Click select.
Step 5: Set the chordal deviation parameters and create the mesh.
1. Set max angle = to 20.000.
3. Click select.
Step 6: Set the chordal deviation parameters and create the mesh.
1. Set max elem size = to 30.000.
3. Click select.
In this tutorial, you will learn how to create and optimize a 2-D mesh based on user-defined quality criteria.
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.
· From the Menu Bar, select Mesh, then Check, then Elements, then Quality Index
On the right-hand side of the panel, note the value for comp. Q.I.=. Currently, it should read 71.09.
· 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 element’s 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.
· From the Menu Bar, select Mesh, then Create, then 2D AutoMesh
· From the Menu Bar, select Mesh, then Cleanup Elements, then Smooth
4. Switch the algorithm to QI optimization. (By default, the button should be set to autodecide.)
5. There are several optional controls you should understand, but are not needed for this tutorial:
Controls Function
target quality index 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 activated or not. If working with a large models,
activate this box to ensure the smoothing routine does not take more time
than you want to allow.
feature angle The smooth panel evaluates the angle between the normals of two adjacent
elements. If this angle is equal to or greater than the value specified in this
field, it will not allow the nodes shared by the elements to move.
use current criteria Allows you to select and use a criteria file for your Q.I. settings. If a criteria
file is specified, leave this option blank.
recursive optimization The other toggle option is single optimization step. Using the recursive
procedure optimization procedure allows the automesher to take more than one
pass in generating the best quality mesh it can. However, this can take
longer than single optimization step, so you might want to use single
optimization step for larger models.
6. Click smooth.
Before HyperMesh has run the routine, you should see a message asking to recompute using a new QI
mesh size value.
7. Click continue.
Note that the status bar displays a message that the “approximate quality index=0.10.” Compare this
value to 71.09, which is the quality index value you had after creating the original mesh. In this case you
should see that it is significantly lower, which indicates that the element quality is much better.
Like the smooth panel, the QI optimized meshing mode of the automesh panel has some controls of
which you should be aware. They are, however, not needed in this tutorial.
Controls Function
use current criteria in QI Allows you to select and use a criteria file for your Q.I. settings. If a
panel criteria file is specified, leave this option blank.
Smooth across common Determines whether nodes generated on a surface edge can be
edges moved off the surface edge when the algorithm smoothes the mesh
feature angle The smooth panel evaluates the angle between the normals of two
adjacent elements. If this angle is equal to or greater than the value
specified in this field, it will not allow the nodes shared by the
elements to move.
5. Click mesh.
6. Click return.
7. Use the qualityindex panel to check the quality index of the mesh to compare it to the previous mesh:
2. Look at the value for the comp. Q.I.= field. It should be 0.10, which is much lower that the 71.09
value of the mesh you originally generated.
Batch Mesher is a tool that can perform geometry cleanup and automeshing (in batch mode) for given CAD
files. Batch Mesher performs a variety of geometry cleanup operations to improve the quality of the mesh
created for the selected element size and type. Cleanup operations include: equivalencing of "red" free
edges, fixing small surfaces (relative to the element size), and detecting features.
Batch Mesher also performs specified surface editing/defeaturing operations such as: removal of pinholes
(less than specified size), removal of edge fillets, and addition of a layer of washer elements around holes.
All user-defined criteria determine the quality index (QI) of a model. The QI value is used to assess the
potential of each geometry cleanup and meshing tool, and apply them accordingly. QI optimized meshing
and node placement optimization are performed to obtain the best quality meshing. Final results are stored
in a HyperMesh database file.
Tools
· On the Start menu, point to Programs, point to Altair HyperWorks 10.0, and click Batch Mesher.
Or
· Type the hw_batchmesh command to invoke the user interface or hw_batchmesh -nogui… to
perform the batch mesh without a user interface.
2. In the Input Model Directory field, click folder ( ) to browse to the appropriate directory.
(In this exercise, you will use files located in the <installation_directory>\tutorials\hm
directory.)
3. In the Output Directory, click folder ( ) to browse to the appropriate directory if different from the input
model directory. If desired, you may request the .hm files be returned to the input model directory.
5. For Type of Geometry, select the appropriate CAD data type. For this exercise, you will use geometry
already loaded into HyperMesh, so pick HyperMesh.
A filter will help select applicable models for batch meshing to HyperMesh.
6. Locate and select the following model files, (use the CTRL key to select multiple files): part1.hm,
part2.hm and bm_housing.hm.
7. Click Select.
3. In the Mesh Type field, type a name for the mesh type.
4. Select the Criteria File field, and click Find Criteria Param File, .
5. Select the file bm_housing.criteria. (If necessary, browse to and locate the file in the
<installation_directory>\tutorials\hm directory.)
6. Select the Parameter File field, and click Find Criteria Param File, .
7. Select the file bm_housing.param. (If necessary, browse to and locate the file in the
<installation_directory>\tutorials\hm directory.)
A new mesh type is now available for selection on the Run Setup tab.
Step 3: On the User Procedures tab, set up a simple script to perform a tetramesh
on the housing.
2. Select the TCL File field, and click Find TCL File, .
3. Select the file bm_housing.tcl. (If necessary, browse to and locate the file in the
<installation_directory>\tutorials\hm directory.)
A new post-batch meshing script is now available for selection on the Run Setup tab.
Step 4: On the Run Setup tab, begin defining a configuration for the batch mesh
run.
1. In the Mesh Type field, select a predefined mesh type for each of the parts as follows:
2. From the Post-Mesh drop-down list for bm_housing.hm, select the procedure created in Step 3 (
tetmesh).
This will run the tetramesher on all available shell elements after batch meshing.
or
The application automatically switches to the Run Status tab. As the parts run, the status changes
from Working to Pending to Done.
4. Once the part is at the Working state, select the part and select Details.
A detailed summary appears with the status of the model through its Batch Mesher steps, the overall
failed elements, and quality index.
5. Once the part is at the Done state, click Load Mesh to load the mesh into HyperMesh for model
interrogation.
6. Once all parts have been meshed, select Run Details to obtain an overall run status.
Any file can be paused or canceled. If the file is paused, it can be resumed immediately or at a specific
time.
Once the Batch Mesher session has been setup with file directories and mesh types, it can be saved as
a config file that can be loaded at a future time.
It is also possible to load an entire set of models that has already been batch meshed in order to take
advantage of the Load Mesh option in the Run Status tab.
If you choose to make modifications to your criteria or parameter files, the run can be submitted again.
The new files will be placed in a separate sub-directory.
On the Criteria tab, you can set the target element size, element criteria, and the method that is used to
calculate the values. An advanced criteria option can be enabled to give more control over the
intermediate QI values, but is usually not necessary in order to obtain a good quality mesh.
The Parameters tab sets all of the meshing control over various geometric features.
· The shrink wrap allows for wrapping of multiple components if they are selected.
· The selection provides the option to wrap all elements, components, surfaces or solids, or only a
certain portion of the model if desired. The input to the shrink wrap (that is, the model parts that you
wish to wrap) can consist of 2-D or 3-D elements along with surfaces or solids.
The shrink wrap is able to stitch over very bad geometry to generate an enclosed volume mesh for tetra-
meshing. The shrink wrap tool can work from elements (whether 2-D or 3-D) or geometry. Thus, in the case
of an "unclean" geometry model with many released (free) edges, you can either generate any arbitrary mesh
on the unclean geometry using the automesh functionality beforehand and then create shrink wrap or you
can simply select the surface or solid without meshing the geometry first; either of these steps will yield
good output mesh. (The key in such cases is to ensure that the element size used for the shrink wrap is
large enough to stitch over the unclean surface edge splits so that an enclosed volume can be created.)
The element size affects the ability of the shrink wrap to follow the geometry of the model. The larger the
element size, the more simplified the model will appear. With a smaller element size the shrink wrap will
more closely follow the model. The jacobian value for the solid mesh follows the same type of pattern. As
the jacobian value gets smaller the shrink wrap more closely follows the profile of the model. Note that the
smaller the jacobian value, the longer it takes to generate the mesh.
Shrink wrap mesh can be generated as a surface mesh, or as a full-volume hex mesh, by use of the shrink
wrap panel. The distinction between surface or volume mesh is an option labeled generate solid mesh.
2. Review the surface geometry on the screen. Notice the gap in the geometry.
Step 4: Create a loose shell shrink wrap mesh in the loose component.
1. Hide the loose_gap component in the Model browser.
3. From the Mesh menu, click Create, then Shrink Wrap Mesh.
2. Right-click the tight_solid component in the Model browser and click Make Current.
2. Click comps and select the block component form the list.
HyperMesh provides two methods of generating a tetrahedral element mesh. The volume tetra mesher works
directly with surface or solid geometry to automatically generate a tetrahedral mesh without further
interaction from the user. Even with complex geometry, this method can often generate a high quality tetra
mesh quickly and easily.
The standard tetra mesher requires a surface mesh of tria or quad elements as input, then provides you with
a number of options to control the resulting tetrahedral mesh. This offers a great deal of control over the
tetrahedral mesh, and provides the means to generate a tetrahedral mesh for even the most complex models.
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 shell mesh (tria or quad elements) where each
element has material on one side and open space on the other.
Exercise
Only the geometry in the component cover is currently displayed. The file contains two parts defined by a
volume of surfaces. The geometry has been cleaned such that surface connectivity is proper and surface
edges that would cause sliver elements are suppressed.
Step 2: Use the volume tetra mesher and equilateral triangles to create a tetra
mesh for the cover.
1. Access the tetramesh feature in one of the following ways:
· From the Mesh menu, point to Create, and click Tetra Mesh
3. Set the entity selector to surfs and select one of the surfaces in the model.
5. Verify that the use curvature and use proximity options are not active .
9. Take a moment to inspect the mesh pattern that the volume tetra mesher created.
Tetra mesh from the volume tetra sub-panel and equilateral triangles (2D: trias)
Step 3: Use the volume tetra mesher and right triangles to create a tetra mesh for
the cover.
You should still be in the tetramesh / volume tetra sub-panel.
5. Compare it to the first mesh you created and note the differences. The 2D: R-trias setting tends to create
tetra elements with triangular faces that are right triangles (90-45-45 angles) while the 2D: trias setting
tends to create equilateral triangles (60-60-60 angles).
Tetra mesh from the volume tetra sub-panel and right triangles (2D: R-trias)
Step 4: Use the volume tetra mesher to create a tetra mesh with more elements
along curved surfaces.
You should still be in the volume tetra sub-panel.
Additional parameters appear. The option, use curvature, causes more elements to be created along
areas of high surface curvature. Thus, curved areas such as fillets will have more and smaller elements,
which capture those features with higher resolution.
7. Inspect the mesh pattern that the volume tetra mesher created.
8. Compare it to the previous meshes you created and note the differences. More elements are created
around the fillets.
Tetra mesh from the volume tetra sub-panel and the option use curvature active
Step 5: Use the volume tetra mesher to create a tetra mesh with more elements
around small features.
You should still be in the volume tetra sub-panel.
The use proximity option causes the mesh to be refined in areas where surfaces are smaller. The
result is a nice transition from small elements on small surfaces to larger elements on larger, adjacent
surfaces.
5. Inspect the mesh pattern that the volume tetra mesher created. Compare it to the previous meshes you
Tetra mesh from the volume tetra sub-panel with options use curvature and use proximity
Step 6: Prepare the display to tetra mesh the hub component using the standard
tetra mesher.
1. Use the Model browser to turn off the display for all components for geometry.
3. Use the Model browser to turn off the display for all components for elements.
4. Turn on the display for the hub and tetras components for elements.
There are tria shell elements in the hub component. Currently, there are no elements in the tetras
component.
Step 7 (Optional): Review the connectivity and quality of the tria mesh to validate
its integrity for the standard tetra mesher.
Use the edges and check elems panels to make sure that there are no free edges or very small angles in
· From the Menu Bar, select Mesh, then Check, then Components, then Edges
· From the main menu, select the Tool page and the edges panel.
2. With the comps selector active, pick any tria element on the hub component.
A message in the status bar should state, "No edges found. Selected elements may enclose a volume."
This is desired as the tetra mesher requires a closed volume of shell elements.
· From the Menu Bar, select Mesh, then Check, then Elements, then Check Elements
· From the main menu, select the Tool page and the check elems panel.
Aspect ratio is the ratio of the longest edge of an element to its shortest edge. This check helps you to
identify sliver elements.
All of the hub’s shell elements pass the check; all of the elements have an aspect ratio less than 5.
8. Identify tria elements having an angle less than 20. (trias: min angle)
All the hub’s shell elements pass the check; all the elements have angles greater than 20.
Step 8: Create a tetra mesh for the hub using the standard tetra mesher.
1. Use the Model browser to set the current component to tetras.
4. With the comps selector active under select trias/quads to tetramesh, select one of the hub shell
elements from the graphics area.
By default, HyperMesh will swap the diagonal for any pair of surface triads that will result in a better tetra
mesh quality. If you would rather keep the diagonal, see sub-step 5.
5. (Optional) To keep the diagonal as is, switch no fixed trias/quads to fixed trias/quads and select
comps.
If the minimum length is acceptable for a target element size of 5.0, then no further action is necessary.
5. Identify the smallest angle (tria faces: min angle) among the displayed elements.
If the minimum tria face angle is no less than 10°, then the mesh quality should be acceptable.
The tet collapse criteria is a normalized volume check for tetrahedral elements. A value of 1 indicates a
perfectly formed element with maximum possible volume. A value of 0 indicates a completely collapsed
element with no volume.
The status bar indicates that three elements have a tetra collapse smaller than 0.3.
1. With 0.3 still specified for tet collapse, click tet collapse again.
The element that failed the tetra collapse check is saved in the user mark, and can be retrieved in any
panel using the extended selection menu.
5. Set the entity selector to elems and select elems >> retrieve.
The element that was saved in the check elems panel is retrieved.
Only the one tetra element that failed the tetra collapse check should be displayed.
The layer of elements that is attached to the one displayed element is identified and displayed.
The layer of elements that is attached to the displayed elements is identified and displayed. The
functionality of unmask adjacent can be duplicated using the find panel, find attached sub-panel on
the Tool page.
Step 11: Remesh the hub’s displayed tetra elements to improve their tetra
collapse.
1. Access the tetramesh panel.
7. Click tet collapse to find out if the tetra collapse has improved for the displayed elements.
The message in the status bar should indicate that the minimum tetra collapse is larger than the value
reported before the tetra elements were remeshed.
Summary
A tetra mesh has been created for both parts in the file. Different procedures for tetra meshing were used.
Either method can be used to mesh parts, depending on the needs of the analysis. Also, the tetra remesh
function was used to show how to quickly fix the quality of tetra elements.
For some analyses, it is desirable to use a mesh of hexahedral and pentahedral elements. This is especially
true for parts, which have a large thickness compared to the element size being used, or for parts that have
many features and/or changes in thickness. Castings or forgings are good examples.
This exercise uses the model file, arm_bracket.hm. This exercise introduces you to a number of
HyperMesh functions that are used to create hexa-penta meshes. The model is organized into four IGES
layers, consisting of 1) the base, 2) the first section of the arm, with a constant cross section and curvature,
3) the second section of the arm, with a tapered cross section, and 4) the boss.
Step 2: Mesh the top surface of the base, including the L-shaped surface.
1. Set the active component collector to base in one of the following ways:
· In the status bar click the middle box which is the comp: selection and set the current component in
the popup.
4. Select the surfaces on the top of the base, including the L-shaped surface at the intersection of the base
and the arm.
For this part of the exercise it might be easier to view the geometry in a shaded mode by clicking
3. With the elems selector active, select the elements on the base.
6. Click offset+.
Step 4: Prepare the display for meshing the arm’s curved segment.
1. Show the arm_curve component in the Model browser.
All of the elements with a configuration of hex8 in the model are selected.
All of the elements with a configuration of penta6 in the model are selected.
3. With the N1 selector active, create the temporary nodes on one of the curved lines of the arm as
described following.
4. Press and hold the left mouse button. Move the cursor over a curved line. Once over the line, the cursor
will change to a square with a dot in the center, , and the line will be hightlighed. Release your
mouse button.
5. Click three locations along the selected line. The active selector advances from N1 to N2 to N3, and the
locations will be selected as though there was a node there.
4. Using elems >> by window, select the plate elements within the L-shaped cross section of the arm.
8. For the base node (B), click the center node created above.
24 layers of hex elements will be created when the plate elements are spun.
2. With the entity selector set to comps, select the arm_curve component.
2-D shell elements are created on the free faces of every 3-D solid element in the component. They are
placed in a new component named ^faces.
The ^faces component is created with its visualization set to wireframe, so you will not be able to see
the new elements right away if the arm_curve component is displayed and in shaded mode.
4. On the toolbar click Shaded Elements & Mesh Lines to shade the elements.
Step 8: Prepare the display for meshing the second arm segment.
1. Turn on the display for the arm_straight and ^faces components.
Step 9: Mesh the L-shaped set of surfaces between the arm_straight and boss
components.
1. Set the current component collector to arm_straight.
6. From the density sub-panel, adjust the densities to obtain a mesh that matches the following image.
This mesh pattern matches the mesh pattern at the intersection of the two arm segments. This is
necessary for the next step.
8. Click return to create the elements and go back to the automesh panel.
Step 10: Use linear solid to build the mesh between the two sets of shell elements.
1. Access the linear solid panel in one of the following ways:
· From the Mesh menu, point to Create, choose 3D Elements, and click Linear 3D
2. With the from: elems selector active, select the ^faces elements lying on the intersection between the
first and second arm segments.
3. Click the to: elems selector to make it active. Then select the shell elements between the arm and
boss, which you created using the automesh panel in the last step.
4. Click the from: alignment: N1 selector to make it active. Then select three nodes on one of the "from
elements" you selected in sub-step 10.2.
5. Click the to: alignment: N1 selector to make it active. Then select three nodes on the "to element"
corresponding to the "from element" with the three "from nodes" you selected in sub-step 10.4. Refer to
the following image.
3. Select the node on the rightmost top vertex, as per the following image.
5. For the to line select the line on the boss’ top face. Refer to the following image.
Step 14: Generate hexas for the boss using the solid map panel.
1. Access the solid map panel in one of the following ways:
· From the Mesh menu, point to Create, and click Solid Map Mesh
5. Under along geom: mixed, click lines to make it the active selector.
8. Select nodes to define the exact location of the solid element layers, as indicated in the following image.
A total of 13 nodes should be selected, starting at the boss mesh, and then using all of the nodes along
the edge of the arm_straight component, ending with the node projected to the top of the boss.
9. For elems to drag:, select elems >> by collector and select the boss component.
10. Select destination geom: surf and select the top surface of the boss.
The elements are created and the mesh on this part is completed.
3. Select every component from the list, or select comps >> all.
4. Select the components to complete the selection and go back to the faces panel.
6. Turn off the geometry display of all components via the Model browser.
9. On the Post page go to the hidden line panel. (F1 on the keyboard.)
The faces are now displayed with a plane cutting the model in half. This is so that the interior of the
13. Click near the cutting plane. Holding the left mouse button down, move the mouse back and forth.
The cutting plane moves through the model, allowing you to see if any face elements exist on the interior
of the model.
You should see that there are face elements interior to the model, between the boss and arm. You need
to perform some corrections on the connectivity.
Coincident nodes on the intersection between the arm and the boss are highlighted.
6. Specify a slightly larger value for tolerance =, and click preview equiv to identify more coincident nodes
on the intersection.
8. Click equivalence.
The nodes are replaced to the location of the lowest node ID.
· What topology is
Solids are geometric entities that define a three-dimensional volume. The use of solid geometry is helpful
when dividing a part into multiple volumes. For example, divide a part into simple, maple regions to hex mesh
the part.
5. With the solid entity selector under volume to mesh active, select the small cube-shaped solid, as
shown in the following image.
6. Click mesh.
Step 3: Create a shell mesh with the automesh panel to control a mesh pattern.
1. Enter the automesh panel in one of the following ways:
· From the Mesh menu, select Create, and click 2-D AutoMesh
· Press F12
6. Click mesh.
9. Click mesh.
Step 4: Mesh the solid volume on which the surface mesh was created in Step 3.
1. Enter the solid map panel by clicking Mesh, then Create, then Solid Map Mesh.
5. Click mesh.
6. Rotate the part and note how the mesh pattern created with the automesh panel has been used for the
solid elements.
Make sure to select a solid adjacent to one that has already been meshed so that connectivity is
maintained.
3. Under along parameters:, toggle density= to elem size= and enter 1.5.
4. Click mesh.
The capability to automate the solid map meshing process is now available. Using the “Mappable”
visualization mode in conjunction with the multi-solids feature will inform you that the solid(s) are ready for
solid meshing. Using the multi-solids feature will allow for all solids within the model to be meshed in one
In this section of the tutorial we will delete all the elements from the previous section. Use the Mappable
visualization mode and solid mesh the part using multi-solids.
You will notice that each solid is color coded, the color of the solid represents its mappable state. The
goal is to ensure that each solid is either 1-directional or 3-directional mappable.
The color of the mappable state can be found (and adjusted if necessary) within the Preferences > Color
panel.
· ignored map Default visualization for solids that require partitioning to become
mappable.
· not mappable Visualization for solids that have been edited, but still require further
partitioning to create mappable solids.
· 1 dir. map Visualization for solids that can be mapped (for 3-D meshing) in one
direction.
· 3 dir. map Visualization for solids that can be mapped (for 3-D meshing) in three
directions.
Once in the mappable visualization mode it is clear that there is one 3-directional mappable solid, the rest
3. Under source shell type, select mixed and set elem size= to 1.
4. Click Mesh.
The solids will be sequentially solid meshed. Once complete inspect the model and note that all the mesh
within the solids is correctly equivalenced.
· Generate meshes for CFD applications (for example Fluent, StarCD) using the CFD mesh sub-panel
· Generate boundary layer type meshes with an arbitrary number of layers and thickness distribution
Exercise
3. Click Open to load this .hm file containing the surface mesh.
3. Click OK.
4. Inspect the surface elements that will be used to generate the volume mesh.
The boundary mesh can have any combination of tria/quad elements. You will generate boundary layers
on all the surface elements contained in collector, wall.
Step 3: Check that all the elements in collectors wall, inlet, and outlets define a
closed volume.
1. From the Tool page, click edges, then select collectors wall, inlet and outlets.
A message indicating that no edges were found will appear on the status bar.
The status bar will display: "No T-connected edges were found."
This option is strongly recommended for most cases because it produces boundary layers with more
uniform thickness and better element quality.
4. Select the options to specify the boundary layer and tetrahedral core:
· number of layers = 5
· growth rate= 1.1 (This non-dimensional factor controls the change in layer thickness from one
layer to the next).
· simple transition: ratio= 0.8 (This is a non-dimensional scaling factor that controls the relative
height of the pyramids generated on top of the last quad face of all hexahedral BL elements).
The last two options control the tetrahedral core mesh. Optimize mesh quality is the tetrahedral mesh
generation algorithm, and the growth rate specified is interpolate (this interpolates the tetrahedral element
size from the size on the surface mesh (boundary of the tetrahedral core volume)).
The default simple transition uses one pyramid element to transition from a BL hexahedral’s quad face to
the tetrahedral core mesh. The ratio is the relative thickness of the transition layer as compared with the
average size of the elements. The larger this ratio the thicker is the transition layer. In general a value in
the range 0.3-0.8 works well.
There are four options available; the first three options are described in the tetramesh panel
documentation.
The last option boundary layer only, is available to generate the boundary layer alone and stop before
generating the tetrahedral core. This option modifies adjacent surface meshes to reflect changes
introduced by the boundary layer thickness, and creates a collector named ^CFD_trias_for_tetramesh,
that is used to generate the inner core tetrahedral mesh using the “tetra mesh” sub-panel.
This avoids the problem of generating tetrahedral elements that are too large at the center of the core
mesh.
7. Select all the elements/components that define the surface area on which you need to generate
boundary layers. This selection is done in the float / fixed with boundary layer selector.
9. Select all the elements/components that define the surface area on which you want to generate
boundary layers. This selection is done with the float w/o boundary layer selector.
This means that the meshes in the zones defined by collectors inlet and outlets will be remeshed after
being deformed by the boundary layer growth from adjacent surface areas.
Step 5: Mask some of the mesh to view the interior elements and boundary layers.
1. You can mask the mesh by using the shortcut key F5, and select elements to be masked.
2. Access the Tool page, organize panel to move all the elements from collector CFD_boundary_layer to
collector fluid.
Step 10: Organize the faces into the inflow and outflow collectors.
Now you are going to move some of the elements from collector ^faces to collectors inflow and outflow.
2. Access the Tool page, organize panel and click one element on the inlet/inflow plane (the element will
become highlighted).
All the elements from collector ^faces on the inlet/inflow plane will be selected.
4. Select destination collector inflow, and click move. Similarly, move the elements from ^faces
associated with the four outlets to collector outflow.
When done, you will have all the exterior surfaces colored according to the collectors where they have
been placed as shown in the following image.
2. Delete both collector ^faces and collector CFD_boundary_layer, which is now empty.
Step 12: Export surface and volume mesh and import this mesh into FLUENT.
1. Display only the components containing elements that have to be exported for FLUENT, the components
are: fluid, inflow, outflow, and wall. All other components should not be visible.
2. Using the CFD profile Utility menu, CFD I/O, click Fluent CAS/MSH files: Write.
3. Click Yes when asked if you want to continue exporting a .cas file for FLUENT.
5. A pop-up dialog will ask if you want to reuse another .cas file to extract model and boundary conditions
Because you are not reusing model / boundary conditions information from an existing .cas file, the file
is actually very much like a .msh file.
6. A message box window will pop up indicating that file manifold.cas was saved.
7. Click OK.
3. Select manifold.cas.
4. Click OK.
After importing this file, you will observe that FLUENT has recognized the boundary zones outflow,
inflow, and wall by name, and the 3-D volume zone fluid. Zone interior-* is automatically created by
FLUENT containing all the interior faces shared by two 3-D cells.
6. Select zone inflow, and set the appropriate boundary condition such as mass-flow-inlet and velocity
inlet.
7. Change the boundary condition type for the remaining surface zones, outflow and wall.
HyperMesh allowed you to perform the most time consuming tasks of generating the volume mesh and
identifying the boundary zones. Now inside FLUENT the rest of the simulation tasks can be executed easily.
The boundary layer type mesh generated in this tutorial was generated with uniform thickness. This is OK for
a model like this manifold as long as the total boundary layer thickness does not lead to collision or
interference that can occur when the sum of the BL thickness is close to or larger than the distance
separating boundary layer walls. When such collision or interference occurs you have the following options:
A. Decrease the global boundary layer thickness (throughout / for all the BL surfaces)
C. The CFD User Profile has a tool (Utility, Generate Mesh: Generate BL Thickness) to generate
automatically “distributed boundary layer thickness ratios” at each node of the surface mesh so that
boundary layer collision is avoided when using the global or nominal boundary layer thickness. The
usage of this tool is explained in Tutorial HM-3240.
In this appendix you are going to use option B to manually change the BL thickness ratio.
Step A: Prepare data to generate a CFD mesh (boundary layer and core mesh)
using a distributed boundary layer thickness.
1. Create a new component named wall_thinner_bl, and move elements from wall to this new collector as
shown in the following image.
2. From the Tool page, select the edges panel, then select collectors wall, wall_thinner_bl, inlet and
outlets.
3. Click Find Edges. A message indicating that no edges were found will appear on the status bar.
4. From the Utility Menu, under Generate Mesh, click Volume to access the CFD mesh sub-panel.
This option is strongly recommended for most cases because it produces boundary layers with more
uniform thickness and better element quality.
· number of layers = 5
· growth rate= 1.1 (This non-dimensional factor controls the change in layer thickness from one
layer to the next).
· simple transition: ratio= 0.8 (This is a non-dimensional scaling factor that controls the relative
height of the pyramids generated on top of the last quad face of all hexahedral BL elements).
7. The default simple transition uses one pyramid element to transition from a BL hexahedral’s quad face to
the tetrahedral core mesh. The ratio is the relative thickness of the transition layer as compared with the
average size of the elements. The larger this ratio the thicker is the transition layer. In general a value in
the range 0.3-0.8 works well.
There are four options available; the first three options are described in the tetramesh panel
documentation.
The last option, boundary layer only, is available to generate the boundary layer alone and stop before
generating the tetrahedral core. This option modifies adjacent surface meshes to reflect changes
introduced by the boundary layer thickness, and creates a collector named ^CFD_trias_for_tetramesh,
that is used to generate the inner core tetrahedral mesh using the tetramesh sub-panel.
This avoids the problem of generating tetrahedral elements that are too large at the center of the core
mesh.
2. Click the green button, distributed thickness. A pop-up window appears. This window enables you to
specify distributed thickness ratios for groups of nodes or whole components. You can choose either
Nodes or Components by selecting the associated radio button.
4. Click the yellow button, Select Components, and select component wall_thinner_bl.
Notice that the summary message now indicates the number of BL thickness ratio loads on
components:
When the models are more complex it is useful to display surface contours of BL thickness ratio values.
6. Click Contours of BL Thickness Ratio, and the contour panel will be automatically displayed.
7. Press contour to inspect the distribution of BL Thickness Ratio on the surface of your domain. At any
time you can go back to the CFD mesh panel by clicking on Back to CFD mesh panel.
8. Select all the elements/components that define the surface area on which you need to generate
boundary layers. This selection is done with the float / fixed with boundary layer selector.
The switch below float w/o boundary layer selector is set to remesh. This means that the meshes in
the zones defined by collector’s inlet and outlets will be remeshed after being deformed by the boundary
layer growth from adjacent surface areas.
When this task is finished, note the two collectors automatically created: CFD_boundary_layer and
CFD_Tetramesh_core
13. Inspect the relative size of the boundary layer thickness by masking some of the elements as shown in
the following image. This image shows that the BL thickness on component wall_thinner_bl is only
30% of the global BL thickness.
The manual approach followed previously is useful when you need to reduce the BL thickness throughout
a component, or at a clearly identified group of nodes.
When you have a very complicated geometry and BL collision is likely to occur, the best approach is to
use a tool available in the CFD User Profile (Utility, Generate Mesh: Generate BL Thickness) to
generate automatically “distributed boundary layer thickness ratios” at each node of the surface mesh.
This tool performs a collision study and assigns a BL thickness ratio to each node of the surface mesh
The previous steps illustrate simple and effective steps to reduce the BL thickness on surface components.
This approach is very easy to use and effective when you know how much you want to increase or decrease
the BL thickness all over a component. A similar approach is followed to increase/decrease BL thickenss on
groups of nodes.
See also:
· Generate meshes for Moldflow’s Flow3D and most CFD codes (e.g. Acusolve, CFD++, CFX, Fluent,
StarCD) using the CFD mesh sub-panel.
· Generate boundary layer type meshes with an arbitrary number of layers and thickness distribution.
Exercise
3. Click OK.
4. Inspect the surface elements that will be used to generate the volume mesh.
The boundary mesh can have any combination of tria/quad elements. You will want to generate boundary
layers on all the surface elements contained in collector wall.
A message indicating that no edges were found will appear on the status bar.
The status bar will display, “No T-connected edges were found.
1. Specify that you want to generate 3 layers with a first layer thickness value 0.5 and a growth rate
value 1.0. All layers will have the same thickness (except for mesh smoothing operations such as
hyperbolic smoothing at corners).
3. The last option, Bound Layer thickness at corners, is a coefficient that controls the hyperbolic
growth where walls make an angle. The smaller this value is, the thinner the total BL thickness in
such areas is.
5. Now you are ready to generate the Distributed BL Thickness loading. Make sure that none of the
elements specified in the boundary collectors are masked. If they are masked an error message will
indicate that there is a discrepancy between the total number of elements in the components and the
tria3/quad4 elements found. If you have masked elements, you can access mask (F5), and press
unmask all.
6. After a few seconds you will see a pop-up message indicating the number of distributed boundary layer
thickness values included in collector ^CFD_BL_Thickness.
Note: This is the collector name automatically used by the CFD mesh sub-panel when you enable
(button becomes green) distributed thickness in the CFD mesh sub-panel as shown, following:
7. Click Close in the Generate Boundary Layer distributed thickness values window.
3. Select the same boundary layer options used before when generating the distributed BL thickness ratio:
· number of layers = 3
· growth rate= 1.0 (This non-dimensional factor controls the change in layer thickness from one
layer to the next).
· BL quad transition= all prisms (prism to all layers) This means that if there are any quad
elements in the surface mesh, those will be split into two trias each so that there is no need to
transition from quad faces to tria faces when transitioning from the last boundary layer to the
tetrahedral core. This option is very important when there are quad elements on areas with (low)
distributed BL thickness atio, because in such areas the thickness of the transition elements (e.g.,
simple pyramid) was not taken into account when doing the interference study to assign distributed
BL thickness ratio to those elements.
· The last two options control the tetrahedral core mesh. Optimize mesh quality is the tetrahedral
mesh generation algorithm, and interpolate is the grow rate, which means to interpolate the
tetrahedral element size from the size on the surface mesh (boundary of the tetrahedral core
volume).
Note: whenever possible set the switch to float with boundary layer instead of fixed with boundary
layer, as using float will allow diagonal swapping which leads to enhanced volume element quality.
6. Click select.
7. Switch to distributed thickness, and click mesh to generate the mesh. If collectors
CFD_boundary_layer and CFD_Tetramesh_core are present, you will be asked if you want to delete
the elements in those collectors. Almost always you will select Yes.
When this task is finished two collectors are created: CFD_boundary_layer and CFD_Tetramesh_core
.
Step 6: Mask elements to inspect the boundary layers’ thickness on thinner areas.
1. Access the mask sub-panel by using the shortcut key F5.
3. Click mask.
The following images illustrate how BL interference has been avoided by reducing the BL thickness.
1. From the main menu, select the 3D page, then select the split panel.
5. Select CFD_boundary_layer.
6. Click select.
7. Click split.
The objective of this tutorial is to illustrate how you can generate very thin boundary layers without
interference. However, such thin boundary layers can lead to element with a high aspect ratio if the size of
the surface mesh is not small enough. If you need to limit the tetrahedral elements’ aspect ratio (e.g., < 5),
then you need to use a fine enough mesh on the wall component so that thin boundary layers do not
produce high aspect ratio elements. For example, in this case, the minimum value of tetra collapse of all
tetrahedral core elements was 0.2, but after you split the BL penta / wedge elements into tetras, the
minimum value of tetra collapse of all tetrahedral elements becomes 0.04. This occurs because the BL penta
elements are thin compared to their triangular face area size.
Summary
HyperMesh allowed you to generate high-quality boundary layer meshes on parts with very thin walls. To
accomplish this you first need to use the CFD utility Generate Distributed BL Thickness Ratio to generate
Mesh generation in domains bounded by surfaces that are very close to one another in some
areas.
· Generate meshes for most CFD codes (e.g. Acusolve, CFD++, CFX, Fluent, StarCD, SC/Tetra)
using the CFD mesh sub-panel.
· Generate boundary layer type meshes with arbitrary number of layers and thickness distribution in
domains defined by surfaces that are very close to one another in some areas. More specifically, in
some areas the clearance or separation of bounding surfaces is not enough to accommodate the
user specified nominal boundary layer thickness.
· Generate a distributed thickness “loading” that prevents boundary layer interference / collision in
zones where the distance between opposing walls is too small to accommodate the baseline or
nominal boundary layer thickness.
Exercise
3. Click OK.
3. Click Open to load this HyperMesh file containing the surface mesh.
4. Inspect the surface elements that will be used to generate the volume mesh.
In more complex models it is not possible to visually identify all the zones where there is not enough
space to growth the “baseline” or nominal boundary layer as specified in terms of the number of layers,
first layer thickness and growth rate. This is not a problem because the automatic distributed
thickness “loading” computation takes into account all possible interference cases. This is demonstrated
in this tutorial.
2. In the edges sub-panel select all collectors that define the domain’s surface, namely inlet, outlets, wall
and wall_cyl.
A message indicating that no edges were found will appear on the status bar at the bottom of the HM
window.
The status bar will display, “No T-connected edges were found.
2. In the Generate Boundary Layer distributed thickness values pop-up window; click Add collectors
with surface elements.
3. Select all the collectors that define the volume surface, namely inlet, outlets, wall and wall_cyl, and
4. Set the correct Bound Type for each one of the selected components. You want to generate a boundary
layer from components wall and wall_cyl, therefore, you will leave wall as their Bound Type, but you
need to change the Bound Type of components inlet, outlets to in/outlet as shown, following:
Note:
A component with Bound Type: wall indicates that you are going to generate a boundary layer
mesh on the component later on when you generate the mesh with the CFD mesh sub-panel.
Therefore, in the CFD mesh sub-panel the same component should be consistently specified in
the comps selector fixed or float with boundary layer.
A component with a Bound Type: slip, symmetry, in/outlet, or farfield indicates that you are
1. Specify that you want to generate 5 layers with a first layer thickness value 0.5 and a growth rate
value 1.2. All layers will have the same thickness except in areas affected by the distributed
thickness “loading” and also mesh smoothing operations such as hyperbolic smoothing at corners.
2. Specify a Minimum Tetrahedral Core / Boundary Layer thickness ratio value 2.0.
This means that in areas where there is not enough room to grow the nominal BL (5 layers starting
with a thickness of 0.5 and increasing with a grow rate of 1.2), the boundary layers’ thickness will be
reduced so that the tetrahedral core thickness is approximately at least 2.0 times the total boundary
layer thickness, except for mesh smoothing operations such as hyperbolic smoothing at corners and
convex/concave areas.
3. The last option, Bound Layer thickness at corners, is a coefficient that controls the hyperbolic
growth where walls make an angle. The smaller this value is, the thinner the total BL thickness is in
such areas; values less than 1 produce thinner layers and values greater than 1 produce thicker
layers.
Now you are ready to generate the Distributed BL Thickness loading. Make sure that none of the
elements specified in the boundary collectors are masked. If they are masked an error message will
indicate that there is a discrepancy between the total number of elements in the components that you
specified and the number of tria3/quad4 elements found (displayed). If you have masked elements, you
can use mask (F5), and press unmask all.
If the model already contains boundary layer thickness ratios, then a pop-up message box will ask you if
you want to keep such loads or if you want to clear/discard them. Most of the time you will want to clear
7. After a few seconds you will see a pop-up message indicating the number of Distributed Boundary Layer
Thickness Values included in collector ^CFD_BL_Thickness.
Note: This is the collector name automatically used by the CFD mesh sub-panel when you enable
(button becomes green) distributed thickness in the CFD mesh sub-panel as shown in the following
image:
8. Click Close in the Generate Boundary Layer distributed thickness values window.
3. Select the same boundary layer options used before when generating the distributed BL thickness ratio:
· number of layers = 5
· growth rate= 1.2 (This non-dimensional factor controls the change in layer thickness from one
layer to the next).
· BL quad transition= all prisms (prism to all layers). This means that if there are any quad
elements in the surface mesh, those will be split into two trias each so that there is no need to
transition from quad faces to tria faces when transitioning from the last boundary layer to the
tetrahedral core. This option is very important when there are quad elements on areas with (low)
distributed BL thickness ratio, because in such areas the thickness of the transition elements (e.g.,
simple pyramid) was not taken into account when doing the interference study to assign distributed
BL thickness ratio to those elements.
· The last two options control the tetrahedral core mesh. Optimize mesh quality is the tetrahedral
mesh generation algorithm, and interpolate the tetrahedral grow rate, (this interpolates the
tetrahedral element size from the size on the surface mesh (boundary of the tetrahedral core
volume)).
Note: Whenever possible set the switch to float with boundary layer instead of fixed with boundary
layer, as using float will allow diagonal swapping which leads to enhanced volume element quality.
6. Select all the elements/components that define the surface area on which you do NOT want to generate
boundary layers. This selection is done in the float / fixed w/o boundary layer selector. Click comps
and select collectors: inlet and outlets, and then click select. As before, whenever possible set the
switch to float with boundary layer instead of fixed with boundary layer.
7. Note the switch set to remesh below the float / fixed w/o boundary layer selector. This means that the
surface meshes associated with those components will be remeshed or rebuilt after shrinking due to
boundary layer growth from adjacent boundary layer components.
8. Click mesh to generate the mesh. If collectors CFD_boundary_layer and CFD_Tetramesh_core are
present, you will be asked if you want to delete the elements in those collectors. Almost always you
select Yes.
When this task is finished two collectors are created: CFD_boundary_layer and CFD_Tetramesh_core
.
3. Select elements to be masked by pressing SHIFT and the left mouse button, then move the cursor so
that the rubber band covers the upper half of the model.
4. Click mask.
6. Zoom in into the area where the bounding surfaces come close together. The following image illustrates
how BL interference has been avoided by reducing the BL thickness.
1. Rename the CFD_Tetramesh_core component. Typically, select a name “fluid*,” for example, fluid
. In the Model browser tab, select CFD_Tetramesh_core, right-click, select Rename, and then type
the new name, fluid.
3. Select CFD_boundary_layer .
4. Click select.
6. Click move.
5. Move the elements from component ^faces into the newly created components. This is done for clarity;
however, most of the time you create one fewer component and you rename ^faces which retains the
remaining elements after you move elements to the newly created surface components. Access the
Organize sub-panel using the CFD User Profile.
6. Set dest= to wall_exterior as shown in the following image, then pick one element on the exterior wall
surface.
This will recursively select all the elements attached to the picked element as long as the adjacent
elements are within a break angle less or equal to the value specified in the feature angle field (
Preferences menu, Geometry Options option, mesh sub-panel).
The surface mesh in ^faces is such that the zones that you want to organize/move make an angle close
to 90 degrees and their boundaries, therefore this is a very easy job to do with a default feature angle of
20 or 30 degrees.
8. Having selected all the elements that should go to component wall_exterior, press button move.
9. Select dest= outlets3 and pick at least one element on each one of the three separate outlets as shown
in the following image.
11. Having the elements on the three outlets selected press move and those elements are moved to
component outlets3.
12. Set dest= to inlet_annulus and pick one element as shown in the following image.
14. Having all the elements on the inlet annulus selected, press move and those elements are moved to
component inlet_annulus.
Now that all the remaining elements in component ^faces are the elements that you want to move to
component wall_cylinder.
15. Set dest= to wall_cylinder.
The elements are moved to component wall_cylinder as shown in the following image.
21. Now you can access the CFD I/O section of the CFD User Profile. Select the CFD file format of your
choice (such as Acusolve, CFD++, CFX, CGNS, Fluent, or StarCD) to export the grid or mesh.
Note: solvers like Acusolve and FLUENT have certain requirements when the domain contains different
fluids and/or solids. This is described in other sections of the HyperMesh Help system.
Summary
HyperMesh allowed you to generate high-quality boundary layer meshes on parts where the clearance or
separation of the bounding surfaces is not enough to accommodate the user specified nominal boundary
layer thickness. To accomplish this you first used the CFD utility Generate Distributed BL Thickness Ratio
to generate load collector ^CFD_BL_Thickness. This load collector is then used by the CFD mesh sub-
panel when you enable distributed thickness. As shown in the cross-sectional images, the mesh is very
smooth, free of collisions, and is of excellent quality.
· Generate 2-D boundary layer type meshes in areas where the clearance or separation of bounding
edges is not enough to accommodate the user specified nominal boundary layer thickness / number
or layers.
Exercise
4. Inspect the edges elements that will be used to generate the volume mesh.
The boundary mesh should only consist of PLOTEL (elem type) elements. You want to generate
boundary layers on all the edges contained in the collectors called wall and inner wall.
Step 3: Check that all the elements in collectors wall, inner wall, inlet, and outlets
define a closed loop. (This step is for information only; it is optional for this tutorial).
Usually, this step is not necessary because the collectors containing edge elements (PLOTEL) are extracted
from 2-D surface meshes that naturally have free edges forming “closed” loops. However, there is a possibility
that there may be duplicate nodes, and for this reason it is advisable to perform the following test:
2. Click comps.
4. Click select.
5. Ensure that the tolerance value is smaller than the minimum element length.
1. From the Mesh menu, click Check, then Elements, then Check Elements.
3. Click length.
A message indicates the minimum element length is 3.09, therefore you can safely use a tolerance
of 3.
6. Click Preview Equiv. A message indicating that “0 nodes were found” will appear on the status bar.
3. Under Generate Mesh, click Plane 2D mesh fom edges. A pop-up window labeled Generate 2D
Boundary Layer Mesh appears:
· Growth Rate = 1.1 (This non-dimensional factor controls the change in layer thickness from one
layer to the next)
· Number of boundary layers = 6 ( value must be >= 0, as a zero value leads to no boundary layers
even when Wall type is specified)
8. Click select.
9. Click proceed.
In the Generae 2D Boundary Layer Mesh window, all the selected components will be displayed in the
Component list as shown following:
10. In the Generate 2D Boundary Layer Mesh window, set Bound Type value for components Inlet and
Outlet as In/Outlet.
The objective is to not generate boundary layers along the Inlet and Outlet components.
Note: those elements may be remeshed based on the adjacent elements’ size.
When this task is finished, two collectors are automatically created: 2DBLMesh and 2DCoreMesh, as
shown in the following image. Note that the quality of the mesh may not be very good, as described,
As indicated previously, components with Bound type In/Outlet will be remeshed based on the adjacent
elements’ size. The two following figures illustrate the case where an inlet/outlet is defined with a single
large element, after meshing the element size in this area has been reduced to obtain a smooth element
size transition, leading to and excellent mesh quality.
This problem can be resolved by limiting the maximum perimeter elements’ aspect ratio. The maximum
boundary elements’ aspect ratio can be achieved using two approaches:
Refine the boundary edges by insertion of nodes on boundary edges. New node insertion is controlled by
the specified maximum perimeter element aspect ratio.
Or
This option is used to move boundary nodes along the original boundary. Boundary node movement is
controlled by the specified maximum perimeter element aspect ratio.
Enter the maximum perimeter element aspect ratio as shown in the following image:
If the model already contains collectors 2DBLMesh and 2DCoreMesh, then a pop-up message will ask
When this task is finished, two collectors 2DBLMesh and 2DCoreMesh are updated with new elements
as shown in the following image:
3. You can check the element’s aspect ratio by using the shortcut key F10 and selecting the 2D page.
Also note that the automatic mesh generator performs a collision detection and avoids boundary layer
· Decrease the global boundary layer thickness (throughout / for all the BL edges).
· Decrease locally the boundary layer thickness (BL edges around critical zones only).
1. In the Generate 2D Boundary Layer Mesh window, click Reject to remove the created mesh.
9. Select the boundary edges (PLOTEL) around the area where boundary layer elements may lead to
collision. Refer to the following image for element selection.
10. Set the dest group/dest component switch to dest componenet = and select the destination collector
as wall_critical.
11. Click move to move the selected PLOTEL elements to the destination collector.
When this task is finished, two collectors are automatically created: 2DBLMesh and 2DCoreMesh.
22. Now you can zoom in around component wall_critical and notice how boundary layer interference has
been avoided by reducing the total boundary layer thickness as shown in the following image:
In this tutorial you generated 2-D meshes with boundary layers on a complex cross section. You obtained a
high quality mesh by allowing boundary node insertion and movement. HyperMesh automatically cuts back
the number of layers when boundary layer collision occurs, thus producing a consistent mesh even in narrow
areas. In narrow passages you can also reduce the total boundary layer thickness by starting with a smaller
first layer thickness and/or a smaller growth rate.
In this tutorial, you will learn about using the TetraMesh Process Manager to:
· 2-D Mesh
· TetraMesh
The Process Manager is a step-by-step tool providing a checklist of procedures to allow the user to quickly
organize and tetmesh a geometric model. Each step is provided in a hierarchal list providing the order in
which the process needs to be performed and providing specialized tools at each step to simplify the
process. These steps, while they can be done manually, can be performed in the TetraMesh Process
Manager template in a much reduced timeframe.
Exercise
Note: Creating a session name and saving the session allows the user to stop the process before
completion and then load it again at a later time, picking up the process at the point it was left off.
4. Click Create.
the normal HyperMesh panel area using the Process Manager Task icon ( ). Right-click it and select
the HyperMesh Panel icon. You can go back to the Process Manager panels again by instead selecting
the Process Manager icon.
3. Click Import.
The model will import and a green check will appear next to Geometry Import in the Process Manager
indicating that step is now complete.
1. From the Geometry Color Mode selector ( ) pick By Topo and click Shaded
Geometry ( ).
3. Click Isolate.
This will fix all the free edges. If this did not correct all of the free edges, the Tolerance value could be
increased until all free edges are equivalenced.
A window should appear with the message, “No edges found…” This confirms all edges have been fixed.
7. Click ACCEPT.
The Geometry Cleanup step has been completed and should have a green checkmark by it.
This will organize all holes with a diameter between 0 and 3.3 units, as indicated by the Range field, into
a collector.
This will allow HyperMesh to organize the holes into three collectors that will include holes ranging from
0 - 3.3 units, 3.3 - 5 units and 5 - 10 units collectively.
All of the holes in the model less than 10 units will now be organized into three component collectors,
each with a different color.
You will see three new component collectors with the name solidholes followed by the numerical
average of the diameter range of the holes organized.
The Num Circumference Elems field governs the number of elements that will be meshed around the
hole while the Longitudinal Elem Size field dictates the unit size of the elements through the length of
the hole.
9. Click ACCEPT.
The Organize & Cleanup Holes step is now complete should now have a green checkmark next to it.
You will notice this process provides a perfectly straight tria mesh down the length of the hole with no
twisting.
The checkmark in the Mesh Holes step will now turn green.
2. In the Define New window that opens, type Faces and click OK.
3. Select all five of the flat faces around the circumference of the part as shown in the following image.
4. Click proceed.
The panel will switch to the Organize panel with your surfaces pre-selected to move into a new
component called grp_Faces.
7. In the Define New window that opens, type TopHole and click OK.
8. Rotate the model so you are looking at it from underneath into the center, and select the surfaces shown
in the following image.
9. Click proceed.
Your model should then look similar to the following image, with the faces in one collector and the top
hole in another. Your colors may vary slightly.
1. Click Components.
2. Select the part in an area that has not been organized into a new component so that the large purple part
is selected.
3. Click proceed.
4. Leave the Min Radius at 0 and the Max Radius at 5 and make sure the Suppress Fillet Tangent
Edges option is active.
5. Click Cleanup.
You will notice that many of the fillets now have an edge running down the center and the original edges
are suppressed.
6. Click ACCEPT.
1. For the Faces feature, click the pull-down under Mesh Type and pick trias.
3. For the TopHole feature, select R-tria union jack for the Mesh Type.
7. Click ACCEPT.
1. Click ACCEPT.
3. Click Mesh.
3. Leave all of the values at their default (Min Size – 0.25, Max FeatureAngle – 60.0, Normals Angle –
150.0) and click AutoCleanup.
This indicates that all failed elements have been fixed and there are no further errors in the model.
4. (Optional) The Manual tab allows the user to manually check the model for free edges and t-junctions
and fix any that are found. There is also the option to display normals. Use these options to find and fix
any errors.
5. Click ACCEPT.
Note: The Tetramesh Process Manager will automatically place any elements that fail this AutoCleanup
procedure in the user mark. This will allow for easy retrieval of problem elements and the user can
employ the tools from the standard HyperMesh panels to fix these remaining elements.
The surface elements will be selected under the general mesh selection option. This will define them as
“floatable” elements, meaning that the diagonals of the underlying tetra elements can be flipped from the
generated shell elements if HyperMesh determines a better element quality will result.
3. Click mesh.
8. Click Mask ( ).
9. Hold the SHIFT key down and while holding the left mouse button down, drag a box to include roughly
half of the model.
· Review the model’s shell elements to ensure connectivity problems were corrected
Exercise
Step 2: Review the model’s free edges to identify shell element connectivity
problems.
1. Access the edges panel in the following ways:
· From the main menu, select the Tool page, and then click edges
2. With the comps selector active, click any element in the graphics area.
Red, 1-D elements are displayed. They are organized into the new component named ^edges. A red 1-
D element is created along each shell element edge that is free; one or more of the element edge’s
nodes is not shared by the adjacent elements.
Note: For a component name whose first character is ^, the component and its contents is not written
to the input file when the model is exported.
7. In the Model browser, turn the display on and off for the component shells to continue to identify which
red, free edges do not belong.
Step 3: Correct the shell element connectivity problems using the edges panel.
1. In the tolerance= field, type 0.01.
The status bar displays the following message: "81 nodes were found."
A sphere, , is created on nodes having a distance between each other equal to or less than the
specified tolerance.
4. Notice that for this exercise’s model, a sphere is not created on every node along all of the red, free
edges, which do not belong. A larger tolerance must be specified to identify the rest of the nodes.
5. For tolerance =, increase its value until all 96 nodes are identified as shown in the following image.
Be careful not to increase the tolerance value to too much. Although the 96 nodes will be identified, an
excessively large tolerance value may collapse elements when the identified nodes are equivalenced. To
find out the maximum value that can be safely used for tolerance without collapsing the elements, press
the F10 key to go to the check elems panel, go to 2-d sub-panel and click length. The status bar will
display ‘… The min length is 1.49.’ A tolerance value < 1.49 can safely be used, without causing any
elements to collapse when identified nodes are equivalenced. Click return to go back to edges panel.
6. Click equivalence.
7. Rotate and observe the model to see that the mesh still looks as it should and no elements are
collapsed.
The red, free edges and their component, ^edges, are deleted.
Note: Remain in the edges panel.
Are there any red, free edges that should not belong if the mesh was continuous or if all of the elements
were connected?
Hint: Only red, free edges should exist on the perimeter of the part and on periphery of internal holes.
2. Use the Model browser to turn the display off and on for the component, shells, to observe that all of
the free, red edges belong.
3. After verifying that the model has correct red, free edges, click delete edges.
Step 5: Display the element normals and adjust them to point in the same
direction.
1. Go to the normals panel. The normals panel can be accessed in the following ways:
· From the Menu Bar, select Mesh, then Check, then Elements, and then Normals
· From the main menu, select the Tool page, then click normals
2. Choose the elements sub-panel and set toggle to vector display normals.
3. With the comps selector active, select one element from the graphics area to select the component.
Arrows (vectors) are drawn from the element centroids and show the direction of the element normals.
Notice the arrows do not all point from the same side of the part. For some analyses, the element
normals should point from the same side.
5. Click size = and enter the size which the normal should be in model units and select display normals
again.
The element normals are displayed using colors. The red side of the elements is the positive normal
direction, while the blue side is the negative normal direction.
All elements on either side of the part are the same color, red or blue.
The status bar displays the following message: "[X] elements have been adjusted."
If after adjusting the normals, there are still elements on one side of the part which are of different color,
change to elems from comps for the entity selector, choose these elements and click reverse normals.
Step 6: Review the quality of the elements using the check elems panel.
1. Access the check elems panel in one of the following ways:
· From the Menu Bar, select Mesh, then Check, then Elements, and then Check Elements
· From the main menu, select the Tool page, then click check elems
4. Click jacobian to determine if any elements have a jacobian of less than 0.7.
5. Notice that several elements on the triangular rib and around the smaller of the two holes have a jacobian
of less than 0.7.
A window appears that lists each quality check result for the element.
7. Click the right or left mouse button to close the pop-up window.
8. On the right side of the panel menu, switch from standard to assign plot.
A legend for jacobian values appears and each element is colored accordingly. The red elements have a
jacobian less than the threshold, 0.7.
11. Click min angle to determine if any quad elements have an angle of less than 45.
12. Notice that a couple of elements on the rib have an angle of less than 45.
14. Click max angle to determine if any quad elements have an angle greater than 135.
15. Notice that several elements on the rib have an angle greater than 135.
Step 7: Remesh the elements on the rib using the automesh panel.
1. Access the automesh panel in one of the following ways:
· From the Menu Bar, select Mesh, then Create, and then 2D AutoMesh
· From the main menu, select the 2D page, then click automesh
4. Toggle to interactive.
7. Select one element on the plane of elements perpendicular to the rib and in the same plane as the rib’s
shortest edge as shown in the following image.
8. Select elems >> by face to complete the selection of elements as shown in the following image.
9. Click mesh.
14. Under mesh method, set the last option to free (unmapped).
17. Go to the checks sub-panel, and check the jacobian, quads: min angle, and quads: max angle.
18. Notice that no elements fail the minimum and maximum angle checks.
Only a couple of elements have a jacobian of less than 0.7. The smallest jacobian is 0.68, which can still
be considered good quality.
19. Click return to accept the mesh and go back to the main menu.
Step 8: Use the smooth panel to adjust the node placement on the rectangular
plane of remeshed elements.
1. Click Mesh, then Cleanup Elements, then Smooth to open the Smooth panel.
7. Click smooth.
8. Click return.
Step 9: Remove tria elements from another area of the model using the edit
element panel, split and combine sub-panels.
1. On the 2D page, enter the edit element panel.
3. With the splitting line: points selector active, click four screen points as shown the following image.
4. You can right-click to undo the last line segment drawn or you can click delete line to start over with
selecting points.
5. Click split.
Elements that have the line pass through them are split. The resulting mesh should look like the mesh in
the following image. There are two pairs of adjacent tria elements.
8. Click combine.
9. Repeat 11.7 and 11.8 for the other two adjacent tria elements.
Step 10: Dynamically move nodes on the mesh area modified in the previous step
to improve element quality.
1. Go to the cleanup sub-panel and ensure it is set to displayed elems.
2. Click cleanup.
The element cleanup menu appears. It allows you to select various combinations of quality checks,
specify a warning/unacceptable range for each check, and dynamically move nodes around to place
· Yellow: one or more quality check results falls into warning/unacceptable range
Among the group of elements you modified in the last step, Step 11, two quad elements are red and one
quad element is yellow.
3. Clear the warpage and jacobian check boxes, so that just the max angle is checked.
5. With the node selector active, click an interior node of a red element and drag the node around until the
element is no longer red.
7. Click return.
Step 11: For the same area of elements you focused on in the previous step,
optimize element quality by clicking nodes and elements.
1. On the 2D page, go to the qualityindex panel.
2. With the node optimize selector active, click a few nodes of the mesh area you modified.
When a node is clicked, it is repositioned so that the elements attached to it have the best possible
quality based on the criteria specified in the qualityindex panel.
When an element is clicked, it is adjusted to have the best quality possible based on the criteria
specified in the qualityindex panel.
When you click a red element, it may become yellow or the background color (no color assigned). When
you click a yellow element, it may become the background color (no color assigned).
5. Click return.
Step 12: Add a ring of radial elements around the smaller of the two holes.
1. Click the Utility tab. If the Utility Menu is not displayed in the HyperMesh session, go to View menu
and check Utility Menu.
3. With the nodes selector active, select one node on the edge of the smaller hole as indicated in the
following image.
4. Click proceed.
A pop-up window for Add Washer along a Circular Hole utility appears.
6. Select the Minimum number of nodes around the hole check box.
9. Click Close.
The mesh around the hole should look like the mesh in the following image.
Tools
· From the Menu Bar, select Mesh, then Check, then Components, then Penetration
The penetration panel allows you to check the integrity of your model, visualize problem areas, and fix the
problem areas. The three entities that can be checked are elements, components and groups. Typically,
the group check would be for checking contact definitions (for example, Abaqus/LS-DYNA).
This panel allows you to check components for element penetration and intersection. More importantly, you
can correct your model. Penetration and intersection can be used individually or collectively. Penetration is
defined as the overlap of the material thickness of shell elements, while intersection is defined as elements
passing completely through one another.
Example of penetration
Strategy
· Checks can be run on both 2-D and 3-D elements, 2-D elements only, or 3-D elements only.
· The include self interference option includes components that bend and pass through themselves.
This occurs rarely and is expensive when running the check. By default, this option is off.
· By default the check is set to all interfaces, meaning both intersection and penetration. The
intersections only option and the penetrations only option are available.
· The allowable interference depth option allows certain penetrations and intersections to be
ignored if less than the value specified.
· An additional option, uniform thickness, allows you to assign a global thickness to all
components.
· An additional option, thickness multiplier, allows you to multiply the existing thicknesses in the
model.
When the penetration check is invoked, a new penetration tab is invoked in the browser area.
Exercise
3. From the Menu Bar, select Preferences, then click User Profiles….
4. Select LsDyna.
This model is an LS-DYNA model, therefore, it is important to chose the appropriate user profile so that
HyperMesh can access the actual thickness values of the shell components. The thickness values are
required for material penetration check.
5. Click OK.
2. To invoke the penetration check, select all the components by clicking comps.
3. Click comps on the right-hand side of the panel, click all, and click select.
4. Click check.
Once the check has completed, the Penetration tab populates. In this example, there are two
intersections and 11 penetrations. Expanding the tree the results will display the following:
Based on which mode is chosen, certain components are displayed on the screen.
2. Ensure that Display Components with Failed Elements and Fit View to Failed Elements are
selected.
3. Under Intersections, click the component Rocker Inner Panel RH. The screen will automatically fit to
the failed intersecting elements.
4. Click Review Failed Elements ( ) to review the other visualization modes. The contour and vector
displays are only applicable to intersections. The intersecting elements display as follows:
1. Under Intersections, click the component, Rocker Fwd Top Panel RH.
2. Click Manual Fix Tools ( ) to ensure that the intersecting entities can be fixed.
3. Ensure Elements from Tree Selection is selected – you will not pick any additional elements.
6. Click the left arrow button twice and notice the selected elements moving in the chosen direction.
After the elements have been moved by a value of 4, they no longer intersect.
7. Click Recheck ( ) and notice there are no intersections. Only 11 penetrations remain.
Important
3. To invoke the penetration check, select all the components by clicking comps.
4. Click comps on the right-hand side of the panel, click all, and click select.
7. Right-click to invoke the context-sensitive menu. Choose Automatic Recursive Intersection Fix –
the wrenches will turn green indicating that the fix was successful. The Automatic Recursive
Intersection Fix will run through all passes automatically, the Automatic Intersection Fix will run
through one pass at a time (most fixes will require multiple passes).
Remember that the columns can be sorted. For example, if you were only interested in the worst
offending penetrations then sorting by the depth column will reorganize the tree structure (while still
retaining the parent/child relationship).
In this particular example, for component C-Pillar Bot Inner Panel RH, there are 18 elements that have
failed (parent and child), the maximum penetration depth is 0.159, and there is only one component
penetrating.
In some circumstances, there may be the need to lock or freeze a component that cannot be adjusted or
moved by the fixing tool. This can be achieved by right-clicking and selecting Lock Component. Once a
component is locked, a symbol will appear by the folder indicating that the component is locked.
To fix the penetrations in the model we will use the Iterative Fix:
1. Click Penetrations at the top of the tree. See the following image.
2. Right-click to bring up the menu and then click Automatic Recursive Penetration Fix.
Important:
A dialog box states, "Model changes to specific tree items are not possible once process is
initiated. The Penetration tab will appear and disappear repeatedly during the process. Would you
like to continue?" Click Yes.
After the process has finished, note that the majority of the penetrations have been fixed. Three
penetrations remain which require manual editing to fix.
· Weld the two front trusses to each other by creating connectors at pre-defined weld points
· Weld the two front trusses to the reinforcement plate by creating connectors between shell elements
· Weld the right rails to each other and to the front trusses by creating connectors from a master
connectors file
· Update weld type of NASTRAN/OPTISTRUCT ACM (area contact method) welds, which already
connect the rear trusses to each other, by first creating connectors from these welds and then
realizing the connectors into two-noded weld elements.
Exercise
This exercise uses the model file, frame_assembly.hm. Weld the two front trusses by creating
connectors between geometry surfaces at pre-defined weld points.
2. Take a few moments to observe the model using various visual options available in HyperMesh (rotation,
zooming, etc.).
Step 2: Display only the assembly assem_1 for elements and geometry.
1. Click the Model tab in the tab area. Or, go to the View menu and click Model browser.
2. Select Model view ( ) in the Model browser and expand the Assembly Hierarchy tree.
This turns on/off both elements and geometry when performing right-click operations in the Model
browser.
This will only display the components that are in the assem_1 assembly.
The Connector browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the component window and it contains a listing of the components being
connected with the connectors. The lower portion is called the connector window and it contains a list of
the connectors in the model. The connectors will be grouped based on the type of connection.
Currently there are no components or connectors listed because there are no connectors in the model.
To create connectors automatically, access the spot, bolt, seam, and area panels within the connectors
module. To create connectors manually, go to the create and realize sub-panels.
· Right-click in the Connector browser in the Connector window and select Create >> Spot
· From the main menu, select the 1D page, then select the connectors module, and then select spot
5. Select the six pre-defined weld points by selecting points >> by collector and selecting the component
Con_Frt_Truss.
6. Click select.
7. For connect what:, click comps and select the components Front_Truss_1 and Front_Truss_2.
8. Click select.
10. For tolerance = specify 5. The connector will connect any selected entities within this distance of itself.
The six connectors are automatically created and realized (notice the message in the status bar). The green
connectors indicate that the creation of the weld entity was successful. The connectors are organized as
geometry (not elements) in the current component collector, Con_Frt_Truss.
Fixed points were added to the surfaces at the ends of the weld elements to guarantee connectivity between
the weld elements and the shell mesh that will be created on the surfaces.
This contains a listing of the six connectors just created. They are all grouped under RBAR because
that is the type of connector created. Notice the ID of the connector under Entities, the Links of the
connector, and the State of the connector. You may need to increase the size of the tab area to the
right to see the State column.
This isolates this component in the graphics area. It also highlights the six connectors in the Connector
window to indicate that these connectors have Front_Truss_1 as a link.
This will find the components that are attached to Front_Truss_1 through connectors. Notice that
Front_Truss_1 and Front_Truss_2 are now both highlighted in the component window to indicate that
they have been displayed in the graphics area.
7. Verify that the toggle is set to elems to surf comp. (It currently may be elems to current comp.)
9. Zoom into the area with a connector and see how the fixed point created from the weld has ensured the
mesh seeding passes through the weld.
Step 7: Display only the assembly assem_2 for elements and geometry.
Weld the two front trusses to the reinforcement plate by creating connectors between shell elements at pre-
defined weld points.
1. Click the Model tab in the tab area. Or, go to the View menu and click Model browser.
2. At the top of the browser window, verify that Elements and Geometry ( ) is the current selection
type.
Step 8: Create connectors between the shell mesh for the front trusses and the
reinforcement plate at pre-defined points.
Perform the following steps to create and realize the connectors manually.
1. On the status bar, click Set Current Component and set the current collector to Con_Truss_Plate.
7. Click select.
· Front_Truss_1
· Front_Truss_2
· Reinf_Plate
9. Click select.
Notice that the status bar says "8 spot connectors created with comps and links." The connectors are
organized into the current component collector, Con_Truss_Plate.
14. Notice in the Connector browser's connector window that these eight connectors are currently grouped
as undefined and that the color of the connectors is yellow to indicate they are unrealized.
15. Click the + next to undefined and notice the status of the eight connectors is unrealized. In the next
step, you will realize the connectors and assign a connector type.
· The eight connectors that were just realized are now grouped under RBAR in the connector
window instead of undefined as we just assigned the connector type.
8. Zoom into the eight connectors that were just realized. Notice how the mesh was partitioned to ensure
the mesh seeding passed through the weld points.
The two front trusses welded to the reinforcement plate with weld elements at the connectors
Step 10: Display only the assembly assem_3 for elements and geometry.
1. Click the Model tab in the tab area. Or, go to the View menu and click Model browser.
2. At the top of the browser window, verify that Elements and Geometry ( ) is the current selection
type.
Step 11: Create connectors to connect the right rails to each other and to the front
trusses by importing a master connectors file.
1. Access the Import tab in one of the following ways:
2. At the top of the browser window, select the Import connectors icon.
5. Click Import.
It will take a few seconds for the connectors to be imported. The connectors are automatically created
and are organized into the new component, CE_Locations.
Step 12: Realize the connectors in the component CE_Locations into weld
elements.
1. In the status bar, click set current component and set the current component collector to
CE_Locations.
Weld to the two front trusses by duplicating and reflecting selected connectors created from the master connectors file
2. At the top of the browser window, verify that Elements and Geometry ( ) is the current selection
type.
· From the Menu Bar, select Collectors, then select Create and then select Components
Step 15: Duplicate the connectors created from the master connectors file and
reflect them.
1. Enter the reflect panel by one of the following ways:
· From the Menu Bar, select Connectors, then select Reflect and then select Connectors
· From the main menu, select the Tool page, then select reflect
3. Using the Model browser, turn on and display the component, CE_Locations.
The displayed connectors are duplicated and the duplicates are organized into the current component,
CE_Locations_Dup.
8. Click x=.
The fields for x=, y=, and z= are activated. By default, their value is 0.000, which is the base point you
want to reflect about.
Step 16: Update the connectors for the left rails to link them to the left rail
components.
1. Enter the Connector browser.
You may need to increase the size of the tab area to the right to see the State column. Notice how all
the realized connectors are now at the top of the list.
4. Click State again so that all the unrealized connectors are at the top of the list.
5. Left-click the first connector in the list under the Entities column. Scroll down to the last unrealized
connector in the list. While holding the SHIFT button, left-click the last unrealized connector in the list.
This will select all the unrealized connectors in the list. Verify that this is the case.
6. Right-click under Entities and select Update Link. This brings up the update window under the
connector window in the Connector browser.
8. Notice that the connectors have the links comp Right_Rail_1 and comp Right_Rail_2. This data is from
the master connectors file that you imported. These links need to be updated to reflect the two left rails.
10. Click in Link Select under Search. This brings up a component selector in the panel area.
12. Click proceed. This updates the Connector browser so now the Link Select is set to Right_Rail_1
under Search.
14. Click in Link Select under Replace. This brings up a component selector in the panel area.
16. Click proceed. This updates the Connector browser so now the Link Select is set to Left_Rail_1
under Replace.
18. Repeat 16.9 through 16.19, except search for the Right_Rail_2 component and replace it with the
Left_Rail_2 component.
19. Scroll through the list of unrealized connectors to make sure that no connector is linked to the right rail
components.
Step 17: Realize the connectors in the component CE_Locations_Dup into weld
elements.
1. Go to the spot: realize sub-panel.
Step 18: Verify that all connectors are realized and identify the pairs of adjacent
connectors.
1. In the connector window of the Connector browser, verify that the RBAR folder is expanded.
2. Scroll through all the connectors. Note that the State column indicates that all of the connectors are
realized.
3. Zoom into one of the two areas where the front trusses are connected to the rail components.
Note that at these two areas, there are pairs of adjacent connectors.
5. On the Connectors page, select Layer for the Color by: option.
6. While still in the Visualization tab, notice under Layers that 2t (two thickness) is purple.
The connectors are now colored purple. This means each of these connectors link two components.
Because the pairs of connectors create a series of two weld elements, you can combine each pair into a
single connector, which links the three components together.
Step 19: Isolate the pairs of adjacent 2t connectors identified in the previous step.
1. From the Model browser, turn off the display for all geometry components.
· From the main menu, select the Tool page, then select find
7. Click select.
11. Click find to find the three connectors between these components.
12. Click .
14. Click find to find the three connectors between these components.
Notice the status bar displays "9 connectors added by 'displayed'. Total selected 9."
From the Menu Bar, select Connectors, then select Check, then Connector Quality
From the main menu, select the 1D page, then select connectors, then quality
The status bar displays the message, "6 connector(s) found that need to be combined."
The status bar displays the message, "3 connectors deleted." Also notice that the connectors have now
turned a dark blue color to indicate that they have 3 layers.
Step 22: Realize the 3t connectors in the component Con_Frt_Truss into weld
elements.
1. Set the current component to Con_Frt_Truss.
8. Click in the Connector browser. Scroll down through the list in the connector window to see that there
are now three links for the six connectors we just updated.
11. On the Connectors page, select State for the Color by: option.
Step 23: Display only the assembly assem_5 for elements and geometry.
1. Click the Model tab in the tab area. Or, go to the View menu and click Model browser.
2. At the top of the browser window, verify that Elements and Geometry ( ) is the current selection
type.
1. Enter the Automated Connector Creation and FE Absorption dialog in one of the following ways:
Connectors are generated at the locations of the ACM welds. They are realized and are 2t connectors.
Also, the connectors are organized into the Con_Rear_Truss, the same component to which the ACMs
belong.
Exercise
This exercise uses the model file, frame_assembly_1.hm. Area connectors must be meshed in order to
work properly. When the connector’s location is existing FE mesh elems, the connector automatically gets
meshed to match the elements chosen. However, after creating an area connector on surfs, lines, or along
nodes, you must then use the automesh options (which display when you select one of these locations
types) to create a mesh on the connector area.
2. Take a few moments to observe the model using various visual options available in HyperMesh (rotation,
zooming, etc.).
3. Go to the Preferences menu, click User Profiles....
4. Select RADIOSS, then Bulk Data.
5. Click OK to load the user profile.
The Connector browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the Component window and it contains a listing of the components
being connected with the connectors. The lower portion is called the Connector window and it contains
a list of the connectors in the model. The connectors will be grouped based on the type of connection.
Currently there are no components or connectors listed because there are no connectors in your model.
2. Zoom into an area displaying the two flanges and inspect the elements to be joined.
3. Create a new component by right-clicking in the Model browser and select Create >> Component.
4. Name the new component Left_Rail_Adhesive.
· Right-click in the Connector browser in the connector window and select Create >> Area.
· From the main menu, select the 1D page, then select the connectors module, then select area.
· At the bottom of the Connector browser click area ( ). Access the area sub-panel.
8. Click elems and select the by face option – the whole flange should be highlighted.
11. Set tolerance= 10. The connector will connect any selected entities within this distance of itself.
13. Verify that the adhesive type is set to shell gap – this option projects directly to the shell component
and takes no account of the thickness of the shell components.
15. Inspect the new adhesive, note that an area connector has been created, and then click return.
16. Access the unrealize panel from the main menu, select the 1D page, select the connectors module,
then select unrealize.
18 Click unrealize.
19 Click return.
20. Access the area panel again in one of the following ways:
· Right-click in the Connector browser in the Connector window and select Create >> Area.
· From the main menu, select the 1D page, then select the connectors module, then select area.
· At the bottom of the Connector browser click area ( ). Access the realize sub-panel.
22. Verify that the adhesive type is set to (T1+T2)/2 (instead of shell gap) and increase the density= 3.
This type takes into account the thickness of each shell part and increases the number of hexas through
thickness from 1 to 3.
5. Select the row of nodes on the outer flange on part, Left_Rail_1 by first selecting the left most node on
the bottom flange of Left_Rail_1 and then selecting the right-most node on the bottom flange.
6. Define offset = 3.
8. Click select.
9. Click create.
The default mesh size for these mesh independent area connectors (when choosing by nodes/lines/
surfs) is 10. However, you can specify a different elem size if needed.
16. Change the type from (T1+T2)/2 to const_thickness and enter 0.3.
Inspect the new adhesive created. Note when creating area connectors from elements it will automatically
mesh the area connector using the current mesh. If the area connector is created from nodes, lines, or
surfaces then a manual mesh can be applied if the default is unsuitable from the area sub-panel.
Exercise
This exercise uses the model file, frame_assembly_2.hm. The bolt panel creates connectors based on
holes within the connected components, using spiders or washers at each end of an RBE connector. When
the bolt panel is active, only bolt-type connectors display in the graphics area; graphics for other connector
types are suppressed until you exit the panel. The bolt panel contains three sub-panels:
2. Take a few moments to observe the model using various visual options available in HyperMesh (rotation,
zooming, etc.).
3. Go to the Preferences menu, click User Profiles....
4. Select RADIOSS, then BulkData.
5. Click OK to load the user profile.
2. Select Model View ( ) in the Model browser and expand the Assembly Hierarchy tree.
This will only display the components that are in the assem_5 assembly.
5. Set Con_Rear_Truss to be the current component by right-clicking it in the Model browser and
selecting Make Current.
The Connector browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the Component window and it contains a listing of the components
being connected with the connectors. The lower portion is called the Connector window and it contains
a list of the connectors in the model. The connectors will be grouped based on the type of connection.
Currently there are no components or connectors listed because there are no connectors in your model.
· Right-click in the Connector browser in the connector window and select Create >> Bolt
· From the main menu, select the 1D page, then select the connectors module, and then select bolt
2. Verify that location is set to nodes and select the node on the edge of the hole in the component,
Rear_Truss_1.
4. Click select.
The connector will connect any selected entities within this distance of itself.
Re-realizing the connector will allow you to see the different bolt types.
7. In the hole diameter: max= field, type to 60 to ensure that the diameter of the picked hole will be
captured.
8. Click create. Ensure the display of the current component is turned on.
· Replace the rear truss component, Rear_Truss_1, with a new, similar part and then update the
affected connectors.
· Export the FE deck and view the connector information in the deck
After the modeling of the assembly is complete, a design change might be made to any one of the parts.
When this occurs, you must replace the current part(s) in the model with the new, similar one(s) and update
the affected connections (welds).
Exercise
This exercise uses the model file, frame_assembly_3.hm. A new part is needed in the assembly. This
exercise will illustrate how to delete the original component, import the new part, and update the
connections. You will also export the connector information to a single file. Then you will also export the
entire FE input deck and observe how the connector information is preserved.
2. Take a few moments to observe the model using various visual options available in HyperMesh (rotation,
zooming, etc.).
3. From the Menu Bar, select Preferences, then select User Profiles….
4. Select RADIOSS, then BulkData.
5. Click OK to set the user profile.
The Connector browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the Component window and it contains a listing of the components
being connected with the connectors. The lower portion is called the Connector window and it contains
a list of the connectors in the model. The connectors will be grouped based on the type of connection.
5. Click Import.
Step 4: Using the Connector browser, update the connector links to the new
component.
1. In the Component window of the Connector browser, right-click Rear_Truss_1 and then click Find
Attached.
2. Right-click any of the highlighted connector names in the Connector browser and click Update Link.
2. Enter theSpot panel by clicking spot ( ) at the bottom of the Connector browser.
2. A dialog will open. Select the location where you would like to save the XML file and click Save.
3. Open the XML file in a text editor. Inspect the file and observe how the connector information has been
saved. In the future, you can use the XML file to import connectors.
Step 7: Export the finite element deck and observe how the connector information
is preserved.
1. Access the Export tab in one of the following ways:
5. Click file ( ) next to File and select a name and location for the file to be saved to. Be sure to use
the .fem extension.
8. Click Export.
9. Open the .fem file you just saved in a text editor. Scroll to the very bottom. This is where all the
connector information has been saved. The information has been saved as comment cards so that when
you run the analysis, the connector information is not read. But when the input deck is importing back
into HyperMesh, the connector information is read.
In this tutorial, you will increase the length of a propeller blade by 100 units, using freehand morphing.
· On the Tool page, select HyperMorph, then freehand, then move nodes.
2. Verify that the morphing method is set to translate.
3. For the translate value, key in z= -100.
6. For moving nodes and fixed nodes select the nodes as displayed in Figure 3.
7. For affected elements select the elements that lie between fixed nodes and moving nodes.
8. For mv bias and fx bias keep the default value (1.00).
9. Click morph to morph the blade of the propeller.
Summary
The length of the propeller blade has increased by 100. The fixed nodes do not move. The affected elements
were stretched evenly to maintain element quality. The stretching of the elements takes place between the
moving nodes and the fixed nodes.
The objective of this exercise is to take a dummy pelvis profile and imprint it onto a seat.
· From the Morphing menu, select Free Hand, then select the sculpting sub-panel
3. For the sculpting tool:, chose the elements in the collector dummy (Figure 2).
4. For affected elements: chose the elements in the collector seat (Figure 2).
5. For the base point as well as the node list, chose a node on the dummy (Figure 2).
Using just a few steps you have been able to take a fairly complicated profile and impose it on to another
mesh.
In this exercise, you will use the line difference approach to morph a bumper to conform to a new section
line.
8. Click map.
Summary
The profile of the bumper is changed to follow the new section line.
In this tutorial, you will use map to sections to change the profile of the car roof.
9. Click first line list button and select Line A and Line B on the model.
10. Under to click the second line list button and select Line A’ and Line B’ on the model.
14. From the toolbar click User Views ( ). A pop-up window will appear. Select the right view.
15. Under fixed nodes click nodes >> by window and select all the nodes as shown in figure 2.
Summary
The roof of the car has been morphed while the mesh quality has been maintained.
Exercise: Changing the Shape of the B-pillar with the Help of Morph Volume
This exercise shows how to smoothly change the shape of a B-pillar via morph volumes.
· From the Morphing menu point to create and select Morph Volumes
· From the Morphing menu point to create and select Morph Volumes, then select split/combine
· On the Tool page, select HyperMorph, then morph volumes, then select split/combine
The green colored cross moves to the location of the black dot.
4. Click split.
· On the Tool page, go to HyperMorph, then select morph, then select move handles
X=0
Y = 100.00
Z =0
6. Click morph.
Summary
In this exercise you will create domains and handles, and morph the model.
Based on the model’s geometric features, all of the model’s elements are organized into various domains
and local handles are created and associated with the domains.
Local handles are created for the new domain. You should now have two local domains. Elements can
only belong to one domain at a time. Thus, the elements you selected were moved into the new domain.
This functionality makes it very easy to group elements into different domains.
Step 4: Split the edge domain of the radius to have more control when morphing.
1. Go to the domains > edit edges sub-panel in one of the following ways:
· On the Morphing menu point to Create and select domains, then select edit edges
· On the Tool page, select HyperMorph, then domains, then select edit edges
The node selector automatically becomes active once the edge domain is selected. Click the domain
selector to make it active and see that you selected the desired edge domain.
5. Select the node on the positive Y-axis end of the radius, as indicated in the image Figure 3.
7. Repeat the above process to further split the edge domain of the radius, this time at the node indicated in
the Figure 4.
Step 5: Add local handles to the 2-D domain on the part’s left side.
1. Go to the handles > create sub-panel in one of the following ways:
7. Click create to create the handles and add them to the 2-D domain.
Step 6: Perform basic morphing to understand how domains and handles interact
with each other and the mesh.
1. Go to morph > move handles sub-panel in one of the following ways:
· On the Tool page select HyperMorph, then select morph, then select move handles
2. (Optional) With the handles selector active, select the two handles that are on the most positive X-axis
end of the part, as indicated in figure 6.
If you select one or more handle, those handles follow the handle you drag (in Step 6.6, following).
3. Switch from on domains to on plane.
4. Click the N1 selector to make it active.
5. For N1, N2, and N3, select any three nodes on the model to define a plane.
6. Click morph.
7. The message, “pick handles and move to new location” appears in the status bar.
8. Click on and drag one of the selected handles to morph the part.
9. As you drag the handle, the mesh’s size and shape is adjusted.
· The handles selected in step 6.2 above follow the handle you are dragging.
· All of the elements belonging to the selected local handle’s 2-D domain are affected by moving that
local handle.
· The 2-D domain’s non-selected local handles act like anchors (they do not move).
· The nodes on the edge domains and between any two non-selected local domains do not move.
The HyperMorph module allows for multiple levels of undo and redo for all morphing operations. This
functionality is available for any particular HyperMesh session and its current model as long as the
session and its model remain open.
13. (Optional) With the handles selector active, select one or more global handles.
15. Click on and drag any global handle to morph the part.
Summary
· The handles selected in Step 6.2 above follow the handle you are dragging.
· The non-selected global handles act like anchors (they do not move).
In this tutorial, you will use domains and handles to increase the gauge thickness.
5. Click create.
· On the Tool page, select HyperMorph, then morph, then alter dimensions
10. For domains (under edge and 2D) select the 2D domain and the two edge domains as shown in
Figure 2.
When the circular edge domain is selected, the radius box populates with the current radius value.
Summary
The gauge thickness of the spring wire is changed from 7.5 to 12.0.
In this exercise, you will increase the radius of the spring coil.
6. Go to the morph > alter dimensions sub-panel in one of the following ways:
· From the Morphing menu, select Morph, then the alter dimensions sub-panel.
· On the Tool page go to HyperMorph, then select morph, then alter dimensions
7. Change the morphing method to radius.
8. Change the center calculation to by axis.
Figure 2: Domains and base node to select for altering the coil radius
10. For domains (under edge and 2D) select the 2-D domain and the two edge domains.
11. For the base node for the z-axis select the node as shown in Figure 2.
Summary
Objective
Use morphing to change the thickness of the middle layers of a four-layered solid, while maintaining the
thickness of the outer layers.
Tools
Domains will be created using 3D domains > by component. Thickness will be altered using alter
dimensions.
HINT: Select a couple of elements on the face you want to keep. Select elements >> by face, and then
select elements >> reverse. This will reverse the selection to the elements you do not want and will
allow you to mask those elements with the mask button.
6. Click the + in the Show column to display the domains and handles for only the displayed elements.
8. For B select the temp node that represents the center of the cylinder.
15. Click undo all to revert back to the original model configuration.
21. Change the animation scale from model units to scale factor.
24. Once you are done viewing your animation and verifying that it is as intended, you can return to the main
With this step you have successfully completed morphing one of the middle layers of the four-layer model.
Optional: Using the process shown above, increase the thickness of Adhesive_Inner component by 5 units.
Objective
Tools
Domains, morph
HINT: Select a couple of elements on the face you want to keep. Select elements >> by face, and then
select elements >> reverse. This will reverse the selection to the elements you do not want and will
allow you to mask those elements with the mask button.
4. Click return to return to the domains panel.
5. To reduce the number of domains and handles shown on the screen, click the Mask By Config tab.
Step 4: Increase the outer diameter of the middle section of the tube.
1. Click Morphing, then Morph to open the morph panel..
6. Right-click Local Domains/Handles and pick Morph operates on displayed elements if not already
selected.
7. Click the + in the Show column to display the domains and handles for only the displayed elements.
8. Select domains >> displayed. This selects the two inner edge domains as well as the 2D domain for
the tube inner.
11. For base point, select the temp node at the center of the tube arc.
Summary
Using morphing operations, dimension changes have been successfully performed on a tubular mesh.
In this exercise you will create a dome shape at the bottom of the bottle using morph volumes.
· On the Tool page, select HyperMorph, then morph volumes, and then select the create sub-
panel.
2. Switch create morphvol to create matrix.
3. Set:
· y density = 8
· z density = 5
· buffer % = 5
6. For syst, select the system located at the top of the bottle.
7. Use the default values for the remaining settings.
8. Click create to create the morph volumes.
9. Note that morph volumes are created, encompassing the bottle, with red colored handles created at the
corners of each morph volume.
10. Click return to exit the panel.
· On the Tool page, select HyperMorph, then symmetry, then select the create sub-panel.
Symmetries can either be linked to domains or to morph volumes. Here you are associating the
symmetries to the morph volumes.
5. Set # of cycles, to 8.
6. For syst select the cylindrical coordinate system located at the top of the bottle.
7. Click create.
· From the Morphing menu, select Create, then Morph Volumes, then select the update edges
sub-panel
6. Access the morph > move handles sub-panel in one of the following ways:
· On the Tool page, select HyperMorph, then morph, then move handles
Since you have symmetries defined, translating a single handle on the inner ring at the bottom, ensures
that a similar behavior is imparted on all the handles symmetrically associated to it.
12. To reduce the number of domains and handles shown on the screen, click the Mask By Config tab.
13. Right-click Morphing and pick Morph operates on all elements, if not already selected.
14. Click the - in the Hide column to turn off the display of all morphing entities.
Summary
Using morph volumes with appropriate tangencies, and by creating symmetries you are able to create a
dome-shaped feature at the bottom of the bottle.
Remarks
There are four different methods to define the continuity between the morph volumes.
· Fixed connectivity allows you to prescribe the angle at the end of an edge.
· Master-slave maintains tangency between two morph volume edges while keeping the master edge
independent of the slave edge. (When the master edge moves, the slave edge follows, but when the
· Continuous maintains tangency between two morph volume edges while allowing both edges to
affect each other.
The default setting in morph volume is always set to tangent which is continuous edge connectivity. This
definition can always be changed in the update edges sub-panel, based upon the morphing needs.
In this exercise you will first create a bead using the default continuous edge connectivity. You will then
update the edges to free and see how it affects the bead creation.
· On the Tool page, select HyperMorph, then morph volumes, then select the create sub-panel
3. Set:
· x density = 3
· y density = 8
· buffer % = 5
6. For syst, select the system located at the top of the bottle.
Note that morph volumes are created encompassing the bottle, with red colored handles created at the
corners of each morph volume.
· On the Tool page, select HyperMorph, then symmetry, then select the create sub-panel
Symmetries can either be linked to domains or to morph volumes. In this case, you are associating the
symmetries to the morph volumes.
5. Set # of cycles to 8.
6. For syst select the cylindrical coordinate system located at the top of the bottle.
7. Click create.
2. Access the morph volumes panel, split/combine sub-panel in one of the following ways:
· On the Morphing menu, select Create, then select Morph Volumes, then select the split/
combine sub-panel
· On the Tool page, select HyperMorph, then morph volumes, then select the split/combine sub-
6. Click split.
9. Click split.
· On the Morphing menu, select Morph, then select the move handles sub-panel
· On the Tool page, select HyperMorph, then morph then select the move handles sub-panel
7. Click morph.
As the bead is created, the upper and lower portions of the bottle deform too (figure 4). This is not the
intension, as you want to create a bead without affecting the other parts of the bottle.
1. Access the morph volumes > update edges sub-panel in one of the following ways:
· On the Morphing menu, select Create, then Morph Volumes, then select the update edges sub-
· On the Tool page, select HyperMorph, then morph volumes, then select the update edges sub-
panel
· On the Morphing menu, select Morph, then select the move handles sub-panel
7. Click morph.
Using morph volumes with appropriate tangencies and symmetries you were able to create a bead on the
given bottle.
Objective
Tools
2. Click Import ( ).
5. Click syst.
8. Click create.
9. Click return.
4. With from: handle active, select the node depicted in the following image.
5. With to: point active, select the point on the geometry you want to move the handle to, as depicted in
the following image:
As the handles are moved, you will see that the mesh starts conforming to the new geometry.
Summary
Taking advantage of the symmetry in this part, you are able to morph it much quicker.
In this exercise you will increase the diameter of one of the prongs of a yoke using morph volumes. You will
reflect the shape on to the other prong and finally position the combined shapes from one yoke to the other.
2. In the Model browser, right-click components yoke_1 and yoke_2 and select Hide.
· On the Morphing menu, select Create, then Morph Volumes, then select the convert sub-panel
· On the Tool page, select HyperMorph, then morph volumes, then select the convert sub-panel
2. Select elems >> by collector.
3. Select hexas.
4. Click select.
5. Click convert.
Note that all the seven hexa elements are converted into morph volumes.
2. Access the morph > move handles sub-panel in one of the following ways:
· From the Morphing menu select Morph, then select the move handles sub-panel
· On the Tool page, select HyperMorph, then morph, then select the move handles sub-panel
4. Click options and make sure mvols: is set to active (toggle if it is set to inactive).
5. Click return.
6. For handle, click Handle 1, and for node, click tag 1’.
· From the Morphing menu, select Create , then Shapes, then select the save as shape sub-panel
· On the Tool page, select HyperMorph, then shapes, then select the save as shape sub-panel
2. Use name= Prong1.
8. Click return.
3. Under domains, click the check-box for morph volumes. (make sure it is active).
4. Keep rest of the default settings.
5. Click syst and select the newly created coordinate system.
6. Click create.
7. Click return.
· The name of the shape, created by reflecting, has the same name as the original shape with a suffix
“1.”
Shapes are one of the most versatile types of the morphing entities. Loads can be converted into shapes and
vice versa. When you position shapes, they act on a volume equivalent to the initial volume, but at the new
location. In this regard, shapes can be used to interpolate loads on a mesh given the loading at the
boundaries of a volume.
In this exercise you are given a temperature distribution at points defined by a cube (hexa element). You will
use shapes to interpolate the temperatures to the tube lying inside the cube.
Figure 1: Model
· From the Morphing menu, select Create, then Shapes, then select the convert sub-panel
· On the Tool page, select HyperMorph, then shapes, then select the convert sub-panel
2. Switch the conversion type to temperature to shapes.
3. For loadcols, select temperature.
4. Click select.
5. Click convert.
Figure 2: The base and the node for translating the shape
Note that the temperature loads have been converted into shape vectors.
The shape vectors are proportional to the temperature loads on the corners of the cube and the distances
from those corners.
The name of the converted shape is the same as the temperature load collector.
The shape has been transferred to the tube. You selected the same base and to node, effectively
selecting a translate distance of 0.
Make sure you expand the BCs contour panel appropriately to visualize all the buttons.
5. From the list of loads, select temperature1.
6. Click Accept.
Summary
Using shapes you have been able to interpolate temperatures from the corners of a volume on to an object
located in that volume.
The record panel gives you the flexibility of making changes to the mesh using panels outside the
HyperMorph module and saving them as shapes.
In this exercise you will change a bead using the node edit > align node sub-panel and Record the shape
function. You will then reflect the shape to the other side of the mesh to complete the mesh update.
· From the Morphing menu, select Free Hand, then select the record sub-panel
· On the Tool page, select HyperMorph, then freehand, then select the record sub-panel
2. Click start.
4. Select the nodes between the selected nodes to align the nodes to the 1st end: and 2nd end: nodes.
5. Repeat the same process to align the next row of nodes (figure 3).
· On the Tool page, select HyperMorph, then select freehand, then select record
2. Click finish.
4. Click create.
5. Click return to exit the panel.
· From the Morphing menu, select Create, then Shapes, then select the apply shapes sub-panel
· On the Tool page, select HyperMorph, then shapes, then select the apply shapes sub-panel
Summary
The shape (Morph1) is reflected to the other side. Also, the reflected shape has the same name with the
suffix 1. The changes that you made on one side are thus transferred to the other side.
In this exercise will change the shape of the windshield while keeping its area constant.
Step 2: Create a shape to define the degree of freedom for the mesh.
1. Access the freehand > move nodes sub-panel in one of the following ways:
· From the Morphing menu point to Free Hand and select the move nodes sub-panel
· On the Tool page, go to HyperMorph, then freehand, then select the move nodes sub-panel
2. Switch the method to translate.
3. Key in
· x = 0;
· Z =0
4. Under moving nodes: click nodes >> by sets and select move_node.
5. Click select.
6. Under fixed nodes: click nodes >> by sets and select fix_node.
7. Click select.
14. Click undo all to bring the model to its original position before morphing.
This initial shape defines the direction in which the nodes have the freedom to move, as the shape of the
windshield is changing, thus enabling us to keep the area at a constant.
· From the Morphing menu, select Create, and then select Morph Constraints
· Note that the value shows in the area box is: 1.085e+06.
· This is the actual surface area of the windshield which will be maintained.
8. Click create.
Note that the constraint is created. The symbol for the constraint is a matching-mesh.
9. Right-click Shape and select Hide in the Model browser.
· From the Morphing menu point to Create and select Morph Volumes
· From the Morphing menu point to Morph and select the move handles sub-panel
· On the Tool page, go to HyperMorph, then morph, then select the move nodes sub-panel
2. Change the morph type to move to node.
3. For from: handle, select handle1 (Figure 2).
4. For from: node, select node1 (Figure 2).
5. Repeat the process for the other handles and nodes.
The final area of the windshield is 1.085e+06, which is the same as the initial area. So, even though the
profile of the windshield has changed, its area has not. As the height of the windshield reduced, it
expanded in the direction provided by Shape1.
Summary
Using morph constraints, you able to change the shape of the windshield, while keeping its area constant.
In this exercise, you will learn to position the H-point of the dummy on a seat cushion.
This helps to reduce design and remeshing of the seat based on the pre-stress analysis. To do this exercise
you will be using a limiting constraint and freehand morphing.
Figure 1
6. Set distance= 2.
This will ensure that there is a distance of 2 units between the dummy and the seat after the morphing is
complete.
7. Use nodes >> by collector and select cushion.
8. Click select.
· From the Morphing menu point to Free Hand and select the move nodes sub-panel
· On the Tool page, select HyperMorph, then freehand, then select the move nodes sub-panel
3. Switch moving method to translate.
4. For moving nodes, use nodes >> by collector and select cushion.
5. Click select.
6. For fixed nodes, use nodes >> by collector and select dummy.
7. Click select.
8. For affected elements, use elems >> by collector and select cushion.
9. Click select.
10. For the translate magnitude, set
· x=0
· y=0
· z = 80
The top surface of the cushion has conformed to the shape of the dummy.
Summary
When circular features are stretched, they become elliptical in shape. In some cases as in the wheels of a
truck, this effect is not desirable. In such cases, using cluster constraints will allow you to translate the
features, along with the morph, while maintaining its circular shape.
In the exercise you will be changing the length of the cab while preserving the shape of the wheel. To
facilitate the morphing process you will be employing constraint and symmetry.
· From the Morphing menu, point to Create and select Morph Volumes
The original morph volume is now split into two morph volumes.
Symmetry can be linked to either domains or morph volumes. In this exercise since you are dealing with
morph volumes you will use the check to link the symmetry to the morph volume.
· From the Morphing menu point to Morph, then click the move handles sub-panel
· On the Tool page, select HyperMorph, then morph, then click the move handles sub-panel
2. Switch the morphing mode to translate.
3. Switch the along option to along xyz.
4. Set the following values:
· X val = 500
· Y val = 0
· Z val = 0
The front end is stretched 500 units. Since the front wheels are also the part of the morph volumes they
became elliptical after morphing. This is not desirable. You will undo this morphing, constrain the wheels
and re-do it.
Figure 3
1. Access the morph constraints > create/update sub-panel in one of the following ways:
· From the Morphing menu point to Create and select Morph Constraints
The cluster constraints are created on the nodes of the selected components.
Figure 4
10. In the Model browser, right-click MorphingConstraint and click Hide to turn off the constraints.
The front end is stretched 500 mm. The front wheels are moved in the morphing process while
maintaining their circular shape.
Summary
Using cluster constraints and morph volumes you are able to stretch the cab of the pickup without distorting
the wheels.
Depending on the morphing being performed, there is a possibility that the mesh can get distorted. For such
cases, HyperMorph provides a remeshing capability. The advantage of this remeshing is that the newly
created elements are automatically a part of the original domain. This provides continuity to the morphing
process along with proper element quality.
Figure 1: Model
The elements outside the washer get compressed as the washer moves. Also, as the elements fail
(jacobian < 0.7) they are highlighted (figure 3).
Summary
Using this technique, you can update the mesh in regions that might have undergone excessive elemental
deformation during morphing. Since the domains and handles are maintained, it allows you to conduct further
morphing if need be.
The purpose for using a finite element (FE) pre-processor is to create a model, which can be run by a solver.
A finite element solver can solve for responses of parts to loading conditions on them. The loads can be in
the form of boundary constraints, forces, pressures, temperatures, etc.
In this exercise, you will gain an understanding of the basic concepts for creating a solver input file by using
a template. More specifically, learn how to define loading conditions on a model, specify solver specific
controls and submit an input file to a solver from HyperMesh.
This exercise uses the model file, channel_brkt_assem_loading.hm. It contains the bracket and
channel assembly in the following image.
2. Select RADIOSS.
1. Access the Collectors panel by clicking load collectors ( ) on the collectors toolbar.
· From the Menu Bar, select BCs, then Create, then Constraints
· On the main menu, select the Analysis page, then select constraints
6. Select the six lines on the perimeter of the channel’s bottom surface as shown in the following image.
For a RADIOSS linear static analysis, dof 1, 2, and 3 represent translations in the global x-, y-, and z-
directions respectively. Dof 4, 5, and 6 represent rotations about the global x-, y- and z-axis,
respectively.
A label is displayed for each constraint. The labels identify what dofs are assigned to the constraints.
Step 5: Map the constraints (RADIOSS SPC) on the geometry lines to the channel
nodes associated to the lines.
1. Access the load on geom panel in one of the following ways:
· On the main menu, select the Analysis page, then select load on geom
6. On the Model browser, turn off the display of geometry for all component collectors.
Step 6: Prepare to create forces (RADIOSS FORCE) on the bracket for the pressing
load case.
2. On the Model browser, right-click on the pressing_load load collector and select Make Current.
The pressing_load load collector is now the current load collector, and any loads created will be placed
in this collector.
Step 7: Create two forces (RADIOSS FORCE) on the bracket for the pressing load
case.
1. Access the forces panel in one of the following ways:
· From the Menu Bar, select BCs, then Create, then Forces
· On the main menu, select the Analysis page, then select Forces
3. With the nodes selector active, select the two nodes as indicated in the following image.
Step 8: Define the load step for the pressing load case.
1. Access the load step panel in one of the following ways:
· From the Menu Bar, select Setup, then Create, then Load Steps
· On the main menu, select the Analysis page, then select load steps
This shows the names of the load collectors with their ID numbers in parenthesis.
Note that the field next to the = now has a value of 2, which is the ID of the constraints load collector.
7. Click the = next to LOAD and select the pressing_load load collector.
In the status bar appears the message, "The load step has been created." Nothing new is displayed in
the graphics area.
Step 9: Display and mask the load step (the load collectors defined in the load
step).
1. On the Model browser, turn the display of the load step pressing_step off.
Notice the load collectors constraints and pressing_load are no longer displayed.
· Review entities in HyperMesh to see how they will appear in the solver input file
The purpose for using a finite element (FE) pre-processor is to create a model that can be run by a solver.
HyperMesh interfaces with many FE solvers and all of them have unique input file formats. HyperMesh has a
unique template(s) for each solver it supports. A template contains solver specific formatting instructions,
which HyperMesh uses to create an input file for that solver.
This exercise uses the file, channel_brkt_assem_Analysis.hm. It contains the bracket and channel
assembly in the following image.
1. Access the Card Editor panel by going to the collectors toolbar and selecting card edit ( ).
4. Click edit.
The card image for the element appears above the panel menu area. It indicates the element is a
RADIOSS CQUAD4 or CTRIA3, depending on whether you selected a quad or tria element. EID is the
element’s ID. PID is the ID of the element’s property. G(X) is the grid (node) ID that makes up the
element.
Options specific to the CQUAD4 or CTRIA3 appear in the menu panel area.
Step 4: Review and edit the existing steel material’s card image by accessing the
card editor from the Model browser.
This material is defined for the channel.
1. In the Model browser, open the Material branch of the browser list to show the material steel.
The card image for the material appears. It indicates the material is of RADIOSS Bulk Data type MAT1.
3. Under Poisson’s Ratio [NU], change the value from 0.3 to 0.28.
4. Click return to accept the change and return to the main menu.
Step 6: Define a property collector (PSHELL card image) that will be assigned to
the channel component collector.
7. Click create/edit.
8. Click [T] and enter 3.0 into the field that appears.
6. Click assign.
3. Select props >> bracket. (Click props to select from the component list.)
6. For material =, select aluminum. (Click the text field to select from the material list.)
7. Click update/edit to load and edit the card image and assign the material.
Notice the material ID MID is 2, which is the ID of the aluminum material you created earlier and
assigned to the bracket component.
Step 9: Calculate the section properties for the bar elements (RADIOSS CBEAM)
by using HyperBeam.
1. On the 1D page, enter the HyperBeam panel.
The HyperBeam module appears and the HyperMesh session is not visible. (HyperMesh is visible again
upon exiting HyperBeam.)
The solid, red circle represents the cross section. Under the local coordinate system you should see the
number, 20.0000, which is the circle’s diameter.
5. Click on the number 20.0000 to activate a number entry field, enter 6, and then press ENTER.
In the section property display area, the values are automatically updated to reflect the circle’s new
diameter.
After a brief moment, the name becomes an editable text entry field.
Step 10: Create a property collector named bars_prop for the bar elements
(RADIOSS Bulk Data).
1. Create a new property collector in one of the following ways:
· For the properties panel, set type= to 1D and switch card image= to PBEAM.
The parameter fields in the PBEAM card are automatically populated by the data in the beam section
6mm_Beam_Sect.
Step 11: Update the CBEAM element to use the PBEAM Property.
1. Access the Properties: assign sub-panel.
3. Click select.
6. Click assign.
Step 12: Define a H3D file to be output from RADIOSS by using the control cards
panel.
1. Access the control cards panel in one of the following ways:
· From the Menu Bar, select Setup, then Create, then Control Cards
· On the main menu, select the Analysis page, then select control cards
You may need to click next to get to the second page of cards.
Notice in the card image the one FORMAT line is set to H3D. This specifies RADIOSS to output results
to a Hyper3D (H3D) file, which can be viewed in HyperView Player. Also, an HTML report file will be
output and the H3D file will be embedded in it.
4. Click H3D in the second line of the card image and select HM.
This specifies RADIOSS to output the results to a HyperMesh binary results file, allowing the results to
be post-processed within HyperMesh.
Notice the FORMAT button is green. This indicates the card will be exported to the RADIOSS input file.
Note that the extension for an RADIOSS Bulk Data input file is .fem.
This exports the model as an input file for the solver specified by the current user profile.
2. Near the top of the file, notice as shown in the following image:
· The load step (RADIOSS Bulk Data SUBCASE) named pressing_step which you defined in
HyperMesh
· Under the load step, the load collector ids (RADIOSS load and constraint set identification numbers)
Notice the load set identification number for each force (RADIOSS FORCE). It is either 1 or 2 as shown
in the following image. These numbers correspond to the numbers under the load steps in the file.
Notice the constraint set identification number for each constraint (RADIOSS SPC). It is 2 as shown in
the following image, which lists a few of the constraints. This number corresponds to the number under
the load steps in the file.
Notice the load collectors, pressing_load and constraints. Also, notice their collector ID and color ID.
When the model is imported into HyperMesh, the loads are organized into these load collectors and have
these IDs and colors.
· Obtain beam section properties for various types of beam cross-sections using HyperBeam, a
module within HyperMesh
In FEA, beams are typically modeled as 1-D elements. This tutorial is particularly useful for becoming
familiar with the modeling of beam sections for 1-D elements (beam, bar, and rod) in HyperMesh. The focus
is on obtaining and assigning beam-section properties, not on creating beam elements themselves.
Model geometry
The model geometry represents different types of cross-sections used in this tutorial: standard, shell, and
solid. The model consists of a solid cylinder attached to a hollow trapezoidal structure, which is further joined
to an irregularly shaped solid component (see previous image).
2. From the Preferences menu, click User Profiles… and select OptiStruct.
3. Click OK.
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.
To define a circular cross-section, HyperBeam requires the diameter of the cross-section as input. Measure
the diameter of the section before invoking HyperBeam using the distance panel from the Geom page.
1. Create three nodes on the circle defining the base of the solid cylinder using the create nodes panel
from the Geom page by doing the following:
- 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.
2. Use the distance panel from the Geom page to measure the distance between the two nodes
diametrically opposed by doing the following:
- From the Geom page, select the distance panel.
- Select the two nodes sub-panel.
- 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 distance =
field and reads 110 units.
3. Create a solid circle standard section in the HyperBeam panel by doing the following:
- Select the HyperBeam panel from the 1D page.
- Select the standard section sub-panel.
- 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.
Note: For detailed information on HyperBeam, see the HyperBeam section in the HyperMesh
User's Guide / Building Models / Calculating Beam Properties online help.
4. Modify the diameter of the cross-section and assign the value measured earlier by doing the following:
- Click the value shown in the figure to highlight it.
- Type 110 and press ENTER.
The value of the diameter and the quantities computed for the cross-section are updated and displayed in
the Results window. These properties are calculated based on the dimensions that were input. The
formulae for calculating these properties can be found in the Cross-sectional Properties as Calculated by
HyperBeam section in the HyperMesh User's Guide / Building Models / Calculating Beam Properties /
HyperBeam online help.
HyperBeam calculates, for example, the area of this cross-section, its moments of inertia and its
torsional constant.
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 by doing the following:
- In the Section browser, click the name of the cross-section under the auto1 folder.
- Type Solid Circle and press ENTER.
6. Use the File menu to Exit HyperBeam and return to HyperMesh. Click Yes in the confirmation box to
save the model.
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.
You may save your HyperMesh model to your working directory at this point.
In this step, 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.
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.
You can use various panels, such as the distance panel, to find the thickness of this feature. The thickness
of the feature is equal to 2 units.
1. Create a shell section using the lines in the shell_section component by doing the following:
- From the 1D page, select the HyperBeam panel.
- Select the shell section sub-panel.
- Set the entity selector to lines.
- Click lines and select by collector.
- Select the shell_section collector from the list and click select.
- Set cross section plane: to fit to entities.
- Set plane based node to specify node to make this option active.
- In the graphics area, hold the left mouse button down and move the mouse on top of one of the mid-
plane lines.
- Click specify node >> base.
- Click return.
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 user-controlled 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.
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 the
shear center from the centroid of the section.
2. Modify the thickness of the cross-section and assign the value of 2 units by doing the following:
4. Exit from HyperBeam panel using the File menu menu and click Yes in the dialog to save the section.
In this step, a beam cross-section representing a shell section was created using HyperBeam, and the
thickness for the shell section was assigned. Note that the shell section is defined with only one thickness
as it is defined as one part. For shell sections comprised of multiple parts, each part is assigned an
independent thickness.
HyperMesh saves the geometry and property data of a shell section in beamsect collectors. This data is
used to restore the section in HyperBeam and hence modify it.
1. Load the Trapezoidal Section cross-section back into HyperBeam using the edit section sub-panel by
doing the following:
- 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 cross-section is
retained and shows the dimensions used when the section was last saved.
The previous section showed how to change the thickness: click 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 User's Guide / Building
Models / Calculating Beam Properties online help. You can also click Help on the HyperBeam menu bar
to directly access this information.
These options can be invoked using either the Tools menu or the icons on the right of the toolbar.
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 by doing the following:
- From the Tools menu select Break a Segment.
The corresponding icon on the toolbar is depressed. The section turns blue indicating that you are
about to break a segment.
- Click anywhere between vertices 1 and 4.
This adds a new vertex with ID 5 indicating that segment 1-4 is broken into two segments, 1-5 and 5-4.
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.
3. Move vertex 5 to form a pentagon using the Move Vertices tool by doing the following:
- From the Tools menu select Move Vertices.
- Move the mouse cursor on top of vertex 5 until it turns blue.
You can now grab the vertex and drag it to a new location.
- Drag the vertex vertically upward so that a pentagon is formed.
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 cross-section has been
created—a new design for which the properties could be closer or further 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
recalculate the properties of a shell section at a new position. From the Tools menu, 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 by doing the
following:
A dialog opens.
- 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.
5. Specify the y-axis as pointing from the origin to vertex 2 using the Reorient Shell Section dialog
- From the Tools menu, select Reorient Shell 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.
6. Exit HyperBeam without saving the changes you made to the shell section.
In this step, you learned how to edit an existing section. You have also learned about some of the advanced
options of HyperBeam used in modifying a shell section such as break a segment, move vertex, and re-orient
shell section.
The input for a solid section can be 2-D elements, surfaces, or a set of lines that form a closed area. Use the
surfaces in the solid_section collector to define the solid section.
1. Create a solid section using the surfaces in the solid_section component by doing the following:
- Select the solid section sub-panel.
- Set the entity selector to surfs.
- Pick the highlighted surface in the following image.
- Click specify node to make it active.
- Select a node within the area formed by the surfaces by holding the left mouse button down until a
line or the surface highlights, then clicking anywhere on the highlighted entity.
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 by doing the
following:
In this step, you learned how to model a solid section using HyperBeam. You also experimented with the
export function for the beam properties. Now that the cross-sections are defined, you can assign the
properties to property collectors.
When creating an actual beam element, simply assign the property collector to the element itself.
1. Create a property collector with a PBEAM card and assign the Solid Circle beamsect collector to it by
doing the following:
- 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 by doing the following:
- From the 1D page, select the bars panel.
- Click property = and select standard_section.
- Click the lower-left switch and select vectors as the option to define the orientation of the beam.
- Set the direction to x-axis.
- Click node A to make it active.
- In the graphics area, 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.
The beam element is created and placed into the beam component.
Note: 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.
Summary
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 tutorial, Creating 1-D Elements. Additional
techniques for creating 1-D elements from connector entities are discussed in the tutorial, Creating
Connectors.
In this tutorial, you will learn how to assign element material orientation using the following:
· System ID
· Vector
· Angle
5. Click OK.
Step 2: Update all the elements to the correct element types for RADIOSS (Bulk
Data).
1. On the 2D page, select the elem types panel.
5. Select system and select the rectangular system on top of ball (system ID = 1).
6. Click color and choose the display color of the review vectors or lines.
8. Click assign.
This function assigns the ID of the coordinate system to the selected elements. This can be verified by
reviewing the MCID field of the CQUAD4 card populated with System ID 1 for the currently loaded
RADIOSS (Bulk Data) user profile. How each analysis code interprets this information varies. For
RADIOSS (Bulk Data), refer to the CQUAD4 and PCOMP(G) bulk data cards in the Bulk Data Section of
the RADIOSS Reference Manual. For visualization purposes HyperMesh also projects the x-axis of the
selected coordinate system onto the face of the shell elements to define the x-axis of the material
coordinate system. If you later modify the system, the element material coordinate directions change
implicitly.
15. Click return to exit the Card Edit panel and return to the composites panel.
4. Select system and select the rectangular system on top of ball (system ID = 1) .
This value specifies, in model units, how large the review vectors are when displayed.
7. Click color and select the display color of the review vectors or lines.
8. Click project.
15. Click return to exit the Card Edit panel and return to the composites panel.
5. Select the radial r vector from the spherical coordinate system on the bottom of the ball; the r-axis will
flash once when you click on it.
6. Click B and select the origin of the local spherical system as the base.
This value specifies, in model units, how large the review vectors are when displayed.
8. Click color and select the display color of the review vectors or lines.
9. Click project.
This function assigns a material angle to the selected elements, which for RADIOSS (Bulk Data) is
defined as the angle between the vector direction connecting node1 and node2 of the shell element (that
is, the element coordinate system x-axis) and the projection of the selected vector onto the surface of
the shell element. This can be verified by reviewing the THETA field of the CQUAD4 card populated with
an angle (in degrees) for the currently loaded RADIOSS (Bulk Data) user profile. Each element in this
case will have a unique THETA value as defined by the projection. How each analysis code interprets
this information varies. For RADIOSS (Bulk Data), refer to the CQUAD4 and PCOMP(G) bulk data cards
16. Click return to exit the Card Edit panel and return to the composites panel.
This value specifies, in model units, how large the review vectors are when displayed.
6. Click color and select the display color of the review vectors or lines.
7. Click set.
This function assigns a material angle of 45 degrees to the selected elements, which for RADIOSS (Bulk
Data) is defined as the angle 45 degrees from the vector direction connecting node1 and node2 of the
shell element (that is, the element coordinate system x-axis) using right hand rule. In order to use right
hand rule, the normal direction of the element must be known and can be determined from the tools
page, normals panel. This can be verified by reviewing the THETA field of the CQUAD4 card populated
with a 45-degree angle for the currently loaded RADIOSS (Bulk Data) user profile. Each element in this
case will have a THETA of 45 degrees. How each analysis code interprets this information varies. For
RADIOSS (Bulk Data), refer to the CQUAD4 and PCOMP(G) bulk data cards in the Bulk Data Section of
the RADIOSS Reference Manual. For visualization purposes HyperMesh defines a vector using
RADIOSS (Bulk Data) convention on the face of the shell elements to define the x-axis of the material
coordinate system. 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.
14. Click return to exit the Card Edit panel and return to the composites panel.
4. Click select.
5. Set ply = 1.
The yellow_sample collector has a PCOMP card image assigned to it with the following laminate
definition (45/60/90)s. The PCOMP definition assigned to the yellow_sample collector can be reviewed
through the card editor, as follows:
8. Click props.
9. Select yellow_sample.
The first ply defined on the PCOMP card is the most negative z-axis ply as determined from the element
normal. All ply angles on the PCOMP card are relative to the material coordinate direction set in the
above exercises using right hand rule. In order to use right hand rule, the normal direction of the element
must also be known and can be determined from the tools page, normals panel. For RADIOSS (Bulk
Data), refer to the PCOMP(G) bulk data cards in the Bulk Data Section of the RADIOSS Reference
Manual.
14. Click return to exit the Card Edit panel and return to the composites panel.
This value specifies, in model units, how large the review vectors are when displayed.
16. Click color and select the display color of the review vectors or lines.
18. Additional ply angles can be reviewed by reselecting elements, entering a ply ID, and clicking review.
Elements that do not have ply angles assigned will not be displayed. Ply directions are set through card
images in solver template; an example is PCOMP card for RADIOSS (Bulk Data).
· Modify the mesh and remap the loads to the new mesh
The model geometry is of a C-channel with two reinforcement ribs. The various surfaces are organized
into several component collectors.
3. Select OptiStruct.
4. Click OK.
3. Select a color.
5. Click Create.
6. Similarly, create two more load collectors with names pressure and forces, assign colors to them, and
select no card images.
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 Analysis page: forces, moments, constraints, pressures, and
temperatures.
In this step, you 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 following image).
Step 3: Fully constrain the bottom eight lines of the c-channel using the constraints
2. From the BCs menu, click Create, then Constraints to open the Constraints panel.
5. Select the eight lines defining the bottom portion of the c-channel.
Lines to constrain
This is the size of the icons that will be used to represent the constraints in the graphics area.
8. 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.
This applies these constraints to the selected lines. They display as a triangular icon. Checking the box
for label constraints displays what degrees of freedom are constrained.
Step 4: Apply a pressure of 25 units normal to the top three surfaces using the
pressures panel.
2. From the BCs menu, click Create then Pressures to open the Pressures panel.
4. Set the entity selector to surfs and pick the three surfaces defining the top of the c-channel.
5. Click magnitude = and enter the value –25 for the pressure.
Specifying a negative magnitude ensures that the pressure load is pushing down on the surfaces. By
default the pressure load is created normal to the surfaces.
An arrow is used for the graphical display of pressure loads. The size of the arrow can be input as a
value or as a percentage of the actual pressure load applied. In this exercise, you will specify its length
as a certain number.
This is the size the arrows will have in the graphics area.
In this exercise, you will not display the actual value of the pressure load in the graphics area.
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.
Step 5: Create forces at the eight corners of the three top surfaces.
1. In the Model browser, set the current load collector to forces.
2. From the BCs menu, click Create then Forces to open the Forces panel.
4. Set the entity selector to points and select the eight fixed points defining the corners of the c-channel’s
top surfaces.
The minus sign is used to specify a direction opposite to the one you will select in the next step.
10. Click the direction definition switch below magnitude =, and select z-axis.
This creates a number of point forces, with the given magnitude in the z-direction, to be applied to the
fixed points selected.
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 you 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. You will now create
these elements.
This ensures that the elements created go into the surface’s component collector.
7. Set the meshing mode to automatic.
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.
8. Click mesh.
Meshed c-channel
In this step, you quickly created a shell mesh on the surfaces. You can now try to map the loads that were
applied to geometric entities onto these finite elements.
In this step, 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. From the Analysis page, select the load on geom panel.
2. Click loadcols and check the box next to constraints from the list of load collectors.
3. Click select.
4. Click map loads.
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
The pressure loads previously applied to the surfaces are now mapped to the nodes associated with
these surfaces. These pressure loads are placed in the same load collector as the ones applied to the
geometry.
The Custom template allows you to determine which loads are exported.
If all is selected, all the loads on geometry that have not been mapped (if any), are mapped to loads on mesh
and all the loads on mesh are exported.
If displayed is selected, all the displayed loads on mesh (if any) are exported. All the loads on mesh
associated with the displayed loads on geometry (if any) are exported as well. If any loads on geometry are
displayed and have not been mapped, they will automatically be mapped to loads on mesh and exported as
well.
In this step, use the display panel to ensure that only the already mapped loading conditions are exported.
One load collector stores both loads on geometry and loads on mesh. The mesh (or multiple meshes) is
associated with the geometrical entities to which the loads on geometry have been applied. Each load type
is stored in a dedicated section of the same load collector.
1. Use the Model browser to turn off the display of the loads applied to geometric entities.
· Left-click the geometry display buttons in your Model browser so your component display changes
from this:
to this:
4. Set Export: to Displayed, and export the model to your working directory as an OptiStruct deck.
Since loads applied to geometry were turned off in the display panel previously, only the loads mapped
previously will be exported using the displayed option in the export sub-panel. You may open the
exported deck in any text editor to verify that no RADIOSS FORCE card has been exported in the deck.
In this section you experimented with the behavior of the export sub-panel when it comes to loads applied to
geometry and elements. You learned that with different combinations of the all/displayed option and loads
displayed in the disp panel, you can control what information gets exported.
Step 9: Modify the mesh and remap the loads to the new mesh.
Besides the convenience they offer, loads applied to geometry give you the flexibility of re-applying them as
many times as you want to different meshes. This feature is particularly useful when remeshing a model
without deleting complicated loads or boundary conditions. After remeshing, loads or boundary conditions
that have been applied to geometrical entities can be easily remapped to the new mesh, while loads applied
to elements are automatically deleted when the elements themselves are deleted.
In this step, remesh the surfaces and remap the loads on geometry to the new mesh.
1. Go to the automesh panel.
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.
New mesh
Step 10: Map all the loads on geometry to the new mesh using the load on geom
panel.
1. From the Analysis page, select the load on geom panel.
2. Click loadcols and check the boxes next to constraints, pressure, and forces.
3. Click select.
4. Click map loads.
The loading conditions initially defined for the geometric entities are now applied to the new mesh. The
various loading conditions are placed into the same load collector as the corresponding ones applied to
the geometry. Note that you did not have to display these loads to map them.
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 step, you experimented with the remapping 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
Summary
In this tutorial, you used several boundary condition creation panels to generate constraints and various
loading conditions on geometric entities. You then experimented with the mapping of these loads on
geometry onto finite elements. You also familiarized yourself with the rules that govern the export of loads on
geometric entities.
No consideration to the creation of specific card images that need to accompany the various loading
conditions was given. 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.
· Export options
While HyperMesh supports include formulations for several other solvers, LS-DYNA 970 input decks will be
used for the purpose of this tutorial.
Many FEA solvers allow you to organize your input deck into separate files and provide a mechanism to read
all files linked to a single input deck. This capability is commonly known as "includes." HyperMesh provides
several options for importing such models, one of which preserves the include structure upon import. The
Include browser is available to manipulate these includes. The Include browser lets you create, review,
edit, organize, and update the contents of any HyperMesh model into various include files. Every entity in
HyperMesh then belongs to either the master model or one of its include files.
Step 1: Load the LS-DYNA user profile and import the model.
· Merge: with this option, all the data in the individual includes are merged into the master model and
imported in HyperMesh as a single model. HyperMesh has no knowledge regarding individual
include files with this option.
· Skip: with this option, the INCLUDE statements are simply read as control cards and none of the
contents of the include files are processed. The data within the include files is therefore ignored.
· Preserve: when you select this option, the INCLUDE statements are preserved and the contents of
the include files are processed. In addition, the contents of the include files are "marked" to
remember which include file they belong to. When the deck is exported from HyperMesh, if desired,
all of the entities that are marked as belonging to include files get written back to that include file.
The entire file structure (the master file and all its include files) are rewritten from the HyperMesh
database.
In this section, load the LS-DYNA user profile, then import the LS-DYNA decks (master file and include files)
defining the model. Preserve the organization of the data into the various include files.
2. Select LsDyna.
3. Click OK.
Selecting a solver user profile sets the FE input reader to this solver and loads the solver’s FE output
template. It also loads a macro menu with numerous tools specific to this interface. The graphical user
4. Click Import ( ).
6. Under Import options, from the Include Files: menu, select Preserve and import the following file:
<installation_directory>\tutorials\hm\master.k.
7. Click Import.
This loads the master.k deck into HyperMesh as well as the include files, wheels.key, frame.key
and engine.key, which are also present in the same directory.
Truck model
In this section, the truck model defined with a master deck and several include files was imported into
HyperMesh while preserving the organization of the data between the various files.
In this section, launch the Include browser, review the structure of the model and its organization into the
various includes, and experiment with some of the display and configuration options available.
1. From the View menu, select Include Browser to launch the Include browser.
This is a tree-like organization of the database structure. The Master Model is at the top level of the
include browser. Data, which does not have any references to an include file, is stored in the master
model. Each include file is represented with an icon ( ) along with its name (file name). Each include
can be expanded to reveal its contents. The contents of each include is organized (grouped) into folders
This include contains four folders: Component, Material, Card, and Property.
This folder contains six component collectors as indicated next to its name.
4. Similarly, review the content of the other includes as well as the content of the folders belonging to the
Master Model.
The wheels.key include contains, for example, components, control volumes, groups, materials,
properties, and sets.
Note: While most entities are presented in this tree, elements and nodes are not listed, as this would
5. Right-click white space in the browser and select Collapse Include from the context menu to collapse
all the trees that you expanded.
6. Right-click Master Model and experiment with the display options Show, Hide, and Isolate.
7. Use the Isolate option on each one of the includes to visually review the components they contain.
8. Use the display options from the Include browser to turn on the display of the entire model.
In this section, the Include browser was launched and the organization of the model into the various
includes was reviewed. The Include browser was customized and some of the display options were used to
modify the display of the model in the graphics region.
Step 3: Create new includes, reorganize the model, and locate entities in includes.
Whether you import includes or are simply starting from a ‘flat’ HyperMesh model, you can create new
includes in your database using the Include browser, and organize entities into them using the organize
panel. You can also select entities (using the standard SHIFT and CTRL keys) from the Include browser
and drag them between two includes or between the master model and an include.
To determine which include a specific entity belongs to, you can use the organize panel’s locate function.
In this section, create a new include for the doors and organize the corresponding collectors into it using the
organize panel. Finally, determine which include a certain material belongs to using the locate function.
This adds a new include under the master model with an editable name.
Note: You can add includes under the master model or under includes themselves.
2. Type in the name doors.key for this new include.
This include is now displayed in bold, signifying that it is the current include.
Note: You can rename or make current an include using the context menu displayed when you right-
4. Select the includes sub-panel and set the entity selector to comps.
5. Click dest = and select the doors.key include as the destination for the components.
6. From the graphics area, pick the two doors and their windows, or click comps to access the list of
components and select the components SHELL: DOOR-LEFT, SHELL: DOOR-RIGHT, and SHELL:
DOOR-WINDOWG-LEFT.
An expand/collapse icon is added next to the doors.key include, signifying that data has been placed
under it.
11. In the organize panel, includes sub-panel, set the type of entities to mats.
The dest = field is updated to show which include (or master) file this particular material belongs to. In
this case, it belongs to the wheels.key include.
In this section, a new include was created in the Include browser, and some components from the master
model, as well as their corresponding elements, were moved into it. Finally, the locate function was used to
quickly identify which include a material belonged to.
Step 4: Import new data into an include and export the model.
Initially, the Master Model is always the current file (displayed in bold in the Include browser) and any new
entity you create or bring in HyperMesh is automatically placed in it. You can use the Make Current option
from the Include browser context menu to make any include the current include. As you create a new
include, this include automatically becomes the current include.
The Include File Options… function from the Include browser context menu lets you define export options
for each individual include file: whether the include file should get exported, when the export function is used,
and where the file should be exported.
Under Export options of Export, , you have two options for exporting models that contain includes:
· Merge: in this case, all the data in individual include files is merged into a single master model
during export. The exported file does not contain references to any include files.
· Preserve: with this option, all the data in individual include files are exported separately to their
corresponding files. The references to these includes in the master model file are also maintained.
In this section, create a new include in the master model called barrier.dyn and import a barrier model
into it. Review the include file options for each one of the includes in the model and modify them as needed.
Finally, export the model preserving the includes.
1. In the Include browser, right-click Master Model and select New Include File.
Notice how this new include is displayed in bold, signifying that it is now the current include and any new
data created or brought into HyperMesh will be placed in it.
Notice how barrier.dyn is displayed as bold and both barrier.dyn and doors.key are non-italicized, while
engine.key, frame.key, and wheels.key are all italicized. This is a visual representation of the export
option that is set for each of these three includes.
The File path: option lets you type in or browse for the directory in which the include is to be exported.
The Do not export option lets you specify whether the include should get exported or not when the
model is exported out of HyperMesh.
This box is automatically checked when you read includes into HyperMesh that have their permission
set to read only, as well as includes that are referenced by the master file using absolute paths.
The three files frame.key, wheels.key and engine.key are referenced by the file master.k that
we imported initially using relative paths (edit the master.k file to verify this), but had their permissions
set to read only. In order to export these includes, the Do not export box should be unchecked.
9. Type in a location and name for the master model and click OK. Or, use the open file icon ( ) to
browse for a location, type in the name of the master file and click Save.
10. Go to the directory you selected and verify that all the includes have been exported with the names set in
the Include browser.
Note: Using this option, all the include files are exported as individual files. This is equivalent to using
When you want to export a single ‘flat’ file, use the export sub-panel and set the export option to merge
includes.
This concludes this tutorial. You may discard this model or save it to your working directory for your
reference.
In this tutorial you used the include browser to manage the use of includes in your truck model. Several
options for import, display, organization, and export were used.
· View results
Exercise
1. Click the Import ( ) toolbar button, then select Import Fe Model icon ( ).
The Optimization Repository gives an overview of all optimization related entities in the database. Info
types and children entities help give a clear snapshot without having to review individual entities.
3. Right-click the Optimization Problems folder and click Create, then Optimization Problem.
5. Drag and drop all the entities from the repository into the newly created problem.
You can drag and drop entities from the repository into problems or problems into problems. Any
combination of selected entities can be dragged and dropped.
2. Drag and drop all the entities defined in the repository to the newly created problem.
Notice that you will have two design variables defined for the Free Size problem.
3. Right-click on the shell design variable and click Remove from Problem.
Once problems are defined, only one can be export at a time. The problem set to export is in bold, and
furthermore, the entity state browser shows these rules.
2. Open the OptiStruct panel.
3. Set the export options to custom.
4. Save the input file as cclip_topology.fem.
The Optimization View allows one .hm for all optimization problems, and it is up to the user to wisely
name each input file.
6. Repeat these steps for the Free Size problem and view the results in HyperView.
Tools
The User page is available on the Utility menu. It can be accessed in the following way:
Users may add command files and Tcl/Tk scripts to the userpage.mac file. When HyperMesh starts, it
first looks for the userpage.mac file in the directory from which it launches and then in the installation
directory. UNIX users also have the option of putting the userpage.mac file in their home directory.
The userpage.mac file controls the display and available operations on the User page of the HyperMesh
Utility menu. To invoke a command file or Tcl/Tk script from the User page, a button must be defined inside
the userpage.mac file. The *createbutton command is used to define the button and its
characteristics. The syntax for this command is:
*createbutton(page, name, row, column, width, COLOR, helpString, macroName [ ,
arg1 … ])
Exercise
To create a button on the User page that will launch the lighting.tcl dialog from the HyperMesh
installation:
When HyperMesh starts, it first looks for the userpage.mac file in the directory from which it launches
and then in the installation directory. On Windows, the default launch directory is in the My Documents
folder. UNIX users also have the option of putting the userpage.mac file in their home directory. It is
not recommended to modify the userpage.mac file in the installation directory.
Notice that the full path is not used to reference the lighting.tcl script. A full path can be specified
if the file is not located in one of the predefined paths that HyperMesh searches to find scripts. Users
can add additional search paths using the TCL_INCLUDE environment variable. Relative paths can also
be used from these search paths.
2. Save the modified userpage.mac file.
To reload the current macro menu .mac file while HyperMesh is open, select the Files menu, select
Load, and choose Macro. Make sure to load the proper .mac file from the hm\scripts\<profile
name> directory based on the current user profile, or load the default hm.mac in the
2. Press the User button on the Utility menu. You will see Lighting, the button defined in Step 2.
Compare this button to its definition. It is yellow in color, begins in column 5 of row 10, and extends half
way across the Utility menu.
· Create a new button on the User page of the Utility menu to run the macro
Tools
In order to execute command file commands or Tcl scripts from a button on any of the HyperMesh Utility
menu pages, a Utility menu macro must first be defined. A Utility menu macro contains valid command file
or templex commands that execute the appropriate operations, and is defined using the *beginmacro 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. These macros are defined within the .mac files,
including the userpage.mac file.
The following skeleton code shows the format of a Utility menu macro:
*beginmacro(macroname)
command statements go here
*endmacro()
Exercise
Create a Utility menu macro from a command file that saves the model and add a button on the User page
that will launch the macro:
1. Define the task.
2. Delete the existing command.cmf file. This file is located in either the start-in directory or the current
working directory.
6. Modify as necessary and add macro wrapper commands *beginmacro and *endmacro.
7. Add macro button using *createbutton that calls the new macro defined in Step 6.
8. Reload the current .mac file into HyperMesh to load the modified userpage.mac.
· Use the file browser to locate a directory and enter the name for the filename.
· Click Save.
Remember this is just a temporary file and will be overwritten each time the macro is executed.
3. Click Save.
2. Locate the *writefile command at or near the end of the command.cmf file.
2. Paste the *writefile command copied from the command.cmf file inside the userpage.mac file.
Step 6: Modify as necessary and add Utility menu macro wrapper commands.
2. Enclose the commands from Step 5 between the wrapper commands *beginmacro and *endmacro.
In the *beginmacro command, name the macro macroSave.
*beginmacro(macroSave)
*writefile("temp.hm",0)
*endmacro()
The macro name macroSave will be used to connect the button with the macro via the macroName field
in the *createbutton command.
The command *answer(yes) automatically answers “yes” if prompted to overwrite the file in the event
temp.hm already exists.
This creates a button on page 5 (User page), names it, places it in the 20th row, starts it at column 0,
sets the width at 10 columns, applies to it the color green, provides a help string and references the
macro macroSave defined in Step 6.
2. Save the userpage.mac file.
Step 8: Reload the current .mac file into HyperMesh to load the modified
userpage.mac.
To reload the current macro menu .mac file while HyperMesh is open, from the Files menu select Load,
then choose Macro. Make sure to load the proper .mac file from the hm\scripts\<profile name>
directory based on the current user profile, or load the default hm.mac in the hm\bin\<platform>
directory if no user profile is loaded.
The new button labeled Save File should be on the User page.
The file is saved to the directory specified in the *writefile command. In this case no directory is
specified so HyperMesh saves the file to the start-up or current working directory. It will always save
with the name specified in the macro (in this case, temp.hm).
· Create a new button on the User page of the Utility menu to run the macro
Tools
In order to execute command file commands or Tcl scripts from a button on any of the HyperMesh Utility
menu pages, a Utility menu macro must first be defined. A Utility menu macro contains valid command file
or templex commands that execute the appropriate operations, and is defined using the *beginmacro 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. These macros are defined within the .mac files,
including the userpage.mac file.
The following skeleton code shows the format of a Utility menu macro:
*beginmacro(macroname)
command statements go here
*endmacro()
· From the Menu Bar, select Collectors, then Create, then Load Collector
This toolbar can be accessed from the Menu Bar by selecting View, then Toolbars, then Collectors
The load collectors panel allows you to create and update load collectors.
· From the Menu Bar, choose BCs, then Create, then Constraints
Create a Utility menu macro from a command file that creates constraints on a plane and add a button on
the User page that will launch the macro:
1. Define the task.
2. Delete the existing command.cmf file. This file is located in either the start-in directory or the current
working directory.
6. Modify as necessary and add macro wrapper commands *beginmacro and *endmacro.
7. Add macro button using *createbutton that calls the new macro defined in Step 6.
8. Reload the current .mac file into HyperMesh to load the modified userpage.mac.
· Apply constraints to the nodes on the end of the beam lying in the YZ plane.
1. From the Files menu, choose Open and load the file, c_channel-tcl.hm.
5. Click create.
6. Open the constraints panel.
7. Active the create sub-panel.
The plane that will be selected is the XY plane. This is accomplished by selecting the x-axis vector,
which is normal to the XY plane. The base node option is then highlighted, allowing a node on one end
of the beam to be selected as the base node for the plane. All nodes on that plane are highlighted when
select is clicked.
9. Click create.
Observe the *createmark command 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 the user (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.
2. Paste the commands copied from the command.cmf file inside the userpage.mac file.
Step 6: Modify as necessary and add Utility menu macro wrapper commands.
1. Enclose the commands in Step 5 between the wrapper commands *beginmacro and *endmacro. In
the *beginmacro command, name the macro macroEdge_Const as shown, following. Remove any
lines copied from the command.cmf file that are not shown, following.
*beginmacro(macroEdge_Const)
*collectorcreate(loadcols,"constraints","",11)
*loadcreateonentity_curve(nodes,1,3,1,0,0,0,0,0,0,0,0,0,0,0)
*endmacro()
The macro name macroEdge_Const will be used to connect the button with the macro via the
macroName field in the *createbutton command.
"on plane" is one of many selection methods available. This method allows the selection of only
entities that lie within a tolerance (in this case, 0.5) of the plane defined at the point (0,0,0) with normal
vector (1,0,0). In this exercise, this is the YZ plane. See the Input Collectors online help topic for further
details.
*beginmacro(macroEdge_Const)
*collectorcreate(loadcols,"constraints","",11)
*loadcreateonentity(nodes,1,3,1,0,0,0,0,0,0)
*endmacro()
This creates a button on page 5 (User page), names it, places it in the 20th row, starts it at column 0,
makes it 10 columns wide, gives it the color green, provides a help string and references the macro
macroSave defined in Step 6.
2. Save the userpage.mac file.
The new button labeled Edge Const should be on the User page.
2. Click this button to run the macro that automatically creates constraints on the outer row of nodes.
Some commands used in this exercise are very model-specific. For example, creating a load collector
named “constraints” may cause an error if the collector already exists. Also, selecting nodes using the
by plane option and specifying the YZ plane may not be applicable to a lot of situations.
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 the user with a selection panel for the entity specified. For this macro, the
*createmarkpanel command could be used to allow the user to select the appropriate nodes.
Additionally, this Utility menu macro could be converted to a Tcl script that allows for additional logic
and error checking controls. This way, the user could also be prompted to enter a name for the load
collector using hm_getstring. An error check could then be performed to determine if that load
collector already exists, and appropriate action would then be taken.
· Create a new button on the User page of the Utility menu to run the macro
Tools
In order to execute command file commands or Tcl scripts from a button on any of the HyperMesh Utility
menu pages, a Utility menu macro must first be defined. A Utility menu macro contains valid command file
or templex commands that execute the appropriate operations, and is defined using the *beginmacro 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. These macros are defined within the .mac files,
including the userpage.mac file.
The following skeleton code shows the format of a Utility menu macro:
*beginmacro(macroname)
command statements go here
*endmacro()
Exercise
Create a Tcl script from the command file commands, create a Utility menu macro that runs the Tcl script
and add a button on the User page that will launch the macro:
1. Define the task.
2. Delete the existing command.cmf file. This file is located in either the start-in directory or the current
working directory.
5. Create a Tcl script by converting the commands to Tcl format and modifying as necessary.
6. Create a new utility menu macro that runs a Tcl script.
7. Add macro button using *createbutton that calls the macro created in Step 6 with the appropriate
Tcl script filename.
8. Reload the current .mac file into HyperMesh to load the modified userpage.mac.
· From the Menu Bar, select Files, then the Save as….
· Use the file browser to locate a directory and enter the name for the filename.
· Click Save.
1. From the Menu Bar, select Files, then the Save as….
2. Using the file browser, locate a directory to save the temporary file with the name temp.hm.
Remember this is just a temporary file and will be overwritten each time the macro is executed.
3. Click Save.
2. Locate the *writefile command at or near the end of the command.cmf file.
Step 5: Create a Tcl script names savefile.tcl, convert the commands to Tcl
format and modify as necessary.
1. Create a new file named savefile.tcl using any text editor.
2. Paste the *writefile command copied from the command.cmf file inside the savefile.tcl file.
3. Remove all () and , and replace them with spaces. Also remove the “ “. The command should look
like:
The command *answer yes automatically answers “yes” if prompted to overwrite the file in the event
temp.hm already exists. Notice that there are no parentheses.
*beginmacro("EvalTcl")
*evaltclscript($1,0)
*endmacro()
The macro name EvalTcl will be used to connect the button with the macro via the macroName field in
the *createbutton command.
This creates a button on page 5 (User page), names it, places it in the 20th row, starts it at column 0,
sets its width at 10 columns, applies to it the color green, provides a help string and references the
macro EvalTcl defined in Step 6.
Notice that the full path is not used to reference the savefile.tcl script. A full path can be specified
if the file is not located in one of the predefined paths that HyperMesh searches to find scripts. Users
can add additional search paths using the TCL_INCLUDE environment variable. Relative paths can also
be used from these search paths.
2. Save the userpage.mac file.
Step 8: Reload the current .mac file into HyperMesh to load the modified
userpage.mac.
The new button labeled Save File should be on the User page.
2. Click this button to automatically save your file.
The file is saved to the directory specified in the *writefile command. In this case no directory is
specified so HyperMesh saves the file to the start-up or current working directory. It will always save
with the name specified in the macro, in this case temp.hm.
· Create a new button on the User page of the Utility menu to run the macro
Tools
In order to execute command file commands or Tcl scripts from a button on any of the HyperMesh Utility
menu pages, a Utility menu macro must first be defined. A Utility menu macro contains valid command file
or templex commands that execute the appropriate operations, and is defined using the *beginmacro 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. These macros are defined within the .mac files,
including the userpage.mac file.
The following skeleton code shows the format of a Utility menu macro:
*beginmacro(macroname)
command statements go here
*endmacro()
· From the Menu Bar, choose Collectors, then Create, then Load Collector
· From the Menu Bar, select View Toolbars, then select Collectors
The load collectors panel allows you to create and update load collectors.
· From the Menu Bar, select BCs, then Create, then Forces
5. Create a Tcl script by converting the commands to Tcl format and modifying as necessary.
6. Create a Utility menu macro that runs a Tcl script.
7. Add macro button using *createbutton that calls the macro created in Step 6 with the appropriate
Tcl script filename.
8. Reload the current .mac file into HyperMesh to load the modified userpage.mac.
1. From the Menu Bar, select File..., then Open, and then load the file, c_channel-tcl.hm.
5. Click create.
6. Open the forces panel.
7. Active the create sub-panel.
9. Click create.
*createmark(nodes,1) 3237
*loadcreateonentity_curve(nodes,1,1,1,0,0,23,0,0,23,0,0,0,0,0)
Observe the *createmark command 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 the user (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.
2. Paste the copied commands from the command.cmf file inside the create_force.tcl file.
3. Remove all () and , and replace them with spaces. The commands should look something like:
*loadsize 1 15 0 1
*loadcreateonentity_curve nodes 1 1 1 0 0 23 0 0 23 0 0 0 0 0
The command *createmarkpanel presents the user with a selection panel for the entity specified.
The commands should now look like this:
*loadsize 1 15 0 1
*loadcreateonentity_curve nodes 1 1 1 0 0 23 0 0 23 0 0 0 0 0
5. If you want to let the user specify the magnitude, prompt the user for a value using hm_getfloat. Then
replace the hard coded magnitude in the *loadcreateonentity_curve command with the user
defined value. The commands should now look like this:
*loadsize 1 15 0 1
*beginmacro("EvalTcl")
*evaltclscript($1,0)
*endmacro()
The macro name EvalTcl will be used to connect the button with the macro via the macroName field in
the *createbutton command.
This creates a button on page 5 (User page), names it, places it in the 16th row, places its start at
column 0, gives it a width of 10 columns, applies to it the color green, provides a help string and
references the macro create_force.tcl defined in Step 6.
Notice that the full path is not used to reference the create_force.tcl script. A full path can be
specified if the file is not located in one of the predefined paths that HyperMesh searches to find scripts.
Users can add additional search paths using the TCL_INCLUDE environment variable. Relative paths
can also be used from these search paths.
2. Save the userpage.mac file.
Step 8: Reload the current .mac file into HyperMesh to load the modified
userpage.mac.
To reload the current macro menu .mac file while HyperMesh is open, from the Files menu select Load,
then Macro. Make sure to load the proper .mac file from the hm\scripts\<profile name> directory
based on the current user profile, or load the default hm.mac in hm\bin\<platform> if no user profile is
loaded.
The new button labeled Create Force should be on the User page.
2. Click this button to run the Tcl script that automatically creates forces in the z-direction of the selected
nodes.
The new forces are created on the specified nodes with the given magnitude and placed in the current
load collector If no load collector exists, the forces are placed in a load collector called auto1.
It is often necessary to debug Tcl scripts using the command window. This allows you to run the Tcl
script and easily review error messages, as well as print out debug information. Additional details can be
found in the Creating Tcl Scripts and Running Tcl Scripts sections.
Tools
The Tcl commands if, foreach and expr will be used to add logic and mathematical functions to the
script. The command hm_getentityvalue is used to extract information from HyperMesh entities, based
on data names.
Data names are generic references to the information that physically define an entity in the HyperMesh
environment. An example of this is the x, y, and z coordinates that define a node location in three-
dimensional space. The available data names for each entity can be found in the HyperMesh Reference
Guide > Scripts > Introduction > Data Names topic.
Data names are accessed using the hm_getentityvalue command. This command uses the data
names available for an entity to return the particular value of interest. The command will return a value that is
either a string or a numeric value, depending on the command syntax and the value stored in that particular
data name field. The basic syntax of the command is:
hm_getentityvalue entity_type id data_name flag
where entity_type is the requested entity type (elements, loads, nodes, etc.), id is the entity ID, the
data_name is the data field name of interest, and flag is either 0 or 1 depending on whether the command
should return a numeric value (0) or a string (1).
To retrieve the x-component of a force with ID 12, the following command can be used:
set force_x [hm_getentityvalue loads 12 "comp1" 0]
Note that to assign the value from the command to a variable, the command is placed within square
brackets.
Exercise
Create a Tcl script to compute the resultant sum of a given selection of forces. This requires that the script
read data from the force entities and manipulate the data to calculate the resultant. To calculate the
resultant of the forces, retrieve the x, y, and z components of the forces and compute a vector sum.
1. Define the process.
2. Determine the data names to use to extract the force components.
3. Create the Tcl script and add logic as necessary.
4. Test the script.
Step 2: Determine the data names to use to extract the force components.
The following table lists several relevant data names for force loads:
$z_comp_sum ";
} else {
2. Click and drag to open the Command window from the top or bottom edge of the screen.
source filename.tcl
It is often necessary to debug Tcl scripts using the Command window. This allows you to run the Tcl
script and easily review error messages, as well as print out debug information. Additional details can be
found in the Creating Tcl Scripts and Running Tcl Scripts sections.
There are several important assumptions used when creating this script.
· The user will always select force loads, as opposed to moments, pressures, etc.
· The forces are applied to nodes, as opposed to comps or sets, and are valid to sum.
· All of the forces are applied in the same coordinate system so that it is valid to sum the component
values directly.
If any of these assumptions are not true, the values returned by the script may be invalid. Additional
conditional logic can be programmed to check for each of these situations and an error message can be
returned or they can be handled appropriately.
In this tutorial you will create a Tcl script that creates spline surfaces from the nodes of selected tria
elements.
Tools
The Tcl commands if, foreach, and incr will be used to add logic to the script. The command
hm_getentityvalue is used to extract information from HyperMesh entities, based on data names.
Data names are generic references to the information that physically define an entity in the HyperMesh
environment. An example of this is the x-, y-, and z-coordinates that define a node location in three-
dimensional space. The available data names for each can be found in the HyperMesh Reference Guide >
Scripts > Introduction > Data Names topic.
Data names are accessed using the hm_getentityvalue command. This command uses the data
names available for an entity to return the particular value of interest. The command will return a value that is
either a string or a numeric value, depending on the command syntax and the value stored in that particular
data name field. The basic syntax of the command is:
where entity_type is the requested entity type (elements, loads, nodes, etc…), id is the entity ID, the
data_name is the data field name of interest, and flag is either 0 or 1 depending on whether the command
should return a numeric value (0) or a string (1).
To retrieve the x-component of a force with ID 12, the following command can be used:
set force_x [hm_getentityvalue loads 12 "comp1" 0]
Note that to assign the value from the command to a variable, the command is placed within square
brackets.
Exercise
Create a Tcl script that creates spline surfaces from the nodes of selected tria elements. This requires that
the script read data from the element entities. To create the spline surfaces, retrieve the 3-node IDs of the
tria elements.
1. Define the process.
2. Determine the data names to use to extract the element type and node IDs.
3. Create the Tcl script and add logic as necessary.
4. Test the script.
· Prompt the user to select a number of tria elements to create spline surfaces from.
Step 2: Determine the data names to use to extract the element type and node IDs.
The following table lists several relevant data names for tria elements:
set success_count 0;
foreach elem_id $elems_list {
set config [hm_getentityvalue elems $elem_id "config" 0];
if {$config != 103} {
continue;
}
set node1 [hm_getentityvalue elems $elem_id "node1.id" 0];
set node2 [hm_getentityvalue elems $elem_id "node2.id" 0];
set node3 [hm_getentityvalue elems $elem_id "node3.id" 0];
*surfacemode 4;
*createmark nodes 1 $node1 $node2 $node3;
*splinesurface nodes 1 0 1 1;
incr success_count;
*entityhighlighting 1;
hm_commandfilestate 1;
2. From the Menu Bar, select View, then Command Window Configuration to choose whether the
Command window should be located on the top or the bottom of the screen.
3. Click and drag to open the Command window from the top or bottom edge of the screen.
It is often necessary to debug Tcl scripts using the Command window. This allows you to run the Tcl
script and easily review error messages, as well as print out debug information. Additional details can be
found in the Creating Tcl Scripts and Running Tcl Scripts sections.
5. Select a few of the tria elements and observe the spline surfaces that are created.
· Only first order tria elements are considered. It is possible to add if/elseif logic to support other
element configurations.
· The data names for the nodes associated with an element are pointers. A pointer is used to directly
access another data name. This means they “point” to the data names available for nodes. In order
to retrieve any data from a pointer, the data name requested for the particular pointer must also be
supplied. The additional data names are separated by a period or dot (.).
In this tutorial you will create a Tcl script that determines the radius of an arc.
Tools
The Tcl commands if and expr will be used to add logic and mathematical functions to the script. The
command hm_getentityvalue is used to extract information from HyperMesh entities, based on data
names.
Data names are generic references to the information that physically define an entity in the HyperMesh
environment. An example of this is the x, y, and z coordinates that define a node location in three-
dimensional space. The available data names for each entity can be found in the HyperMesh Reference
Guide > Scripts > Introduction > Data Names topic.
Data names are accessed using the hm_getentityvalue command. This command uses the data
names available for an entity to return the particular value of interest. The command will return a value that is
either a string or a numeric value, depending on the command syntax and the value stored in that particular
data name field. The basic syntax of the command is:
where entity_type is the requested entity type (elements, loads, nodes, etc…), id is the entity ID, the
data_name is the data field name of interest, and flag is either 0 or 1 depending on whether the command
should return a numeric value (0) or a string (1).
To retrieve the x-component of a force with ID 12, the following command can be used:
set force_x [hm_getentityvalue loads 12 "comp1" 0]
Note that to assign the value from the command to a variable, the command is placed within square
brackets.
Exercise
Create a Tcl script that determines the radius of a user selected arc. One point on the line and the center of
the arc will need to be calculated.
· Calculate the distance between one end of the arc and the center node using node coordinate data
names.
Step 2: Determine the data names to use to extract the node coordinates.
The following table lists several relevant data names for nodes:
*nodecreateonlines lines 1 3 0 0;
*createcenternode -1 -2 -3;
*createmark nodes 1 -1 -2 -3 -4;
set node_list [hm_getmark nodes 1];
*nodecleartempmark;
*entityhighlighting 1;
hm_commandfilestate 1;
}
hm_markclear lines 1;
hm_markclear nodes 1;
2. From the Menu Bar, select View, then Command Window Configuration to choose whether the
Command window should be located on the top or the bottom of the screen.
3. Click and drag to open the Command window from the top or bottom edge of the screen.
source filename.tcl
It is often necessary to debug Tcl scripts using the Command window. This allows you to run the Tcl
script and easily review error messages, as well as print out debug information. Additional details can be
found in the Creating Tcl Scripts and Running Tcl Scripts sections.
Tools
The Tcl command if will be used to add logic to the script. The commands *dictionaryload and
*attributeupdatedouble are used to assign information to the property collector.
Solver-specific data created from the HyperMesh template system is stored in card images. Each piece of
data that defines a card image has a text string (data name) and a numeric attribute ID. An example is the
Young’s Modulus for a material.
Templates exist for each solver supported by HyperMesh and are located in sub-folders under the
<altair_home>\templates\feoutput directory. These templates define every solver-specific attribute
including data names, attribute IDs, card image formats, and the format of the data upon export. The
*defineattribute command is used to define attribute data names and IDs in a template file.
In order to determine the commands required to create template-specific data, it is best to run through the
process in HyperMesh and to review the commands that are written to the command.cmf file.
The property collectors panel can be accessed in any of the following ways:
To access this toolbar, from the Menu Bar, select View, then Toolbars, then Collectors
The property collectors panel allows you to create, update, and assign property collectors.
Exercise
Create a Tcl script to create a property collector and assign a thickness. This requires that the script prompt
the user for a name and a thickness value.
1. Define the process.
2. Delete the existing command.cmf file. This file is located in either the start-in directory or the current
working directory.
5. Create a Tcl script by converting the commands to Tcl format and modifying as necessary.
6. Test the script.
· Make sure a property collector with the supplied name does not already exist.
1. If the OptiStruct user profile is not currently loaded, please load it at this time.
2. Open the property collectors panel.
3. Activate the create sub-panel.
4. In the name= field, enter a name for the property.
5. For card image=, select PSHELL.
If a material exists, you can choose to select a material. Additional steps will then need to be taken in
the Tcl code to handle the assigning of a material.
9. Click return.
Step 5: Create a Tcl script by converting the commands to Tcl format and modify it
as necessary.
1. Create a new Tcl file using any text editor.
2. Paste the copied commands from the command.cmf file inside the Tcl file.
3. Remove all () and , and replace them with spaces. Also place semi-colons (;) at the end of each line.
The commands should look something like:
*collectorcreateonly properties "my_prop" "" 11;
*attributeupdatedouble properties 1 95 1 0 0 1;
*attributeupdatedouble properties 1 96 1 2 0 0;
These commands can now be run to duplicate the creation of the PSHELL property. However, simply
running these commands as-is is not very flexible. The property ID, name and values are all hard coded.
The template file location in the *dictionaryload command is also hard coded. Finally, there are a lot of
extra commands that set unnecessary attributes.
4. Remove unnecessary *attributeupdate commands. Since you are only interested in applying the
thickness value, you can remove the other commands, leaving only the following commands:
*collectorcreateonly properties "my_prop" "" 11;
5. In the *attributeupdatedouble command, the ID of the property is hard coded. In order to make
this flexible, you need to replace the hard coded ID with the ID of the new property collector: (Changes
to the above commands are shown below in bold print).
*createmark properties 2 -1
Supplying an ID of -1 to the *createmark command can be used to select the most recently created
entity.
6. The template file path is also hard coded. You can make this flexible using the hm_info command:
The user also needs to be prompted to enter a property name and thickness value. You can then
substitute those variables in the relevant commands:
7. Finally, You need to add logic to test in order to make sure that the property name and thickness values
are valid:
2. Click and drag to open the Command window from the top or bottom edge of the screen.
source filename.tcl
It is often necessary to debug Tcl scripts using the Command window. This allows you to run the Tcl script
and easily review error messages, as well as print out debug information. Additional details can be found in
the Creating Tcl Scripts and Running Tcl Scripts sections.
This tutorial demonstrates how to write an input file for a given fatigue solver using the options available on
the fatigue panel.
Note: Select the transient dynamic option if a dynamic finite element analysis was used to obtain
the stress/strain results for the model.
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 online 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.
This specifies the data in the results file that is written to the output file. In this case, selecting all writes
the stress/strain data for the selected nodes or elements for all loadcases represented in keyhole.res
.
Note: 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 online help.
The next sub-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 the error message, "Results file doesn’t contain nodal values."
· Understand applications for and be able to extract resultant forces and moments from HyperMesh
free body diagram (FBD) capabilities, including defining cross-sections for which resultant forces and
moments are calculated
· Perform free body diagrams within HyperMesh to understand load paths and export free body loads
to detailed models of interest as boundary conditions (BCs) within a submodeling scheme. This
process is graphically shown for reference, following.
Spar2 element set from the global loads model (middle Spar) with free body loads extracted.
Exercises
Exercise 1: Creating Shear Moment Diagrams and Potato Plots from Global Loads Model using Resultant
Force and Moment Functionality
Exercise 2: Extracting Free Body Loads from Global Loads Model and Transfering to Detailed Model as
Boundary Conditions - Submodeling Techniques
Exercise 1: Creating of Shear Moment Diagrams and Potato Plots from Global
Loads Model using Resultant Force and Moment Functionality
3. Click OK.
3. From the Menu Bar, select Tools, then select Set Browser.
Since you will be working with Spar2 you will need to display the elements which represent Spar2 in the
graphics area. Element sets, in addition to components and assemblies, can be used as a model
Elements that represent Spar2 are now displayed in the graphics area. To turn on element shading, from
the visualization toolbar, click Shaded Elements and Mesh Lines ( ).
6. To create nodes on the left end of Spar2, from the Menu Bar, select Geometry, then Create, then Nodes
to go to the Create Nodes panel.
8. Select the nodes on the top and bottom of the left side, and click create.
· From the Menu Bar, select Geometry, then Create, then Systems
· From the main menu, select the 1D page, then click the systems panel
13. Click origin and select left-middle node (from step 1.8).
14. Select right-middle node (from step 1.9) for x-axis node.
· An element set that contains the nodes that define the cross-section and determines which "side"
the resultant force and moment vectors are to be calculated. Only elements connected to the nodes
that define the cross-section, on one side or the other, need to be included in the element set.
However, additional elements can be included for visualization purposes with no effect on the
calculations.
· A summation node that can be any node in the model or that can be automatically set to the
calculated centroid of the defined cross-section. Centroidal calculations are performed using nodal
coordinates that make up the cross-section only, hence element thicknesses associated with the
elements attached to the section are not considered. As such, there could be slight differences in
the calculated centroid and the "true" centroid of the section if thicknesses vary throughout the
section or the section is overly idealized.
· (Optional) A result system that defines the coordinate system for which the resultant force and
moment vectors are transformed into and output for the selected cross-section(s).
2. On the FDB Cross-section Manager panel, click the arrow for Advanced options to display the Auto
create cross-section form.
You will use this form to create cross-sections along the length of Spar2.
Resultant force and moment extractions will be performed on these cross-sections to obtain the
necessary data to generate shear moment diagrams and potato plots. There are two options to define
cross-sections: a manual method and an advanced method. The advanced method automates the
creation of "continuous" cross-sections. The advanced method will be used in this tutorial. See the online
help for details about the manual method.
3. Click Elements twice, and then select all elements that make up Spar2.
4. Click proceed.
6. Click proceed.
7. In the Element set prefix field, enter Spar2_E and in the Node set prefix, enter Spar2_N.
Since the cross-section manager utility creates the necessary element and node sets, you must define
a prefix string for both element and node sets. This string will be appended by an incremental number to
give each created set a unique name. Optional input includes numbering offset which defines an initial
number for which the appended set numbers will begin.
9. Click Accept.
The spreadsheet populates with the definitions of the cross-sections generated by the Auto create
cross-sections utility.
11. Select the Display sections check box and then select any section in the spreadsheet to review the
selected cross-section.
The graphics area will be updated with the element set, node set, sum node, and result system that
define the selected cross-section. Optionally, if you select the Show model check box, the entire
model will be visible in the graphics area with the selected cross-section highlighted in red and the
remainder of the model transparent.
12. Select the first cross-section in the spreadsheet (Spar2_E1; Spar2_N1), hold SHIFT, and select the last
cross-section (Spar2_E8; Spar2_N9) to select the cross-sections for updating their result system.
To update any single or multiple cross-sections, select the cross-sections from the spreadsheet using
CTRL/SHIFT and then select Summation Node or Result System to update these definitions for all
selected cross-sections.
14. Select the system located at the left-middle end of Spar2 (system 102 created in Step 1), and click
Note: You may have to display the Longeron2 system collector from the Model browser (Model tab)
to display system 102.
All cross-sections update to result system 102. Note that system 102 has the x-axis along the length of
the spar, y-axis located at the neutral axis of the beam in the plane of the web, and z-axis perpendicular
to the web of the beam. Also note that the sum node is set to the default centroid, which automatically
calculates the centroid of each cross-section and at which the resulting resultant force and moment
calculations will be performed. The result system is the system for which all resultant force and moment
result vectors will be transformed into and output.
Step 3: Extract resultant force and moment data for all cross-sections of Spar2 for
all load cases.
1. From the Menu Bar, select Post, then Free Body, then Resultant Force and Moment to open the
Resultant Force and Moment tab.
The selected .op2 file loads into the HyperMesh database for use with all FBD utilities until another .
op2 file is selected. It also populates the Subcases list box with all subcases in the selected .op2 file
that contain Grid Point Force (GPFORCE) data. See the FBD documentation in the HyperMesh User's
guide for more details.
3. In the Loadsteps list, select all the loadsteps using the filter buttons on the top of the list box or with
CTRL/SHIFT.
4. In the Cross-sections list, select all Spar2 cross-sections previously defined using the filter buttons on
the top of the list box or with CTRL/SHIFT.
5. Review the following table for a description of the Output options for the resultant force and moment
utility.
Function Description
Zero tolerance Defines any number less than this number is set
to zero for numerical issues.
Create .csv file Creates a .csv file with the results of the
resultant force and moment calculations, which
can be opened directly within standard
spreadsheet applications.
Create .fbd file Creates an .fbd file with the results of the
resultant force and moment calculations, which
can be directly read into HyperGraph to create
shear moment diagrams and potato plots.
7. Select coordinate system 102 which is located at left-middle end of Spar2, and then click proceed.
Note: You may have to display the Longeron2 system collector from the Model browser (Model tab)
to display system 102.
9. Activate the Create load collectors check box and optionally select a default color for the created load
collectors.
11. Activate the Create .csv file check box, and click select from list. ( ) to select an existing .csv file
(append data) or enter a new file name; in this case, enter icw_res_force_moment.csv.
12. Activate the Create .fbd file check box, and click select from list. ( ) to select an existing .fbd file
(append data) or enter a new file name; in this case, enter icw_res_force_moment.fbd.
By default, files are put into the HyperMesh start directory unless you specify another directory or enter
a file name.
13. Click Accept to execute the resultant force and moment calculations on all selected cross-sections for
all selected subcases.
The Resultant Force and Moment Output Summary window displays the resultant force and moment
calculations (see the following image). For each cross-section, there is a separate data block grouped by
loadstep. The data block contains cross-section nodal forces, moments, and the sum of those nodal
forces and moments about the defined sum node, in this case the calculated centroid of the cross-
section. Note that the sum of the moment components (Mx, My, Mz) for each node is not the direct
sum, as the (rXF) terms for the force resultant vector about the sum node must also be added to each
moment component appropriately. The sum of the forces components (Fx, Fy, Fz) for each node is,
however, the simple sum.
This file contains the same results as the summary table in the previous image, but is available for import
into standard spreadsheet or text editor programs.
15. (Optional) Open the .fbd file, icw_res_force_moment.fbd, in any standard text editor program.
By default, files are put into the HyperMesh start directory unless you specify another directory or enter
a file name.
This file contains the same results as the summary table in the previous image, but in a compact format
for use with HyperGraph in generating shear moment diagrams and potato plots of resultant force and
moment data for various cross-sections.
16. Click Close to exit the Resultant Force and Moment utility.
Vector review of the Resultant Force and Moment results in the graphics area is covered in the next
step.
Step 4: Use FBD Results Manager to review resultant force and moment vectors in
graphics area.
1. From the Menu Bar, select Post, then Free Body Results Manager to open the FBD Results Manager
tab.
4. Click proceed.
5. In the FDB Results Manager window, activate the Show model check box to display the entire model
with the selected element set highlighted in red and all other elements transparent. This feature will help
you easily locate the element set within the model.
This operation scans the database for available loadsteps with resultant force and moment results and
populates the Loadsteps: list box.
This operation scans the database for available node sets with resultant force and moment results and
populates the Node sets: list box.
This operation will scan the database for available force and moment vector results and will enable the
check boxes for those force and moment vectors which are available.
9. For Display options, select Fy (shear—the results coordinate system had y-axis in the plane of the
web) and M z (principal bending moment—the results coordinate system had z-axis perpendicular to the
plane of the web).
To determine the result coordinate system applied to a given cross-section of interest, use the FBD
Cross-Section Manager to review the defined cross-section. This operation will show the element set,
node set, results system, and sum node defined for the selected cross-section. Optionally, select other
force components to review their magnitude and direction in the graphics area. Single or multiple force
and moment vector results can be displayed in the graphics area to facilitate data mining and reporting.
10. (Optional) Select Update load collector color and select color to change the color of the selected load
vectors.
The new color setting applies only to the load components selected and is saved in the database.
Therefore, this option can be used to recolor any single or multiple load vectors for any FBD result.
11. Click Accept to visualize the resultant force and moment vectors in the graphics area.
12. (Optional) Continue to review resultant force and moment vectors following Steps 4.2-4.14 for additional
cross-sections.
13. Click Reset to clear the display and reset the form.
2. On the HyperView toolbar, use the pull-down menu to switch to the HyperGraph client.
3. From the Menu Bar, select Utilities, then Free Body Diagrams, then Potato Plot to open the Potato
Plot dialog.
The available cross-sections and loadstpes within the .fbd file are loaded into the form.
5. From the Sections list, select cross-section Spar2_E1_Spar2_N1 as the cross-section for which to
generate potato plots.
Potato plots generate a single plot for each selected cross-section which contains data points for all
selected loadsteps Potato plots effectively "take a slice" through shear moment diagrams at a given
cross-section for all selected loadsteps. Since Spar2_E1_Spar2_N1 is the wing root section for Spar2, it
will be the largest loaded section and hence can be utilized to determine the critical loadsteps for Spar2.
Potato plots can facilitate critical loadstep determination by identifying maximum and minimum loads on
given cross-section. In this case, you are going to be interested in identifying maximum and minimum
shear and moment forces, Fy and Mz respectively. There are other methods for determining critical
loadsteps and standard practices and methods should be examined and utilized.
6. From the Loadsteps list, select all loadsteps using filter buttons next to the list box or using CTRL/
SHIFT.
Note: you can add additional potato plots by selecting alternative X and Y components and clicking Add
Plot. You can also delete defined plots by selecting the plots from the spreadsheet area and
clicking Delete Plots.
10. (Optional) On the Plot Titles tab, enter a Title and Subtitle.
11. On the Plot Options tab, for Reverse sign select cross-section Spar2_E1_Spar2_N1 in the top drop-
down list.
The explanation for the reverse cross-section options is discussed in Step 6.11.
Since one cross-section was selected, one plot will be generated (one for each cross-section). Potato
plots are typically used to determine the loadsteps from which maximum/minimum behavior occurs.
From the resulting potato plot of cross-section Spar2_E1_Spar2_N1 it can be determined that maximum/
minimum loadsteps for shear and moment are SUBCASES 9, 11, 14, and 16. These critical loadsteps
will be considered in future submodeling procedures as a subset of all the loadsteps used to design the
spar. FBD forces will be extracted from these loadsteps in Exercise #2 and applied to a detailed model
of Spar2 so that FBD analysis and design of the spar can be performed.
Step 6: Generate shear moment diagrams for Spar2 for selected subcases.
2. On the HyperView toolbar, use the pull-down menu to switch to the HyperGraph client.
3. From the Menu Bar, select Utilities, then Free Body Diagram, then Shear Moment Plot to open the
Shear Moment Plot dialog.
The available cross-sections and loadsteps within the .fbd file are loaded into the form.
5. From the Sections list, select all sections related to Spar2 (Spar2_E1_Spar_N1 through
Spar2_E8_Spar2_N9) using filter buttons next to the list box or using CTRL/SHIFT.
6. From the Loadsteps list, select SUBCASE 9, SUBCASE 11, SUBCASE 14, and SUBCASE 16 the
critical loadsteps determined in Step 6.5.
7. On the VMT Plots tab, for X component select X. The (X) X component is selected because the
resultant force and moment extraction coordinate system was performed with coordinate system 102
which has the x-axis along the length of the Spar.
Options for X component include X, Y, or Z coordinates as defined from the coordinate system selected
to perform the resultant force and moment extraction (Step 3, part 6).
8. On the VMT Plots tab, for Y component select Fy and M z to plot the shear and principal bending
moment for Spar2.
To determine the result coordinate system applied to a given cross-section of interest, use FBD Cross-
Section Manager to review the defined cross-section. This operation will show the element set, node
set, results system, and sum node defined for the selected cross-section and can help in identifying
which components of force or moment are required for the desired plot.
10. On the Plot Options tab, for Reverse sign select cross-section Spar2_E1_Spar2_N1 in the top drop-
down list.
The option allows for methods to reverse the sign of the results from any single or multiple cross-
sections. The option is useful since, for this particular plot, all cross-sections were defined coming from
the right. However the first section [Spar2_E1_Spar2_N1], since it has no elements to the left of this
cross-section, can only be defined from the left. Cross-sections, defined by the nodes and elements
within their respective sets, can be defined coming from the left or right depending on the elements
chosen for any given nodal cross-section definition. Therefore any given cross-section can be defined
from the left or from the right. The only difference in the results defined either way is that the results will
be opposite in sign but equal in magnitude. Either way, for a shear moment diagram, it is important that
all selected cross-sections be defined coming from the same direction so that the resulting plot is valid.
If you only want the maximum/minimum selected Y components to be plotted from all selected
loadsteps for each cross-section, activate the envelop check box. For this tutorial, do not activate this
check box.
These plots can be used with traditional mechanics of materials calculations such as S = My/I and T =
VQ/IT to calculate stresses for various cross-sections. The plots provide the M (bending or Mz) and V
(shear or Fy) values to these equations which when coupled with cross-section properties which can be
calculated using HyperBeam (from the main menu, select the1D page, then select HyperBeam), allows
for the calculation of the cross-section stresses.
Step 1: Extract free body diagrams for Spar2 using FBD Forces utility.
1. If continuing from Exercise 1, proceed; otherwise open HyperMesh and load the model file, icw_ex2.hm
.
3. If the icw.op2 file is currently loaded, proceed; otherwise, from the .op2 file: browser, select icw.op2.
The selected .op2 file loads into the HyperMesh database for use with all FBD utilities until another .
op2 file is selected. It also populates the Subcases list box with all subcases in the selected .op2 file
that contain Grid Point Force (GPFORCE) data. See the FBD documentation in the HyperMesh User's
guide for more details.
4. In the Loadsteps list, select SUBCASE 9, SUBCASE 11, SUBCASE 14, and SUBCASE 16, the critical
subcases determined in Exercise 1, Step 5.
7. Click proceed.
Elements that represent Spar2 are now displayed in the graphics area. To turn on element shading,
9. Select the system located at the left-middle end of Spar2 (system 102 created in Exercise 1, Step 1),
and click proceed.
Note: You may have to display the Longeron2 system collector from the Model browser (Model tab)
to display system 102.
The result system is the system for which all free body force and moment result vectors will be
transformed into and output.
10. Click Summation Node twice, select the left-bottom node, and then click proceed.
This summation node is the node for which all free body force and moment vector results will be summed
about to generate a single equivalent resultant force and moment vector. Note that for a free body (all
loads), the summation about any point must be zero. Therefore, this feature is typically used to verify
that the extraction produced a free body with zero summation. However, if a free body other than (all
loads) is performed, the selection of the summation node can be used to determine the equivalent
resultant force and moment vector for the extracted free body (applied load only or reaction loads only)
Review the following table for a description of the Output options for the FBD Forces utility.
Zero tolerance Defines any number less than this number is set
to zero for numerical issues.
Create .csv file Creates a .csv file with the results of the
resultant force and moment calculations, which
can be opened directly within any standard
spreadsheet applications.
13. Activate Create load collectors and optionally select a default color for the created load collectors.
15. Activate Create .csv file, browse to the desired location, and type icw_fbd_force.csv.
16. Click Accept to execute the FBD forces calculations for all selected subcases.
The FBD Forces Output Summary window displays the FBD forces calculations (see following image).
There is a separate data block grouped by loadstep. The data block contains free body nodal forces,
moments, and the sum of those nodal forces and moments about the defined sum node. Note that the
sum of the moment components (Mx, My, Mz) for each node is not the direct sum as the (rXF) terms for
the force resultant vector about the sum node must also be added to each moment component
appropriately. The sum of the forces components (Fx, Fy, Fz) for each node is, however, the simple
sum. In addition, the sum for a Free Body – All Loads result should be, and is, zero about any sum
node selected. You can verify this with the SUM line at the bottom of each data block. For other FBD
types, however, the sum about the sum node may or may not be zero, depending on the selections.
17. (Optional) Open the icw_fbd_forces.csv file directly with Microsoft Excel by double-clicking the file
in Windows Explorer. This file contains the same results as the summary table in the previous image,
but is available for import into standard spreadsheet or text editor programs.
Vector review of the FBD forces results in the graphics area is covered in the next step.
Step 2: Use FBD Results Manager to review FBD force vectors in graphics area.
1. From the Menu Bar, select Post, then Free Body Results Manager to open the FBD Results Manager
4. Click select.
5. Click proceed.
6. (Optional) Activate the Show model check box to display the entire model with the selected element set
highlighted in red and all other elements transparent. This feature will help you easily locate the element
set within the model.
This operation scans the database for available loadsteps with FBD Forces – All Loads results and
populates the Loadsteps list box.
This operation will scan the database for available force and moment vector results and will enable the
check boxes for those force and moment vectors that are available.
9. For Display options, select Fy (shear—the results coordinate system had y-axis in the plane of the
web).
To determine the result coordinate system applied to a given cross-section of interest, use FBD Cross-
Section Manager to review the defined cross-section. This operation will show the element set, node
set, results system, and sum node defined for the selected cross-section. Optionally, select other force
components to review their magnitude and direction in the graphics area. Single or multiple force and
moment vector results can be displayed in the graphics area to facilitate data mining and reporting.
10. (Optional) Select Update load collector color and select color to change the color of the selected load
vectors.
The new color setting applies only to the load components selected and are saved in the database.
Therefore, this option can be used to recolor any single or multiple load vectors for any FBD result.
11. Click Accept to make visible the FBD force vectors in the graphics area.
12. (Optional) Continue to review FBD Forces – All Load vector results following steps 2.6 – 2.13 for
additional loadsteps and force/moment components.
13. Click Reset to clear the display and reset the form.
4. Click proceed.
This operation scans the database for available loadsteps with FBD Forces – All Loads results and
populates the Loadsteps list box.
6. For Loadsteps, Select SUBCASE 9, SUBCASE 11, SUBCASE 14, SUBCASE 16.
7. Check the options for Create appropriate loadsteps, and for Output file, browse to the desired location
and enter spar2_fbd_forces.fem.
This operation turns on the display of all load collectors associated with the currently selected FBD
result type for all selected loadsteps. Additional loadsteps can be selected and accepted, which will
append to the current display on each click of accept. In addition, a new element set or FBD result type
can be selected and appended to the current display on each click of accept. To clear the display click
Reset.
9. Click Export.
12. (Optional) On the File menu, click Save as…, and save the HyperMesh database as icw_final.hm.
13. From the Menu Bar, select File, then Exit to exit HyperMesh.
Step 4: Import FBD forces from .fem file into detailed model and solve.
1. Open HyperMesh and load the model file, spar2_ex2.hm.
2. From the Menu Bar, select File, then Import... to open the Import tab.
3. Select Import type: FE Model, File type: RADIOSS (Bulk Data), and browse for file:
spar2_fbd_forces.fem.
4. Click Import.
This operation imports the free body loads from the global model into the detailed model of Spar2. The
next process is to "attach" the free body loads to the detailed model, perform some clean-up operations,
define new loadsteps with the free body loads and a rigid body constraint, and solve the detailed model.
This process will be accomplished in the remainder of this step.
5. From the Menu Bar, select Mesh, then Check, then Nodes, then Equivalence to go to the Edges
panel.
The nodes of the imported loads are equivalenced with those of the detailed model which are overlaying
each other as a consequence of importing the free body loads.
9. Click equivalence to combine nodes that were imported and attached to the loads with those that are a
part of the detailed mesh of Spar2.
Note that when the detailed Spar2 mesh was constructed, attention to where these interface nodes were
located was taken into account by placing fixed points on the surfaces at these locations. The fixed
points maintain a node at that location from the automesher and thus guarantee that a node will exist
where a load is located. This method is only one of several potential methods. Other options could
include importing the loads which do not line up with any other nodes in the detailed mesh and then
connecting the loads to the detailed mesh with R-type elements (RBE2 or RBE3). Several other
possibilities could also exist and best methods and practices should be considered depending on the
problem type.
11. From the Menu Bar, select Collectors, then Delete, then Components to go to the Delete panel.
17. On the Model tab, select the LoadCollector folder, right-click to bring up the context sensitive menu,
and select Hide to remove all loads from the graphics area.
1. Create a load collector for the rigid body constraint definition. From the Menu Bar, select Collectors
, then Create, then Load Collectors to go to the loadcols panel.
5. Click create.
Note: this operation sets the current load collector to the newly created Const load collector. The
current load collector is the collector which any newly created load (constrains in this case) are
placed into.
6. Assign an analysis system to the nodes for which the rigid body constraint will be applied. From the
Menu Bar, select Mesh, then Assign, then Node Analysis System to go to the Systems > Assign
sub-panel.
8. Click system.
9. Select system 102 on left-middle end (x-axis along length, y-axis along web, z-axis normal to web).
Note: You may have to display the Longeron2 system collector from the Model browser (Model
tab) to display system 102.
19. To update the loadsteps for all four free body load cases, perform the following:
1. From the Menu Bar, select Setup, then Edit, then LoadSteps to go to the loadsteps panel.
2. Click name = and select SUBCASE 9.
3. Toggle type to linear static.
4. Select SPC, click =, and select Const load collector.
6. Click update.
7. Repeat steps for SUBCASE 11, SUBCASE 14, and SUBCASE 16.
20. From the Menu Bar, select Setup, then Create, then Control Cards to go to the Control Cards panel.
22. For number_of_formats enter 2, and then hit ENTER on the keyboard.
23. Click each FORMAT button and set them to HM and OUTPUT2, respectively.
24. Click return to specify output file formats for HyperMesh .res (HM) and .op2 which can be used in
HyperView to post-process the results.
26. Click return to request displacement output for both output formats.
28. Click return to request stress output for both output formats.
30. From the Menu Bar, select File, then Save As…, and save the model as spar2_ex2_analysis.hm.
31. From the Menu Bar, select Applications, then RADIOSS to go to the RADIOSS > bulk sub-panel to
run the model.
34. Click Radioss to export the solver deck and run the analysis in RADIOSS using the bulk data format. If
optiskip appears in the options field clear the field before clicking Radioss.
35. Once RADIOSS finishes, click return to exit the RADIOSS panel.
36. In the Post menu, click Deformed panel and review the results of the analysis.
39. Click deform to produce the deformed shape of Spar2 in the graphics area for the selected simulation.
41. On the Post page, click contour to go to the contour panel and review the results of analysis.
46. Click contour to produce the contour plot in the graphics area.
47. (Optional) Continue to use the contour panel to review additional results.
49. (Optional) From the Menu Bar, select File, then Save.