A Brief Introduction to Mesh Generation

A Brief Introduction to Mesh Generation

A brief introduction to mesh generation Josep Sarrate Laboratori de Càlcul Numèric (LaCàN) Departament d’Enginyeria Civil i Ambiental Universitat Politècnica de Catalunya (Spain) http://www.lacan.upc.edu Layout of the course 1. Why do we need meshes? 2. Geometry description 3. Classification of mesh generation methods 4. Structured mesh generation methods 5. Unstructured mesh generation methods 6. Mesh optimization and mesh adaption 7. Concluding remarks 2 Layout of the course 1. Why do we need meshes? 2. Geometry description 3. Classification of mesh generation methods 4. Structured mesh generation methods 5. Unstructured mesh generation methods 6. Mesh optimization and mesh adaption 7. Concluding remarks 3 Why do we need meshes? No mesh No simulation 4 Why do we need meshes? Low quality mesh Low accuracy in the simulation 5 1. Why do we need meshes? ▪ The simulation process Standard simulation process Adaptive simulation process Get/import a geometric model Get/import a geometric model Generate a geometric model Generate a geometric model valid for the simulation valid for the simulation Set boundary and initial conditions Set boundary and initial conditions Generate a mesh Generate a mesh Computational analysis Computational analysis Refine / Remesh Error estimation Error > ε Error < ε Visualization Visualization 6 Layout of the course 1. Why do we need meshes? 2. Geometry description 3. Classification of mesh generation methods 4. Structured mesh generation methods 5. Unstructured mesh generation methods 6. Mesh optimization and mesh adaption 7. Concluding remarks 7 2. Geometry description • How are geometries described? • CAD (brep) • Tessellation • Images Image from MeshGems Image from CADfix 8 2. Geometry description ▪ Geometric models are developed mostly taking into account visualization, design, prototype and manufacture constraints ▪ Can not be directly applied into a simulation process ▪ They must be adapted to the simulation process: • Requirements prescribed by the physics of the problem • Requirements prescribed by the numerical method ▪ Two major types of actions • De-featuring • Healing 9 2. Geometry description ▪ De-featuring: removing geometrical details that are not relevant for the simulation process Remove fillets, chambers, blend surfaces Remove imprints or extrusions Remove holes 10 2. Geometry description ▪ Healing: repairing errors in the geometrical model Watertight: all the volumes must be completely closed Remove repeatedpeated entities Other issuess: lost entities, detached entities, 11 2. Geometry description ▪ How we can address theses issues? • Using CAD packages • CadFix (ITI TranscenData) • Creo Elements/Pro (ProEngineer) • Catia (Dassault Systems) • Solid Works (Dassault Systems) • Solid Edge (Siemens) • Rhinoceros • Some meshing environments provides tools • Catia (Dassault Systems) • CD-Adapco (Siemens) • Ansys • Abaqus (Dassault Systems) • GiD 12 2. Geometry description ▪ How CAD models are linked to a meshing environment? CAD Model Geometry Mesh Generation kernel kernel Discrete Model ▪ The geometry and the mesh of the model are represented by entities. ▪ In both cases it is of the major importance to take into account: • The topological relationship between entities • The geometrical relationship between entities 13 2. Geometry description ▪ Geometry engines (kernels) • Parasolid (Siemens) • Acis (Dassault Systems) • Open Cascade (Principia, open source engine) ▪ Some engines provide a file format to import / export the model representation • FBX/X_T (Parasolid) • SAT (Acis) Other open file formats • STEP • IGES 14 2. Geometry description ▪ CAD geometry representation points: (x,y,z) location 15 2. Geometry description ▪ CAD geometry representation points: (x,y,z) location Curves: bounded by two points 16 2. Geometry description ▪ CAD geometry representation points: (x,y,z) location Curves: bounded by two points Surfaces: closet set of curves 17 2. Geometry description ▪ CAD geometry representation points: (x,y,z) location Curves: bounded by two points Surfaces: closet set of curves Volumes: closet set of surfaces 18 2. Geometry description ▪ CAD geometry representation Wire (loop): points: ordered set of curves on surface (x,y,z) location Curves: bounded by two points Surfaces: closet set of curves Volumes: closet set of surfaces 19 2. Geometry description ▪ CAD geometry representation Wire (loop): points: ordered set of curves on surface (x,y,z) location Curves: bounded by two points Surfaces: Edges: closet set of curves Orientation of a curve w.r.t. a loop Volumes: closet set of surfaces 20 2. Geometry description ▪ CAD geometry representation Wire (loop): points: ordered set of curves on surface (x,y,z) location Curves: bounded by two points Surfaces: Edges: closet set of curves Orientation of a curve w.r.t. a loop Volumes: closet set of surfaces Shell: oriented set of surfaces comprising a volume 21 2. Geometry description ▪ CAD geometry representatio Wire (loop): points: ordered set of curves on surface (x,y,z) location Curves: bounded by two points Surfaces: Edges: closet set of curves Orientation of a curve w.r.t. a loop Volumes: closet set of surfaces Shell: oriented set of durfaces Face: comprising a volume oriented surface w.r.t. a shell 22 2. Geometry description ▪ CAD geometry representation Wire (loop): points: ordered set of curves on surface (x,y,z) location Curves: bounded by two points Surfaces: Edges: closet set of curves Orientation of a curve w.r.t. a loop Volumes: closet set of surfaces Solid: Shell: oriented set of surfaces Face: Body (group): comprising a volume oriented surface w.r.t. a shell Collection of solids 23 2. Geometry description ▪ CAD geometry description Volume 1 Surface 7 Manifold Geometry: Each volume maintains its own set of unique surfaces Volume 1 Volume 2 Surface 11 Surface 1 Surface 2 Surface 3 Surface 4 Surface 5 Surface 6 Surface 7 Volume 2 Surface 8 Surface 9 Surface 10 Surface 11 24 2. Geometry description ▪ CAD geometry description Volume 1 Non-Manifold Geometry: Volumes share matching surfaces Volume 1 Volume 2 Surface 11 Surface 1 Surface 2 Surface 3 Surface 4 Surface 5 Surface 6 Volume 2 Surface 8 Surface 9 Surface 10 Surface 11 25 2. Geometry description ▪ CAD geometry description • Boundary Representation of the geometry (Brep) • Hierarchical classification of geometrical and topological entities Entity Topological Geometrical dimension classification classification 0-D vertex point 1-D edge curve wire 2-D face surface shell 3-D solid volume body • From a meshing point of view, we are interested in non-manifold representation of a geometry • The hierarchical description of a CAD model can be exploited by the meshing algorithms 26 Layout of the course 1. Why do we need meshes? 2. Geometry description 3. Classification of mesh generation methods 4. Structured mesh generation methods 5. Unstructured mesh generation methods 6. Mesh optimization and mesh adaption 7. Concluding remarks 27 3. Classification of mesh generation methods ▪ Type of meshes: depending on the number of adjacent elements to each inner node Structured mesh (constant) Unstructured mesh (non-constant) Structured vs unstructured Domain must verify some constraints Valid for arbitrary domains More restrictive for dealing with non-constant More flexible for dealing with non-constant element size element size Preferable for aligning elements with boundaries Can be used for aligning elements with / material properties boundaries / material properties Easier to develop More complex to develop 28 3. Classification of mesh generation methods ▪ Type of meshes: depending on the intersection between elements Conformal mesh Non-conformal mesh - Empty set or part of an entity of - Empty set or an entity of inferior inferior dimension dimension - There are hanging nodes - There are not any hanging nodes Conformal vs non-conformal Flexible / restrictive for dealing with non- More flexible for dealing with non- constant element size constant element size More usual in industry Less usual in industry 29 3. Classification of mesh generation methods ▪ Type of meshes: depending on the intersection between elements Conformal mesh Non-conformal mesh - Empty set or part of an entity of - Empty set or an entity of inferior inferior dimension dimension - There are hanging nodes - There are not any hanging nodes Non-conformal meshes are useful for: • structured meshes + • large gradients in the element size Image from D. Hue et.al. 29 3. Classification of mesh generation methods ▪ 2D meshes are composed by polyhedral elements ▪ Most common 2D-element types: Triangle (3 edges) Quadrilateral (4 edges) Mesh composed by 245 tris Mesh composed by 1413 quads 30 3. Classification of mesh generation methods ▪ 3D meshes are composed by polyhedral elements ▪ Most common 3D-element types: Tetrahedron (4 tris) Hexahedron (6 quads) Mesh composed by 168 tetrahedra Mesh composed by 84 hexahedra 31 3. Classification of mesh generation methods ▪ 3D mixed meshes ▪ Other 3D elements Pyramids (4 tris & 1 quad) Prisms(2 tris & 3 quad) Images from Pointwise (http://www.pointwise.com /) 32 3. Classification of mesh generation methods ▪ 3D mixed meshes ▪ Other 3D elements Pyramids (4 tris & 1 quad) Prisms(2 tris & 3 quad) Images from Pointwise (http://www.pointwise.com /) 32 3. Classification of mesh generation methods ▪ Hierarchical mesh generation approach Most of the meshing algorithms follow a bottom-up approach Initial Mesh points Mesh curves Mesh surfaces Mesh volumes (adapted/healed) (0-D entities) (1-D

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    203 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us