Laplacian-Centered Poisson Solvers and Multilevel Summation Algorithms

Similar documents
A Fast N-Body Solver for the Poisson(-Boltzmann) Equation

A High-Order Galerkin Solver for the Poisson Problem on the Surface of the Cubed Sphere

H atom solution. 1 Introduction 2. 2 Coordinate system 2. 3 Variable separation 4

Practical in Numerical Astronomy, SS 2012 LECTURE 9

Solving Symmetric Indefinite Systems with Symmetric Positive Definite Preconditioners

Computer simulation methods (2) Dr. Vania Calandrini

Electrodynamics PHY712. Lecture 4 Electrostatic potentials and fields. Reference: Chap. 1 & 2 in J. D. Jackson s textbook.

Notes: Most of the material presented in this chapter is taken from Jackson, Chap. 2, 3, and 4, and Di Bartolo, Chap. 2. 2π nx i a. ( ) = G n.

1. Fast Iterative Solvers of SLE

INTRODUCTION TO FINITE ELEMENT METHODS ON ELLIPTIC EQUATIONS LONG CHEN

Multigrid and Domain Decomposition Methods for Electrostatics Problems

Multigrid Methods for Discretized PDE Problems

Computational Bioelectrostatics

Accepted Manuscript. Correcting Mesh-Based Force Calculations to Conserve Both Energy and Momentum in Molecular Dynamics Simulations

A SHORT NOTE COMPARING MULTIGRID AND DOMAIN DECOMPOSITION FOR PROTEIN MODELING EQUATIONS

Neighbor Tables Long-Range Potentials

CS 542G: The Poisson Problem, Finite Differences

Improved Solvation Models using Boundary Integral Equations

Preconditioned Locally Minimal Residual Method for Computing Interior Eigenpairs of Symmetric Operators

Recovery-Based A Posteriori Error Estimation

Review: From problem to parallel algorithm

Multipole-Based Preconditioners for Sparse Linear Systems.

The purpose of this lecture is to present a few applications of conformal mappings in problems which arise in physics and engineering.

Numerical Solution of Nonlinear Poisson Boltzmann Equation

Iterative Methods for Ill-Posed Problems

University of Illinois at Chicago Department of Physics

Sufficient Conditions for the Existence of Resolution Complete Planning Algorithms

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

Lecture 18 Classical Iterative Methods

Solving the Generalized Poisson Equation Using the Finite-Difference Method (FDM)

Robust solution of Poisson-like problems with aggregation-based AMG

Multigrid absolute value preconditioning

On the adaptive finite element analysis of the Kohn-Sham equations

CLASSICAL ITERATIVE METHODS

Poisson Equation in 2D

Simulation of a simple electron gun. David Moore 1 San Diego Miramar College

PDE Solvers for Fluid Flow

TUTORIAL 7. Discussion of Quiz 2 Solution of Electrostatics part 1

Fast Multipole Methods

arxiv: v1 [math.na] 10 Oct 2014

Electrodynamics PHY712. Lecture 3 Electrostatic potentials and fields. Reference: Chap. 1 in J. D. Jackson s textbook.

Numerical tensor methods and their applications

7 Mathematical Methods 7.6 Insulation (10 units)

Numerical Methods for PDE-Constrained Optimization

Motivation: Sparse matrices and numerical PDE's

Numerical Simulation of the Hagemann Entrainment Experiments

Molecular Modeling -- Lecture 15 Surfaces and electrostatics

AMG for a Peta-scale Navier Stokes Code

1 Comparison of Kansa s method versus Method of Fundamental Solution (MFS) and Dual Reciprocity Method of Fundamental Solution (MFS- DRM)

Solvation and Macromolecular Structure. The structure and dynamics of biological macromolecules are strongly influenced by water:

Coupling the Level-Set Method with Variational Implicit Solvent Modeling of Molecular Solvation

INGENIERÍA EN NANOTECNOLOGÍA

PDE Metric Solution. Gleb Kotousov Supervised by Vladimir Bazhanov Research School of Physics and Engineering Australian National University.

