Transcript
Page 1: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

An introduction to mesh generationPart I : Introduction

Jean-François Remacle

Department of Civil Engineering,Université catholique de Louvain, Belgium

Jean-François Remacle Mesh Generation

Page 2: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Jean-François Remacle Mesh Generation

Page 3: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Outline

Jean-François Remacle Mesh Generation

Page 4: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Scientific computing

Historically, the principal approaches in engineering design areExperimental and empirical techniquesAnalytical methods

Recently, those traditional tools have been completed by computer aideddesign.

Jean-François Remacle Mesh Generation

Page 5: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Scientific computing

There are several specialized tools that can be classified in the domain ofscientific computing

The art of modeling, i.e. finding the relevant set of equations thatdescribe a given process,Geometrical modeling and mesh generation tools,Discretization techniques, numerical methods,Numerical linear algebra, resolution of large systems,Post-processing techniques and visualization of simulation data’s.

Scientific computing consist in the numerical simulation of variousprocesses: physical, chemical, biological, financial... It enables

To span a wide range of parameters,To model very complex geometries,To couple multiple phenomenon together (multiphisics).

Jean-François Remacle Mesh Generation

Page 6: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Why scientific computing ?

Scientific computing is now considered as a common tool in engineeringdesign offices because of its high benefit/cost ratio. Moreover, scientificcomputing enables to

Enlarge the range of parameters that can be used in a laboratory,Is not limitated to empirrical relations or analytical tools,Enables to understand the physics of phenomenon for which it isimpossible to do any experience (climate, quantum mechanics,astrophysics...)

Moreover, scientific computing heavily relies on computer power for whichthe “price per flop” is decreasing rapidely.

Yet, scientific computing does not make other methods obsoletes (yet) andusually requires deep knownledge in the processes that are modeled (noblack box).

Jean-François Remacle Mesh Generation

Page 7: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Benefits for engineering

Scientific computing technologies provide reliable tools forEnhancing the quality of products,Lowering the cost of development,Accelerate the design cycle,Enabling an efficent control on fabrication processes,Predicting damages and their consequances (damage tolerentstructures)....

Jean-François Remacle Mesh Generation

Page 8: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1940’s)

1941 A. Hrennikoff uses framework method(Journal of Applied Mechanics, Solutionof Problems in Elasticity by theFramework Method).

1943Whirlwind program simulating aircraftperformance developed at MIT from1943 to 1950.Richard Courant studies St. Venanttorsion problem using FE concepts:proposed breaking a continuum probleminto triangular regions replacing the fieldswith piecewise approximations within thetriangular regions.

Jean-François Remacle Mesh Generation

Page 9: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1940’s)

1945 Electronic digital computer gainsexposure.

1946 Analysis Lab at Caltech builds analogcomputer to solve problems inengineering mechanics.

1947 W. Prager and J. L. Synge develophypercircle method, in connection withclassical elasticity theory (Q. AppliedMath, Approximation in Elasticity Basedon the Concept of Function Space).

1948 Transistor invented (Jack S. Kilby, MIT,Nobel Price of Physics, 2000).

Jean-François Remacle Mesh Generation

Page 10: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1950’s)

1950 Computer size and speed increase, makingit possible to handle FEA, available onlyto large aircraft.

1952CEA (Computer Engineering Associates)used FE modeling with a couple ofhundred degrees of freedom.B. Langefors recognizes global behaviorthrough assimilation of local behavior (J.Aeronautical Science, Analysis of ElasticStructures by Matrix Transformation withSpecial Regard to Semi-monologueStructures).

1953 N. J. Turner at Boeing’s StructuralDynamics Unit tests plane stress platemodels, which was published in 1956(independent of Argyris).

Jean-François Remacle Mesh Generation

Page 11: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1950’s)

1954 John H. Argyris (University of Stuttgart inGermany) publishes series on linearstructural analysis with solutions suitablefor digital computation.

1956 N. J. Turner, Ray W. Clough, HaroldClifford Martin, and LeRoy J. Topp paperand on direct stiffness method fordetermining FE properties– heralded asorigin of FEM.

1957 Ray W. Clough develops Matrix AlgebraProgram for IBM 701 (1951) and 704(1954) that solves linear equations.

1959 J. Greenstadt’s work allows for irregularlyshaped cell meshes (IBM, J. ResearchDevelopment, On the Reduction ofContinuous Problems to Discrete Form).

Jean-François Remacle Mesh Generation

Page 12: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1960’s)

1960R. J. Melosh addresses convergence of GEM and variational method(e.g., Ritz-Galerkin method).Ray W. Clough coins FE term (ASCE paper The Finite Element Methodin Plane Stress Analysis).John H. Argyris with Sydney Kelsey publishes in Aircraft EngineeringJournal (London), from 1954-55 research.

