Table of contents
- Introduction
- 1. What is a Mesh? (FEA Fundamentals)
- 2. Generating a Finite Element Mesh
- 3. Element Types and Topology
- 4. Mesh Quality Metrics
- 5. Mesh Sizing Considerations
- 6. Mesh Methods and Strategies
- 7. Mesh Validation and Independence
- 8. Meshing at Contact Interfaces
- 9. Troubleshooting Mesh-Related Failures
- 10. Advanced Topics
- 11. Conclusion
- Want to Go Deeper?
- Referenced Articles
Introduction
Meshing is the foundation of every finite element analysis (FEA). A high-quality mesh leads to accurate, efficient, and stable solutions, while a poor one can result in convergence errors, long run times, and unreliable results. This guide compiles essential concepts, techniques, and troubleshooting strategies for meshing in ANSYS.
Whether preparing a simple component or analyzing a complex assembly, this resource serves as a comprehensive reference for mesh generation, control, and validation.
1. What is a Mesh? (FEA Fundamentals)
A mesh is a numerical representation of geometry, built from small, connected pieces called elements, joined together at points known as nodes. The mesh divides the domain into discrete regions where the solver performs calculations — a meshed model consists of a finite number of elements (hence Finite Element Analysis).
Unlike the original CAD geometry, which is smooth and continuous, the mesh approximates the geometry using flat-sided elements. These discrete elements provide the framework over which the solver formulates and solves the governing equations numerically. In fact, the solver does not process CAD geometry directly — only the mesh. The mesh defines where to compute and how different parts of the structure are connected. Its shape, size, and quality directly affect simulation accuracy, stability, and performance.
Further foundational topics:
2. Generating a Finite Element Mesh
Mesh generation involves discretizing CAD geometry into finite elements. ANSYS provides a range of global and local mesh settings that control element size, growth, refinement near features, and transition behavior. Proper understanding of these parameters enables the creation of meshes that are both accurate and efficient. Mastering these settings is fundamental to successful meshing in ANSYS, as they govern not only mesh quality but also how well the model reflects physical behavior.
The following article serves as the foundational reference for these settings.
3. Element Types and Topology
Finite elements vary in shape, order, and formulation. Choosing the appropriate element type — linear vs. quadratic, solid vs. shell etc. — can have a significant impact on solution accuracy, convergence behavior, and computational cost. The article linked below explore FE element types in detail.
Explore:
- Linear vs Quadratic FE Elements
- Solid vs Shell vs Solid-Shell Elements
- Element Types in ANSYS
- What are Wedge15 and Pyramid13 Elements?
4. Mesh Quality Metrics
Mesh quality metrics serve as key indicators of simulation reliability and solver performance. High-quality meshes minimize interpolation error and reduce the likelihood of solver divergence. But how do we quantify “mesh quality” ? ANSYS (and other software) provides several built-in metrics to evaluate element quality, including:
- Skewness
- Orthogonal Quality
- Aspect Ratio
- Jacobian Ratio
Understanding these metrics and meeting their acceptable thresholds across these metrics is essential before solving.
5. Mesh Sizing Considerations
Element size plays a central role in balancing solution accuracy with computational cost. In general, smaller elements are more effective at capturing high-stress gradients, curvature, or localized effects, but increase the number of degrees of freedom (What is a degree of freedom?) and solution time. Larger elements reduce the computational load but may sacrifice accuracy in critical areas. Achieving the right balance is key.
Mesh sizing decisions should consider:
- Stress concentrations, small geometric features, and contact interfaces
- Curvature or proximity-driven refinement
- Contact sizing requirements — ensure sufficient mesh density at interfaces to avoid solver instability (see Section 8)
- Smooth transitions between coarse and fine regions to avoid element distortion during solution, which can cause convergence problems (see this guide)
6. Mesh Methods and Strategies
A meshing strategy governs how elements are distributed across the domain and how well they conform to geometric features. The method selected — whether automatic, sweep-based, or mapped — can directly impact mesh control, shape fidelity, and solver efficiency.
Key considerations:
- Fit to Geometry: Preserve curvature and feature boundaries
- Element Type Selection: Use appropriate topology (tetra, hex, shell, beam)
- Refinement Zones: Ensure detail in critical regions
- Transitioning: Prevent abrupt changes in element size
Meshes can be broadly categorized as structured or unstructured. Structured meshes follow a regular grid pattern and are particularly effective for simple, block-like geometries, offering better accuracy in problems involving bending, heat conduction, or layered materials. Unstructured meshes, with irregular element distribution, offer greater flexibility for complex or organic shapes but require careful attention to element quality and transition control. Choosing between these approaches depends on the geometry, physics, and solver capabilities.
Strategy-focused resources:
- ANSYS Mesh Methods Explained
- Understanding the Sweep Mesh Settings in ANSYS
- Multi-Body Parts in ANSYS
- How to Optimize Your Mesh for FEA
7. Mesh Validation and Independence
Mesh validation ensures that simulation results are credible and physically meaningful by confirming that they do not depend excessively on mesh resolution. It involves verifying whether key outputs — such as stress, deflection, or thermal gradients — remain stable as the mesh is refined.
A mesh independence study is the primary method for this. In such a study, the mesh is systematically refined while tracking changes in results. When further refinements lead to negligible changes — usually within a predefined threshold — the mesh is considered validated for that specific analysis.
This process confirms that the numerical solution is not being artificially influenced by mesh size and that the results truly reflect the modeled physics.
Guidance:
8. Meshing at Contact Interfaces
Contact interfaces require special attention to avoid numerical errors (or excessive warning), inaccurate force transfer, or solver divergence. Poor mesh characteristics near contact regions — such as abrupt transitions, inconsistent resolution, or elements prone to large distortions during solution — can significantly reduce the reliability of contact behavior. Inadequate meshing in these zones is a common cause of convergence issues, especially when using nonlinear material properties or simulating frictional contacts.
Key considerations:
- Maintain adequate mesh density on both sides of the interface
- Refine mesh around small contact areas or curved surfaces
- Avoid abrupt changes in element size near the contact zone
- Ensure elements at the interface have good shape quality
Recommended articles:
9. Troubleshooting Mesh-Related Failures
Mesh-related issues are a common cause of convergence failures. Some common issues are excessive distortion of elements, too much contact penetration,
Solutions:
- Dealing with Convergence Issues – Element Distortion Error
- Too Much Penetration at Contact Points – ANSYS Message
- Repairing Geometry
10. Advanced Topics
10.1 Mesh Numbering and Solver Efficiency
Mesh Numbering is a powerful yet often overlooked tool for refining how models are structured and exported. When used carefully, it can improve workflow clarity, ensure compatibility with external solvers, and simplify post-processing.
Explore:
11. Conclusion
Meshing is not just a preprocessing step — it is a critical part of the simulation process that determines the reliability, efficiency, and accuracy of every FEA model. A well-crafted mesh captures the essential features of the geometry, aligns with the physics of the problem, and ensures numerical stability throughout the solution.
Despite the availability of automated tools, meshing remains both a technical skill and an engineering art. It requires judgment, attention to detail, and a practical understanding of how numerical solvers interact with discretized geometry. While mesh quality metrics and independence studies provide objective checks, it is often true — and deceptively simple — that if a mesh looks good, it is more likely to perform well. Visual continuity, smooth transitions, and proper alignment with features are often the first indicators of a reliable mesh.
Ultimately, experience plays a crucial role in meshing. With time and practice, engineers develop an intuitive sense for what makes a mesh work — and what may cause a simulation to fail. Use this guide, along with the linked resources, as a reference to deepen both conceptual understanding and practical skill in generating effective meshes within ANSYS.
Want to Go Deeper?
If you’re serious about mastering simulation workflows in ANSYS, check out our eBook:
All Models Are Wrong: Structural Analysis with Ansys Workbench (Third Edition) available for $12.50.
It’s a practical, example-driven guide that goes beyond theory — covering real-world modeling decisions, convergence issues, boundary condition tricks, and validation techniques.
Check out the free preview : All Models are Wrong
Referenced Articles
What is a degree of freedom?
What is a Mesh Node?
What is a Shape Function?
What are Integration Points?
Understanding ANSYS Mesh Settings
Linear vs Quadratic FE Elements
Solid vs Shell vs Solid-Shell Elements
Element Types in ANSYS
What are Wedge15 and Pyramid13 Elements?
ANSYS Mesh Metrics Explained
Dealing with convergence issues
ANSYS Mesh Methods Explained
Understanding the Sweep Mesh Settings in ANSYS
Multi-Body Parts in ANSYS
How to Optimize Your Mesh for FEA
How to Verify Mesh Quality in ANSYS Workbench
What is a Mesh Independence Study?
How to Mesh at Contact Interfaces in FEA
Should You Define Contacts Before or After Meshing?
Too Much Penetration at Contact Points – ANSYS Message
Repairing Geometry
Understanding and Applying Mesh Numbering in ANSYS Mechanical