Presentation is loading. Please wait.

Presentation is loading. Please wait.

MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi.

Similar presentations


Presentation on theme: "MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi."— Presentation transcript:

1 MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi

2 Elementary particles Physics standard model Computational bottlenecks: Chemistry, materials science Vision: recognition (Turbulent) flows Partial differential equations Seismology Tomography (medical imaging) Graphs: data mining,… VLSI design Schrödinger equation Molecular dynamics forces

3 Major scaling bottlenecks: computing Elementary particles (QCD) Schrödinger equation molecules condensed matter Molecular dynamics protein folding, fluids, materials Turbulence, weather, combustion,… Inverse problems da, control, medical imaging Vision, recognition

4 Scale-born obstacles: Many variables n gridpoints / particles / pixels / … Interacting with each other O(n 2 ) Slowness Slow Monte Carlo / Small time steps / … Slowly converging iterations / due to 1.Localness of processing

5 0 r0r0 Particle distance Two-particle Lennard-Jones potential + external forces…

6 small step Moving one particle at a time fast local ordering slow global move r0r0

7 e.g., approximating Laplace eq. Numerical solution of a partial differential equation (PDE) on a fine grid

8 fine grid h u = average of u's approximating Laplace eq.

9 u given on the boundary h e.g., u = average of u's approximating Laplace eq. Point-by-point RELAXATION Solution algorithm:

10 Solving PDE : Influence of pointwise relaxation on the error Error of initial guess Error after 5 relaxation sweeps Error after 10 relaxations Error after 15 relaxations Fast error smoothing slow solution

11 Scale-born obstacles: Many variables n gridpoints / particles / pixels / … Interacting with each other O(n 2 ) Slowness Slow Monte Carlo / Small time steps / … Slowly converging iterations / due to 1.Localness of processing 2. Attraction basins

12

13

14 Fluids Gas/Liquid 1.Positional clustering Lennard-Jones r0r0 2.Electrostatic clustering Dipoles Water: 1& 2

15 r E(r) Optimization min E(r) multi-scale attraction basins

16 ~ 10 -15 second steps Macromolecule

17 Potential Energy Lennard-Jones Electrostatic Bond length strain Bond angle strain torsion hydrogen bond rkrk E  ijkl riri rjrj rlrl r ij

18 Macromolecule      + Lennard-Jones ~10 4 Monte Carlo passes for one T G i transition G1G1 G2G2 T Dihedral potential + Electrostatic

19 r E(r) Optimization min E(r) multi-scale attraction basins

20 Scale-born obstacles: Many variables Interacting with each other O(n 2 ) Slow Monte Carlo / Small time steps / … 1. Localness of processing 2. Attraction basins Removed by multiscale algorithms Multiple solutions Slowness Slowly converging iterations / n gridpoints / particles / pixels / … Inverse problems / Optimization Statistical sampling Many eigenfunctions

21 Solving PDE : Influence of pointwise relaxation on the error Error of initial guess Error after 5 relaxation sweeps Error after 10 relaxations Error after 15 relaxations Fast error smoothing slow solution

22 Relaxation of linear systems Ax=bAx=b Approximation, error Residual equation: Relaxation: Fast convergence of high modes Eigenvectors:

23 When relaxation slows down: the error is a sum of low eigen-vectors ELLIPTIC PDE'S (e.g., Poisson equation) the error is smooth

24 Solving PDE : Influence of pointwise relaxation on the error Error of initial guess Error after 5 relaxation sweeps Error after 10 relaxations Error after 15 relaxations Fast error smoothing slow solution

25 When relaxation slows down: DISCRETIZED PDE'S the error is smooth Along characteristics the error is a sum of low eigen-vectors ELLIPTIC PDE'S the error is smooth

26

27 When relaxation slows down: DISCRETIZED PDE'S GENERAL SYSTEMS OF LOCAL EQUATIONS the error is smooth Along characteristics The error can be approximated by a far fewer degrees of freedom (coarser grid) the error is a sum of low eigen-vectors ELLIPTIC PDE'S the error is smooth

28 When relaxation slows down: the error is a sum of low eigen-vectors ELLIPTIC PDE'S the error is smooth The error can be approximated on a coarser grid

29 LU=F h 2h 4h L h U h =F h L 2h U 2h =F 2h L 4h U 4h =F 4h

30 h2h Local relaxation approximation smooth L h U h =F h L 2h U 2h =F 2h

31 TWO GRID CYCLE Approximate solution: Fine grid equation: 2. Coarse grid equation: h old h new uu h2 v ~~~  Residual equation: Smooth error: 1. Relaxation residual: h2 v ~ Approximate solution: 3. Coarse grid correction: 4. Relaxation


Download ppt "MULTISCALE COMPUTATIONAL METHODS Achi Brandt The Weizmann Institute of Science UCLA www.wisdom.weizmann.ac.il/~achi."

Similar presentations


Ads by Google