toward automatic grid generation

29
Toward Automatic Grid Generation Si Loi Leung

Upload: chuong

Post on 06-Jan-2016

49 views

Category:

Documents


0 download

DESCRIPTION

Toward Automatic Grid Generation. Si Loi Leung. University of Hawaii. Mechanical Engineering. Mentor: Dr. Nathan Prewitt. Project Goals. Write a program to generate shape structure graphs for any given boundaries - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Toward Automatic Grid Generation

Toward Automatic Grid Generation

Si Loi Leung

Page 2: Toward Automatic Grid Generation

Mechanical Engineering

Mentor: Dr. Nathan Prewitt

University of Hawaii

Page 3: Toward Automatic Grid Generation

Project Goals

• Write a program to generate shape structure graphs for any given boundaries

• Investigate how it could possibly be employed in automatic grid generation of any arbitrary boundaries

Page 4: Toward Automatic Grid Generation

Outline

• How to create shape structure graphs

• Evaluation of the shape structure graphs

• A look at the medial axis

Page 5: Toward Automatic Grid Generation

Grid Generation

Page 6: Toward Automatic Grid Generation

Getting Complicated

Page 7: Toward Automatic Grid Generation

Multi-Block Topology

Page 8: Toward Automatic Grid Generation

Shape Structure Graphs

• Idea started from an article by Vitaly Ablavsky in the C/C++ Users Journal

Page 9: Toward Automatic Grid Generation

Voronoi DiagramThe Voronoi diagram of a collection of nodes is a partition of space into cells, where any point within a cell is closer to its respective node than to any others.

Page 10: Toward Automatic Grid Generation

Voronoi in Action

Page 11: Toward Automatic Grid Generation

Medial AxisThe medial axis is the collection of center points of circles that touch the boundary at least twice.

Page 12: Toward Automatic Grid Generation

Medial Axis in Action

Page 13: Toward Automatic Grid Generation

Medial Axis in Action

Page 14: Toward Automatic Grid Generation

Shape Structure Graph

The shape structure graph is a meta-graph with respect to the medial axis and retains only the “interesting” vertices.

Page 15: Toward Automatic Grid Generation

Shape Structure Graph

Page 16: Toward Automatic Grid Generation

Easymesh/Showmesh

Easymesh

• Bojan Niceno

• Generates two-dimensional unstructured meshes

• Showmesh is a graphical interface to show the results

Page 17: Toward Automatic Grid Generation

Input

50: 0 0 5 11: 5 0 5 1 2: 5 2.5 5 2 3: 3.5 4 5 24: 0 4 5 1# x y scale marker

50: 0 1 11: 1 2 22: 2 3 33: 3 4 44: 4 0 5# a b marker

Page 18: Toward Automatic Grid Generation

Output3

0: 0 3 4 -1 -1 1 5 6 4 2.5000 .25000 -1

1: 0 2 3 2 -1 0 4 2 1 2.4167 1.4167 -1

2: 3 1 2 -1 1 -1 3 1 0 1.7500 2.0000 -1

------------------------------------------------------------------------

e: i, j, k, ei, ej, ek, si, sj, sk xV, yV sign

Page 19: Toward Automatic Grid Generation

samples

Page 20: Toward Automatic Grid Generation
Page 21: Toward Automatic Grid Generation
Page 22: Toward Automatic Grid Generation
Page 23: Toward Automatic Grid Generation

Evaluation

• Shape structure graph?

• Medial axis graph?

Page 24: Toward Automatic Grid Generation

TopMaker

• By David L. Rigby, QSS Group

• Technique to generate multi-block topologies using the medial axis

Page 25: Toward Automatic Grid Generation

How to Divide

Page 26: Toward Automatic Grid Generation

Creating the Multi-block Topology

Page 27: Toward Automatic Grid Generation

Something Like This

Page 28: Toward Automatic Grid Generation

Conclusion

• Work in progress• What I learned

– C/C++

– Linux

– CFD

• Acknowledgement– Dr. Nathan Prewitt

– PET staff

– PET interns

Page 29: Toward Automatic Grid Generation

Thank You