Efficient and good Delaunay meshes from points random points M. S. - - PowerPoint PPT Presentation

efficient and good delaunay meshes from
SMART_READER_LITE
LIVE PREVIEW

Efficient and good Delaunay meshes from points random points M. S. - - PowerPoint PPT Presentation

Efficient and good Delaunay meshes from random Efficient and good Delaunay meshes from points random points M. S. Ebeida et a.l Intro MPS M. S. Ebeida 1 , S. A. Mitchell 1 , Andrew A. Davidson 2 , MPS Anjul Patney 2 , Patrick Knupp 1 and


slide-1
SLIDE 1

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida1, S. A. Mitchell1, Andrew A. Davidson2,

Anjul Patney2, Patrick Knupp1 and John D. Owens2

1Computing Research, Sandia National Laboratories 2Electrical and Computer Engineering, UCDavis

10/24/2011

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-2
SLIDE 2

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Collaborators

SNL

  • V. J. Leung.
  • J. E. Bishop
  • M. J. Martinez

UCDavis:

  • A. Patney
  • A. Davidson
  • J. D. Owens
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-3
SLIDE 3

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Overview

1 Introduction 2 What is Maximal Poisson-disk sampling? 3 Our solutions for the maximal poisson-disk sampling problem 4 A Conforming Delaunay triangulation method 5 A Conforming Voronoi Meshing method 6 Future Work

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-4
SLIDE 4

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

General Principles in MeshingGenie

