Derek%20C.%20Richardson%20(U%20Maryland) - PowerPoint PPT Presentation

About This Presentation
Title:

Derek%20C.%20Richardson%20(U%20Maryland)

Description:

Written at U Washington N-body shop by Joachim Stadel (U Zurich) ... Use hexadecapole (best bang for buck). Force softening. Use spline-softened gravity kernel. ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 22
Provided by: dcr63
Category:

less

Transcript and Presenter's Notes

Title: Derek%20C.%20Richardson%20(U%20Maryland)


1
PKDGRAV A Parallel k-D Tree Gravity Solver for
N-Body Problems
  • Derek C. Richardson (U Maryland)

FMM 2004
2
Overview
  • High-performance cosmology code.
  • Written at U Washington N-body shop by Joachim
    Stadel (U Zurich) Tom Quinn.
  • Now adapted for a variety of applications,
    including planet formation.
  • Lastest version has implementation of SPH
    (smoothed particle hydrodynamics).

3
Sample Movie
4
Spatial Binary Tree
  • Ironically, PKDGRAV no longer uses a k-D tree for
    gravity
  • The problem elongated cells can give large
    multipole moments and other pathologies.
  • The solution spatially bisect cells and squeeze
    the cell boundaries.
  • Also good for neighbour searching.

5
Spatial Binary Tree
k-D Tree
k-D with Squeeze
6
Tree Walking
  • Construct particle-particle and particle-cell
    interaction lists from top down.
  • Define opening ball (based on ?) to test for
    ball-bucket intersection.
  • If bucket outside ball, apply multipole (c-list).
  • Otherwise open cell and test its children, etc.,
    until leaves reached (which go on p-list).
  • Nearby cells have similar lists amortize.

7
Tree Walking
Note multipole Q acceptable to all particles in
cell d.
8
Other Issues
  • Multipole expansion order.
  • Use hexadecapole (best bang for buck).
  • Force softening.
  • Use spline-softened gravity kernel.
  • Periodic boundary conditions.
  • Use Ewald summation technique.
  • Time steps.
  • Use hierarchical steps (adaptive leapfrog).

9
Parallel Implementation
  • Master layer (serial).
  • Controls overall flow of program.
  • Processor Set Tree (PST) layer (parallel).
  • Assigns tasks to processors.
  • Parallel k-D (PKD) layer (serial).
  • MIMD execution of tasks.
  • Machine-dependent Layer (MDL, separate).
  • Interface to parallel primitives.

10
Domain Decomposition
PST
Binary tree balanced by work factors. Nodes
construct local trees.
11
Scaling at Fixed Accuracy
Clustered cosmology simulation (N 3106) (?
0.8)
12
Some Science Planetesimals
  • One of the recent additions to PKDGRAV is the
    ability to treat particle collisions.
  • Applications
  • Planet formation (planetesimal growth).
  • Asteroid disruption.
  • Planetary rings.
  • Technique predict collision during leapfrog
    drift step using fast neighbour search.

13
Planetesimal Evolution
  • Evolutionary models based on laboratory
    experiments may be inadequate.
  • Outcomes determined by gravitational
    reaccumulation.

Leinhardt et al. 2000
14
Incorporating Collision Models
  • Based on individual test cases, collision
    outcomes can be incorporated into large-scale
    sims of planet formation.

15
Near-Earth Asteroid Binaries
  • Reaccumulation following tidal disruption could
    form NEA binaries.
  • Need reaccumulated (or shattered/fragile) body to
    start with

16
New Code Rigid Aggregates
  • Recently the ability to treat collections of
    particles as rigid aggregates has been added.
  • Applications include realistic asteroid shape
    models and more complex granular shapes.
  • Technique solve Euler rigid body equations of
    motion with torque and allow for non-central
    impacts.

17
Rigid Aggs Movie 1
18
Rigid Aggs Movie 2
Bouncing Allowed
No Bouncing
19
Rigid Aggs Movie 3
20
Rigid Aggs Movie 4
21
Future Work
  • PKDGRAV continues to be improved.
  • Algorithms currently being considered
  • Local expansions.
  • Tree repair.
  • Improved collision detection.
  • Other possibilities include combining PKDGRAV
    with a Grape board!
Write a Comment
User Comments (0)
About PowerShow.com