420 likes | 733 Views
Finite Difference Discretization of Elliptic Equations: FD Formulas and Multidimensional Prblems. Lecture 4. Finite Difference Formulas Problem Definition. Given distinct points. , find the weights such. that. is of optimal order of accuracy.
E N D
Finite Difference Discretization of Elliptic Equations: FD Formulas and Multidimensional Prblems Lecture 4
Finite Difference FormulasProblem Definition Given distinct points , find the weights such that is of optimal order of accuracy. • Lagrange interpolation • undetermined coefficients Two approaches :
Finite Difference FormulasLangrage interpolation Lagrange polynomials Lagrange interpolant
Finite Difference FormulasLangrage interpolation Approximate Therefore,
Finite Difference FormulasLangrage interpolation Example… Set Second order Lagrange interpolant
Finite Difference FormulasLangrage interpolation …Example… Assuming a uniform grid (First derivative) Forward Centered Backward
Finite Difference FormulasLangrage interpolation …Example (Second derivative) Centered
Finite Difference FormulasUndetermined coefficients Start from Insert Taylor expansions for about Determine coefficients to maximize accuracy.
Finite Difference FormulasUndetermined coefficients Example… (uniform spacing )
Finite Difference FormulasUndetermined coefficients …Example Equating coefficients of Solve,
Poisson Equation in 2D Approximation For example … for small
Poisson Equation in 2D Equations suggests ….
Poisson Equation in 2D Equations Numbering becomes component
Poisson Equation in 2D Equations Block Matrix… Block tridiagonal matrix
Poisson Equation in 2D Equations …Block Matrix Block Definitions has a banded structure Bandwidth :
Poisson Equation in 2D Equations SPD Property ( is SPD) Hence for any : exists and is unique
Poisson Equation in 2D Error Analysis Truncation Error For for all
Poisson Equation in 2D Error Analysis Stability It can be shown that Ingredients: • Positivity of the coeffiicients of • Bound on the maximum row sum
Poisson Equation in 2D Error Analysis Stability Error equation If
Eigenvalue Problem in 2D Statement in on Assume (for simplicity) Solutions
Eigenvalue Problem in 2D Exact Solution Eigenvalues Eigenvectors
Eigenvalue Problem in 2D Discrete Problem Eigenvalues Low Modes High Modes ( , fixed) as
Eigenvalue Problem in 2DCondition Number of A as If grows (in ) as number of grid points. (better than in 1D, relatively speaking !!)
Eigenvalue Problem in 2DLink to Error Estimate Error equation
Discrete Fourier Solution Poisson Problem 2D is SPD diagonal matrix of eigenvalues is matrix of eigenvectors
Discrete Fourier Solution Poisson Problem 2D ALGORITHM Still cost is … But …
Discrete Fourier Solution Poisson Problem 2D • Matrix multiplications can be reorganized • (tensor product evaluation) is a (Inverse) Discrete Fourier Transform Using FFT
Discrete Fourier Solution Poisson Problem 2D We are interested in solving in on on and are given. where
Non-Rectangular Domains Poisson Problem 2D Mapping Can we determine an equivalent problem to be solved on ?
Non-Rectangular Domains Poisson Problem 2D Transformed equations How can we evaluate terms and ?
Non-Rectangular Domains Poisson Problem 2D …Transformed equations…
Non-Rectangular Domains Poisson Problem 2D …Transformed equations… and
Non-Rectangular Domains Poisson Problem 2D …Transformed equations Finally becomes depend on the mapping and
Non-Rectangular Domains Poisson Problem 2D Normal Derivatives… is parallel to (or ); e.g., on
Non-Rectangular Domains Poisson Problem 2D Normal Derivatives… Thus, with