HM-3300: Check and Edit the Mesh
In this tutorial you will check and edit the mesh.
- 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
Open the Model File
In this step you will open and view the model file, cover.hm.
- Start HyperMesh Desktop.
- From the menu bar, click File > Open > Model.
- 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.
-
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.
- Set the entity selector to comps.
-
In the graphics area, select any element.
HyperMesh selects the component containing the element you selected.
-
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.
-
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.
- In the Model Browser, Component folder, click next to shells to turn off its element display.
-
Continue to identify which red, free edges do not belong in the model.
- 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.
- In the tolerance= field, type 0.01.
-
In the graphics area, select any element.
HyperMesh selects the component containing the element you selected.
-
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.
-
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.
-
Click equivalence.
HyperMesh equivalenced 96 coincident nodes.
- Rotate and observe the model to see that the mesh still looks as it should, and that none of the elements are collapsed.
-
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.
-
Click find edges.
HyperMesh creates a red, 1D element along each shell element edge that is free.
-
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.
- In the Model Browser, turn off the element display of the shells component.
-
Verify that all free, red edges belong in the model.
- Click delete edges.
- Turn the element display back on for the shells component.
- Click return.
Display the Element Normals
In this step you will display the element normals and adjust them to point in the same direction.
-
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.
- Go to the elements subpanel.
-
Set the toggle to vector display.
-
Set the top switch to comps.
-
In the graphics area, select any element.
HyperMesh selects the component containing the element you selected.
-
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.
-
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.
- Click display.
- Toggle vector display to color display.
-
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.
- Under orientation, set the switch to elem.
-
In the graphics area, select an element as indicated in the following
image.
-
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."
- 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.
- Click return.
Review Element Quality
In this step you will review the quality of the elements using the check elems panel.
-
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.
- Go to the 2D subpanel.
- Verify that the jacobian < field is set to 0.7.
-
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.
-
In the graphics area, click an element.
A window appears that lists each quality check result for the element.
- Close the pop-up window by right-clicking.
- On the right side of the panel, switch from standard to assign plot.
-
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.
- Under quads, verify that the min angle < is set to 45.
-
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.
- Under quads, verify that the max angle > field is set to 135.
-
Click max angle.
Note: Several elements on the rib have an angle greater than 135.
- Click return.
Remesh Elements Using the AutoMesh Panel
In this step you will remesh the elements on the rib using the AutoMesh panel.
-
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.
- Go to the size and bias subpanel.
- Set the entity selector to elems.
- At the bottom of the panel, set the toggle to interactive.
- In the element size= field, type 3.5.
- In the graphics area, select one rib element as indicated in the image that follows.
-
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.
-
Complete your selection of elements by clicking elems >> by
face.
-
Click mesh.
The meshing module opens.
-
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.
-
Left-click on the rib's shortest edge density number to increase it to 5 as
indicated in the following image.
- Keep all other element edge densities the same.
- Go to the mesh style subpanel.
- Under mesh method, set the last option to free (unmapped).
- Under mesh method, click set all.
-
Preview the mesh by clicking mesh.
- Go to the checks subpanel.
-
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.
-
Accept the mesh and return to the main menu by clicking
return.
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.
- Open the Smooth panel by clicking Mesh > Cleanup Elements > Smooth.
- Go to the plates subpanel.
- Activate the smooth: elems selector.
- Select an element on the rectangular plane of the remeshed elements.
-
Click elems >> by face.
- In the iterations= field, type 10.
- Switch the smoothing algorithm from autodecide to shape corrected.
- Click smooth.
-
Click return.
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.
- Go to the 2D page.
- Click edit element.
- Go to the split subpanel.
- Verify that the splitting line: points selector is active.
-
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.
-
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.
- Go to the combine subpanel.
- Set the toggle to combine to quad.
-
Select the two adjacent tria elements as indicated in the following
image.
-
Click combine.
HyperMesh combines the two tria elements into one quad element.
-
Repeat Steps 11.9 and 11.10 to combine the other two tria elements into one
quad element.
- Click return.
Modify and Optimize Element Quality
In this step you will modify the washer radius and optimize element quality by using Cleanup tools.
- From the 2D page, click qualityindex.
- Click cleanup tools.
- Click modify hole & washers.
- Clear the edit checkbox.
-
Select a node on the washer as indicated in the following image.
The radius field displays a value of 5.98.
- Select the edit checkbox.
- In the radius field, type 7.
- Select the link washers checkbox.
- Select the remesh number of layers checkbox, and then type 3 in the editable field.
-
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.
- Click node optimize.
-
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.
- Click element optimize.
-
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.
-
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.
-
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.
- Click return.
Add Radial Elements
In this step you will add a ring of radial elements around the smaller of the two holes.
- Open the Utility tab by clicking View > Browsers > HyperMesh > Utility from the menu bar.
- Click Geom/Mesh.
- Click Add Washer.
- In the Add Washer along Circular Holes dialog, double-click Nodes.
-
Select one of the nodes on the edge of the smaller hole as indicated in the
following image.
-
Click proceed. HyperMesh
selects nodes around the hole.
- Under Selection, set the toggle to Width.
- Under Value, type 3.0.
- Select the Minimum number of nodes around the hole checkbox.
-
In the Density field, type 12.
-
Click Add.
HyperMesh creates a washer around the hole.
- Click Close.
Imprint Mesh
In this step you will imprint the mesh to different destinations.
- In the Model Browser, Component folder, right-click on IMPRINT1 and select Show from the context menu.
- Go to the 2D page.
- Click mesh edit.
-
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.
- Verify that the source selector is set to comps, and then select the IMPRINT1 component.
- Verify that the destination selector is set to comps, and then select the shells component.
-
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.
- Clear the elems to destination comp checkbox.
-
Click create.
- Click reject.
- Repeat Steps 12.5 and 12.6 to select the IMPRINT1 component as the source and the shells component as the destination.
- From the remain drop-down list, select destination.
-
Select the elems to destination comp checkbox.
- Click reject.
- Repeat Steps 12.5 and 12.6 to select the IMPRINT1 component as the source and the shells component as the destination.
- From the remain drop-down list, select source.
- Select the elems to destination comp checkbox.
-
Click create.
- Click reject.
- Click return.
Extend the Mesh
In this step you will extend the mesh to different destinations.
- In the Model Browser, Component folder, right-click on IMPRINT1 and select Hide from the context menu.
- Right-click on the EXTEND component and select Show from the context menu.
- From the 2D page, click mesh edit.
-
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.
- Click source: nodes >> by path.
-
On the EXTEND component, select the source nodes indicated in the following
image.
- Verify that the destination selector is set to comps, and then select the shells component.
- From the projection list, select along vector.
- Activate the N1 selector.
-
Select N1 and N2 to define the
direction, as indicated in the following image.
- Clear the remesh extension checkbox.
-
Click create.
HyperMesh connects the two parts with one element along the projection because the remesh extension checkbox was cleared.
- Click reject.
- Repeat Steps 13.5 and 13.11 but select the remesh extension checkbox.
-
Click create.
HyperMesh connects the two parts with remeshed elements along the projection because the remesh extension option was selected.
Save Your Work
In this optional step you will save your work.