HM-3300: Check and Edit the Mesh

In this tutorial you will check and edit the mesh.

You will learn how to:
  • Identify shell element connectivity problems
  • Correct shell element connectivity problems
  • Review the model’s shell elements to ensure connectivity problems were corrected
  • Remesh the elements along the rib
  • Use element quality Cleanup tools
This exercise uses the cover.hm file, which can be found in the hm.zip file. Copy the file(s) from this directory to your working directory.


Figure 1.

Open the Model File

In this step you will open and view the model file, cover.hm.

  1. Start HyperMesh Desktop.
  2. From the menu bar, click File > Open > Model.
  3. In the Open Model dialog, open the file, cover.hm.

Review Free Edges

In this step you will review the model's free edges to identify shell element connectivity problems.

  1. To open the Edges panel, do one of the following:
    • From the menu bar, click Mesh > Check > Components > Edges.
    • On the Checks toolbar, click (Edges).
    • From the main menu, go to the Tool page and click edges.
    • Press Shift + F3.
  2. Set the entity selector to comps.
  3. In the graphics area, select any element.
    HyperMesh selects the component containing the element you selected.
  4. Click find edges.
    HyperMesh creates a red 1D element along each shell element edge that is free (one or more of the nodes on the element's edges are not shared by the adjacent elements), and organizes them into a new component named ^edges.
    Note: If the first character of a component's name is ^, the component and its contents will not be written to the input file when the model is exported.


    Figure 2.
  5. Observe the red, 1D elements (free edges), and try to identify gaps in the continuity of the mesh.
    Note: Look closely at the free edges interior to the model.
  6. In the Model Browser, Component folder, click next to shells to turn off its element display.
  7. Continue to identify which red, free edges do not belong in the model.


    Figure 3.
  8. Turn the element display back on for the shells component.

Correct Connectivity Problems

In this step you will correct the shell element connectivity problems using the Edges panel.

  1. In the tolerance= field, type 0.01.
  2. In the graphics area, select any element.
    HyperMesh selects the component containing the element you selected.
  3. Click preview equiv.
    HyperMesh create a sphere on the nodes that have a distance between each other that is equal to or less than the specified tolerance.
    Note: The Status bar reads, "81 nodes were found." A sphere was not created on every node along all of the red, free edges. To identify the rest of the nodes, you must specify a larger tolerance.
  4. In the tolerance= field, increase the value until you have identified all 96 nodes.
    Note: Do not increase the tolerance too much. Although you will identify the 96 nodes, an excessively large tolerance value may collapse elements when the identified nodes are equivalenced.
    Find the maximum tolerance value that you can safely use without collapsing the elements by pressing F10 to go to the Check Elems panel, 2d subpanel, and clicking length. The status bar reads "The min length is 1.49." This message indicates that you can safely use a tolerance value < 1.49, without causing any elements to collapse when identified nodes are equivalenced. Return to the Edges panel by clicking return.


    Figure 4.
  5. Click equivalence.
    HyperMesh equivalenced 96 coincident nodes.
  6. Rotate and observe the model to see that the mesh still looks as it should, and that none of the elements are collapsed.
  7. Click delete edges.
    HyperMesh deletes the red, free edges and their component, ^edges.

Review Free Edges

In this step you will review the model's free edges again to confirm that all the shell element connectivity problems have been corrected.

You should still be in the Edges panel.

  1. Click find edges.
    HyperMesh creates a red, 1D element along each shell element edge that is free.
  2. Observe the red, 1D elements (free edges). Are there any red, free edges that should not belong if the mesh was continuous, or if all elements were connected?
    Note: Red, free edges should only exist on the perimeter of the part and on the periphery of the internal holes.
  3. In the Model Browser, turn off the element display of the shells component.
  4. Verify that all free, red edges belong in the model.


    Figure 5.
  5. Click delete edges.
  6. Turn the element display back on for the shells component.
  7. Click return.

Display the Element Normals

In this step you will display the element normals and adjust them to point in the same direction.

  1. To open the Normals panel, do one of the following:
    • From the menu bar, click Mesh > Check > Elements > Normals.
    • On the Checks toolbar, click (Normals).
    • From the main menu, go to the Tool page then click normals.
    • Press Shift + F10.
  2. Go to the elements subpanel.
  3. Set the toggle to vector display.


    Figure 6.
  4. Set the top switch to comps.


    Figure 7.
  5. In the graphics area, select any element.
    HyperMesh selects the component containing the element you selected.
  6. Click display.
    HyperMesh draws vectors from the element centroids, which indicate the direction of the elemtn normals.
    Note: 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.


    Figure 8.
  7. In the size= field, type the size which the normal should be in model units.
    Note: When size= is set to 0, the vector will be 10% of the screen.
  8. Click display.
  9. Toggle vector display to color display.
  10. Click display.
    HyperMesh displays, on each side of the part, the element normals using the colors red and blue.
    Note: The red side of the elements is the positive normal direction, while the blue side is the negative normal direction.


    Figure 9.
  11. Under orientation, set the switch to elem.
  12. In the graphics area, select an element as indicated in the following image.


    Figure 10.
  13. Click adjust.
    All elements on both sides of the part are the same color, red or blue.
    Note: The status bar reads: "[X] elements have been adjusted."


    Figure 11.
  14. Optional: If after adjusting the normals there are still elements on one side of the part which are of different color, set the switch to elem under Orientation, select the elements that are of a different color, and then click reverse.
  15. Click return.

Review Element Quality

In this step you will review the quality of the elements using the check elems panel.

  1. To open the Check Elems panel, do one of the following:
    • From the menu bar, click Mesh > Check > Elements > Check Elements.
    • On the Checks toolbar, click (Check Elements).
    • From the main menu, go to the Tool page then click check elems.
    • Press F10.
  2. Go to the 2D subpanel.
  3. Verify that the jacobian < field is set to 0.7.
  4. Click jacobian.
    HyperMesh highlights the elements that have a jacobian of less than 0.7 and the Status bar displays a message indicating how many elements failed this check.
    Note: There are several elements on the triangular rib and around the smaller of the two holes that have a jacobian of less than 0.7.


    Figure 12.
  5. In the graphics area, click an element.
    A window appears that lists each quality check result for the element.


    Figure 13.
  6. Close the pop-up window by right-clicking.
  7. On the right side of the panel, switch from standard to assign plot.
  8. Click jacobian.
    A legend for jacobian values appears and each element is colored accordingly.
    Note: Red elements have a jacobian less than the threshold of 0.7.


    Figure 14.
  9. Under quads, verify that the min angle < is set to 45.
  10. Click min angle to determine if any quad elements have an angle of less than 45.
    Note: A couple of the elements on the rib have an angle of less than 45.


    Figure 15.
  11. Under quads, verify that the max angle > field is set to 135.
  12. Click max angle.
    Note: Several elements on the rib have an angle greater than 135.


    Figure 16.
  13. Click return.

Remesh Elements Using the AutoMesh Panel

In this step you will remesh the elements on the rib using the AutoMesh panel.

  1. To open the AutoMesh panel, do one of the following:
    • From the menu bar, click Mesh > Create > 2D AutoMesh.
    • From the main menu, go to the 2D page and click automesh.
    • Press F12.
  2. Go to the size and bias subpanel.
  3. Set the entity selector to elems.
  4. At the bottom of the panel, set the toggle to interactive.
  5. In the element size= field, type 3.5.
  6. In the graphics area, select one rib element as indicated in the image that follows.
  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 indicated in the following image.


    Figure 17.
  8. Complete your selection of elements by clicking elems >> by face.


    Figure 18.
  9. Click mesh.
    The meshing module opens.


    Figure 19.
  10. In the density subpanel, left-click on the rib's hypotenuse edge density number to increase it to 9 as indicated in the following image.


    Figure 20.
  11. Left-click on the rib's shortest edge density number to increase it to 5 as indicated in the following image.


    Figure 21.
  12. Keep all other element edge densities the same.
  13. Go to the mesh style subpanel.
  14. Under mesh method, set the last option to free (unmapped).
  15. Under mesh method, click set all.
  16. Preview the mesh by clicking mesh.


    Figure 22.
  17. Go to the checks subpanel.
  18. Check the jacobian, quads: min angle, and quads: max angle.
    Note: None of the elements failed the minimum and maximum angle checks, and only a couple of the elements have a jacobian of less than 0.7. The smallest jacobian is 0.68, which can still be considered good quality.


    Figure 23.
  19. Accept the mesh and return to the main menu by clicking return.


    Figure 24.

Adjust the Node Placement

In this step you will use the Smooth panel to adjust the node placement on the rectangular plane of the remeshed elements.

  1. Open the Smooth panel by clicking Mesh > Cleanup Elements > Smooth.
  2. Go to the plates subpanel.
  3. Activate the smooth: elems selector.
  4. Select an element on the rectangular plane of the remeshed elements.
  5. Click elems >> by face.


    Figure 25.
  6. In the iterations= field, type 10.
  7. Switch the smoothing algorithm from autodecide to shape corrected.
  8. Click smooth.
  9. Click return.


    Figure 26.

Remove Tria Elements

In this step you will remove tria elements from another area of the model using the edit element panel, split and combine subpanels.

  1. Go to the 2D page.
  2. Click edit element.
  3. Go to the split subpanel.
  4. Verify that the splitting line: points selector is active.
  5. Click the four screen points as indicated in the following image.
    HyperMesh draws temporary line segments to connect the points.
    Note: Right-click to undo the last line segment drawn, or click delete line to start over and reselect points.


    Figure 27.
  6. Click split.
    HyperMesh splits the elements that have a line passing through them.
    Note: The resulting mesh should look like the mesh in the following image, with two pairs of adjacent tria elements.


    Figure 28.
  7. Go to the combine subpanel.
  8. Set the toggle to combine to quad.
  9. Select the two adjacent tria elements as indicated in the following image.


    Figure 29.
  10. Click combine.
    HyperMesh combines the two tria elements into one quad element.


    Figure 30.
  11. Repeat Steps 11.9 and 11.10 to combine the other two tria elements into one quad element.


    Figure 31.
  12. Click return.

Modify and Optimize Element Quality

In this step you will modify the washer radius and optimize element quality by using Cleanup tools.

  1. From the 2D page, click qualityindex.
  2. Click cleanup tools.
  3. Click modify hole & washers.
  4. Clear the edit checkbox.
  5. Select a node on the washer as indicated in the following image.
    The radius field displays a value of 5.98.


    Figure 32.
  6. Select the edit checkbox.
  7. In the radius field, type 7.
  8. Select the link washers checkbox.
  9. Select the remesh number of layers checkbox, and then type 3 in the editable field.
  10. Select a node on the washer as indicated in the previous image. The radius changes 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.


    Figure 33.
  11. Click node optimize.
  12. Select a few nodes on the elements that you modified in Step 9.
    When you select a node, HyperMesh repositions it so that the elements attached to the node will have the best possible quality based on the criteria specified in the Quality Index panel.
  13. Click element optimize.
  14. Select the red and yellow elements in the model.
    When you select an element, HyperMesh adjusts it to have the best quality possible based on the criteria specified in the Quality Index panel.


    Figure 34.
  15. Click drag tria element.
    Note: Use the drag tria element tool to drag a tria element toward a different location in the model, or out of the model completely.
  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.


    Figure 35.
  17. Click return.

Add Radial Elements

In this step you will add a ring of radial elements around the smaller of the two holes.

  1. Open the Utility tab by clicking View > Browsers > HyperMesh > Utility from the menu bar.
  2. Click Geom/Mesh.
  3. Click Add Washer.
  4. In the Add Washer along Circular Holes dialog, double-click Nodes.
  5. Select one of the nodes on the edge of the smaller hole as indicated in the following image.


    Figure 36.
  6. Click proceed. HyperMesh selects nodes around the hole.


    Figure 37.
  7. Under Selection, set the toggle to Width.
  8. Under Value, type 3.0.
  9. Select the Minimum number of nodes around the hole checkbox.
  10. In the Density field, type 12.


    Figure 38.
  11. Click Add.
    HyperMesh creates a washer around the hole.


    Figure 39.
  12. Click Close.

Imprint Mesh

In this step you will imprint the mesh to different destinations.

  1. In the Model Browser, Component folder, right-click on IMPRINT1 and select Show from the context menu.
  2. Go to the 2D page.
  3. Click mesh edit.
  4. Go to the imprint subpanel.
    Note: Use the imprint subpanel to sync or line up different, overlapping component's meshes in order to facilitate a better connection modeling between the components.


    Figure 40.
  5. Verify that the source selector is set to comps, and then select the IMPRINT1 component.
  6. Verify that the destination selector is set to comps, and then select the shells component.
  7. From the remain drop-down list, select destination.
    Note: This option takes existing elements/components that can be imprinted into destination elements/components, and changes their direction and destination.


    Figure 41.
  8. Clear the elems to destination comp checkbox.
  9. Click create.


    Figure 42.
  10. Click reject.
  11. Repeat Steps 12.5 and 12.6 to select the IMPRINT1 component as the source and the shells component as the destination.
  12. From the remain drop-down list, select destination.
  13. Select the elems to destination comp checkbox.


    Figure 43.
  14. Click reject.
  15. Repeat Steps 12.5 and 12.6 to select the IMPRINT1 component as the source and the shells component as the destination.
  16. From the remain drop-down list, select source.
  17. Select the elems to destination comp checkbox.
  18. Click create.


    Figure 44.
  19. Click reject.
  20. Click return.

Extend the Mesh

In this step you will extend the mesh to different destinations.

  1. In the Model Browser, Component folder, right-click on IMPRINT1 and select Hide from the context menu.
  2. Right-click on the EXTEND component and select Show from the context menu.
  3. From the 2D page, click mesh edit.
  4. Go to the extend subpanel.
    Note: Use the extend subpanel to create smoothly-meshed connections between different components that do not quite touch, but are meant to. Mesh can be imprinted such that both components are remeshed to match, or the source component is remeshed to match the destination component, and vice-versa. In addition, you can merge the elements of the source component into the destination component.
  5. Click source: nodes >> by path.
  6. On the EXTEND component, select the source nodes indicated in the following image.


    Figure 45.
  7. Verify that the destination selector is set to comps, and then select the shells component.
  8. From the projection list, select along vector.
  9. Activate the N1 selector.
  10. Select N1 and N2 to define the direction, as indicated in the following image.


    Figure 46.
  11. Clear the remesh extension checkbox.
  12. Click create.
    HyperMesh connects the two parts with one element along the projection because the remesh extension checkbox was cleared.


    Figure 47.
  13. Click reject.
  14. Repeat Steps 13.5 and 13.11 but select the remesh extension checkbox.
  15. Click create.
    HyperMesh connects the two parts with remeshed elements along the projection because the remesh extension option was selected.


    Figure 48.

Save Your Work

In this optional step you will save your work.

Optional: From the menu bar, click File > Save > Model.