Geometry Clean-Up: Section 1: Importing and Repairing CAD
Geometry Clean-Up: Section 1: Importing and Repairing CAD
Chapter 2
Geometry Clean-up
Section 1: Importing and Repairing CAD
HyperMesh is capable of importing geometry from many CAD sources. Most of the popular
CAD packages are read directly, and for those that are not, HyperMesh supports the
popular intermediate languages as well. While the importation of data generally occurs with
little error, there are issues that can occur, and as such HyperMesh, offers a wide variety of
tools to remedy these geometric issues.
Geometry Import
Importing geometry occurs in the import tab which is accessible through the Import
Geometry Icon . Using this tab the user can import data from popular CAD packages
such as
Unigraphics (NX2,NX3,NX4,NX5)
o Supports import of .prt files
o Provides a UG part browser
o Requires an installation of UG to be
accessible, either locally or on a network
CATIA (V4,V5)
o Supports import of .model (V4) files
o Additional license from Altair is required
of .catpart (V5) file import.
Topology Repair
Surface Definition
Topology
Topology deals with the connection of adjacent surfaces. Connectivity is critical as
HyperMesh will create a contiguous mesh over connected faces thus guaranteeing stresses,
strains and deformations will propagate over the part in a realistic manner. When importing
native CAD files, HyperMesh will read surface connectivity directly from the file. When using
intermediate languages (IGES or STEP) HyperMesh will use a tolerance calculation to
determine when two edges should be connected. While this will work very well, there can
be issues with connectivity that will need to be fixed before meshing.
HyperMesh allows for easy visualization of surface connectivity through the use of an edge
color scheme shown below;
Topology Visualization
Display of the topology can be controlled with this pull down found in
the HyperMesh Visualization tool bar.
Auto: Surfaces and Edges will be displayed in the component color
unless the user is in a topological editing function where then surfaces
will be colored grey and edges will be in their topological color.
By Comp: Surfaces and Edges will always be displayed in component
colors.
By Topo: Surfaces will always be colored grey and edges will always
be in their topological color.
By 2D Topo: Only 2D topology will be displayed in topological color.
By 3D Topo: Only 3D topology will be displayed in topological color.
Mixed: Similar to By Topo but while the edges will be in topological colors, the surfaces will
be in their component color and not grey.
Mappable: Displays the solid entities in the various mappable states.
Connector Constraints
Loads Morphing
Systems Vectors
Topology Repair
While HyperMesh will in most cases create proper and connected geometry accurately
representing the initial CAD geometry, there can be issues with the import. Common issues
are:
The Quick Edit Panel is a “tool box” of utilities for geometry repair. Many of the tools can be
found in other panels and their functionality is exactly the same. The Quick Edit panel simply
provides a single location for many of the most often used tools. These include:
Unsplit – Removes / deletes an edge created by splitting a surface in HyperMesh.
Toggle – Same as edge edit panel; change edge type within tolerance.
Filler surf – Select a line on a free surface edge to recreate any missing surfaces.
Delete surf – Same as delete panel (surfaces only).
Replace point – Same as point edit panel; move/retain point.
Release point – Same as point edit panel; must be associated with line.
Midsurfacing: Introduction
Often the most accurate representation of a part is through the use of shell elements.
These elements best represent parts that are relatively thin compared to their overall
surface area and typically have a uniform thickness. Shell elements have no physical
thickness representation; they are displayed as two dimensional entities whose thickness is
simply a numerical value assigned to them. FE Solvers assume the shell element to lie at
the middle of the thickness. As that is the case, the mesh created on the surfaces needs to
lie at the mid-plane of the part. CAD geometry is usually created as either a solid part or a
series of faces representing a solid part. Using the midsurface tool in HyperMesh, proper
surfaces can be extracted that lie on the mid-plane of the part and can be meshed
appropriately.
Midsurfacing: Tools
Midsurface Creation:
A new parameter max R/T ratio has been added to the midsurface “extraction options”
panel. This parameter, while always present in the midsurface function, has now been
“exposed.” Previously this value was hard-coded into the function at a value of 2.0
If R/T is greater than the value specified in the panel, then this location will not be
recognized as a junction.
If T is different on different sides on the junction (as in the above picture), then the
maximum T is used.
Will work with fillets that have a variable radius across their length.
Use of this parameter with a high value can result in situations where it is not valid to
use a midsurface representation. If these are not areas of high stress and the results
in this area are not of interest, then it is acceptable. This option does not affect the
core midsurface algorithm.
Midsurface Modification
Quick Edit – Repair a midsurface by correcting where the vertices of the surface were
placed.
Assign Target – An extension to quick edit, and functions in a similar fashion.
Replace Edge – Fill in gaps and slivers by combining one surface edge with another.
same as in the edge edit panel
Extend Surface – Extends two surfaces (e.g., ribs) until they intersect.
View Thickness – Review of the thickness of a midsurface using white lines (probes)
extending from each vertex of the surface.
Midsurfacing: Strategy
Obtain a closed volume of surfaces or solids
For complex parts try defeaturing the defining volume
o This simplifies the part and can produce a better midsurface. See section 3
of this chapter for more information about defeature.
Generate the midsurface using the auto midsurface
View the midsurface and correct any errors using modification tools.
Defeaturing
There are many features on a part that are not critical to the structure of the part and have
little or no effect on the analysis. These features can include
Lightening Holes – For part weight reduction
Edge Filets – For reduction of sharp corners allowing safer part handling
Surface Fillets – To meet manufacturing requirements
These features often are process driven and are not function critical. While our goal is to
mesh a part that as closely as possible accurately represents the geometry, these features
often degrade the quality of the mesh. As such they can be defeatured out of the design
allowing for a substantially improved mesh with little impact on the results.
Defeaturing Tools
Pinholes
o Searches for holes within a surface. Fills them in and leaves a fixed point at
their previous center.
Surf Fillets
o Searched for surfaces that act as a fillet between other surfaces and
tangentially extends them to achieve a sharp corner.
Edge Fillets
o Searches for rounded edge corner and squares them off.
Duplicates
o Finds and deletes duplicate surfaces.
Symmetry
o Identifies part symmetry and deletes or organizes the results.
7. There are multiple problems with the model. They need to be repaired. Zoom into the
area shown above. Rotate the model to the view shown to the
right.
8. Zooming in reveals some serious problems with the midsurface
in this area. These can be fixed with the quick edit sub-panel.
9. If you have exited the Midsurface panel enter it again.
10. Select the quick edit sub-panel
11. Set the target type to point to point.
12. Set the target location to as selected.
13. Leave the remaining settings and pick the surface shown by the arrow.
The display will now show the way in which HyperMesh decided to create the middle
surface. That needs to be corrected
14. Pick the point in the green circle (circle labeled 1) to indicate the point whose offset you
wish to fix (see image below).
15. Pick the point in the blue circle (circle labeled 2) to indicate which point it should have
been offset to (see image below). You will need to hold down the left mouse button to
highlight the line, and then click on the line to select a node.
16. HyperMesh then shows what the new surface offset will look like. This is now correct
This area has a gap that cannot be fixed with the midsurface tools. Often problems with
a midsurfaced model need to be fixed with the regular geometry repair tools.
20. Go to the Geometry Quick Edit panel.
21. Select Replace point
22. Pick the node in the green circle (circle
labeled 1)as the node to mode, and the
node in the blue circle (circle labeled 2) as
the node to retrain.
The gap will close
23. Repeat for the other point.
24. Find the remaining issues with the model
and use the midsurfacing tools, point
replace, filler surface and other geometry
tools to repair the part.
The radius around the hole will be selected but the larger fillet will not be. This is
because the larger fillet has a radius of 7 and thus was not found.
6. Click the two surfaces that make the larger fillet to highlight them.
7. Click remove.
The fillets will be removed once again providing for a better mesh quality.
The holes are removed and a fixed point is placed at their former center. This will
guarantee a node is in that location but the points can be removed is no node is needed.
Step 2: View the model in topology display toolbar 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 Geometry Color is set to Auto ( ).
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.
6. Pick one of the red lines bounding one of the gaps (missing surfaces).
HyperMesh automatically creates a filler surface to close the hole.
7. Repeat sub-step 7 to create a filler surface in the other gap.
8. Click return to exit the panel.
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
2. Activate the equiv free edges only check box.
3. Select surfs >> all.
4. Verify that the cleanup tol= is set to 0.01, which is the global cleanup tolerance
specified in the options panel.
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 sub-panel.
2. In the cleanup tol = field, type 0.1.
3. In the graphics area, click one of the free edges shown in the following image.
4. 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.
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.
2. Click return to exit the panel.