Relaxation Methods in the Solution of Partial Differential Equations

Slides:



Advertisements
Similar presentations
The divergence of E If the charge fills a volume, with charge per unit volume . R Where d is an element of volume. For a volume charge:
Advertisements

Chapter 13 Partial differential equations
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2013 – 12269: Continuous Solution for Boundary Value Problems.
P. Venkataraman Mechanical Engineering P. Venkataraman Rochester Institute of Technology DETC2014 – 35148: Continuous Solution for Boundary Value Problems.
EE3321 ELECTROMAGENTIC FIELD THEORY
PHY 042: Electricity and Magnetism Laplace’s equation Prof. Hugo Beauchemin 1.
Electrostatics Electrostatics is the branch of electromagnetics dealing with the effects of electric charges at rest. The fundamental law of electrostatics.
PARTIAL DIFFERENTIAL EQUATIONS
Chapter 7 – Poisson’s and Laplace Equations
NAE C_S2001 FINAL PROJECT PRESENTATION LASIC ISMAR 04/12/01 INSTRUCTOR: PROF. GUTIERREZ.
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
1 Chapter 9 NUMERICAL SOLUTION OF PARTIAL DIFFERENTIAL EQUATIONS.
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
EM & Vector calculus #3 Physical Systems, Tuesday 30 Jan 2007, EJZ Vector Calculus 1.3: Integral Calculus Line, surface, volume integrals Fundamental theorems.
Monte Carlo Methods in Partial Differential Equations.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. by Lale Yurttas, Texas A&M University Part 81 Partial.
CISE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM (Term 101) Section 04 Read & CISE301_Topic9.
SE301: Numerical Methods Topic 9 Partial Differential Equations (PDEs) Lectures KFUPM Read & CISE301_Topic9 KFUPM.
Lecture 4: Boundary Value Problems
Elliptic Partial Differential Equations - Introduction
Scientific Computing Partial Differential Equations Poisson Equation.
Finite Element Method.
1/21/2015PHY 712 Spring Lecture 31 PHY 712 Electrodynamics 9-9:50 AM MWF Olin 103 Plan for Lecture 3: Reading: Chapter 1 in JDJ 1.Review of electrostatics.
Partial Differential Equations Finite Difference Approximation.
1 ELEC 3105 Basic EM and Power Engineering Start Solutions to Poisson’s and/or Laplace’s.
EMLAB 1 6. Capacitance. EMLAB 2 Contents 1.Capacitance 2.Capacitance of a two-wire line 3.Poisson’s and Laplace’s equations 4.Examples of Laplace’s equation.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 8 - Chapter 29.
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Electrostatic potential and energy fall EM lecture, week 2, 7. Oct
Optical Flow. Distribution of apparent velocities of movement of brightness pattern in an image.
Darryl Michael/GE CRD Fields and Waves Lesson 3.6 ELECTROSTATICS - Numerical Simulation.
Chapter 4 : Solution of Electrostatic ProblemsLecture 8-1 Static Electromagnetics, 2007 SpringProf. Chang-Wook Baek Chapter 4. Solution of Electrostatic.
1/30/ Elliptic Partial Differential Equations – Lieberman Method – Part 1 of 2 Elliptic Partial Differential.
3.3 Separation of Variables 3.4 Multipole Expansion
3.1 Laplace’s Equation Common situation: Conductors in the system,
Marching Solver for Poisson Equation 大氣四 簡睦樺. Outline A brief review for Poisson equation and marching method Parallel algorithm and consideration for.
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
1 LAPLACE’S EQUATION, POISSON’S EQUATION AND UNIQUENESS THEOREM CHAPTER LAPLACE’S AND POISSON’S EQUATIONS 6.2 UNIQUENESS THEOREM 6.3 SOLUTION OF.
Laplace and Earnshaw1 Laplace Potential Distribution and Earnshaw’s Theorem © Frits F.M. de Mul.
Finding electrostatic potential Griffiths Ch.3: Special Techniques week 3 fall EM lecture, 14.Oct.2002, Zita, TESC Review electrostatics: E, V, boundary.
EXAMPLES OF SOLUTION OF LAPLACE’s EQUATION NAME: Akshay kiran E.NO.: SUBJECT: EEM GUIDED BY: PROF. SHAILESH SIR.
Electromagnetic Theory
Medan Listrik Statis II (Material, Kapasitansi, Numerik Simulasi)
Part 8 - Chapter 29.
EEE 431 Computational Methods in Electrodynamics
Xing Cai University of Oslo
Christopher Crawford PHY
Chapter 25 Electric Potential.
ELEC 3105 Basic EM and Power Engineering
LAPLACE’S EQUATION AND UNIQUENESS
Uniqueness Theorem vanishes on S vanishes in V
Convergence in Computational Science
13 VECTOR CALCULUS.
3. Boundary Value Problems II 3A. The Spherical Harmonics
Christopher Crawford PHY
Vanishing Potential from Two Point Charges
Objective Numerical methods Finite volume.
CS6068 Applications: Numerical Methods
topic16_cylinder_flow_relaxation
Relaxation Technique CFD
PHY 712 Electrodynamics 9-9:50 AM MWF Olin 105 Plan for Lecture 3:
Numerical Methods on Partial Differential Equation
Stencil Pattern ITCS 4/5145 Parallel computing, UNC-Charlotte, B. Wilkinson Oct 14, 2014 slides6b.ppt 1.
Numerical methods for modeling of electrophysical problems
Stencil Pattern ITCS 4/5145 Parallel computing, UNC-Charlotte, B. Wilkinson StencilPattern.ppt Oct 14,
PHY 712 Electrodynamics 9-9:50 AM MWF Olin 105 Plan for Lecture 3:
Programming assignment #1 Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
2.2 Fixed-Point Iteration
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac
Presentation transcript:

Relaxation Methods in the Solution of Partial Differential Equations Kiel Williams Algorithms Group University of Illinois, Dept. of Physics 05/09/2017 1

Solving Partial Differential Equations Stereotypical problem: solve for a potential given some source function: (Poisson's Equation) Electric/Gravitational Potential Mass/Charge Distribution This is an inhomogeneous elliptic differential equation → some simple ways to handle the problem numerically? Start by exploiting some properties of Laplace's equation in free space: (Laplace's Equation) Electric/Gravitational Potential Free Space

Harmonic Function Theorem A solution V to Laplace's equation: (Laplace's Equation) is called harmonic Interesting harmonic properties: 1.) No extrema in interior of region, away from boundaries: 2.) Value of solution at any given point equals average of points in surrounding sphere:

Harmonic Function Theorem V(x, y) Y X Average of Solution Along Circle = Solution Value at Center

Relaxation Algorithm Second derivative in 1D can be discretized as: Approximate (2D) Laplacian in same way If Poisson's equation is true:

Generalization to d > 2 easy to see from context Relaxation Algorithm If Poisson's equation is true: For f = 0: Simply the average over adjacent grid points! Discretized form of mean-value theorem for harmonic functions Basic strategy: starting from initial guess, demand that this condition be satisfied Generalization to d > 2 easy to see from context

Relaxation Algorithm Make initial guess at solution in interior region (guess doesn't need to be very good) Compute averaged value at each point Update solution No – perform another relaxation iteration step Solution obtained Yes – you're done Check for convergence

Relaxation Algorithm - Example To run relaxation, just need the boundary conditions and some initial guess Example: consider parabolic boundary condition along each edge on 2D grid, arranged to be continuous: These boundary conditions stay fixed in time, while the interior region of the 2D grid relaxes

Relaxation Algorithm - Example To run relaxation, just need the boundary conditions and some initial guess Example: consider parabolic boundary condition along each edge on 2D grid, arranged to be continuous: These boundary conditions stay fixed in time, while the interior region of the 2D grid relaxes Even with a terrible initial guess, solution still converges within 10's of iterations! Initial Guess Solution Relaxation (Note that you can always imagine this as an electrostatic potential, for intuition purposes)

Relaxation Algorithm - Example To run relaxation, just need the boundary conditions and some initial guess Example: consider opposite edges held at V = +1 and V = -1 This is like finite parallel plate capacitor, and we can see the edge fields These boundary conditions stay fixed in time, while the interior region of the 2D grid relaxes Even with a terrible initial guess, solution still converges within 10's of iterations! Initial Guess Solution Relaxation (Note that you can always imagine this as an electrostatic potential, for intuition purposes)

Relaxation Algorithm, for Poisson's Equation Make initial guess at solution in interior region (guess doesn't need to be very good) Compute averaged value at each point Update solution For electrostatics: No – perform another relaxation iteration step Solution obtained Yes – you're done Check for convergence

Relaxation Algorithm - Example, for Poisson's Equation To run relaxation, just need the boundary conditions and some initial guess Example: consider opposite edges held at V = +1 and V = -1, with Charge distribution given by: Now there are local extrema that occur away from the boundaries due to the charge distribution: Solution Relaxation Final Potential (Note that you can always imagine this as an electrostatic potential, for intuition purposes)

Relaxation Algorithm - Example, for Poisson's Equation To run relaxation, just need the boundary conditions and some initial guess Example: consider opposite edges held at V = +1 and V = -1, with Charge distribution given by: If we dump a lot of charge into the interior, boundary conditions become less significant: Solution Relaxation Final Potential (Note that you can always imagine this as an electrostatic potential, for intuition purposes)

Relaxation Algorithm - Example, for Poisson's Equation To run relaxation, just need the boundary conditions and some initial guess Example: consider opposite edges held at V = +1 and V = -1, with Charge distribution given by: If we dump a lot of charge into the interior, boundary conditions become less significant: Solution Relaxation Final Potential (Note that you can always imagine this as an electrostatic potential, for intuition purposes)

Summary Relaxation method → rely on properties of harmonic functions to solve Laplace's equation from an initial guess + boundary conditions Simple modification allows for solutions to Poisson's equation for arbitrary charge distribution Concepts easily extended to higher number of dimensions Multigrid methods exist to accelerate convergence for harder problems