... part of Trilinos open source library (http://trilinos.sandia.gov/)

Quality

  • Point Clouds should adequately

represent the associated geometry and physics.

  • Extra points needed to improve

quality / maintain certain connectivity should be kept at a minimum level.

  • Moving points to

non-deterministic locations should also be avoided for generating a provably good mesh.

NACA0012 Image courtesy of http://www.cfd-online.com

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-5
SLIDE 5

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

General Principles in MeshingGenie

... part of Trilinos open source library (http://trilinos.sandia.gov/)

Efficiency, robustness and ... Multi-Grid!

  • Local meshing operations is easier for parallel applications
  • Provable robustness (meshing failure is NOT

ACCEPTABLE in dynamic simulations).

  • Meshing Operations should have minimum storage

requirement.

  • Geometric MG need to be considered.
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-6
SLIDE 6

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

What is Maximal Poisson-disk sampling?

Creating a point cloud in given domain satisfying three conditions:

  • Each point is a centre of a disk, with radius r, that

contains no other points: ∀xi ∈ xj ∈ X, xi = xj : ||xi − xj|| ≥ r

  • The point distribution should be bias-free:

∀xi ∈ X, ∀Ω ⊂ D : P (xi ∈ Ω) =

  • Termination is achieved when the domain is completely

saturated: ∀x ∈ D, ∃xi ∈ X : ||x − xi|| < r

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-7
SLIDE 7

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

How does Maximal Poisson-disk sampling affect meshing algorithms?

Delaunay Edge length

  • bounded between r

and 2r

  • Connectivity can be

retrieved locally

  • Linear time

complexity

  • Easier parallel

implementation

  • Nice distribution

almost independent

  • f the domain / no.
  • f points
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-8
SLIDE 8

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

How does Maximal Poisson-disk sampling affect meshing algorithms?

Moreover

  • Angles between 30◦ and

120◦

  • Nice distribution almost

independent of the domain / no. of points

  • Easier handling of

constrained input.

  • Communication is only

required in case of non-unique solutions.

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-9
SLIDE 9

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Improving the quality via deterministic point insertion:

Chew’s method for example

  • Ignores the information

associated with the input point cloud.

  • Physics is initially ignored

as well.

  • Generates an initial mesh

with low quality.

  • Improves the quality by

inserting points at the centers of large Delaunay circumcircles

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-10
SLIDE 10

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Relationship between the two approaches

Our Approach

  • Points are generated to satisfy a given function F.
  • F is chosen based on (geometry and physics).
  • The extra information enables “nicer”implementation
  • Once the point cloud is generated no more point insertion
  • r movement (termination guarantee).
  • The quality measures would be decided according to F.
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-11
SLIDE 11

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Relationship between the two approaches

Point insertion methods

  • The information associated with the point cloud is

missing/discarded.

  • A sequence of Delaunay meshes is generated trying to find

a maximal distribution for an unknown implicit function, F associated with an input desired quality measure.

  • Solution may not exist, and if it exists, it may not be

desirable!

  • Low quality meshes can cause robustness issues esp. in 3D.
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-12
SLIDE 12

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A simple demonstration using an extremely nice point cloud

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-13
SLIDE 13

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A simple demonstration using an extremely nice point cloud

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-14
SLIDE 14

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A simple demonstration using an extremely nice point cloud

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-15
SLIDE 15

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A simple demonstration using an extremely nice point cloud

Convinced? If so, let’s see how we solved the uniform case :)

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-16
SLIDE 16

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Classical dart throwing

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-17
SLIDE 17

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

The maximal Poisson-disk sampling

Challenges of classical dart throwing:

  • An efficient method to retrieve conflicts.
  • Filling the small gaps between the disks.
  • Detection of the termination condition.
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-18
SLIDE 18

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

The maximal Poisson-disk sampling: Existing solutions

Approaches

  • Quadtrees methods.
  • Advancing front methods.
  • Tiles to improve

parallelism. Common issues:

  • Not strictly “unbiased”.
  • Not maximal: dependent
  • n finite precision.
  • Memory or run-time

complexity.

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-19
SLIDE 19

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our first solution: SIGGRAPH2011

  • The first provably bias-free, maximal, E(n log n) time

O(n) space.

  • Utilizes a Cartesian background grid
  • Dynamic linear representation of the voids in the domain.
  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-20
SLIDE 20

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our first MPS solution: Results

The generated point cloud have a desired blue noise property.

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-21
SLIDE 21

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our first MPS solution: Results

1M 2D points in less than 10 seconds using a modern laptop. 8 M 2D points using 2GB of memory

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-22
SLIDE 22

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our second MPS solution (Eurographics2012 - in preparation)

Almost same speed as Solution I (at least in 2D). 24/8 M 2D/3D points using 2GB of memory Generic code in any d-dimensional space (if you can afford it!).

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-23
SLIDE 23

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our second MPS solution: Results

Our 3D Our 2D Gamito 3D Gamito 2D Ebeida 2D Our 4D Gamito 4D 4 8 16 32 64 128 256 512 1024 2048 0.01 0.02 0.04 0.08 0.16 0.32 0.64 1.28 2.56 5.12 10.24 20.48 40.96 Time (seconds) Number of output points (millions)

Run‐Time by Algorithm and Dimension

Our 2D Our 3D Our 4D Gamito 2D Gamito 3D Gamito 4D Ebeida 2D

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-24
SLIDE 24

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Our second MPS solution: Results

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-25
SLIDE 25

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Question? ... So we now have a random point cloud Can we use the properties associated with its distance function to improve the Delaunay/Voronoi meshing algorithms?

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-26
SLIDE 26

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

  • 1. An Indirect method using a novel CDT

algorithm (SIAM-GD 2011)

We were able to process 1 Million points in 2.7 seconds using a modern laptop.

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-27
SLIDE 27

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Protecting the domain boundaries

Two Approaches

  • Protecting with close

disks: Sample the boundary edges using a smaller distribution radius.

  • Protecting with interior

disks: Sample the boundary edges with the same distribution radius and then introduce some interior points to avoid large boundary angles

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-28
SLIDE 28

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Examples

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-29
SLIDE 29

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Quality

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-30
SLIDE 30

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Quality

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-31
SLIDE 31

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Quality

0.1 0.2 0.3 0.4

Fraction

Internal Triangle Angles

1E6 points 1E5 points 1E4 points 1E3 points 1E2 points

0.1 0.2 0.3 0.4

Fraction

Internal Edges

1E6 points 1E5 points 1E4 points 1E3 points 1E2 points

0.3 0.4

Boundary Triangle Angles

1E6 points i

0.1

Angle Range (degrees) 1E3 points 1E2 points

0.3 0.4

Boundary Edges

1E6 points 1E5 points

0.1

Length Ratio to r

0.1 0.2 0.3

Fraction

Boundary Triangle Angles

1E6 points 1E5 points 1E4 points 1E3 points 1E2 points

0.1 0.2 0.3

Fraction

y g

1E5 points 1E4 points 1E3 points 1E2 points Angle Range (degrees) Length Ratio to √3r/2

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-32
SLIDE 32

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Memory Consumption

MPS ‐ Phase I MPS ‐ Phase II Time Memory Consumption (MB) 1970 660 CDT 1733

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-33
SLIDE 33

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A linear CDT algorithm: Speed Comparison

100k points / second 10 15 20 25 Time (seconds)

Speed Comparison

mps ‐ serial cdt ‐ serial cdt ‐ GPU Triangle 374k points / second 735k points / second 5 0.00E+0 5.00E+5 1.00E+6 1.50E+6 2.00E+6 2.50E+6 Number of points

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-34
SLIDE 34

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

An indirect CVM algorithm: Examples

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-35
SLIDE 35

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Constraint Voronoi Meshing: Example II Joseph E. Bishop and Mario J. Martinez

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-36
SLIDE 36

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming (IMR2011)

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-37
SLIDE 37

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming: handling internal interfaces

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-38
SLIDE 38

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming: handling non-convex cells

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-39
SLIDE 39

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-40
SLIDE 40

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-41
SLIDE 41

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-42
SLIDE 42

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

4000 8000 12000 16000 20000 24000 44 57 69 82 95 107 120 133 146 158

Number of Cells Dihedral Angle (degrees)

Interior‐Interior Facet Dihedrals

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-43
SLIDE 43

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

200 400 600 800 1000 1200 44 54 64 75 85 95 105 116 126 136

Number of Cells Dihedral Angle (degrees)

Border‐Interior Facet Dihedrals

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-44
SLIDE 44

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

200 400 600 800 1000 1.40 1.51 1.61 1.72 1.83 1.93 2.04 2.15 2.25 2.36

Number of Cells Aspect Raio Ro/Ri

Interior Cell Aspect Ra7o

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-45
SLIDE 45

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

A direct method using Edge/Face trimming

20 40 60 80 1.58 1.70 1.81 1.92 2.03 2.14 2.25 2.36 2.47 2.59

Number of Cells Aspect Raio Ro/Ri

Fringe Cell Aspect Ra8o

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-46
SLIDE 46

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Here is what we can do next:

  • 1. Sampling (Meshing) of curved surfaces:

Existing Approaches

  • Not strictly “unbiased”.
  • Not maximal: dependent
  • n finite precision.
  • Memory or run-time

complexity.

  • Geodesic approximations.
  • The extra step (Delaunay

/ Voronoi meshing) is missing.

Image courtesy of Li-Yi Wei and Rui Wang (SIGGRAPH 2011)

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-47
SLIDE 47

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Here is what we can do next:

  • 2. Adaptive / Anisotrpoic Sampling (Meshing):

Existing Approaches

  • The problem is not well defined.
  • Ambiguous algorithms.
  • Adaptive: r is not constant.
  • Anisotropic: Ellipses are utilized

instead of circles.

  • Missing analysis of the associated

Delaunay/Voronoi Meshes.

  • Parallel implementations using

MPI.

Image courtesy of Li-Yi Wei and Rui Wang (SIGGRAPH 2011)

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-48
SLIDE 48

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Here is what we can do next:

  • 3. Voronoi Meshing with no short edges (A unique

Delaunay Mesh) :

  • Constrained sampling to avoid

more than d+1 points on the same circumcircle

  • Short edges affect the selection
  • f time steps in unsteady

simulations.

  • Edge collapse will result in

non-planar faces

  • Unique Delaunay meshes would

require no communication

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-49
SLIDE 49

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Here is what we can do next:

  • 4. Unstructured Geometric Multigrid based on MPS:

Proposed Algorithm

  • Construct a sequence of meshes

by scaling F.

  • Each grid will have a guaranteed

quality

  • Discertized systems will maintain

sparsity.

  • Retrieve the

prolongation/restriction

  • perators using the Voronoi

relations between successive levels

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-50
SLIDE 50

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Here is what we can do next:

  • 4. Unstructured Geometric Multigrid based on MPS:

Other Approaches

  • Structured MG: Undesired

distribution.

  • Unstructured MG:

Complicated Agglomeration techniques.

  • Algebraic MG: Coarse

levels loose sparsity.

Image courtesy of Dimitri Mavriplis(Unstructured Grid Technology for CFD, 2008. Organized By: PET Program DoD)

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points

slide-51
SLIDE 51

Efficient and good Delaunay meshes from random points

  • M. S. Ebeida

et a.l Intro MPS MPS CDT CVM Future Work

Questions?!

Thank you!

Sandia National Laboratories is a multi-program laboratory managed and operated by Sandia Corporation, a wholly owned subsidiary of Lockheed Martin Corporation, for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-AC04-94AL85000.

  • M. S. Ebeida et a.l

Efficient and good Delaunay meshes from random points