Documente Academic
Documente Profesional
Documente Cultură
0
HyperMesh Core Tutorials
Altair Engineering Contact Information
Web site www.altair.com
HyperMesh
Basics...........................................................................................................................................5
HM-1000: Getting Started with HyperMesh
...........................................................................................................................................6
HM-1010: Opening and Saving Files
...........................................................................................................................................10
HM-1020: Working with Panels
...........................................................................................................................................15
HM-1030:Organizing a Model
...........................................................................................................................................22
HM-1040: Controlling the Display
...........................................................................................................................................32
Geometry
...........................................................................................................................................41
HM-2000: Importing and Repairing CAD
...........................................................................................................................................42
HM-2010: Generating a Midsurface
...........................................................................................................................................51
HM-2020: Simplifying Geometry
...........................................................................................................................................54
HM-2030: Refining Topology to Achieve a Quality Mesh
...........................................................................................................................................61
HM-2040: Creating and Editing Line Data
...........................................................................................................................................72
HM-2060: Creating and Editing Solid Geometry
...........................................................................................................................................87
HM-2070: Geometry and Mesh Editing Using the Quick Edit Panel
...........................................................................................................................................102
HM-2080: Modifying Models using solidThinking
...........................................................................................................................................109
HM-2090: Dimensioning
...........................................................................................................................................111
Meshing
...........................................................................................................................................125
1-D Elements
...........................................................................................................................................126
HM-3000: Creating 1-D Elements
..............................................................................................................................127
2-D Elements
...........................................................................................................................................131
HM-3100: AutoMeshing
..............................................................................................................................132
HM-3110: Meshing without Surfaces
..............................................................................................................................142
HM-3120: 2-D Mesh in Curved Surfaces
..............................................................................................................................150
HM-3130: QI Mesh Creation
..............................................................................................................................155
HM-3140: Batch Meshing
..............................................................................................................................159
HM-3150: Meshing a Model Using Shrink Wrap
..............................................................................................................................167
3-D Elements
...........................................................................................................................................178
HM-3200: Tetrameshing
..............................................................................................................................179
HM-3210: Creating a Hex-Penta Mesh using Surfaces
..............................................................................................................................188
HM-3220: Creating a Hexahedral Mesh using the Solid Map Function
..............................................................................................................................203
HM-3270: Using the TetraMesh Process Manager
..............................................................................................................................211
Quality
...........................................................................................................................................222
HM-3300: Checking and Editing Mesh
...........................................................................................................................................223
HM-3320: Penetration
...........................................................................................................................................236
Assembly
...........................................................................................................................................250
HM-3400: Creating Connectors
...........................................................................................................................................251
Basics
HM-1030:Organizing a Model
Geometry
HM-2070: Geometry and Mesh Editing Using the Quick Edit Panel
Meshing
1-D Elements
2-D Elements
HM-3100: AutoMeshing
3-D Elements
HM-3200: Tetrameshing
Quality
HM-3320: Penetration
Assembly
Morphing
HM-3520: Sculpting
Analysis Setup
HM-4070: OptiView
Customization
Scripts
HM-8050: Create Forces on Nodes and Add a Button on the User Page
Post-Processing
In this tutorial, you will explore the basic concepts of the user interface of HyperMesh.
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
Tab Area The Tab Area is so named because various specialized tools display on tabs
in this area of the interface. Two such examples are the Model Browser
and the Utility Menu.
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.
The Utility Menu contains four pages of tools that perform various
functions, accessed via buttons at the bottom of the menu. By
default, the Disp page is active; 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.
The Tool page contains miscellaneous tools and model checking functions.
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, but can be opened via the View menu.
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
Starting HyperMesh
To start HyperMesh on a PC, go to Start > Programs > Altair HyperWorks > Altair HyperMesh.
2. Enter the full path of the HyperMesh script (e.g., <altair_home>\altair\scripts\hm) and press
the ENTER key.
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.
Start Directory
By default, HyperMesh uses a "start directory" for files. HyperMesh reads and writes a number of files from
the start directory:
Upon closing, HyperMesh writes out a command history file (command.cmf) and a menu settings
file (hmmenu.set).
By default, HyperMesh will read from/write to this directory for any open, save, save as, import, or
export funcionality.
Image files (.jpg) created using the F6 key are saved to the start directory.
2. Go to Properties.
Your "home" directory if configuration files are not found in the start directory
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.
From the menu bar, choose File > Open > Model.
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:
From the menu bar, choose File > Import > Model.
2. From the Import tab in the tab area, click the Import HM model icon , if not already active.
3. Under File selection, click the file icon ( ) and browse to select the file, bumper_mid.hm.
4. Click Import.
HyperMesh model file, bumper_mid.hm, imported on top of existing data in the HyperMesh session
Step 3: Import the IGES geometry file, bumper_end.iges, into the current
HyperMesh session.
1. From the Import tab in the tab area, click the Geometry icon .
2. In the File type: field, select IGES from the pull-down menu.
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 Solver Deck icon .
2. In the File type: field, select 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, click File >Save As > Model.
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:
From the menu bar, choose File > Export > Model.
2. In the Export tab, click the Export Geometry icon if not already selected.
4. Click the folder icon in the File field, browse to the desired destination folder, and enter practice.igs.
5. Click Export.
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 Export.
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 by starting a
new session.
1. Access the New HyperMesh Model function in one of the following ways:
From the menu bar, click File > New > Model.
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. Open the Translate panel by clicking Mesh > Translate > Nodes.
2. Select a few nodes from the graphics area by left-clicking the corners of the elements.
Node selector
The cyan border around the node selector 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 six icons as shown in the following image.
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.
1. Click the direction selector switch
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. Right click in the magnitude = field.
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 > Create > Components.
Right click in the Model Browser and click Create > Component.
4. Leave the material and property unassigned and click Create to create the component collector,
geometry.
Left-click once anywhere in the HyperMesh window (except on a button) to dismiss the message in the
status bar.
The component called geometry is the current component and is bold in the Model Browser.
Step 3: Create two geometry lines and organize them into different components.
1. Access the Lines panel by clicking Geometry > Create > Lines > Standard Nodes.
4. 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.
7. With the node list selector active, select two nodes, opposite and diagonal to each other on another
element.
Notice the line is the same color assigned to the component, rigid. This is because the line is organized
into the current component, rigid.
Step 4: Move all the model’s geometry surfaces into the component, geometry.
1. Click Geometry > Organize > Surfaces to access the Organize panel.
5. Click dest component= and select geometry from the list of components in the model.
6. Click move to move the selected surfaces into the geometry component.
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.
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.
Step 9: Move the component, geometry, to the front in the components list.
1. From the menu bar click Collectors > Reorder > Components.
3. On the right side of the panel, click the switch and select name(id). (Switch from name to name(id).)
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.
The status bar displays the message, "The selected collectors have been moved."
9. Click the comps selector once to review the reordered list of components.
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. From the menu bar click Collectors > Renumber > Components.
11. Click the comps selector to review the model’s component list.
Notice the components are numbered according to their position in the list. Set the view to name(id) if
not already done to see the numbers.
Having components with IDs that do not reflect their position in the model’s list of components will not
result in errors. However, having components with IDs that do reflect their position in the model’s list of
components can be helpful for organizational purposes.
Step 11: Create an assembly containing the components, shells and rigid.
1. From the menu bar click Collectors > Create > Assemblies .
6. Drag the components with the left mouse button over the elements assembly until it highlights. The
components are now added to the assembly.
From the menu bar click Collectors > Create > Load Collectors
Right click in the Model Browser and click Create > Load Collector
The constraints load collector is bold in the Model Browser showing it is the active load collector. 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 move the one constraint in the load collector, constraints.
1. From the menu bar click Collectors > Organize > Load Collectors.
9. Click move to move the selected (constraints) into the load collector, constraints.
4. Click the Color icon and chose the component’s color as pink.
6. 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 15: Review the existing assembly elements from the Model Browser.
1. Left-click the + button next to Assembly Hierarchy then click the + button next to elements to expand
its tree. Notice that it contains two components, rigid and shells.
Note that the Assemblies panel allows you to add components which are in one assembly to another
assembly. The Model Browser does not allow you to do this, but you can create assemblies from it.
Step 16: 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.
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.
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 19: Set the current component from the Model Browser.
1. Right-click shells and select Make Current.
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.
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.
Again, the center of rotation square appears. You can click the middle mouse button on the model to
change the center of rotation.
The model rotates continuously in the direction of your mouse pointer, relative to the center of rotation.
8. With the left 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 left 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.
7. From the menu bat click Preferences > Meshing Options or Geometry Options.
The status bar displays the message "Drag up/down to zoom in/out."
13. Move the mouse pointer into the graphics area, press the left 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.
2. On the Standard Views toolbar, click the XY Top Plane View icon ( ).
3. From the main menu click Preferences > Meshing Options or Geometry Options.
Notice the model rotates by the new specified rotation angle, 90.
8. Use CTRL + left mouse button, or the rotate icons on the toolbar to rotate the model.
9. Use CTRL + middle mouse button, or the zoom icons on the toolbar to zoom into or out on the model.
10. Right click in the Model Browser and click Create > View.
11. Open the View folder to see the new view name.
14. Click XY Plane Top View icon ( ) to display a different view of the model.
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.
1. On the Visualization toolbar, click the arrow to open the Mesh Style ( ) icon list.
3. Right-click in the Model Browser and click Columns > Show FE Style from the context menu.
4. Right click the icon next to the mid1 component in the FE Style column and select Wireframe
Elements Skin Only .
Wireframe Elements Skin Only – Element edges are displayed with lines for Shell elements
only.
Shaded Elements 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.
2. Right-click anywhere in the white space of the Model 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.
The display is reversed. Only the components are now shown instead of everything but components.
10. Click the arrow for the elements and geometry filter to change it from Elements + Geometry, , to
Elements, .
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.
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.
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.
3. Select elems >> by collector, and select the component, end, from the components list.
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
collectors it activated. In this case, the last find command displayed on the components, mid2 and rigid
, in the Model Browser.
Step 12: Change the display of entities using the Mask 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.
Only the components in the model (elements, geometry, and connectors) are displayed. Everything else
is now masked.
The elements in the model are now masked, leaving only surfaces shown.
11. Expand the Elements branch to expose 0D/rigids, springs/gaps, 1D, 2D, and 3D.
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.
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.
2. Click Geometry > Autocleanup to open the Auto Geometry Cleanup panel.
Note that the surface edges are now colored according to their topology status. This occurs because
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
wireframe. The check boxes within this menu turn the display of the different edge types and fixed points
(surface vertices) on or off.
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.
14. Rotate, zoom, and pan to locate any errors in the geometry.
A missing surface
From the menu bar click Geometry > Delete > Surfaces.
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
selected, HyperMesh automatically selects the remaining free edges that form a closed loop, and then
create the filler surface.
6. Pick one of the red lines bounding one of the gaps (missing surfaces).
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. From the menu bar, click Geometry > Edit > Surface Edges > Equivalence.
4. Verify that the cleanup tol= is set to 0.01, which is the global cleanup tolerance specified in the
5. 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 subpanel.
3. In the graphics area, click one of the free edges shown in the following image.
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.
3. With the selector under moved edge: active, click the leftmost free edge in the graphics area.
6. Click replace.
1. From the menu bar, click Geometry > Defeature > Duplicates.
4. Click find.
Step 10: Observe the model again to identify any remaining free edges, or missing
or duplicate surfaces.
1. Use the topology display and shaded modes to perform this task. All of the edges in the model should
be displayed as green shared edges, indicating that we have a completely enclosed thin solid part.
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_mi ds ur f ac e. hm, 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.
2. Verify that the closed solid option and the yellow surfs selector are active.
The midsurface is created, and the surfaces are organized into a new Middle Surface component. Note
that when a midsurface is created, transparency is turned on for all the other components in the model
except the new Middle Surface component. The next step covers how to control surface transparency.
The midsurfaces generated for the solid sections of the model using the auto-midsurface subpanel 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.
You can also drag the slider back and forth to control the level of 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 use the model you saved during the previous tutorial.)
2. Click for the lvl10 component to turn off the geometry display.
Step 3 (Optional): Mesh the clip to view mesh quality before defeaturing.
2. From the menu bar, click Mesh > Create > 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.
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
1. From the menu bar, click Geometry > Defeature > Pinholes to open the Defeature panel.
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. Notice that the mesh updates to follow the changes in the geometry.
2. If the surfaces are not shaded, click Shaded Geometry and Surface Edges ( ).
5. Click find to identify all the surface fillets with radius of 2 or greater.
6. Click remove.
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.
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.
2. From the menu bar, select Mesh > Check > Elements > Check Elements to open the Check
Elements panel.
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 Middle Surface component.
These fixed points are left over from a defeaturing operation where small holes (pinholes) were removed.
They could remain without greatly sacrificing the element quality, given the element size used for the
mesh, but the mesh should be better without them.
3. Zoom into the area indicated below and select the indicated fixed point.
4. 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.
5. Repeat sub-steps 6.2, 6.3, and 6.4 for the following point and line.
6. Repeat sub-steps 6.2, 6.3, and 6.4 for the following point and line.
7. Repeat sub-steps 6.2, 6.3, and 6.4 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.
2. Select each of the lines in the image below using your left mouse button and click suppress.
1. Use the Model Browser to display the elements in the Middle Surface 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, Recompute quality criteria using size of 2.5.
15. Access the Quality Index panel by clicking Mesh > Check > Elements > Quality Index.
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.
Right click in the Model Browser and click Create > Component
From the menu bar, select Collectors > Create > Components.
3. Click the Color: swatch and choose yellow from the list of colors.
4. Click Create.
2. From the menu bar, click Geometry > Create > Nodes > XYZ to access the Create Nodes panel in
the XYZ subpanel.
3. 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
3 0 0 37
4 0 5 25
5 0 5 -2
4. Click return.
5. Click return.
2. With the active selector set to node list, pick node 2 from the graphics area.
5. Click create.
1. Click the Arc Center and Radius icon to access the center & radius subpanel.
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.
4. Click return.
4. Click lines >> duplicate >> 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.
3. Click cut line and pick the line between node 4 and node 5.
4. Click split.
The circle has one quarter split off from the rest.
5. Repeat this procedure, picking the remaining 3/4 arc of the circle and the other line that was just
translated.
6. Click return.
3. Select the lower semi-circle (line IDs 5 and 10) from the graphics area.
5. Click return.
4. Click the plane and vector collector switch and select z-axis.
6. Click lines >> 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 subpanel (Geometry > Edit > Lines > Split at Line).
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 Color: and select purple from the list of swatches.
4. Click Create.
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. Click Geometry > Create > Lines > Intersect.
2. 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.
3. For base, choose the node with ID number 1 to be the base node.
4. 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 Geometry > Edit > Lines > Extend to open the panel.
6. Activate the lower line selector and--with the view still in iso1--select the lower-right edge of the purple
plane.
7. Click extend -.
You can see the line is extended to reach one surface edge.
4. For 1st line, pick the vertical line through which the line extended in step 19 passes.
5. 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.
6. 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.
The IGES file you have generate can be shared with other CAD packages such as UG, Catia, and ProE.
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, to divide a part
into simple, mappable regions for hex meshing.
The status bar indicates that a solid has been created. The solids are identified by thicker lines than
surfaces.
2. 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. From the menu bar click Geometry > Edit > Solids > Boolean to open the Edit Solids panel.
4. With the solids entity selector for A: active, select the original solid.
6. Click calculate.
7. To confirm the material has been removed, click shaded geometry with edges, , and rotate the
model to inspect the part.
3. Activate the lines entity selector and, in the graphics area, select the lines shown in the following image.
2. In the Model Browser click the next to the View1 view in the Views folder.
4. Pick two locations on screen such that they define the end points of a line that roughly divides the
tetrahedral solid in half, as shown, following.
6. Select the half of the original tetrahedral solid as shown in the following image.
10. 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.
2. In the Model Browser click the next to the View3 to restore the view.
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. From the menu bar click Geometry > Create > Surfaces > Spline/Filler to open the Surfaces panel.
2. Deactivate the Auto create (free edges only) and keep tangency options.
6. Click Geometry > Edit > Solids > Trim with Plane/Surfaces to open the Solid Edit panel.
7. Under with surfs:, with the solid entity selector active, select the solid in the graphics area.
8. Under with surfs:, with the surfs entity selector active, select the surface in the graphics area that was
just created.
9. Click trim.
11. Click Geometry > Create > Surfaces > Spline/Filler to open the Surface panel.
15. Click Geometry > Edit > Solids > Trim with Plane/Surface to open the Solid Edit panel.
16. Under with surfs: activate solids and click the solid in the graphics area.
17. 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 Quick 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.
2. From the menu bar, click Mesh > Create > 2D Automesh to open the Automesh panel.
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 subpanel.
7. On the density subpanel, adjust the density on the six edges across the center of the holes from 1 to 2.
8. On the mesh style subpanel, 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.
The benefit of using solidThinking is that you can apply quick geometry fixes without going back to the CAD
software.
3. In the file dialog switch, set the drop-down to Inspired All Types.
2. Click on one end of the rail and push to reduce its length.
3. Click on the bottom of the rail and pull to increase its height.
Your modified geometry might look something like the example below. It is now ready to be transferred into
HyperWorks Desktop.
3. In the Import tab, browse to the STEP file you previously saved.
4. Click Import.
In this tutorial you will learn how to create and edit dimensions on geometry using the Dimensioning panel.
The Dimensioning panel is used to change one or more dimensions of existing geometry, thus changing the
basic shape of solids and other enclosed volumes. The dimensioning tool allows a user to select dimensions
of or between surfaces, and modify those dimensions as required. This is accomplished by the use of
dimension manipulators.
1. Click Geometry > Edit > Surfaces > Dimensioning to open the Dimensioning panel.
4. Click create to create the nodes. These nodes will be used to show the starting position of the
thickness during future modifications.
7. Click the 0.5 thickness value and enter 1.0 and press enter.
9. Click the handle at the bottom of the dimension manipulator as shown in the image. Notice the bottom
arrow changes to a line, indicating that the bottom end will remain fixed.
12. Click the handle at the top of the dimension manipulator as shown in the image. Notice the top arrow
changes to a line, indicating that the top end will remain fixed. Also notice that the bottom is now an
arrow, as only one end can remain fixed.
Notice the dimension manipulator has been removed from the hole.
1-D Elements
2-D Elements
HM-3100: AutoMeshing
3-D Elements
HM-3200: Tetrameshing
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 Browser to turn on only the elements in the feature_elements component.
3. Access the Features panel from the menu bar by selecting Mesh > Check > Components > Features.
9. Click features.
HM-3100: AutoMeshing
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 subpanel 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 subpanels 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 subpanel, 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 subpanel.
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 subpanel.
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 subpanel.
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 subpanel.
2. Notice that the edges’ element density numbers disappear. Interior to the rib’s surface is a small 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 subpanel.
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 subpanel.
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 subpanel.
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 to create a concentric circle around the third hole.
From the menu bar, select Geometry, then Scale, and then Lines
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. Go to the Spline panel by doing 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.
5. Click create.
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 that are 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 the 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 optimize 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:
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 11.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.)
5. In the Name field, give the procedure a name (for example, tetmesh).
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.
A timestep calculator is also available for explicit solver models. If this option is selected, the overall
minimum element size will be set by this option and will gray out at the top of the element checks.
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.
3. Click the Mesh menu, then Create, then Shrink Wrap Mesh.
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.
Note how the tight mesh conforms much more closely to the model's geometry than the loose mesh did,
even at the same element size.
2. Right-click the tight_solid component in the Model browser and click Make Current.
Note that the resulting mesh is very blocky, due to the high Jacobian value.
This time, the mesh is smoother than it was when Jacobian was set at 1.0.
Rotate the model to verify that the mesh generation was a solid mesh, with 3D elements throughout the
model.
Step 7 (Optional): Change the minimum jacobian to 0.3 for optimized mesh.
1. Delete the elements on the displayed portion of the model in the graphics area.
2. Click comps and select the block component form the list.
4. Click mesh to generate the mesh. Note the difference in smoothness of the mesh compared to the
mesh that was created with higher Jacobian values.
HM-3200: Tetrameshing
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 panel from the menu bar by selecting Mesh > Create > Tetra Mesh
3. Set the entity selector to surfs and select one of the surfaces in the model.
These control the type of element that will be created for the surface mesh and solid mesh of the part.
5. Select Elems to Current Comp to place the newly created elements in the current component collector.
10. Take a moment to inspect the mesh pattern that the volume tetra mesher created.
Tetra mesh from the volum e tetra subpanel 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 subpanel.
4. Inspect the mesh pattern that the volume tetra mesher created.
5. Compare it to the first mesh you created and note the differences. The 2D type: R-trias setting tends to
create tetra elements with triangular faces that are right triangles (90-45-45 angles) while the 2D type:
trias setting tends to create equilateral triangles (60-60-60 angles).
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 subpanel.
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.
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 subpanel.
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
created and note the differences. More elements were created around surfaces with small angles as
indicated in the following image.
Step 6: Prepare the display to tetra mesh the hub component using the standard
tetra mesher.
1. Use the HyperMesh Model Browser to turn off the display of geometry for all components.
3. Use the HyperMesh Model Browser to turn off the display of elements for all components.
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
the tria shell mesh.
1. Access the Edges panel from the menu bar by selecting Mesh > Check > Components > Edges.
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.
5. Access the Check Elements panel from the menu bar by selecting Mesh > Check > Elements >
Check Elements.
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 HyperMesh Model Browser to set the current component to tetras.
2. Access the Tetramesh panel from the menu bar by selecting Mesh > Create > Tetra Mesh.
4. With the comps selector active under Float trias/quads to tetra mesh, select one of the hub shell
elements from the graphics area.
Using this option, HyperMesh will swap the diagonal for any pair of surface trias 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, select the comps selector under Fixed trias/quads to tetra
mesh.
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 message bar indicates that one element has a tetra collapse smaller than 0.2.
Step 10: Isolate the element with the tetra collapse smaller than 0.2 and find the
elements surrounding it.
1. With 0.2 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.
4. Access the Mask panel from the Display toolbar by selecting Mask ( ).
You can also press F5 on your keyboard to enter the Mask panel.
5. Set the entity selector to elems and select elems >> retrieve.
The element that was saved in the Check Elements 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 subpanel on
the Tool page.
Step 11: Remesh the hub’s displayed tetra elements to improve their tetra
collapse.
1. Access the Tetramesh panel.
Note that the re-meshing operation works on only one group of elements (one volume) at a time.
7. Click tet collapse to find out if the tetra collapse has improved for the displayed elements.
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 using the HyperMesh Model Browser. In the Model
Browser right-click base and select Make Current.
2. While in the HyperMesh Model Browser, hide all components except the base component.
3. Access the Automesh panel from the menu bar by selecting Mesh > Create > 2D Automesh.
3. With the elems selector active under elems to offset, select the elements on the base.
6. Click offset+.
Step 4: Prepare the display for meshing the arm’s curved segment.
1. Turn on the display of the arm_curve component using the HyperMesh Model Browser.
All of the elements with a configuration of hex8 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 below:
Once over the line, the cursor will change to a square with a dot in the center, , and the line will
4. 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.
This node will be used in the next step when you mesh the arm.
Step 6: Create hexa elements in the curved portion of the arm using spin.
1. Set arm_curve as the current component using the HyperMesh Model Browser.
2. Go to the Spin panel by selecting Mesh > Create > 3D Elements > Spin from the menu bar.
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 in step 5.
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. Use the Model Browser to 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.
3. Select the three surfaces lying on the intersection between the arm_straight and boss components.
6. From the Density subpanel, 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 through the menu bar by selecting Mesh > Create > 3D Elements >
Linear 3D.
2. With the from: elems selector active, select the ^faces elements lying on the intersection between the
first and second arm segments.
You can select one of the elements and then select elems >> by face to select the rest of the
necessary elements.
3. Click the to: elems selector to make it active. Then select the shell elements between the arm and
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. Go to the Solid Map panel by selecting Mesh > Create > Solid Map Mesh from the menu bar.
4. Select dest geom: surf and select the top surface of the boss.
6. Under along geom: mixed, click lines to make it the active selector.
9. 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.
10. For elems to drag:, select elems >> by collector and select the boss component.
The elements are created and the mesh on this part is completed.
3. Select every component from the list, or select comps >> all.
4. Click Select complete the selection and go back to the Faces panel.
6. Turn off the geometry display of all components via the Model Browser.
The faces are now displayed with a plane cutting the model in half. This is so that the interior of the
model can be viewed.
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.
7. Repeat sub-step 16.6 until all 60 coincident nodes have been found.
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, mappable regions to hex
mesh the part.
2. Enter the Solid Map through the menu bar by selecting Mesh > Create > Solid Map Mesh.
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 through the menu bar by selecting Mesh > Create > 2D AutoMesh.
3. Verify that the meshing method is set to size and bias and interactive.
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 > Create > Solid Map Mesh.
4. Under along parameters:, toggle elem size= to density= and then enter 10.
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
step provided that they are mappable.
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
GUI within the Geometry tab.
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.
5. Click Mesh.
6. Select mesh again to accept the shell elements and create the solid elements.
The solids will be sequentially solid meshed. Once complete inspect the model and note that the mesh
within all of the solids is correctly equivalenced.
In this tutorial, you will learn about using the TetraMesh Process Manager to:
The Process Manager is a step-by-step tool providing a checklist of procedures to allow the user to quickly
organize and tetramesh 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.
2. On the toolbar, click Open .hm File ( ) and select the file tetmesh_pm.hm from
<installation_directory>\tutorials\hm\.
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, then click Shaded Geometry and
surface edges ( ).
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.
5. Click the HyperMesh Model Browser tab and expand the folder for Components.
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.
4. Click ACCEPT.
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.
The elements that represent the interior of holes and bores will be selected under this option. The will be
3. Click mesh.
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 subpanel 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 > Check > Elements > Normals
From the main menu, select the Tool page, then click normals
2. Choose the elements subpanel 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 > Check > Elements > 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.
13. Verify that the max angle > field is set to 135.
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 > Create > 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 subpanel, 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 > Cleanup Elements > 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 subpanels.
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 subpanel 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, click 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
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.
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.
A dialog box displays that states: "Current results will be lost by recheck ing the model. Would you lik e to
continue?" Click Yes. The penetration tab needs to be refreshed.
3. To invoke the penetration check, select all the components by clicking comps.
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
lik e 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. 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 Link Entity Browser and displays information for the linked entities
in the model. 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
Browser module. To create connectors manually, go to the create and realize subpanels.
1. Access the Spot panel: right-click in the Connector Browser in the connector window and select
Create > Spot.
5. Select the six pre-defined weld points by selecting points >> by collector and selecting the component
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 Link Entity Browser 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.
1. Within the Model Browser, 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.
7. Click select.
Front_Truss_1
Reinf_Plate
9. Click select.
Notice that the status bar says "8 spot connectors created with comps and link s." The connectors are
organized into the current component collector, Con_Truss_Plate.
14. Notice in the Connector Browser 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.
2. Zoom into the Reinf_Plate and select the 4 connectors along the top.
When the option mesh dependent is active, if the realized finite element of the connector is coincident
to a node of the shell mesh it is being connected to, the nodes are equivalenced. If there are no suitable
nodes present, this option will partition the mesh accordingly to ensure the mesh seeding passes
through the weld point.
6. There are two options available for mesh dependent. Verify that adjust realization has been selected
7. Click realize to realize the selected connectors into weld elements. Notice how the mesh hasn’t been
remeshed to connect the two components.
8. Make the connectors selector active and select the 4 connectors along the bottom on the plate.
10. The two options under adjust mesh are remesh and quad transition. Select remesh.
11. Click realize to realize the selected connectors. This time the mesh has been remeshed to connect the
two components.
Step 10: Display only the assembly assem_3 for elements and geometry.
1. Within the Model Browser, 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. From the menu bar select File > Import > Connectors.
2. Click the open file ( ) next to File and and import the file, rails_frt_truss.mwf.
3. 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. Use the Model Browser to set the current component collector to CE_Locations.
Right rails w elded to each other and to the front trusses w ith w eld elements at the connectors
Weld to the tw o front trusses by duplicating and reflecting selected connectors created from the master connectors file
Step 15: Duplicate the connectors created from the master connectors file and
reflect them.
1. Enter the Reflect panel from the menu bar by selecting Connectors > Reflect > Connectors
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 subpanel.
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
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. Click on the Connectors icon, , and under the Color by: option select Layer.
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.
3. In the top portion of the Connector Browser, hold down the Ctrl key and select Front_Truss_1,
Front_Truss_2, Right_Rail_1, and Left_Rail_1.
Notice the status bar displays "12connectors added by 'displayed'. Total selected 12."
The status bar displays the message, "12 connector(s) found that need to be combined."
The status bar displays the message, "6 connectors deleted." Also notice that the connectors have now
turned a dark blue color to indicate that they have 3 layers. If you cannot see the connectors, use the
Connector Browser to Show the unrealized connectors.
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. Within the Model Browser, verify that Elements and Geometry is the current selection type.
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 from the menu bar by selecting
Connectors > Fe Absorb.
Connectors are generated at the locations of the ACM welds. They are realized and are 2t connectors.
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.).
The Connector Browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the Link Entity Browser and it contains a listing of the components
being connected with the connectors. The lower portion is called the connector entity browser and it
contains a list of the connectors in the model. The connectors will be grouped based on the type of
connection.
3. Create a new component by right-clicking in the Model Browser and select Create > Component.
5. Right-click in the Connector Browser in the connector window and select Create > Area
8. Click elems and select the by face option – the whole flange should be highlighted.
9. For connect what:, select comps and pick Left_Rail_1 and Left_Rail_2.
11. Set tolerance= 10. The connector will connect any selected entities within this distance of itself.
15. Inspect the new adhesive, note that an area connector has been created, and then click return.
16. Access the Unrealize panel from the menu bar by selecting Connectors > Unrealize.
18 Click unrealize.
19 Click return.
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 subpanel.
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 subpanels:
2. Take a few moments to observe the model using various visual options available in HyperMesh (rotation,
zooming, etc.).
2. Select the 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 on 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 Link Entity Browser and it contains a listing of the components
being connected with the connectors. The lower portion is called the connector entity browser 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. 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.).
The Connector Browser allows users to view and manage the connectors in their model. The top
portion of the browser is called the Link Entity Browser and it contains a listing of the components
being connected with the connectors. The lower portion is called the connector entity browser and it
contains a list of the connectors in the model. The connectors will be grouped based on the type of
connection.
4. Under File selection, click the file open icon ( ), and import the file, rear_truss_1_new.hm.
5. Click Import.
Step 4: Using the Connector browser, update the connector links to the new
component.
1. In the Link Entity Browser in 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 the Spot panel by right clicking in the connector window and selecting Create > Spot.
7. Toggle the mesh dependent option and verify that adjust realization is selected.
2. A dialog opens. 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. From the menu bar select File > Export > Solver Deck:
5. Click the file open icon ( ) 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.
HM-3520: Sculpting
In this tutorial, you will increase the length of a propeller blade by 100 units, using freehand morphing.
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.
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.
3. For the sculpting tool:, choose the elements in the collector dummy (Figure 2).
4. For affected elements: choose 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.
3. Select the from line (Line A) and the to line (Line B) as shown in figure 2.
4. Toggle the morphing entity (2nd column) from map domains to map nodes.
7. Use map by line axis morphing with a 1.0 mvbias and fxbias (column 3).
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.
11. Under map to elements click the elems button and select elements by collector.
12. Pick collector Roof. (This may be located on the second page of collectors)
14. Click the Right XZ Plane View ( ) icon to set the view
15. For fixed nodes use Shift + Left Mouse Button to 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.
The green colored cross moves to the location of the black dot.
4. Click split.
The morph volume is split into two. Follow the same steps to create another split at location2.
x val = 0
y val = 100.00
z val = 0
6. Click morph.
Summary
The b-pillar is morphed in a smooth fashion with minimum distortion to the elements.
In this exercise you will create domains and handles, and morph the model.
3. Click generate.
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. Click the edit edges subpanel in the Morphing panel.
3. With the domain selector active, select the edge domain of the part’s radius as indicated in the Figure
2.
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.
Figure 4: Node selection to further split the edge domain of the radius
Step 5: Add local handles to the 2-D domain on the part’s left side.
1. Click the Morphing menu, and pick Create > Handles.
4. Select the 2-D domain on the part’s left side by selecting its red icon, as indicated in the following
image.
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. Click the Morphing menu, and pick Morph.
4. With the handles selector active, select the two handles on the right-hand 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.10, following).
7. For N1, N2, and N3, select any three nodes on the model to define a plane.
8. Click morph.
The message, “pick handles and move to new location” appears in the status bar.
As you drag the handle, the mesh’s size and shape is adjusted. Notice that the following occurs as the
selected local handle is moved:
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. 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 non-selected global handles act like anchors (they do not move).
All of the elements, local handles and edge domains are affected.
In this tutorial, you will use domains and handles to increase the gauge thickness.
5. Click create.
6. Click the Morphing menu and pick Morph. Enter the alter dimensions subpanel if not already there.
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.
5. Click create.
6. Click the Morphing menu and pick Morph. Enter the alter dimensions subpanel if not already there.
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.
4. Activate the divide by comps and partition 2D domains options. The panel should appear as in the
following image:
2. Mask all ^morphface elements except those on the outer layer and the layer between the Outer comp
and the Adhesive_Outer to leave all the elements shown in the following image.
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.
5. Click the + in the Show column for Local Domains/Handles to display the domains and handles for
only the displayed elements.
5. For domains, select the curved edge domains as well as the 2-D domains representing the curved
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
panel area.
Optional: Using the process shown above, increase the thickness of Adhesive_Inner component by 5
units.
Objective
Tools
Domains, morph
6. Click create.
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.
5. To reduce the number of domains and handles shown on the screen, click the Mask tab.
7. Click the + in the Show column for the Local Domains/Handles to display the domains and handles for
only the displayed elements.
Step 4: Increase the outer diameter of the middle section of the tube.
1. Click Morphing > Morph to open the Morph panel.
6. Select the two edge domains and the 2D domain as shown in the following figure.
4. To reduce the number of domains and handles shown on the screen, click the Mask tab.
6. Click the + in the Show column for the Local Domains/Handles to display the domains and handles for
only the displayed elements.
7. Select domains >> displayed. This selects the two inner edge domains as well as the 2D domain for
the tube inner.
10. 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.
3. Set:
x density = 3
y density = 8
z density = 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.
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.
3. Change the view to the bottom view by selecting the XY Bottom Plane View .
4. Verify that the options by edges and free are selected (see image below).
Notice that after selecting the tangency, the two arrows are replaced with a single arrow.
7. Repeat steps 5 and 6 on the three other tangencies shown in the image below:
9. From the menu bar select Morphing > Morph and then select the move handles subpanel:
10. Select the handles at the bottom of the bottle, as shown in Figure 5.
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.
15. To reduce the number of domains and handles shown on the screen, click the Mask tab. If this isn’t
displayed, select View > Browsers > HyperMesh > Mask.
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
slave edge moves, the master edge does not have to follow.)
Continuous maintains tangency between two morph volume edges while allowing both edges to
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 subpanel, 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.
3. Set:
y density = 8
z density = 5
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.
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. From the menu bar, select Morphing > Create > Morph Volumes, then select the split/combine
subpanel.
6. Click split.
9. Click split.
5. For system =, select the cylindrical coordinate system located at the top of the bottle.
7. Click morph.
As the bead is created, the upper and lower portions of the bottle deform too (figure 4). This is not the
intention, as you want to create a bead without affecting the other parts of the bottle.
1. From the menu bar select Morphing > Create > Morph Volumes, and then select the update edges
subpanel.
4. Update the edges, working your way around the bottle (see figures 5 and 6 below).
5. For system =, select the cylindrical coordinate system located at the top of the bottle.
7. Click morph.
Summary
Using morph volumes with appropriate tangencies and symmetries you were able to create a bead on the
given bottle.
Objective
Tools
2. From the menu bar, select File > Import > Geometry and load the file new_design.igs.
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
Notice how each cog on the gear is updated. 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, then select Hide.
3. Select hexas.
4. Click select.
5. Click convert.
Note that all the seven hexa elements are converted into morph volumes.
2. From the menu bar, select Morphing > Morph, then select the move handles subpanel.
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’.
5. Click undo all to bring the model to its original position before morphing.
1. In the Model Browser, right-click and select Hide for Shape and Morphing Volume. Right click on
yoke_1 and select Show.
2. From the menu bar, select Geometry > Create > Systems > Axis Direction to open the Systems
panel, create by axis direction subpanel.
6. Click create.
7. Click return.
3. Under domains, click the check-box for morph volumes. (make sure it is active).
6. Click create.
7. Click return.
6. Click shapes and select the newly created shape from the previous section.
7. Under reflect using: click symmetries and select the newly created symmetry.
8. Click reflect.
The name of the shape, created by reflecting, has the same name as the original shape with a suffix
“1.”
3. In the apply shapes subpanel, under shapes, change reflect shapes to position shapes.
5. Click shapes and select the two shapes present in the model.
6. Under from: select the three nodes named from_N1, from_N2 and from_N3 for N1, N2 and N3.
7. Under to: select the three nodes named to_N1, to_N2 and to_N3 for N1, N2 and N3.
8. Click position.
9. Click return.
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.
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.
6. Click select.
9. Click translate.
The shape has been transferred to the tube. You selected the same base and to node, effectively
selecting a translate distance of 0.
4. Click select.
5. Click convert.
Make sure you expand the BCs contour panel appropriately to visualize all the buttons.
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 subpanel and record the shape
function. You will then reflect the shape to the other side of the mesh to complete the mesh update.
2. Click start.
3. Click return.
2. Select the nodes shown below for the 1st end and 2nd end.
3. Select the nodes between the selected nodes to align the nodes to the 1st end: and 2nd end: nodes.
4. Repeat the same process to align the next row of nodes (figure 3).
5. Select the nodes between the selected nodes to align the nodes to the 1st end and 2nd end nodes.
6. Repeat the same process to align the next row of nodes (figure 4).
2. Click finish.
4. Click save.
5. Click undo all to bring the model to its original position before morphing.
3. Click create.
6. Click create.
6. Click reflect.
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. From the menu bar select Morphing > Free Hand and select the move nodes subpanel.
3. Key in
x = 0;
Y = -5 (negative 5);
Z= 0
5. Click select.
6. Under fixed nodes: click nodes >> by sets and select fix_node.
7. Click select.
9. Click morph.
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.
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.
6. Click create.
4. Click save.
4. Click select.
5. Click calculate.
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.
8. Click select.
2. From the menu bar, select Morphing > Free Hand and select the move nodes subpanel.
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.
x=0
y=0
z = 80
The top surface of the cushion has conformed to the shape of the dummy.
Summary
Using limiting constraints, you are able to move a mesh such that it moves an adjoining mesh along with it,
thus preventing penetration between the two of them.
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.
6. Set buffer % = 5.
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.
X val = 500
Y val = 0
Z val = 0
Figure 2
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.
1. From the menu bar select Morphing > Create > Morph Constraints.
The cluster constraints are created on the nodes of the selected components.
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
5. Click select.
8. Click select.
The elements outside the washer get compressed as the washer moves. Also, as the elements fail
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. In the Views folder in the Model Browser click next to View2 to se a User Defined view.
Note: Setting this view will set Component & Load Collectors displays back to what they were when the
view was saved. The load collectors that we created in step 3 are now turned off because they did
not exist when the view was saved. You will need to turn these back on to see the display of the
BCs when you create them in the next steps.
2. Use the Model Browser to display the geom ( ) for the load collectors pressing_load and
constraints.
3. Use the Model Browser to display the geom ( ) for the component channel.
4. Use the menu bar to enter the Constraints panel by selecting BCs > Create > Constraints.
6. Switch the entity selector to lines using the down arrow on the left side of the yellow entity button.
7. 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 Loads on geom panel from the menu bar by selecting BCs > Loads on Geometry.
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.
1. In the Views folder in the Model Browser click next to View3 to see a User Defined view.
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 through the menu bar by selecting BCs > Create > 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 LoadSteps panel through the menu bar by selecting Setup > Create > LoadSteps.
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.
Step 9: Display and mask the load step (the load collectors defined in the load
step).
1. Using 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.
Step 8: Update the bracket property to have a PSHELL card image, a thickness of
2.0, and the aluminum material.
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. From the menu bar select Properties > HyperBeam.
The HyperBeam module appears and the HyperMesh session is not visible. (HyperMesh is visible again
upon exiting HyperBeam.)
The solid, green circle represents the cross section. Under the local coordinate system you should see
the number, 20.0000, which is the circle’s diameter.
5. In the lower left side under Parameter Definition, click in the Value field next to Radius (r) and update
the value to 3.
In the section property display area, the values are automatically updated to reflect the circle’s new
diameter.
6. In the Model tree area, right click on the section’s name, auto_standardsection_1 and select Rename.
Step 10: Create a property collector named bars_prop for the bar elements
(RADIOSS Bulk Data).
1. Create a new property collector by right-clicking in the Model Browser and selecting Create > Property
.
Step 11: Update the CBEAM element to use the PBEAM Property.
1. Access the Properties: assign subpanel.
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 from the menu bar by selecting Setup > Create > 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.
Step 13: Export the model to an RADIOSS Bulk Data input file.
1. From the menu bar select File > Export > Solver Deck.
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.
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 menu bar select Preferences > 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 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 subpanel.
- 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 subpanel.
- Click the switch for standard section type and select the solid circle option from the pop-up menu.
- Click create.
The HyperBeam window launches with a solid circle cross-section displayed in the center pane. The left
pane (HyperBeam view) 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 > Model Setup > Properties online help.
4. Modify the diameter of the cross-section and assign the value measured earlier by doing the following:
- Click the Value field shown for Radius (r) in the Parameter Definition area.
- 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 HyperMesh User's Guide > Model Setup > 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 HyperBeam view by doing the following:
- In the HyperBeam view, right click the name of the cross-section under the auto1 folder and
select Rename.
The information that was computed is automatically stored in a beamsect collector with the name you
specified for the section. This beamsect collector is later used to populate the fields of a property card.
Note: Since geometry information was available, this cross-section could have been defined as a solid
section using the solid section subpanel. A standard section was used instead because it did not
require selection, although it required a diameter measurement.
You may save your HyperMesh model to your working directory at this point.
In this 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 subpanel.
- 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.
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
2. Modify the thickness of the cross-section and assign the value of 2 units by doing the following:
- Right click in the Model Browser on auto_shellsection.3 and select Edit.
This opens the following window:
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.
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 subpanel.
- 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.
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 a Property collector using the Model Browser with Name set to standard_section,
Card Image set to PBEAM, and assign the Material as 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.
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.
This value specifies, in model units, how large the review vectors are when displayed.
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.
This function assigns a material angle to the selected elements, which for RADIOSS (Bulk Data) is
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
in the Bulk Data Section of the RADIOSS Reference Manual. For visualization purposes HyperMesh
also projects the selected vector onto the face of the shell elements to define the x-axis of the material
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).
2. From the menu bar select BCs > Create > 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
2. From the menu bar select BCs > Create > 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.
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
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 menu bar select BCs > Create > 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.
Loads on geometry
Note: If you sent some loads into the wrong load collector, use the Organize panel on loads to move
them into the right collector.
In this section 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.
6. Click the toggle to switch from elems to current comp to elems to surf comp.
This ensures that the elements created go into the surface’s component collector.
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.
2. Click loadcols and check the box next to constraints from the list of load collectors.
The constraints previously applied to the lines are now also applied to the nodes of the mesh associated
to these lines. These constraints are placed in the same load collector as the ones applied to the
geometry, only in the elems portion.
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.
In this step, use the Model Browser 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.
The display panel allows separate or simultaneous visualization of loads on mesh and loads on geometry.
Turn off the display of loads applied to the geometric entities to display only the loads applied to the mesh.
1. Use the 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:
2. From the menu bar select File > Export > Solver Deck.
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 Model Browser previously, only the loads
mapped previously will be exported. 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 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 Model Browser, you can control what information gets exported.
In this step, remesh the surfaces and remap the loads on geometry to the new mesh.
5. Click mesh.
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 menu bar select BCs > Loads on Geometry panel.
2. Click loadcols and check the boxes next to constraints, pressure, and forces.
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
to these geometric entities. You took advantage of this in a situation where a mesh had to be changed, and it
saved you from having to recreate loads on the elements.
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 view in the Model Browser is available to manipulate these includes. The Include view 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.
Import Solver Deck ( ) has the following options for importing include files:
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
5. Under Import options, from the Include Files: menu, select Preserve and import the following file:
<installation_directory>\tutorials\hm\master.k.
6. 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.
Step 2: Review the model organization using the Include view in the Model
Browser.
The Include view, , is located in the Model Browser It allows you to create, review, edit, organize, and
update the contents of a model into various include files. A context sensitive pop-up menu provides many
other Include view functionalities. For a complete description of the options available, refer to the Model
Browser's include view in the online help.
In this section, launch the Include view, review the structure of the model and its organization into the
various includes, and experiment with some of the display and configuration options available.
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
containing each type, next to which appears the total number of entities of that type. Each of the folders
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 not be practical for larger models.
5. Right-click white space in the browser and select Collapse All 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 in the Include view to turn on the display of the entire model.
In this section, the Include view was launched and the organization of the model into the various includes
was reviewed. The Include view 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 view, and organize entities into them using the Organize
panel. You can also select entities (using the standard SHIFT and CTRL keys) from the Include view 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.
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-click the include.
4. Select the includes subpanel 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
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 subpanel, 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 view, and some components from the master
model, as well as their corresponding elements, were moved into it. Finally, the locate function was used 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 view) 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 view 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 view 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 Solver Deck, , 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 view, right-click Master Model and select Create > 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.k ey, frame.k ey, and wheels.k ey 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
7. Uncheck the Do not export box and click Set for the includes engine.key, frame.key and
wheels.key.
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 view.
Note: Using this option, all the include files are exported as individual files. This is equivalent to using
the Export Solver Deck menu ( ) with the preserve includes option when writing out the
master model. When you want to export a single ‘flat’ file, use the export subpanel 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
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 > 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 under Free Size 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.
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.
Scripts
HM-8010: Add a Button to the User Page on the Utility Menu
HM-8020: Create a Utility Menu Macro From a Command File
HM-8030: Create a Utility Menu Macro to Create Constraints on a Plane
HM-8040: Create a Utility Menu Macro from a Tcl Script
HM-8050: Create Forces on Nodes and Add a Button on the User Page
HM-8060: Calculate the Resultant Sum of Forces
HM-8070: Create Spline Surfaces on Tria Elements
HM-8080: Calculate the Radius of an Arc
HM-8090: Create an OptiStruct PSHELL property
Tools
The User page is available on the Utility menu. It can be accessed in the following way:
1. From the menu bar, select View > Browsers > HyperMesh > Utility
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.
To reload the current macro menu .mac file while HyperMesh is open, from the menu bar select
Preferences > Menu Config and click on retrieve next to macro file. Make sure to load the proper .
mac file from the hm/scripts/<profile name> directory based on the current user profile, or load
2. Click 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:
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.
From the menu bar, select File > Save as > Model….
Use the file browser to locate a directory and enter the name for the filename.
Click Save.
1. From the menu bar, select File > Save as > Model….
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.
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.
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, select Preferences > Menu
Config from the menu bar and click on retrieve next to macro file. 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()
Load collectors can be created and edited using the Model Browser. Simply right-click in the Model
Browser and select Create > Load Collector to create one. To edit the name, color, or card image of a
load collector, right click on the load collector name in the Model Browser and select Edit
The Constraints panel can be accessed from the menu bar by selecting BCs > Create > Constraints
Exercise
In this exercise you will 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 menu bar, select File > Open > Model and load the file, c_channel-tcl.hm.
2. Right click in the Model Browser and select Create > Load Collector.
4. Click create.
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 in the 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.
*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.
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, select Preferences > Menu Config
from the menu bar and click on retrieve next to macro file. 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.
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
In this exercise you will 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:
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.
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 File > Save as > Model.
Use the file browser to locate a directory and enter the name for the filename.
Click Save.
1. From the menu bar, select Files > Save as > Model.
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.
Step 8: Reload the current .mac file into HyperMesh to load the modified
userpage.mac.
The new button labeled Save File TCL 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()
Load collectors can be created and edited using the Model Browser. Simply right click in the Model
Browser and select Create > Load Collector to create one. To edit the name, color, or card image of a
load collector, right click on the load collector name in the Model Browser and select Edit
The Forces panel can be accessed from the menu bar by selecting BCs > Create > Forces.
Exercise
In this exercise you will 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:
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.
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 > Open > Model and then load the file, c_channel-tcl.hm.
2. Right click in the Model Browser and select Create > Load Collector.
4. Click Create.
9. Click create.
1. Open the command.cmf file using any text editor or use the Open Command File option in the
Scripting Toolbar.
*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
Simply running the above commands will work without a problem, but note that the *createmark
command is hard coded to the single node picked when generating the command file. Also notice that
the magnitude is hard coded as well. This is not very useful for a generic utility.
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.
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 menu bar select Preferences
> Menu Config and click on retrieve next to macro file. 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 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.
Step 2: Determine the data names to use to extract the force components.
The following table lists several relevant data names for force loads:
Steps 3-9: Create the Tcl script and add logic as necessary.
Step 4: Allow the user to select the desired loads and then add those loads to a
list.
The *createmarkpanel command is used to allow the user to graphically select the loads from the
Step 6: Begin an if loop which checks to see if the variable loads_list has values.
If it does, proceed with the macro.
Before calculating the resultant of the forces selected, we should check to make sure that the variable
loads_list has values in it. This is done by using an if loop. In the if loop below, we are checking that the
variable loads_list is not empty. Add the following line to the TCL file to initialize the if loop:
if {$loads_list != ""} {
Step 7: Use a foreach loop to iterate through each load in the list loads_list and
extract the x, y, and z components using the hm_getentityvalue command and
the appropriate data name.
Using a foreach loop, each load in the list loads_list will be iterated through. Within the foreach loop,
each load is referenced by load_id and then the component value is added to the previous loads component’s
value. For example, let’s look at the x component. Using the set command, the variable x_comp_sum is
defined as the previous value of x_comp_sum, plus the x component of the current load. The x component of
the current load is retrieved by using the hm_getentityvalue command and the data name comp1 (all
the available data names for loads are shown in the table above). This process is done for the y and z
components as well. Add the following 4 lines to the TCL file:
foreach load_id $loads_list {
$z_comp_sum ";
Step 9: Complete the if loop and report an error message if no loads are found.
To complete the if loop, add an else statement. Remember the if statement checked to see if the
variable loads_list was not empty. This else statement returns an error message to the user to let them
know that no loads were selected.
} else {
2. Click and drag to open the Command window from the bottom edge of the screen.
source HM8060.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
5. The result of the macro is shown in the status bar. Either a message with the resultant force is shown or
else there is a note saying that no loads were selected.
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
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.
2. Determine the data names to use to extract the element type and node IDs.
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:
Steps 3-14: Create the Tcl script and add logic as necessary.
A Tcl script to perform this function might be similar to the following:
Step 4: Allow the user to select the desired elements and then add those loads to a
list
The *createmarkpanel command is used to allow the user to graphically select the elements from the
HyperMesh interface and add them to the mark. The command below adds the elements to mark 1. Once
the elements have been added to mark 1, the element ids are assigned to a list called elems_list, using
the TCL command set. Add the following 2 lines to the file HM8070.tcl:
Step 5: Begin an if loop which checks to see if the variable elems_list has
values. If it does, proceed with the macro.
Before continuing with the macro, we should check to make sure that the variable elems_list has values
in it. This is done by using an if loop. In the if loop below, we are checking that the variable
elems_list is not empty. Add the following line to the TCL file to initialize the if loop:
Step 6: Initialize a variable which counts the number of times the foreach loop is
entered.
The variable success_count is initialized and set to 0. This variable is used to count the number of times
the foreach loop (defined in Step 7) is entered. We will use this variable at the end of the script. Add the
following line to the TCL script:
set success_count 0;
Step 7: Use a foreach loop to iterate through each element in the list
elems_list and then set a variable config which stores the element
configuration. This is extracted using the hm_getentityvalue command and the
appropriate data name.
Using a foreach loop, each element in the list elems_list will be iterated through. Within the foreach
loop, each load is referenced by elem_id and then the variable config is defined. This variable is set to
the result of the hm_getentityvalue which uses the element data name config to report the configuration of
the element. A tria element will have an element configuration of 103 while a quad element will have a
configuration of 104. Add the following 2 lines to the TCL file:
Step 8: Begin an if loop which checks to see if the variable config has a value of
103. If it does, proceed with the macro.
Using an if loop, the variable config is checked to see if it doesn’t have a value of 103. A value of 103
means that the element configuration is a tria element. If the value is not equal to 103, the continue
statement is used to move outside of the foreach loop. If the value is the config variable is 103, then the
macro is continued. Add the following lines to the TCL script:
if {$config != 103} {
continue;
}
Step 9: Set 3 variables which contain the node id of each of the nodes used to
define the tria element.
*surfacemode 4;
Step 11: Create a node mark which contains the 3 nodes defined in Step 9 and
then use the *splinesurface command to create a spline surface using the
nodes in the mark.
Using the *createmark, mark 1 for nodes is created and it contains the 3 nodes defined in the variables
node1, node2, and node3.
Step 12: Increase the variable success_count which is used to count the number
of times the foreach loop is entered. Then, close the foreach loop.
Using the incr command, the variable success_count is increased. Following this command, a } is used
to close the foreach loop. Add the following 2 lines to the TCL script:
incr success_count;
}
Step 14: Add an else statement which compliments the if statement which
checked to see if the elems_list variable was empty. If it is empty, the else
statement is executed.
The else statement compliments the if statement defined in Step 5 which checks to see if the
elems_list variable is empty. If it is empty the else statement is executed. Inside the else statement,
the hm_errormessage command is used to report to the user that no elements were selected. Following
the hm_errormessage command, the if statement is closed using a }. Add the following 3 lines to the
TCL script file:
} else {
hm_errormessage "No elements selected";
}
2. From the menu bar, select View > Command Window display the Command window at the bottom
of the screen.
3. Click and drag to open the Command window from the bottom edge of the screen.
source HM8070.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.
5. Select a few of the tria elements and observe the spline surfaces that are created.
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 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:
Steps 3-12: Create the Tcl script and add logic as necessary.
A Tcl script to perform this function might be similar to the following:
Step 4: Allow the user to select the desired line which defines a circle or an arc
and then add that line to a variable
The *createmarkpanel command is used to allow the user to graphically select the line which defines a
circle or an arc from the HyperMesh interface and add it to the mark. The command below adds the line to
mark 1. Once the line has been added to mark 1, the line id is assigned to a variable called line_list,
using the TCL command set. Add the following 2 lines to the file HM8080.tcl:
Step 5: Begin an if loop which checks to see if the variable line_list has
values. If it does, proceed with the macro.
Before continuing with the macro, we should check to make sure that the variable line_list has values in
it. This is done by using an if loop. In the if loop below, we are checking to see if the variable
line_list is empty. If the variable is empty, an error message is given to the user. Also, using the
elseif statement in the if loop, we can check to see if more than one line is selected. If more than one
line is selected, an error message is reported. If neither of those conditions are met, the macro proceeds
under the else statement. Add the following line to the TCL file to define the if loop:
Step 6: Create 3 nodes on the line selected and then create a node at the circle
center of the 3 nodes. Add those nodes to a variable.
Use the *nodecreateonlines command to create 3 nodes on the line which is in mark 1. This is done
with the first command below. Then, use the *createcenternode to create a node at the center of a
circle formed by the three nodes that were just created in the *nodecreateonlines command. These
three nodes are referenced by using -1. -2, and -3 which reference the last node created, the second to last
node created, and the third to last node created. Then, the nodes are added to the nodes mark 1 using the *
createmark command. Again, the nodes are referenced using -1, -2, -3, and -4 to add the last 4 nodes
created to the mark. Finally, the nodes in mark 1 are added to the variable node_list. Add the following 4
lines to the TCL script:
*nodecreateonlines lines 1 3 0 0;
*createcenternode -1 -2 -3;
*createmark nodes 1 -1 -2 -3 -4;
set node_list [hm_getmark nodes 1];
Step 7: Use the lindex command to get the node id of the first node in the list
node_list. Then get the x, y, and z coordinates for the node.
Set a variable called id which contains the node id for the first node in the list node_list. The id for the
first node is retrieved using the lindex command which takes the variable node_list and using the index
0, retrieves the first node id in the list. Then, using the variable id and the hm_getentityvalue command
with the node data names x, y, and z, the x, y, and z coordinates for the node are set to the variables x1, y1
, and z1. Add the following 4 lines to the TCL script:
Step 8: Use the lindex command to get the node id of the last node in the list
Step 9: Define three variables which are the x, y, and z distance between the two
nodes defined in the last two steps.
Three variables are defined which are simply the x, y, and z distance between the two nodes defined in Steps
7 and 8. The component difference between each node is calculated using the coordinates defined in Steps
7 and 8 and the TCL command expr. Add the following 3 lines to the TCL script:
Step 10: Define a variable called radius which uses the variables dx, dy, and dz
to calculate the radius of the line which is a circle or an arc.
Using the three variables which were defined in the previous step (dx, dy, and dz) the magnitude of the
distance is calculated. This distance corresponds to the radius of the arc/circle which is defined by the line
selected. To calculate the radius, the expr command is used. Add the following line to the TCL script:
*nodecleartempmark;
hm_markclear lines 1;
hm_markclear nodes 1;
2. From the menu bar, select View, then Command Window to display the Command window at the
bottom of the screen.
3. Click and drag to open the Command window from the bottom edge of the screen.
It is oft*en 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.
Property collectors can be created and edited using the Model Browser. Simply right click in the Model
Browser and select Create > Property to create one. To change the name, color, or card image of a
property collector, right click on the property name in the Model Browser and select Edit
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.
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.
Make sure a property collector with the supplied name does not already exist.
1. If the RADIOSS BulkData user profile is not currently loaded, please load it at this time.
2. Right click in the Model Browser and select Create > Property.
3. Leave Type set to all and in the Name field, enter a name for the property.
6. Click Create.
8. 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.
*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).
*collectorcreateonly properties "my_prop" "" 11;
*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:
set prop_name [hm_getstring "Name="];
7. Finally, You need to add logic to test in order to make sure that the property name and thickness values
are valid:
set prop_name [hm_getstring "Name="];
if {$prop_name == ""} {
hm_errormessage "No name specified.";
return;
} elseif {[hm_entityinfo exist properties $prop_name –byname] == 1} {
hm_errormessage "Property already exists.";
return;
}
set prop_thick [hm_getfloat "Thickness="];
if {$prop_thick == "" || $prop_thick <= 0.0} {
hm_errormessage "Invalid thickness value specified.";
return;
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.
1. From the menu bar, select File > Open > Model.
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) w ith 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
6. To create nodes on the left end of Spar2, from the menu bar, select Geometry > Create > Nodes >
Interpolate Nodes to go to the Nodes panel.
7. Select the nodes on the top and bottom of the left side, and click create.
10. From the menu bar, click Geometry > Create > Systems > Axis Direction
11. To create a system with origin at the left end and x-axis along the length of the spar, go to the create by
axis direction subpanel.
12. Click origin and select left-middle node (from step 1.7).
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
(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.
5. Click Nodes twice, select the left-top and left-bottom nodes which define the first cross-section for
Spar2.
6. Click proceed.
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 Mz (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 toolbar, use the pull-down menu to switch to the HyperGraph 2D client.
3. From the menu bar, select Tools, 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. From the menu bar, select Tools > Free Body Diagram > Shear Moment Plot to open the Shear
Moment Plot panel.
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 Mz 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.
This option affects the number of resulting plots that will be generated. The options are: One plot per
loadstep, One plot per Y Component, and One curve per plot. The total number of curves that are
generated is always (Curves = number or loadsteps * number of Y components). In this example, since
you selected four loadsteps and two Y components, there are a total of eight curves that will be
extracted. The number of plots that these eight curves will be displayed on depends on the layout
selection. With the option, One Plot per loadstep, there are four plots since there are four loadsteps;
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.
Exercise 2: Extracting Free Body Diagrams from Global Loads Model and
Transfering to Detailed Model as Boundary Conditions – Submodeling Techniques
This exercise uses the model file, icw_ex2.hm.
2. From the menu bar select Post, then Free Body, then Force to open the FBD Forces tab.
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.
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)
which in general will not be zero and can be of interest.
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.
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
tab.
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.
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.
Step 3: Use FBD Export Manager to export FBD Forces to .fem file.
1. From the menu bar, select Post, then Free Body Export Manager to open the FBD Export Manger
tab.
4. Click proceed.
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.
This operation will export the currently displayed loads and all other associated/required cards to the
output file selected. This file can subsequently be imported into another HyperMesh database (typically
called the detailed model) and the loads contained therein can be "attached" to the structure of the
detailed model as boundary conditions with the addition of a rigid body constraint. This process will be
carried out in the next step.
10. Click Reset.
This operation clears the current display.
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. Load the model file, spar2_ex2.hm.
2. From the menu bar, select File > Import > Solver Deck to open the Import tab.
3. Select 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.
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.
Create a load collector for the rigid body constraint definition. From the menu bar, select Collectors,
then Create, then Load Collectors to to open the Create Load Collector dialog box.
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.
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
subpanel.
Click system.
Select system 102 on left-middle end (x-axis along length, y-axis along web, z-axis normal to web).
Assign a constraint to left-bottom node. From the menu bar, select BCs, then Create, then
Constraints to go to the Constraints panel.
Click create.
Click create.
Select dof3.
Make sure all other dofs are unselected.
Click create.
19. To update the loadsteps for all four free body load cases, perform the following:
From the menu bar, select Setup, then Edit, then LoadSteps to go to the LoadSteps panel.
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.
27. Click return to request displacement output for both output formats.
29. From the menu bar, select File, then Save As…, and save the model as spar2_ex2_analysis.hm.
30. From the Analysis page, click Radioss to run the model.
33. 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.
34. Once RADIOSS finishes, click return to exit the RADIOSS panel.
35. In the Post menu, click Deformed panel and review the results of the analysis.
38. Click deform to produce the deformed shape of Spar2 in the graphics area for the selected simulation.
40. In the Post menu, click Contour to go to the Contour panel and review the results of analysis.
45. Click contour to produce the contour plot in the graphics area.
46. (Optional) Continue to use the contour panel to review additional results.
48. (Optional) From the menu bar, select File, then Save.
49. From the menu bar, select File, then Exit to exit HyperMesh.