Numerical Programming I (for CSE)

Error Analysis of the Poisson P 3 MForce Field Scheme for Particle-Based Simulations of Biological Systems

Non-bonded interactions

FRIEDRICH-ALEXANDER-UNIVERSITÄT ERLANGEN-NÜRNBERG. Lehrstuhl für Informatik 10 (Systemsimulation)

Monte Carlo Method for Finding the Solution of Dirichlet Partial Differential Equations

Moment of inertia. Contents. 1 Introduction and simple cases. January 15, Introduction. 1.2 Examples

First-order overdetermined systems. for elliptic problems. John Strain Mathematics Department UC Berkeley July 2012

Peptide folding in non-aqueous environments investigated with molecular dynamics simulations Soto Becerra, Patricia

Lecture 12: Solvation Models: Molecular Mechanics Modeling of Hydration Effects

APPLICATION OF THE SPARSE CARDINAL SINE DECOMPOSITION TO 3D STOKES FLOWS

when viewed from the top, the objects should move as if interacting gravitationally

Non-bonded interactions

On the hydrodynamic diffusion of rigid particles

Scientific Computing II

1. Poisson-Boltzmann 1.1. Poisson equation. We consider the Laplacian. which is given in spherical coordinates by (2)

Spectral element agglomerate AMGe

Long-range interactions: P 3 M, MMMxD, ELC, MEMD and ICC

INTRODUCTION TO MULTIGRID METHODS

Iterative Helmholtz Solvers

Explicit kernel-split panel-based Nyström schemes for planar or axisymmetric Helmholtz problems

Fast Space Charge Calculations with a Multigrid Poisson Solver & Applications

Implementing Spherical Harmonics in the Poisson Boltzmann Equation for the Electrostatic-Potential. Alex Heitman Mentors: Dr. Madura Dr.

Notes for Lecture 10

RBF-FD Approximation to Solve Poisson Equation in 3D

Shifted Laplace and related preconditioning for the Helmholtz equation

MATH 590: Meshfree Methods

Physics 2001 Problem Set 9 Solutions

(b) Show that the charged induced on the hemisphere is: Q = E o a 2 3π (1)

Bootstrap AMG. Kailai Xu. July 12, Stanford University

Multigrid Methods and their application in CFD

Lecture 13: Electromagnetic Theory Professor D. K. Ghosh, Physics Department, I.I.T., Bombay. Poisson s and Laplace s Equations

Physics 9 Spring 2012 Midterm 1 Solutions

Downloaded 06/02/16 to Redistribution subject to SIAM license or copyright; see

Introduction to Electrostatics

Lecture 3. Electric Field Flux, Gauss Law. Last Lecture: Electric Field Lines

SOLVING ELLIPTIC PDES

Solving the 3D Laplace Equation by Meshless Collocation via Harmonic Kernels

Multiscale Modelling, taking into account Collisions

AMS526: Numerical Analysis I (Numerical Linear Algebra for Computational and Data Sciences)

Is My CFD Mesh Adequate? A Quantitative Answer

Continuum Electrostatics for Ionic Solutions with Nonuniform Ionic Sizes

G pol = 1 2 where ρ( x) is the charge density at position x and the reaction electrostatic potential

SUMMARY PHYSICS 707 Electrostatics. E(x) = 4πρ(x) and E(x) = 0 (1)

FORMULA SHEET FOR QUIZ 2 Exam Date: November 8, 2017

Iterative Methods for Ax=b

Lecture notes for ELECTRODYNAMICS.

Transcription:

Laplacian-Centered Poisson Solvers and Multilevel Summation Algorithms Dmitry Yershov 1 Stephen Bond 1 Robert Skeel 2 1 University of Illinois at Urbana-Champaign 2 Purdue University 2009 SIAM Annual Meeting D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 1 / 20

Outline 1 Introduction 2 Problem formulation 3 Discretization techniques 4 Multilevel Summation Method (MSM) 5 Numerical experiments D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 2 / 20

