• No results found

A Memory-Efficient Data Handling for Octree-Like Grids

N/A
N/A
Protected

Academic year: 2021

Share "A Memory-Efficient Data Handling for Octree-Like Grids"

Copied!
49
0
0

Loading.... (view fulltext now)

Full text

(1)

A Memory-Efficient Data Handling for

Octree-Like Grids

Miriam Mehl, Tobias Weinzierl, Tobias Neckel

June 2010

(2)

Outline

grid adaptivity for fluid-structure interactions

our grid and data concept

application examples

(3)

Outline

grid adaptivity for fluid-structure interactions

our grid and data concept

application examples

(4)

Grid Adaptivity for Fluid-Structure Interactions

moving

(5)

Source: Bernhard Gatzhammer,

Grid Adaptivity for Fluid-Structure Interactions

moving

(6)

Grid Adaptivity for Fluid-Structure Interactions

(7)

Grid Adaptivity for Fluid-Structure Interactions

benefits of multigrid:

Bijl, van Zuijlen, Boscher,

ECCOMAS CFD 2006:

eff. gain: factor 10

(8)

Different Coupling Requirements on Different Levels

different

coupling

requirements

on different levels

Vierendeels 2010:

-

high frequencies

-

low frequencies

Newton-like

(9)

Outline

grid adaptivity for fluid-structure interactions

our grid and data concept

application examples

(10)
(11)
(12)

• spacetree grids

structured

p

refined?

u,v,w

(13)

p,

res

refined?

u,v,w,

res,

grad(p), ref.crit.

Our Grid and Data Concept – Storage Minimisation

(14)

bytes/Zelle

bytes/Knoten

2D

6

2

1317

Peano nur Gitter

Sundance nur Gitter

14

20

1490

Peano Strömungslöser

Sundance Poissonlöser

3D

10

2

Nur Gitter

18

28

Strömungslöser

(15)
(16)

• depth-first spacetree traversal

all grid levels available

(17)

• children ordering

standardised Peano iterates

(18)
(19)

Our Grid and Data Concept – Streams and Stacks

• total order of all grid cells

(20)

Peano order of cells

(21)

Peano data

management

cell_in

cell_out

(22)

Peano data

management

cell_out

cell_in

(23)
(24)

Streams and Stacks – Vertex Data

Peano data

management

cell_in

cell_out

vertex_in

vertex_out

temporary vertex

containers

(25)

Our Grid and Data Concept – Vertex Data

(26)

Our Grid and Data Concept – Vertex Data

(27)

Our Grid and Data Concept – Vertex Data

(28)

• palindrome property for cell faces

(29)

• alternating face colouring

2d stacks (Weinzierl, 2007)

(30)

• face-connectivity

next visiting cell connected via a (hyper-)face

• leave cell: write vertex data to the stack of the next visiting face

• enter cell: read vertex data from the stack of the last visiting face

proof: SIAM SISC, special issue of the

11

th

Copper Mountain Conference

on Iterative Methods

, submitted

(31)

Peano data

management

cell_in

cell_out

vertex_in

vertex_out

temporary vertex

containers

(32)

Peano data

management

cell_out

cell_in

vertex_out

vertex_in

temporary vertex

containers

(33)

Our Grid and Data Concept – Vertex Data

• hanging nodes

no degrees of freedom

created on-the-fly (interpolation)

(34)

2D Poisson equation, 1,000,000 degrees of freedom, Pentium 4,

1MB L2 Cache, Cachegrind simulation

==19243== D refs: 7,249,842,728 (4,026,485,237 rd + 3,223,357,491 wr)

==19243== D1 misses: 1,249,032 ( 621,413 rd + 627,619 wr)

==19243== L2d misses: 632,162 ( 301,283 rd + 330,879 wr)

==19243== D1 miss rate: 0.0% ( 0.0% + 0.0% )

==19243== L2d miss rate: 0.0% ( 0.0% + 0.0% )

==19243==

==19243== L2 refs: 19,559,185 ( 18,931,566 rd + 627,619 wr)

==19243== L2 misses: 646,343 ( 315,464 rd + 330,879 wr)

==19243== L2 miss rate: 0.0% ( 0.0% + 0.0% )

(35)

Peano data

management

cell_in

cell_out

vertex_in

vertex_out

temporary vertex

containers

cell_out

vertex_out

(36)

Peano data

management

cell_out

cell_in

vertex_out

vertex_in

temporary vertex

containers

(37)

Peano data

management

cell_out

cell_in

vertex_out

vertex_in

temporary vertex

containers

cell_out

vertex_out

(38)

Peano data

management

cell_in

cell_out

vertex_in

vertex_out

temporary vertex

containers

cell_out

(39)

Peano data

management

cell_out

cell_in

vertex_out

vertex_in

temporary vertex

containers

cell_out

vertex_out

(40)

Peano data

management

cell_in

cell_out

vertex_in

vertex_out

temporary vertex

containers

cell_in

(41)

Outline

grid adaptivity for fluid-structure interactions

our grid and data concept

application examples

(42)

Application Examples

(43)

without fluctuations

with fluctuations

Lattice Boltzmann on adaptive grids

(44)

Fluid-Structure Interaction

Source: Tobias Neckel

(45)

Fluid Flow in Complex Geometries

Source: Tobias Weinzierl,

(46)

Computational

Steering

(47)

Outline

grid adaptivity for fluid-structure interactions

our grid and data concept

application examples

(48)

Conclusion

• spactree grids

• element-wise traversal

• Peano curve

• stacks and streams

• memory efficiency

• arbitrary adaptivity pattern

• dynamical adaptivity

(49)

References

Related documents

Similar effects are found considering the three measures of experienced returns and these effects are low and significant only within three years after the first investment: a

To describe the prevalence and trajectory of five core eating disorder behaviours (binge eating, purging, fasting, following strict dietary rules, and hard exercise for weight

Players can create characters and participate in any adventure allowed as a part of the D&D Adventurers League.. As they adventure, players track their characters’

Senator Brown moved that Senate Rule 7.18 and the Constitutional Rule requiring bills to be read on three several days be suspended and that CSSB 976 be placed on its third reading

A lamp with diffused white light was placed between the cameras and the tested masonry surfaces in order to minimize the non-uniform brightness field caused by

(Transcending Ajna Chakra) Realizing birthless wisdom and consequent birth-terminating Grace, they will transcend the five states to gain liberation. birthless wisdom = Wisdom

Guidelines for Family Action Plans FY2013 Page 6?. Steps in Family

▶ If at operating temperature, the red indicator pin ext- ends out of the mechanical optical maintenance indica- tor and/or if the electronic switching element opens / closes