1962 K. O. Friedrichs uses the Dirichlet variation principle.1963 SADSAM (Structural Analysis by Digital Simulation of Analog

Methods) developed by Richard MacNeal and Robert Schwendler,forerunner of MSC/NASTRAN.

1964 IBM 7094, Univac 1107, etc., used for American aircraft FE programs.

Jean-François Remacle Mesh Generation

Page 13: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1960’s)

1965ASKA (automatic system for kinematics analysis) commercial softwareproduct based on Argyris’ work.Variational form develops, opening FEM to all fields of application; O.C. Zienkiewicz and Y. K. Cheung give it broader interpretation in article(Engineer, Finite Elements in the Solution of Field Problems).Wright-Patterson Air Force Base holds its first Conference on MatrixMethods in Structural Mechanics (AFFDL-TR-66-80) with 200 scientistsincluding early pioneers Turner, Clough and Argyris.Portable, desktop and microcomputers marketed.NASTRAN (NASA Structural Analysis Program) developed byMacNeal-Schwendler Corp., as early effort to consolidate structuralmechanics into a single program (proprietary version announced in1971).

1967M. J. L. Hussey applies theory of cyclical symmetry to FEM (ASCE,Journal of Structural Division)Two-dimensional analysis of the Concorde wing with approximately1,000 degrees of freedom was made on an analog computer in France.

Jean-François Remacle Mesh Generation

Page 14: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1970’s)

1970ANSYS (from ANSYS, Inc., formerly SwansonAnalysis Systems Inc.) grew out of nuclearindustry.Automotive industry begins to use FEM.FE software still limited to mainframecomputers, with transition from pre andpost-processing mostly being done by hand tointeractive pre-and post-processing programsbecoming generally available.First public release of NASTRAN. NASTRANSystems Management Office est. at NASALangley Research Center. Dr. J. P. Raney, Head.

1971INF-SUP condition identified and proved (alsocalled Babuska-Brezzi condition).First NASTRAN Colloquim held at NASALangley Research Center. Over 300 attendees.Papers presented covering many applications ofNASTRAN.

Jean-François Remacle Mesh Generation

Page 15: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1970’s)

19721,004 papers published during year.First version of MARC program introduced(general-purpose nonlinear FEA program),developed by Brown University researchers.

1974 Prof. R. D. Cook writes textbook for Universityof Wisconsin FE class (Concepts andApplications in Finite Element Analysis, Wiley).

1975 Interactive FE programs on small computersleads to rapid growth of CAD systems.

1976 CRAY supercomputer developed, which canhandle flow analysis.

Jean-François Remacle Mesh Generation

Page 16: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Historical Background (1980’s)

1980 Trends include electromagnetic applications(e.g., high-frequency power supplies), thermalanalysis, greater emphasis on model generation.

1983 Fluid Dynamics introduces FIDAP for industrialfluid flow and heat and mass transfer.

1989CFD (Computational Fluid Dynamics) and othernonstructural applications increase routine useof FE.Fluid flow analysis becomes more widespread,extending beyond work by large aerospacefirms, and turbulent flow analysis expected todevelop.

Jean-François Remacle Mesh Generation

Page 17: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Mesh Generation

Scope of the presentationHistory of mesh generation,Classification of meshes, definitions,Structured mesh generation techniques(elliptic, hyperbolic),Unstructured techniques (delaunay andfrontal),Hybrid meshes,Surface mesh generation,Data structures,Adaptive meshes.

Jean-François Remacle Mesh Generation

Page 18: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

History of Mesh Generation

In early 70’s, the Finite Element Method(FEM) was starting to become a majoractor in engineering design officesCAD systems are the basis of engineeringdesign. They represent parts withinmanufacturing tolerancesThe FEM requires an alternativerepresentation of the partsVery quickly, it was clear that some kindof automatization was required in meshgeneration procedures.

Jean-François Remacle Mesh Generation

Page 19: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

History of Mesh Generation

The plane-2D mesh generation problemwas solved withine 5 years.Planty of robustmethods/codes/algorithms have beenproduced. Triangular and quadrangularalgorithms are available.The 3D mesh generation is at least onlevel of magnitude more complex.

Jean-François Remacle Mesh Generation

Page 20: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Tetrahedral Mesh Generation

The tetrahedron is the 3D simplex.4 vertices, 6 edges, 4 faces,more numbers later.

Three categories of algorithm areavailable:

1 Delaunay (P.-L. George, N.Weatherhill...)

2 Frontal (J. Peraire, Bassi & Rebay, ...).3 Octree (M.S. Shephard).

Only few teams/researchers can pretend todevelop a “usable” 3D mesh generator.Softwares