Introduction Poisson and Generalized Poisson equations arise in numerous areas of science and engineering For many problems of interest analytical solution is not known Naive numerical implementation usually requires significant computational time to achieve reasonable accuracy Fast algorithms are critical for advances in many fields of research D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 3 / 20

Problem formulation Generalized Poisson Equation (GPE): (ɛ( x) Φ( x)) = ρ( x) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 4 / 20

Problem formulation Generalized Poisson Equation (GPE): Where (ɛ( x) Φ( x)) = ρ( x) ρ( x) = N k=1 q kδ( x x k ) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 4 / 20

Problem formulation Generalized Poisson Equation (GPE): Where (ɛ( x) Φ( x)) = ρ( x) ρ( x) = N k=1 q kδ( x x k ) ɛ( x) = ɛ 0 const. x Ω 0 D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 4 / 20

Problem formulation Generalized Poisson Equation (GPE): Where (ɛ( x) Φ( x)) = ρ( x) ρ( x) = N k=1 q kδ( x x k ) ɛ( x) = ɛ 0 const. x Ω 0 ɛ( x) = ɛ 1 const. x Ω 1 D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 4 / 20

Problem formulation Generalized Poisson Equation (GPE): Where (ɛ( x) Φ( x)) = ρ( x) ρ( x) = N k=1 q kδ( x x k ) ɛ( x) = ɛ 0 const. x Ω 0 ɛ( x) = ɛ 1 const. x Ω 1 ɛ( x) smoothly changes its value between ɛ 0 and ɛ 1 in Ω region D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 4 / 20

Difficulties with solving GPE directly Singularities in charge distribution Unbounded domain Boundary conditions at infinity D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 5 / 20

Solvent reaction and effective charge distribution Effective charge distribution ɛ 0 Φ( x) = ρ( x) + ρ f ( x) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 6 / 20

Solvent reaction and effective charge distribution Effective charge distribution ɛ 0 Φ( x) = ρ( x) + ρ f ( x) If x Ω 0, then ρ f ( x) = 0 D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 6 / 20

Solvent reaction and effective charge distribution Effective charge distribution ɛ 0 Φ( x) = ρ( x) + ρ f ( x) If x Ω 0, then ρ f ( x) = 0 If x Ω 1, then ρ f ( x) = 0 D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 6 / 20

Solvent reaction and effective charge distribution Effective charge distribution ɛ 0 Φ( x) = ρ( x) + ρ f ( x) If x Ω 0, then ρ f ( x) = 0 If x Ω 1, then ρ f ( x) = 0 If x Ω, then ( ɛ( x) ) ρ f ( x) log ( ɛ 0 Φ( x) ) = 0 ɛ 0 1 ( ɛ 0 Φ( x) = ρ( x 4π x x ) + ρ f ( x ) ) d x Ω D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 6 / 20

Discretization with Projection method G(r) = 1 4πr ( ɛ( x) ) ρ f ( x) log G( x x ) ( ρ( x ) + ρ f ( x ) ) d x = 0 ɛ 0 Ω Discretize domain with Cartesian grid D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 7 / 20

Discretization with Projection method G(r) = 1 4πr ( ɛ( x) ) ρ f ( x) log G( x x ) ( ρ( x ) + ρ f ( x ) ) d x = 0 ɛ 0 Ω Discretize domain with Cartesian grid Let {φ i } be basis functions D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 7 / 20

Discretization with Projection method G(r) = 1 4πr ( ɛ( x) ) ρ f ( x) log G( x x ) ( ρ( x ) + ρ f ( x ) ) d x = 0 ɛ 0 Ω Discretize domain with Cartesian grid Let {φ i } be basis functions Approximate solution ρ = i ρ iφ i D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 7 / 20

Discretization with Projection method G(r) = 1 4πr ( ɛ( x) ) ρ f ( x) log G( x x ) ( ρ( x ) + ρ f ( x ) ) d x = 0 ɛ 0 Ω Discretize domain with Cartesian grid Let {φ i } be basis functions Approximate solution ρ = i ρ iφ i r = ρ log(ɛ/ɛ 0 ) G(ρ + ρ) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 7 / 20

