What Makes for a Good Mesh? CS101 Meshing Winter 2007 1 Mesh - - PDF document

what makes for a good mesh
SMART_READER_LITE
LIVE PREVIEW

What Makes for a Good Mesh? CS101 Meshing Winter 2007 1 Mesh - - PDF document

What Makes for a Good Mesh? CS101 Meshing Winter 2007 1 Mesh Quality What makes a mesh good? application dependent some general principles PL approximation (triangles/tets) faithful to geometry values gradients


slide-1
SLIDE 1

CS101 – Meshing Winter 2007

1

What Makes for a Good Mesh?

CS101 – Meshing Winter 2007

2

Mesh Quality

What makes a mesh good?

application dependent some general principles

PL approximation (triangles/tets) faithful to geometry

values gradients

simulation: numerical error

slide-2
SLIDE 2

CS101 – Meshing Winter 2007

3

Judging Quality

Approximation

given: some smooth function

best PL approximation distance: Hausdorff

Leif Kobbelt

CS101 – Meshing Winter 2007

4

Simplified Setting

Approximating a function

  • ver a simplicial complex

values at vertices how close is linear interpolant to

underlying function?

element shape and size

slide-3
SLIDE 3

CS101 – Meshing Winter 2007

5

Criteria

Setup

f given; g is PL interp. interpolation error gradient interpolation error stiffness matrix

Jonathan Shewchuk

Size very important; shape not so much Size important; angles very important

bad

  • kay

bad

  • kay

CS101 – Meshing Winter 2007

6

Assumptions

Curvature (directional)

assumed to be bounded then over element t

weaker but simpler

slide-4
SLIDE 4

CS101 – Meshing Winter 2007

7

Minimum Containment

How to find circle/sphere?

if circumcenter interior to triangle

circumradius

else: half the edge length of edge

with circumcenter on “wrong” side

tet: if circumcenter inside: rcirc else: rmc of triangles (1 or 2) with

circumcenter on wrong side

CS101 – Meshing Winter 2007

8

Gradients

Values not enough

slide-5
SLIDE 5

CS101 – Meshing Winter 2007

9

Gradients

Accuracy important as well

discretization error in FEM mechanics: ∇f represents strains

Jonathan Shewchuk

edge lengths

in circle area circumcircle CS101 – Meshing Winter 2007

10

Tetrahedra

Error bounds

approximation gradient

Good Bad

Jonathan Shewchuk

slide-6
SLIDE 6

CS101 – Meshing Winter 2007

11

Delaunay Optimality

For a given set of vertices

many triangulations for any dimension

Delaunay min. largest rmc

in 2D Delaunay min. largest rcirc

CS101 – Meshing Winter 2007

12

Stiffness Matrix

Condition number

accuracy of linear algebra

iterative solvers are slower all solvers less accurate

ratio of largest to smallest eigen

value

model problem:

slide-7
SLIDE 7

CS101 – Meshing Winter 2007

13

Conditioning

Global stiffness matrix

max eigen value

dominated by single worst element depends on shape

2D indep. of size; 3D largest ele. domin.

min eigen value

relatively independent of shape proportional to areas/volumes of ele.

CS101 – Meshing Winter 2007

14

Poisson Equation

Specific for each case

max eigen value matters most prefers equilateral triangles small angles bad simpler:

slide-8
SLIDE 8

CS101 – Meshing Winter 2007

15

3D Case

Still Poisson equation

need to solve cubic equation… smallest for equilateral tets dihedral angles relevant

small ones ok if opposing edge long

Good Bad

Jonathan Shewchuk

CS101 – Meshing Winter 2007

16

So Far: Isotropic

Adapt to function

when function is known

  • r anisotropy in PDE

curvature variation

slide-9
SLIDE 9

CS101 – Meshing Winter 2007

17

Anisotropic Meshes

Deform to isotropic space

judge Et careful with gradients

big nasty expressions good element if Et has no large angles

Actually: they are

  • k, but have to be

carefully aligned CS101 – Meshing Winter 2007

18

Anisotropic Meshes

Direction matters now

not-/aligned with principal

curvature directions

“equilateral” now with simplices may not be the best

primitives anymore…

slide-10
SLIDE 10

CS101 – Meshing Winter 2007

19

Quality Measures

How to optimize a mesh?

use reciprocal differentiability matters

don’t want gradient to vanish for the

near bad elements…

types of quality measures

long catalogues…

CS101 – Meshing Winter 2007

20

Types of Quality Ms.

Scale invariant

separate size and shape can be misleading…

error depends on size too smaller may be worse shape & OK

Size and shape

all effects in one number more specific to application

slide-11
SLIDE 11

CS101 – Meshing Winter 2007

21

Error & Quality

Mesh refinement

refine element if error too large Delaunay refinement for bad shape

Mesh smoothing

  • ptimize placement of vertices

differentiability matters now