Module 05: Mesh Control
Introduction to ANSYS Mechanical
17.0 Release
1
© 2016 ANSYS, Inc.
March 10, 2016
Module 05 Topics
This module covers introductory topics for meshing and mesh control:
2
© 2016 ANSYS, Inc.
March 10, 2016
05.01 Meshing in Mechanical
The nodes and elements representing the geometry model make up the mesh:
Generate the mesh or preview the surface of the mesh before solving (previewing the surface mesh is faster than generating the entire mesh).
3
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
Physics-Based Meshing allows the user to specify the metrics used in measuring element quality to be based on the kind of analysis being done.
Physics preferences are:
Different analysis types define acceptable or favorable element shapes differently. For this course we limit the discussion to Mechanical.
4
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
− Relevance = coarse mesh
+ Relevance = fine mesh
5
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
Sizing Control:
Medium
Coarse
Fine
-100
+100
0
-100
+100
0
Relevance Center
6
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
Size Function provides several advanced automated control options over the global mesh sizing. It is controlled in the Mesh Details view.
7
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
The Uniform Size Function provides control based solely on the user-input parameters Min Size, Max Face Size, Max Tet Size, and Growth Rate.
The Curvature Size Function, as the name implies, is driven by the curvature encountered in the geometry: the higher the curvature, the higher the mesh density. For models dominated by lots of curved features this control provides a way to refine the mesh over much of the model without using numerous local controls. For models composed of mostly straight features, this control will have a lesser impact.
Curvature On
Curvature Off
8
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
The Proximity Size Function provides a means to control the mesh density in regions of the model where features are located more closely together. In cases where the geometry contains a number of such regions, this control provides a way to refine the mesh over much of the model without using numerous local controls.
As mentioned above, proximity and curvature can be combined.
Num Cells = 4
Num Cells = 12
9
© 2016 ANSYS, Inc.
March 10, 2016
05.02 Global Mesh Controls
Shape Checking:
Element Midside Nodes:
Number of Retries: If poor quality elements are detected, the mesher will try again using finer mesh controls. This setting limits the number of possible retries.
Kept
Dropped
Element A
Element B
10
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Local Mesh Controls can be applied to either a Geometry Selection or a Named Selection. These are available only when the mesh branch is highlighted. Some of the available controls include :
11
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method Control: provides the user with options for the meshing algorithm to be used.
Method = Automatic (default):
12
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Triangle (Tri)
Quadrilateral (Quad)
13
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = Tetrahedrons:
Patch Conforming
Patch Independent
Underlying Geometry
14
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = Hex Dominant: Creates a free hex-dominant mesh
Solid Model with Hex dominant mesh (approximate percentages):
Tetrahedrons – 443 (9.8%)
Hexahedron – 2801(62.5%)
Wedge – 124 (2.7%)
Pyramid – 1107 (24.7%)
15
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = Sweep (hex and possibly wedge shapes):
Source
Target
Note: the geometry shown here has six different possible sweep directions.
16
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = MultiZone:
MultiZone Mesh
17
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = MultiZone—Controls:
Details View of MultiZone Method
Geometry for MultiZone Meshing
MultiZone Mesh
18
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = MultiZone—Controls:
Details View of MultiZone Method
Geometry for MultiZone Meshing
Cut section of MultiZone Mesh
19
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = MultiZone—Controls:
Geometry
Type: Tetra
Type: Hexa Dominant
Type: Hexa Core
Type: Tetra/Pyramid
20
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Method = MultiZone—Controls:
Geometry with a sliver face
Sliver face captured in mesh
No Defeaturing
Using Defeaturing
Sliver face ignored in�mesh
21
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Surface Body Methods:
Note: Each method contains a unique set of options in the details allowing additional configuration.
22
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Sizing:
“Soft” control may be overridden by other mesh controls, “Hard” may not.
23
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Sizing—sphere of Influence:
24
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Contact Sizing: generates similarly-sized elements on contact faces for face/face or face/edge contact regions.
25
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Refinement:
Note: The refinement method generally offers less control and/or predictability over the final mesh, since the initial mesh is simply split. This splitting process may adversely affect other meshing controls.
26
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Mapped Face Meshing: generates structured meshes on surfaces
Mapped quad or tri mesh also available for surface bodies.
27
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Mapped Face Meshing:
Original mapping failed as indicated by the status icon.
By specifying side and end vertices, the mapped face mesh succeeds.
28
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Inflation: useful for adding layers of elements along specific boundaries.
Note: Inflation is used more often in CFD and EMAG applications, but may occasionally be useful for capturing stress concentrations etc. in structural applications.
29
© 2016 ANSYS, Inc.
March 10, 2016
05.03 Local Mesh Controls
Pinch: allows the removal of small features by “pinching” out small edges and vertices.
30
© 2016 ANSYS, Inc.
March 10, 2016
05.04 Troubleshooting
Mesh Metrics
Mesh metrics are described further Section 05.07 “Mesh Quality Criteria” and in Appendix 05.2 “Mesh Quality Criteria.”
31
© 2016 ANSYS, Inc.
March 10, 2016
05.04 Troubleshooting
If the mesher is not able to generate a mesh, an error message will be returned:
When possible, Mechanical will �graphically display the problem �region(s) (RMB in the message �window). Using the wireframe view �will make finding these areas easier.
32
© 2016 ANSYS, Inc.
March 10, 2016
05.04 Troubleshooting
The mesher also provides visual cues to identify obsolete and/or failed meshes. As shown in the figures below, failed meshes are shaded in maroon and obsolete meshes are shaded in yellow.
33
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
Virtual topology is a feature that can aid you in reducing the number of elements in the model, simplifying small features out of the model, and simplifying load abstraction. The “Virtual Topology” branch is added below the “Model” branch.
34
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
In this example, one edge of this multibody part has a size control assigned which causes irregularities in the overall mesh.
In the figure at upper right, 3 edges are �“virtually” split to produce improved �elements shapes.
Initial Mesh
Final Mesh
Virtual Split Edges
Size Control
35
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
Surface Model Example:
Virtual Cell
36
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
A “Virtual Topology” branch is added below the “Model” branch:
37
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
In some instances it may be desirable to modify topology to allow application of some desired effect (e.g., mesh control, load, support, …):
38
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
Virtual entities can be reviewed, edited or deleted from the context toolbar (highlight Virtual Topology branch):
39
© 2016 ANSYS, Inc.
March 10, 2016
05.05 Virtual Topology
Keep in mind that the underlying “real” topology can change!
Example: a chamfer is included along with the top surface in this virtual cell. The interior lines are not recognized anymore.
Original mesh
The resulting element’s edge is shown as a solid line and the original chamfer and top surface is shown as a dotted line.
The chamfer representation is no longer present.
Mesh with virtual topology
40
© 2016 ANSYS, Inc.
March 10, 2016
05.06 Direct Meshing
Bodies can be meshed/remeshed individually in any desired order
Automated meshing
Meshing first the block then the pipe
Hexas
Wedges
Meshing first the pipe then the block
Hexas
41
© 2016 ANSYS, Inc.
March 10, 2016
05.07 Mesh Quality Criteria
You can check mesh quality using Mesh Metrics.
Remember: Each physics type has its own quality criteria.
42
© 2016 ANSYS, Inc.
March 10, 2016
05.07 Mesh Quality Criteria
The Mesh Details Display Style option can be used to display the mesh color-coded by the various mesh quality measures:
43
© 2016 ANSYS, Inc.
March 10, 2016
05.07 Mesh Quality Criteria
Example mesh metric : Element Quality
This metric is based on the ratio of the volume to the edge length for a given element.
0 1
Bad Perfect
44
© 2016 ANSYS, Inc.
March 10, 2016
05.07 Mesh Quality Criteria
For additional information on mesh metrics, see�Appendix 05.2: Mesh Quality Criteria
45
© 2016 ANSYS, Inc.
March 10, 2016
05.08 Workshop 05.1: Mesh Creation
Goal:
Use the various mesh controls to mesh a small assembly.
46
© 2016 ANSYS, Inc.
March 10, 2016
05.09 Workshop 05.2: Mesh Control
Goal:
Use the various mesh controls to enhance the mesh for a small assembly.
47
© 2016 ANSYS, Inc.
March 10, 2016
05.10 Appendix 05.1
Model Assembly
48
© 2016 ANSYS, Inc.
March 10, 2016
05.10 Appendix 05.1: Model Assembly
Geometry is not only the starting point for a Workbench-based structural simulation.
Multiple finite element models can be assembled to leverage all Mechanical functionalities, including contact detection.
49
© 2016 ANSYS, Inc.
March 10, 2016
05.10 Appendix 05.1: Model Assembly
You can import mesh data (solids and shells) from *.cdb† files into Workbench using the External Model component system and scale, rotate, and/or translate parts as needed.
Contact detection will be performed as if you were working with geometry data.
† A *.cdb file is an ANSYS format that contains model information in terms of ANSYS Mechanical APDL commands.
50
© 2016 ANSYS, Inc.
March 10, 2016
05.10 Appendix 05.1: Model Assembly
Multiple Workbench systems can also be combined. Geometry, Mesh, and Named Selections are retrieved.
51
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2
Mesh Quality Criteria
52
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Aspect Ratio:
1 5-10 20 ∞
Perfect Bad
53
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Jacobian Ratio:
1 10 30 ∞
Perfect Bad
54
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Warping Ratio:
0 0.2 0.4 ∞
Perfect Bad
0 0.1 1 ∞
Perfect Bad
55
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Parallel Deviation:
0 170
Perfect Bad
56
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Maximum Corner Deviation:
90 180
Perfect Bad
60 165
Perfect Bad
57
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Skewness:
0 0.75 1
Perfect Bad
58
© 2016 ANSYS, Inc.
March 10, 2016
05.11 Appendix 05.2: Mesh Quality Criteria
Orthogonal Quality:
0 1
Bad Perfect
59
© 2016 ANSYS, Inc.
March 10, 2016