Discretization with Projection method G(r) = 1 4πr ( ɛ( x) ) ρ f ( x) log G( x x ) ( ρ( x ) + ρ f ( x ) ) d x = 0 ɛ 0 Ω Discretize domain with Cartesian grid Let {φ i } be basis functions Approximate solution ρ = i ρ iφ i r = ρ log(ɛ/ɛ 0 ) G(ρ + ρ) Minimize residual by projecting it on test space rψ j = 0 D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 7 / 20

Linear system of equations Linear system Where I is the identity matrix (I A)x = f A ij = j log(ɛ( x)/ɛ 0 ) G( x x i ) x is vector of unknown coefficients ρ i f j = j log(ɛ( x)/ɛ 0 ) ( k q kg( x x k ) ) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 8 / 20

New difficulties have arisen In general, matrix A is dense, due to Green s function global support Matrix-vector product costs O(N 2 ) operations All iterative solvers use at least O(N 2 ) operations to find solution Can we do better? D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 9 / 20

Fast matrix-vector product and N-body solver We need to compute ɛ 0 Φ( x) = G( x x ) ( ρ( x ) + ρ( x ) ) d x = k G( x x k )q k + i G( x x i )ρ i Use fast N-body solver to compute electrostatic potential and forces We use Multilevel Summation Method (MSM) as fast and easy-to-implement N-body solver D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 10 / 20

Green s function splitting G = G 4 3.5 G 3 2.5 G i (r) 2 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 11 / 20

Green s function splitting G = G G 1 + G 1 4 3.5 G 3 G 1 2.5 G i (r) 2 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 11 / 20

Green s function splitting G = G G 1 + G 1 G 2 + G 2 4 3.5 G 3 G 1 2.5 G 2 G i (r) 2 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 11 / 20

Green s function splitting G = G G 1 + G 1 G 2 + G 2 +... 4 3.5 G 3 G 1 2.5 G 2 G i (r) 2 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 11 / 20

Green s function splitting G = G G 1 + G 1 G 2 + G 2 G 3 +... = G 0,1 + G 1,2 + G 2,3 +... 2 1.8 1.6 1.4 G G 1 G 1 G 2 G 2 G 3 G i (r) G i+1 (r) 1.2 1 0.8 0.6 0.4 0.2 0 0 0.5 1 1.5 2 2.5 3 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 12 / 20

Matrix form of MSM Mesh restrict prolongate levels restrict prolongate anterpolate interpolate Particle level calculate directly G( x x ) = G 0,1 ( x x ) + P 1 ( x) ( G 1,2 + P 2 (G 2,3 +...)R 2 ) R1 ( x ) D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 13 / 20

ε Born ion problem Point charge at origin Spherically symmetric ɛ( x) = ɛ(r), where r = x Analytic solution exists for any ɛ ρ f (r) = q ɛ 0ɛ (r) r 2 ɛ 2 (r) 80 8 0.1 0.3 0.5 0.7 0.9 1.1 1.3 1.5 r D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 14 / 20

Scalability and error versus system size time [sec. / it.] 10 4 10 2 10 0 no MSM a/h = 4 a/h = 6 a/h = 8 % relative error 10 2 10 1 10 0 no MSM a/h = 4 a/h = 6 a/h = 8 1000 8000 64000 1000000 number of elements 10 1 0.02 0.05 0.1 0.2 h [A] a is Green s function cutoff radius h is grid s step-size D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 15 / 20

Methanol molecule D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 16 / 20

Methanol molecule effective charge and reaction field D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 17 / 20

Methanol molecule in vacuum vs. water solution D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 18 / 20

Conclusion We developed fast and scalable algorithm for solving GPE With use of MSM we achieved linear complexity Method is second order accurate in terms of grid s step-size D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 19 / 20

The END Thank you! D. Yershov (Computer Science @ UIUC) Laplace-Centered Poisson Solvers and MSM 2009 SIAM Annual Meeting 20 / 20