CREATIVE FREEDOM FOR COMPUTATIONAL MESH GENERATION IN DEAL.II Nicola - - PowerPoint PPT Presentation

creative freedom for computational mesh generation in
SMART_READER_LITE
LIVE PREVIEW

CREATIVE FREEDOM FOR COMPUTATIONAL MESH GENERATION IN DEAL.II Nicola - - PowerPoint PPT Presentation

CREATIVE FREEDOM FOR COMPUTATIONAL MESH GENERATION IN DEAL.II Nicola Giuliani , Luca Heltai (ngiuliani@sissa.it) Sixth deal.II Users and Developers Workshop MESH GENERATION Mesh generation a secret of the darkest arts An accurate mesh


slide-1
SLIDE 1

CREATIVE FREEDOM FOR COMPUTATIONAL MESH GENERATION IN DEAL.II

Sixth deal.II Users and Developers Workshop Nicola Giuliani, Luca Heltai (ngiuliani@sissa.it)

slide-2
SLIDE 2

N.Giuliani Creative Freedom in deal.II

MESH GENERATION

2

Mesh generation … a secret of the darkest arts ▸ An accurate mesh is a prerogative require of an

accurate simulation

▸ Mesh generator gets very expensive very quickly ▸ CAD files: engineeringly accurate and engineeringly

limited

Let’s look somewhere else…

slide-3
SLIDE 3

N.Giuliani Creative Freedom in deal.II

3D MODELLING TOOLS

3

3D modelling tools offer the possibility of creating complex geometries in a very straightforward way (relative definition).

▸ Used in computer graphics (video-gaming, animation

studios), enormous users community and opportunities

▸ Produce smooth surfaces exploiting the subdivision

surface algorithm (Catmull-Clark 1978)

▸ The algorithm is a generalisation of bi-cubic uniform B-

spline surfaces to arbitrary topology

Bridge computer graphics and scientific computing may not be such a bad idea…

slide-4
SLIDE 4

N.Giuliani Creative Freedom in deal.II

CATMULL CLARK SUBDIV

4

▸ Recursive algorithm ▸ Refinement based on

neighbouring faces/edges/ vertices

▸ Each new point is created using an

“average” of face points and edges.

▸ The limit surface of Catmull–Clark

subdivision surfaces can also be evaluated directly, without any recursive refinement.

▸ Little scientific literature

(opportunities)

slide-5
SLIDE 5

N.Giuliani Creative Freedom in deal.II

LET’S SEE IT…

5

“Know averaging? You know enough to work at Pixar” 
 Tony De Rose Ted-ED talk

slide-6
SLIDE 6

N.Giuliani Creative Freedom in deal.II

CLICK BAITS AND APPETISERS

6

Foobar Yorozuya (https://www.youtube.com/watch?v=dY0K65eXhkA ) Now version 2.79b (23rd July 12.00)

slide-7
SLIDE 7

N.Giuliani Creative Freedom in deal.II

BLENDER PROS

7

▸ Free open-source software (GPL license) ▸ Straightforward mesh generation using a GUI ▸ Developed and scriptable in Python 3 ▸ Constantly increasing users’ community (2017: +6.5

millions downloads)

▸ Reasonably good documentation ▸ BlenderStackExchange ▸ Youtube channels: at least three are official ▸ Very catchy results (made for artists and small teams)

slide-8
SLIDE 8

N.Giuliani Creative Freedom in deal.II

BLENDER AND DEAL.II NOW

8

▸ Readable geometries using the Open-Asset-IMPorter-Lib

(ASSIMP), introduced by deal2lkit and now in deal.II

▸ Blender generates surface geometries and those can be

imported in deal.II

▸ Codimension zero/one problem with Blender geometries

solvable in deal.II, dim = 1,2 spacedim = 2, 3

▸ Possibility of non trivial geometries for scientific

computing

slide-9
SLIDE 9

N.Giuliani Creative Freedom in deal.II

CREATE A NOT SO STUPID MESH

9

slide-10
SLIDE 10

N.Giuliani Creative Freedom in deal.II

STEP-38 MONKEY CODE

10

slide-11
SLIDE 11

N.Giuliani Creative Freedom in deal.II

STEP-38 MONKEY RESULTS

11

slide-12
SLIDE 12

N.Giuliani Creative Freedom in deal.II

REAL WORKING EXAMPLE 1/2

12

slide-13
SLIDE 13

N.Giuliani Creative Freedom in deal.II

REAL WORKING EXAMPLE 2/2

13

slide-14
SLIDE 14

N.Giuliani Creative Freedom in deal.II

CATCHY RESULTS (NICOLA LEVEL)

14

slide-15
SLIDE 15

N.Giuliani Creative Freedom in deal.II

CATCHY RESULTS (LUCA LEVEL)

15

We are just scratching the surface

slide-16
SLIDE 16

N.Giuliani Creative Freedom in deal.II

PRESENT SITUATION SUMMARY

16

▸ Generation of complex geometry using Blender ▸ Import of the geometries directly in deal.II ▸ Creation of codim-1 surfaces in 3D ▸ Creation of codim-0/1 surfaces in 2D Blender only creates curves and surfaces so only those can be imported directly in deal.II

slide-17
SLIDE 17

N.Giuliani Creative Freedom in deal.II

DEAL.II AND BLENDER IN THE FUTURE

17

▸ Definition and implementation of new Manifold using

the geometry exported from Blender (interpolating polynomials)

▸ Introduction of the Catmull-Clark algorithm in the

library to have a high order mapping capable of smooth surfaces

▸ Expand the connections between deal.II and the 3D

modelling world

We can look beyond Blender to search for something more deal.II oriented We need to overcome the codim-1 limitation in 3D

slide-18
SLIDE 18

N.Giuliani Creative Freedom in deal.II

LET’S LOOK BIG

18

slide-19
SLIDE 19

N.Giuliani Creative Freedom in deal.II

OPENSUBDIV

19

OpenSubdiv is a set of open source libraries that implement high performance subdivision surface (subdiv) evaluation on massively parallel CPU and GPU architectures.

▸ Massively parallel implementation of Catmull-Clark algorithm ▸ Developed and freely available in C++ ▸ Released under Apache license ▸ Fairly reliable developers (Pixar Animation studios)

http://graphics.pixar.com/opensubdiv/docs/intro.html https://github.com/PixarAnimationStudios/OpenSubdiv

slide-20
SLIDE 20

N.Giuliani Creative Freedom in deal.II

REFERENCES

20

Questions? Curiosities? Feel free to ask anything (ngiuliani@sissa.it, heltai@sissa.it)

  • N. Giuliani. Modelling Fluid Structure Interaction problems using

Boundary Element Method. PhD thesis, SISSA, Scuola Internazionale Superiore di Studi Avanzati, 2017.

  • https://www.blender.org/
  • https://www.youtube.com/