Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter 3
2D Meshing
Exercise 3a - 2D Shell Meshing and Topology Refinement
2. Mesh the part with an element size of 5. Set all of the options to match the picture
above.
3. Review the mesh. Overall the mesh looks pretty good but closer examination of
areas around the part reveals there are some extremely poor quality elements.
4. Manipulate the part using the Pan, Rotate and Zoom functions and identify areas of
poor mesh formation.
As discussed in the lecture, HyperMesh always maintains all edges in the model
except those that are suppressed.
Turning the mesh visualization off shows the surface edge lines and reveals that
there are many features within the model that interfere with mesh quality. This is
very often the case in geometric models imported from CAD. Topology refinement is
used to fix those areas to improve the quality of the generated mesh.
8. Click OK.
9. Select all the surfaces and click autocleanup.
HyperMesh has suppressed edges that it felt would not allow elements that met the
criteria to be created.
10. Review the part again having a look at the new mesh that was remeshed
automatically during the topology modification due to the Meshing Options already
defined (Preferences > Meshing Options > topology revision: > advanced
remesh).
You will see that the quality of the mesh has improved drastically.
The green mesh that is shown is only a preview mesh and to see how changes
affect it click the green mesh button. The mesh will not be finalized until the return
button is clicked.
5. From this screen try the following functions and see the effect they have on the
mesh. After each interactive change, click on mesh to update your green mesh to
see effects.
• Adjust the edge densities.
• Recalculate the entire model to have a 6 mm element size.
• Change the mesh style so that the element type is all trias and then all R-Trias.
• Alter the biasing on edges and determine the difference between linear,
exponential and bell curve biasing.
• Recalculate the mesh to have 5 mm quad elements on all surfaces.
6. Click on return to save the mesh.
4. Make the AlignAndSize collector current and the only collector visible.
5. From the 2D AutoMesh panel, size and bias sub panel, next to flow select the
align and size options.
7. Utilizing the isolate function in the Model Browser to see the results of the different
meshing options.
Note that the non-aligned standard mesh tends to be more orthogonal following the
direction of the cardinal axis. The Align option allows the mesh to flow with the
contours of the part and the addition of the size option controls the size of the
elements more and results in less trias.
7. Make Current the SurfDev collector and the only collector visible.
8. Select the surface deviation sub panel.
10. Mesh the part. Note how now the mesh size is dependent on and varies with the
curvature of the surfaces. Fillets between and areas of high surface curvature are
captured with smaller elements but large flat areas are of a higher element size.
11. Experiment in these two sub panels and determine how the interactive mesh
controls can be used to enhance the feature capturing abilities of these meshing
styles.
4. With the active selector now on lines, select the edges shown in the following image
(4 edges included in the rectangle).
Once both the point and line are selected, an edge will be created from the location
of the fixed point perpendicular to the line, same for the other lines.
Exercise
This exercise uses the model file, 03c-2D-MESH-IMPRINT-EXTEND.hm.
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.
Step 3: Solve the shell element connectivity issues using the Edges panel.
1. In the tolerance = field, type 0.01.
2. Select an element in the graphics area to select the component.
3. Click preview equiv.
The message bar displays the following message: "81 nodes were found."
6. Click equivalence.
The 96 coincident nodes are equivalenced.
7. Rotate and observe the model to see that the mesh still looks as it should be and no
elements are collapsed.
8. Click delete edges.
The red, free edges and their component, ^edges, are deleted.
Note: Remain in the Edges panel.
Step 4: Review the model’s free edges again to confirm that all of the shell
element connectivity problems have been corrected.
1. Click find edges.
Observe the red, 1-D elements (free edges).
Are there any red, free edges that should not belong if the mesh was continuous or if
all of the elements were connected?
Tip: 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 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
5. Click size = and enter the size which the normal should be in model units and select
display again.
When size = is set to 0, the vector will be 10% of the screen.
6. Toggle vector display to color display.
7. Click display.
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.
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.
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
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.
The message bar displays a message indicating how many elements failed this
check.
6. In the graphics area, click an element.
A window appears that lists each quality check result for the element.
76 HMD Introduction HyperWorks 2017.2.3
Proprietary Information of Altair Engineering, Inc
Chapter 3: 2D Meshing
7. Click the right or left mouse button to close the pop-up window.
8. On the right side of the panel, switch from standard to assign plot.
9. Click jacobian to review again.
A legend for jacobian values appears and each element is colored accordingly. The
red elements have a jacobian less than the threshold 0.7.
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.
HyperWorks 2017.2.3 HMD Introduction 77
Proprietary Information of Altair Engineering, Inc.
Chapter 3: 2D Meshing
15. Notice that several elements on the rib have an angle greater than 135.
16. Click return.
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
• Press the F12 key
2. Verify that you are in the size and bias subpanel.
3. Switch the entity selector to elems.
4. Toggle to interactive.
5. For element size=, type 3.5.
6. Select one rib element from the graphics area.
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.
The meshing module appears.
10. In the density subpanel, change the element density on the rib’s edge to 9.
11. Change the element density on the rib’s shortest edge to 5.
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.
8. Click return.
Step 9: Remove tria elements from another area of the model using the
edit element panel, split and combine subpanels.
1. Press the F6 key or from menu bar, Mesh > Create > 2D Elements > Element.
2. Go to the split subpanel.
3. Make sure to set the splitting line: points selector active, click four screen points
as shown the following image.
Temporary line segments are drawn to connect the points.
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.
Step 10: Modify washer radius and optimize element quality by using
Cleanup tools.
1. From the 2D page, click qualityindex or from menu bar, Mesh > Check > Elements
> Quality Index.
2. Click cleanup tools.
3. Click modify hole and washers.
9. Select the remesh number of layers checkbox, and then enter 3 in the editable
field.
10. Select a node on the washer as indicated in the previous image. HyperMesh
changes the washer's radius to 7.
Note: Because you selected the link washers checkbox, the hole's radius will
change accordingly (approx. 4.68). Due to the change in the hole's and washer's
dimensions, elements around the washer will be distorted and will fail in quality. You
can correct all of the failed elements in the model using the node optimize and
element optimize cleanup tools.
16. Left-click on a tria element and drag it toward the bottom edge of the model until it is
out of the model completely. HyperMesh highlights the selected tria element in pink.
Step 11: 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,
from menu bar, click View > Browsers > Hypermesh > Utility.
2. On the Geom/Mesh page, click Add Washer.
3. The Add Washer along a Circular Holes dialog box will be opened.
4. With the nodes selector active, select one node on the edge of the smaller hole as
indicated in the following image.
5. Click proceed.
A pop-up window for Add Washer along Circular Holes utility appears.
6. Toggle to Width, and for Value specify 3.0.
7. Select the Minimum number of nodes around the hole check box.
8. In the Density: field, enter 12.
9. Click Add.
10. Click Close.
The mesh around the hole should look like the mesh in the following image.
4. Select create.
5. Select reject.
6. Select component IMPRINT1 as source, select component shells as destination,
select destination for remain: option and make sure to flag option elems to
destination comp.
7. Select create.
Violet source elements are imprinted in destination (yellow), element organized into yellow component.
8. Select reject.
9. Select component IMPRINT1 as source, select component shells as destination,
select source for remain: option and make sure to flag option elems to destination
comp.
10. Select create.
Yellow destination elements are imprinted to Violet elements, element organized into yellow component.
4. Select create.
The resulted mesh, as shown in the following picture, connects the 2 parts with just 1
element along the projection, the remesh extension option is deactivated.
5. Select reject.
6. Repeat sub-step 3 and 4 with the same options and selections, just make sure to
flag on remesh extension option.
The resulted mesh, as shown in the following picture, connects the 2 parts with
remeshed elements along the projection, the remesh extension option is activated.
Exercise
This exercise uses the model file Feature_Based_Mesh.hm.
2. In the “Region from Feature Selection” windows, select the Circles sub-menu
3. Set the min and max Radius respectively to 1.0 and 10.0 and switch the selection
from Lines to Surface.
4. Click on Surfaces and select in the graphic area the upper surface as shown
below:
5. In the panel menu click on proceed; HyperMesh will show all circles found with
radius specified before.
6. Circles selection has done, in the Region Name field, you’ll find Circle1 named by
default, click on Create to define this region.
7. Create other two Regions for cylinders. Select the Cylinders submenu.
8. Set the min and max Radius respectively to 1.0 and 10.0
9. Double-click left mouse button on Surfaces, in the menu panels will appear surfaces
selection button: click on yellow field and select all and click on proceed.
10. Cylinders selection has done, in the Region Name field, you’ll find Cylinder1 named
by default, click on Create to define this region.
11. Repeat the sub-steps 8 to 10 to create a new cylinder region named Cylinder2; set
min radius 25.0 and max radius 100.0.
2. Repeat previous sub-step to assign each region to its mesh controls, following the
associations below:
Cylinder_Refine → Cylinder1
meshcontrol4 → Cylinder2
3. All surface meshing settings are updated. Select Volume Mesh > Model >
meshcontrol1, previously imported in order to assign the component to the volume
mesh control. In the EE, Entity Selection > Entities > 0 Components field, select
the *SOL1 component in the select component window.
2. Once the process is complete, select Volume Mesh, Right-click mouse button on
Volume Mesh and select Mesh to create the 3D mesh. The 3D mesh has been
created.
Exercise
This exercise uses the model file Plastic.hm.
1. Access to the Midmesh tool from , select Create > Midmesh > Create.
3. In split by two nodes select node to node, select two nodes (1a-1b and 2a-2b)
on midmesh, as shown in figure, and click on create.
4. Select edit face subpanel, click on delete, select all elements between the 2 edges
shown in the picture and click delete entity.
5. Select edit edge subpanel. In create mid edge select node to node, select two
nodes on midmesh, as shown in figure, and click on create.
6. Click on edit face subpanel. In fill face enter in select loop field, select the new
line and the other lines which enclose the area and click on fill.
1. In Model Browser select Views > View_step4, right-click and click show.
2. Click on edit edge subpanel. In T-edge align select edge and surfs, select the line
of the midmesh and the surface of the original geometry, as shown in figure.
4. Select the nodes (highlighted) on midmesh and select the line of the geometry as
shown in the picture below.
5. Click on align.
6. Repeat from step 2 to step 5 to edit the other areas indicated in figure.
3. Select edit face, in repair face select elems by face, select the elements, as
shown in figure and click on repair.
Step 9: Comparison.
In the Generate tab, define the following options, which will be used to generate the
comparison results. Specify the tolerance to use for comparing entities, in model units.
From the Result type list, specify the level of detail for the results by selecting Basic,
Full, or Detailed.
7. The Review tab is enabled once comparison results are available. In this tab, you
can control the comparison review mechanism options.
8. The Results tab is enabled once comparison results are available. In this tab, you
and review the area-based qualitative results for the comparison. The area, as a
percentage, for the source and target entities of each match type is reported in the
Source area% and Target area% fields
9. The Sets tab is enabled once comparison results are available. In this tab, you
can create entity sets from the generated comparison results.
Exercise
This exercise uses the model file Plastic-edit.hm. the model contains the automatic
midmesh.
2. Access to the Midmesh tool from , select Create > Midmesh > edit edge
subpanel.
3. In create mid edge select node to node, select two nodes on midmesh, as shown in
figure, and click on create
4. Click on edit face subpanel. In fill face click on select loop, select the new line
and click on fill.
4. Select the nodes (highlighted) on midmesh and select the line of the geometry as
shown in the picture below.
5. Click on align.
6. Repeat from step 2 to step 5 to edit the other areas indicated in the following
figures. To edit these areas, use edit edge and edit face subpanel, in particular use
delete edge, create mid edge, fill face and geom edge align.
3. Select edit face subpanel, in repair face select elems by face, select the
elements, as shown in figure and click on repair.
4. Repeat the steps 2 and 3 to edit the other areas indicated in figure.
Step 8: Comparison.
In the Generate tab, define the following options, which will be used to generate the
comparison results. Specify the tolerance to use for comparing entities, in model units.
From the Result type list, specify the level of detail for the results by selecting Basic, Full,
or Detailed.
7. The Review tab is enabled once comparison results are available. In this tab, you
can control the comparison review mechanism options.
8. The Results tab is enabled once comparison results are available. In this tab, you and
review the area-based qualitative results for the comparison. The area, as a percentage,
for the source and target entities of each match type is reported in the Source area%
and Target area% fields
Step 2: Review the pairs and identify maximum proximity distance to use
1. Press F4 to go to measure panel
2. Select 2 nodes to measure distance between them.
6. Click on “Fuse”
7. Click on “Reject” to undo fuse actions and try other parameters.
Step 2: Review the pairs and identify maximum proximity distance to use
1. Press F4 to go to measure panel
2. Select 2 nodes to measure distance between them.
1. Click on “Fuse”
2. Click on “Reject” to undo fuse actions and try other parameters.