Docsity

Partial Differential Equations part 2-Computational Physics-Lecture Slides, Slides of Computational Physics

Partial preview of the text

Download Partial Differential Equations part 2-Computational Physics-Lecture Slides and more Slides Computational Physics in PDF only on Docsity!

Stability

Dr. Hanif Durad

CFL Condition

Dr. Hanif Durad

Example: Wave Equation (2/2)

Dr. Hanif Durad

Time-Independent Problems

Finite Difference Methods

Dr. Hanif Durad

Example: Laplace Equation (1/5)

Dr. Hanif Durad

Example: Laplace Equation (3/5)

Dr. Hanif Durad

Example: Laplace Equation (4/5)

Dr. Hanif Durad

Poisson equation

Dr. Hanif Durad Kreyszig_AEM 8e, P- 918

Assignment-

 Poisson’s equation with following BC’sWrite a MATLAB program to solve the Dr. Hanif Durad 3

xx yy n u u xy x y u x u x x u y u y y

using h=0.5 in both x and y directions

Direct vs Iterative

 Direct methods :  find the exact solution in a finite number of steps  Robust  Usually computational expensive.  Good for small dense matrix  Iterative methods:  it is close enough to the exact solution (within error tolerance)Start with an initial “guess”, successively improve the guess until  Accuracy and Convergence Issues  Good for large sparse matrix Dr. Hanif Durad CSE245\MatrixSolverI.pdf

SystemsIterative Methods for Linear

Dr. Hanif Durad

Example: Iterative Refinement

Dr. Hanif Durad

Splitting

Dr. Hanif Durad