Printing - Creating 2-D Elements From Surfaces Using The Automesh Function - HM-3100
Printing - Creating 2-D Elements From Surfaces Using The Automesh Function - HM-3100
Function - HM-3100
For this tutorial it is recommended that you complete the introductory tutorial, Getting Started with
HyperMesh - HM-1000.
The automesh module has the ability to automatically mesh specified surfaces given an element edge
length. The module also has the ability to interactively select and mesh multiple surfaces. It can increase
biasing, density, change mesh parameters, and element types all before accepting the mesh. Once the
mesh is created, the remesh button can be used to re-mesh the surfaces.
The automesh panel includes four subpanels: create mesh, mesh params, cleanup, and proj to edge.
There are three options in the create mesh sub-panel. The switch allows you to choose from the
interactive, automatic, and QI optimized selections. The default is interactive. The interactive option
is used to automesh multiple surfaces or elements with user-controlled parameters. Once a surface or a
group of elements have been selected for the automeshing module, the information is retained and
updated with any changes to meshing parameters while in the automeshing module. The next time the
selected entity, either surfaces or a group of elements, is brought into the automeshing module, the
saved data is used unless the reset mesh parameters to: button is selected, in which case the old
information is discarded and new values are computed.
The meshing parameters can be set to either element size with element shape or use mesh params.
When the mesh params option is used, the mesh is created by using the parameters chosen in the
mesh params sub-panel, such as use chordal deviation mesh or use size and biasing. This tutorial
The toggle between elements to current comp and elements to surface’s comp tells HyperMesh
where these newly created elements should be located. You can put created elements in the associated
surface components or the global current working component where you define them. After clicking the
green mesh button, the automeshing module will be displayed allowing you to adjust element density and
biasing of all the shared and free edges belonging to the selected surfaces, change element type, and
perform quality checks. Once the elements are created, you may select surfaces that contain bad
elements or a group of elements, and you can refine them by clicking the remesh button. HyperMesh
will first delete the existing elements and then re-mesh the selected entity.
The failed surfs button, below identify and select:, directs HyperMesh to scan through all the selected
surfaces for mesh and highlight those failed in creating meshes in your last attempt. The unmeshed
surfs button allows you to find all the surfaces in the displayed model that do not have any mesh
associated to them.
The Automatic panel has the same features as the interactive panel. The only difference is it creates
elements on surfaces without bringing up the interactive automeshing modules.
The QI optimized panel behaves differently from interactive and automatic. It allows you to specify the
target element quality you would like to achieve. Set the toggle to use criteria from QI panel or specify a
criteria file. You can establish the quality criteria in the qualityindex panel (2D page) as well as create a
criteria file. Please review the qualityindex panel documentation for details on setting the required
quality parameters and working with criteria files.
Once target criteria are chosen, the QI optimized panel creates meshes on the selected surfaces to best
meet the criteria. An additional option, allowing the meshing module to move nodes across green,
shared edges of the surfaces, can be turned on.
The Mesh params sub-panel is divided into two parts. The left part contains options and settings for
use chordal deviation meshing algorithm described in HM-3140. The right part contains options for
the use size and biasing meshing algorithm described in tutorial HM-3130.
The cleanup sub-panel consists of seven features: split surf, unsplit surf, toggle, trim-intersect, add
points, remove points, and replace points.
Split surf has the same function as trim with two nodes located at the surface edit panel. After
choosing two nodes on a selected surface, HyperMesh creates a line between these two nodes, and
uses this line to trim the selected surface at the normal direction.
Unsplit surf has the same function as remove interior trim lines in the surface edit panel. This
feature not only removes trim lines from associated surfaces, but also deletes them from the model. A
useful example of this feature is to remove pinholes.
Toggle has the same function as edge/toggle in the geom cleanup panel. The detail of using this
function is also described in the tutorial HM-2020 Geometry Clean Up.
Trim-intersect allows you to remove any edge fillets and has the same functional as the trim-intersect
feature in the defeature panel. This allows you to remove rounded corners along an edge.
Add points allows you to interactively add fixed points on surface edges or interior to the surface. This
tool exists only in this panel and has two separate functions. The first function allows you to click on a
surface edge or interior to a surface to create a fixed point at that location. Access this function by
selecting the point option next to add points. The second function allows you to click on a surface edge
and create a fixed point in the middle of that edge. Activate this function by selecting the line option next
to add points.
Remove points has the same function as fixed points/suppress in the geom cleanup panel. This
allows you to remove/suppress any fixed points that are not surface vertices.
Replace points has the same function as fixed points/replace in the geom cleanup panel. The details
of using this function are described in tutorial HM-2020 Geometry Clean Up.
cleanup subpanel
The Proj to edge sub-panel will locate all interior fixed points on a set of surfaces, then project each of
these points to the nearest (perpendicular) edge location on its own surface only. This produces mesh
patterns that are more regular in appearance.
The distance tolerance and angle tolerance are parameters used to control creation of fixed points. If
the shortest distance between an edge and an interior fixed point is less than or equal to the distance
tolerance, a fixed point will be created on the edge. If the angle ABC, formed by an existing fixed point on
an edge (A), the fixed point to-be-created (B) and the interior fixed point (C), is less than the angle
tolerance, a fixed point will not be created.
In this section you will first interactively mesh selected surfaces, then apply various automeshing
modules, remesh selected surfaces, and finally delete all the elements using remesh button.
1. Go to the global panel, click component =, click bottom, click element size text box and enter 2.0
and press ENTER.
2. Enter the automesh panel through 2D page and go to the create mesh subpanel. Make sure the
toggle remains in interactive.
3. Click toggle to switch from elements to current comp to elements to surface’s comp.
4. Verify surfs is active (outlined in blue) and select surface id 6, and 7 (see figure above).
5. Click mesh. The automesh modules including density, algorithm, type, biasing, details, and
checks will be displayed in the main menu area.
6. Click mesh button and review the temporary mesh.
Note: Select the checks panel, and then click on warpage button to check warpage value. Elements
having a higher warpage than the set value are highlighted. The maximum warpage displays on the
header bar.
7. Click the radio button in front of algorithm module to activate the function.
Note: The small square icons on the center of surface id 6 and 7 indicate that HyperMesh will use
mapped as rectangle meshing algorithm to create the mesh.
− Move the mouse and click the square icon located at the center of surface id 6. The icon will
show the new meshing algorithm.
− Click on mesh again and examine how the mesh changes.
Note: Select the checks panel, and then click on warpage button to check warpage value. Notice that
now the maximum warpage found is lower. This is a significant improvement when compared to the
previous value obtained by using mapped as rectangle meshing algorithm.
− Click the switch below the meshing algorithm and choose mapped as triangle.
− Move the mouse and click the square icon located at the center of surface id 6. The icon will
change to a triangle shape.
− Click on mesh and note the triangular icon automatically changes to the free (unmapped) icon..
Note: The mapped as triangle algorithm should be applied to a surface with three sides only. When
you apply the triangle algorithm to other types of surfaces HyperMesh automatically switches to the free
(unmapped) algorithm. The mapped as pentagon algorithm should be applied to a surface with five
sides only.
− Repeat the same steps to change the meshing algorithm back to autodecide.
− Click set all button on the right side of meshing algorithm. This step is to apply autodecide
option on all the selected surfaces.
− Click mesh button.
Note: Select the checks panel, check warpage and note the new Max warpage.
− Click the switch below the smoothing algorithm and choose no smoothing.
− Click set all button to apply the algorithm to all the selected surfaces.
− Click smooth button and examine the change of the mesh.
Note: The mixed element type is only applied to four side surfaces meshed using the mapped as
rectangular algorithm.
Note: The toggle surf panel allows users manually change element type.
16. Click the radio button in front of details module to activate the function.
17. Change the mapping parameters:
− Click on a small diamond shape icon located at the center of surface id 6.
− Click the check box in front of size control to activate this function. A check will appear in the
box.
− Click mesh button and examine the change of mesh.
− Click the check box in front of size control again to disable this function.
− Click the check box in front of skew control to activate this function. A check will appear in the
box.
− Click mesh button and examine the change of mesh.
− Click the check box in front of size control to activate this function. A check will reappear in the
box. Now both skew control and size control are activated.
− Click mesh button and examine the change of mesh
− Click the check boxes for size control and skew control. Both functions are now disabled.
Note: The mesh generated by either type of element shape will be influenced by the size control and the
skew control.
18. Click the radio button in front of the density module to activate the function.
19. Change the element density on selected edges:
− Click the number field next to the element density= and enter 10.
− Click set edge to button.
− Move cursor to graphic area and click on density numbers located at top two long edges and
bottom two long edges (see figure below)
− Click the number field next to the element density= and enter 3.
1. Click the radio button in front of biasing module to active this function.
2. Change the element biasing on selected edges:
− Click on the switch under bias style:, select bellcurve biasing style.
− Click green set all panel on the left side of bellcurve in order to activate this style.
− Click the number field next to bias intensity = and enter -0.500
− Click the set edge box
− Click the shared edges between surface id 4 and surface id 6, and do the same step at one
free edge of surface id 7 (see figure below).
− Click the mesh button.
Note: Make sure not to check the box in front of the reset the mesh parameters to. The densities will
automatically match the previously meshed bottom surfaces and have coincident nodes. The default
node densities set in the global are assigned elsewhere around the surfaces. The use of reset meshing
parameters to: will override the automatic coincident matching feature.
Note: The mesh on surface id 6 and 7 is assigned to component bottom, and the elements on surface
id 4 are assigned to component middle, the same as components of their associate surfaces.
This section demonstrates the usage of the cleanup, add points, and remove points sub-panels while
automeshing a model. The addition of these functions in automesh panel allows you to clean up
surfaces without leaving the automesh panel. The mesh is done by setting the reset meshing
prarmeters to: to element size with specified element type.
1. While still in the automesh/cleanup subpanel, select the line button to the right of the label toggle:.
The cleanup tolerance of 0.2 should be automatically displayed in the field next to cleanup tol =.
2. Click on the green shared edge between surface id 6 and 7.
Note: The element size should already be set to 2.0 due to the change of the global element size setting
in the previous step.
Note: Fixed points are now associated with the middle component.
3. Select the create mesh subpanel.
4. Enter the interactive subpanel and select the surface id 5 and 8.
5. Click mesh button.
6. Click mesh button again to create elements.
Note: Observe the mesh on surfaces id 5 and how the fixed points affect the placement of the nodes.
When you import this model, you have some free points in the points collector. Free points (with
graphical symbol X’s ) don’t affect your meshing. After you change those points from free points to fixed
points, HyperMesh will be forced to put nodes on those fixed points later when you mesh your model.
7. Click on abort to abort the mesh.
1. Enter the cleanup subpanel and click on the top node box next to split surf option.
2. To choose the first node, move the cursor to the shared edge between surface id 3 and 2 and click
on the middle of the edge. A node will be created at that location.
Note: A node can be created simply by clicking anywhere along the edge. You don’t have to highlight the
edge or wait until the cursor becoming a box.
3. Once the first node is selected, the second node box is highlighted automatically. Click on the vertex
on the opposite side of the surface id 3. As shown in the figure below, a line connecting these two
Note: Trimming surfaces allow you to split surfaces and generate shared edges in between. Later while
meshing surfaces, you will have more nodes on shared edges. Which gives you more control over your
mesh.
Note: These two nodes should be placed so they break the edge into sections similar to the nearby
edges (see figure below).
1. Close any current working HyperMesh sessions by clicking red quit panel
2. Start a new HyperMesh session
Note: A node can be created simply by clicking anywhere along the edge. You don’t have to
highlight the edge or wait until the cursor becomes a box.
3. Once the first node is selected, the next node box is highlighted automatically. Click the vertex on
the opposite side of the surface id 3.
As shown in the figure below, the line connecting these two nodes is used to trim the surface id 3 at
the normal direction.
4. Repeat step 1 – 3 to trim surface id 2 and surface id 1 as shown in the figure below.
Note: Trimming surfaces allows you to split surfaces and generate shared edges in between. Later,
while meshing surfaces, you will have more nodes on shared edges, which gives you more control
over your mesh.
− Remain in create mesh subpanel. Make sure the toggle remains in interactive.
− Verify elems is active.
− Select elements with poor quality on surface 8. Selected elements are highlighted white.
− Click remesh. Notice you entered the meshing module and selected elements to be remeshed.
Note: Compare the difference since changing the feature angle in the options panel. Notice that
after increasing the feature angle, Hypermesh no longer puts element density in the middle of the
meshed area.
− Click adjust edge, and move the cursor to the bottom edge of surface 8.
− Change element density to 8, which is the same as the upper edge between surface 8 and
surface 5.
− Click mesh to generate elements.
− Click return to go back to the automesh panel.
− Click return again to accept this mesh.
Note: Practice remeshing elements to refine other elements that you are not satisfied with.