Commercial : Ghs3D (INRIA), MeshSim(Simmetrix)...OpenSource : Gmsh, NetGen, TetGen.

Jean-François Remacle Mesh Generation

Page 21: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Hexaedral Mesh Generation

The hexaedron is the 3D cube.8 vertices, 12 edges, 6 faces,

Three are many algorithms available:1 Medial axis,2 Whisker weaving, plastering, paving...

The quest of the Graal: an automatingconforming hex-mesh generator.Softwares

Hexpress (NUMECA), TrueGrid,CUBIT (Sandia), ...

Jean-François Remacle Mesh Generation

Page 22: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Nomenclature

G the geometric modelM the mesh modelT/H tetrahedral/hexahedral meshΩV domain associated with the model V, V = G,MVd

i the ith entity of dimension d in a model VVd unordered group of topological entities of dimension d in model V[Vd] ordered group of topological entities of dimension d in model VφVd set of mesh entities of dimension d that are adjacent or contained

in a model V. φ may be a single entity, a group of entities ora complete model.

Vdi V

q the unordered group of topological entities of dimensionq that are adjacent to the entity Vd

i of model VVd

i Vqj the jth member of the adjacency list Vd

i Vq

dimVdi V

q the number of elements in the adjacency list Vdi V

q

< classification symbol used to indicate the associationof one or more mesh entities from the mesh model,M with an entity of the geometric model G,

I the incidence matrix of the mesh.

Jean-François Remacle Mesh Generation

Page 23: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Nomenclature

A mesh M is a geometrical discretization of a domain Ω that consists ofA collection of mesh entities Md

i of controlled size and distribution;Topological relationships or adjacencies forming the graph of themesh.

The mesh M covers Ω without neither overlap nor hole.A mesh is a mechanism that organizes the structuration of the domain Ω

with the aim of doing computation.

Jean-François Remacle Mesh Generation

Page 24: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Cartesian meshes

A cartesian mesh is characterized byA template that repeats itself,The adjacencies in the mesh are known implicitly: dimVd

i Vq is

constant for all p and q, p 6= q,Mesh lines are aligned with coodinates,A cartesian mesh does not comply with curved boundaries.

Jean-François Remacle Mesh Generation

Page 25: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Structured meshes

A structured mesh is characterized byA template that repeats itself,The adjacencies in the mesh are known implicitly: dimVd

i Vq is

constant for all p and q, p 6= q.Mesh lines are aligned with the geometry of the body,A structured mesh does comply with curved boundaries

Jean-François Remacle Mesh Generation

Page 26: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Unstructured meshesAn unstructured mesh is characterized by

No template, the structure of the mesh is irregular,The adjacencies in the mesh have to be given explicitely (in a file):dimVd

i Vq varies for p < q.

An unstructured mesh does comply with curved boundariesUnstructured mesh generation techniques have the advantage to be moregeneral (they apply to general complex domains) and more automatic(reduction of human interaction)

Jean-François Remacle Mesh Generation

Page 27: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Example

The classical NACA012 wingThe geometry of the wing is contained in ./examples/naca12_2d.geoThe geometry has to be completed, it only contains the definition ofcurves (B-Splines).

Jean-François Remacle Mesh Generation

Page 28: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Hybrid meshes

Hybrid meshes containStructured/Cartesian partsUnstructured parts

Hybrid meshes are often used in CFD, especially for boundary layer meshes

Jean-François Remacle Mesh Generation

Page 29: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Example : Flow past a sphere

Setup

Computational mesh (106 nodes) with resolved boundary layer(32 CPU ≈ 24h)Kinematic viscosity ν = 0.1m2/s

Free Stream Velocity U = 30m/s

Sphere diameter D = 1m

Jean-François Remacle Mesh Generation

Page 30: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Example : Flow past a sphere

Setup

Computational mesh (106 nodes) with resolved boundary layer(32 CPU ≈ 24h)Kinematic viscosity ν = 0.1m2/s

Free Stream Velocity U = 30m/s

Sphere diameter D = 1m

Jean-François Remacle Mesh Generation

Page 31: An introduction to mesh generation Part I : Introductionperso.uclouvain.be/vincent.legat/teaching/documents/meca2170-jfr... · An introduction to mesh generation Part I : Introduction

Introduction

Flow past a sphere II

Comparison results with other numerical methods

Method CD CL StLP + stab. MASS 0.667 0.052 0.134PSPG 0.663 0.071 0.140Ploumhans et al. 0.683 0.061 0.135Johnson et al. (Exp.) 0.629 − 0.148−0.165Georges et al. (Cen. flux) 0.661 0.066 0.134Jindal et al. 0.835 − 0.153Constantinescu et al 0.655 0.065 0.136

Jean-François Remacle Mesh Generation


Top Related