EEE 431 Computational Methods in Electrodynamics

Slides:



Advertisements
Similar presentations
Courant and all that Consistency, Convergence Stability Numerical Dispersion Computational grids and numerical anisotropy The goal of this lecture is to.
Advertisements

Finite Difference Discretization of Hyperbolic Equations: Linear Problems Lectures 8, 9 and 10.
Computational Modeling for Engineering MECN 6040
Chapter 8 Elliptic Equation.
1cs542g-term Notes  No extra class tomorrow.
Total Recall Math, Part 2 Ordinary diff. equations First order ODE, one boundary/initial condition: Second order ODE.
PART 7 Ordinary Differential Equations ODEs
Atms 4320 Lab 2 Anthony R. Lupo. Lab 2 -Methodologies for evaluating the total derviatives in the fundamental equations of hydrodynamics  Recall that.
Computer-Aided Analysis on Energy and Thermofluid Sciences Y.C. Shih Fall 2011 Chapter 6: Basics of Finite Difference Chapter 6 Basics of Finite Difference.
PARTIAL DIFFERENTIAL EQUATIONS
Consider the initial boundary value problem Weak Formulation Matrix Form Semidiscrete problem.
Partial differential equations Function depends on two or more independent variables This is a very simple one - there are many more complicated ones.
Numerical Methods for Partial Differential Equations
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.
Tutorial 5: Numerical methods - buildings Q1. Identify three principal differences between a response function method and a numerical method when both.
© Arturo S. Leon, BSU, Spring 2010
Numerical Methods on Partial Differential Equation Md. Mashiur Rahman Department of Physics University of Chittagong Laplace Equation.
Finite Element Method.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 5a.
Lecture 3.
1 EEE 431 Computational Methods in Electrodynamics Lecture 4 By Dr. Rasime Uyguroglu
1 EEE 431 Computational Methods in Electrodynamics Lecture 9 By Dr. Rasime Uyguroglu
MA2213 Lecture 11 PDE. Topics Introduction p Poisson equation p Visualization of numerical results p Boundary conditions p.
Elliptic PDEs and the Finite Difference Method
Solving an elliptic PDE using finite differences Numerical Methods for PDEs Spring 2007 Jim E. Jones.
1 EEE 431 Computational Methods in Electrodynamics Lecture 3 By Dr. Rasime Uyguroglu.
Boundary Value Problems l Up to this point we have solved differential equations that have all of their initial conditions specified. l There is another.
Engineering Analysis – Computational Fluid Dynamics –
Engineering Analysis – Computational Fluid Dynamics –
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
1 EEE 431 Computational Methods in Electrodynamics Lecture 17 By Dr. Rasime Uyguroglu
1 EEE 431 Computational Methods in Electrodynamics Lecture 18 By Dr. Rasime Uyguroglu
1 EEE 431 Computational Methods in Electrodynamics Lecture 8 By Dr. Rasime Uyguroglu
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 27.
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Discretization for PDEs Chunfang Chen,Danny Thorne Adam Zornes, Deng Li CS 521 Feb., 9,2006.
Elliptic PDEs and Solvers
Partial Derivatives Example: Find If solution: Partial Derivatives Example: Find If solution: gradient grad(u) = gradient.
1 EEE 431 Computational Methods in Electrodynamics Lecture 7 By Dr. Rasime Uyguroglu
Solving Partial Differential Equation Numerically Pertemuan 13 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Department of Mathematics Numerical Solutions to Partial Differential Equations Ch 12. Applied mathematics. Korea University.
1 LECTURE 6 Stability of Parabolic PDEs. 2 Aim of Lecture Last week we discussed Parabolic PDEs –Looked at Explicit and Implicit Methods –Advantages and.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 28.
1 EEE 431 Computational Methods in Electrodynamics Lecture 13 By Dr. Rasime Uyguroglu
EEE 431 Computational Methods in Electrodynamics
Part 8 - Chapter 29.
Lecture 4: Numerical Stability
Finite Difference Methods
Convection-Dominated Problems
Christopher Crawford PHY
Chapter 30.
Boundary Element Analysis of Systems Using Interval Methods
MANE 4240 & CIVL 4240 Introduction to Finite Elements
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Introduction to Partial Differential Equations
Finite Volume Method for Unsteady Flows
ME/AE 339 Computational Fluid Dynamics K. M. Isaac Topic2_PDE
Chapter 27.
One dimensional Poisson equation
topic4: Implicit method, Stability, ADI method
Finite element method.
topic4: Implicit method, Stability, ADI method
Finite Difference Method for Poisson Equation
Numerical Analysis Lecture 2.
MATH 175: Numerical Analysis II
topic4: Implicit method, Stability, ADI method
6th Lecture : Numerical Methods
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
Presentation transcript:

EEE 431 Computational Methods in Electrodynamics Lecture 6 By Dr. Rasime Uyguroglu Rasime.uyguroglu@emu.edu.tr

FINITE DIFFERENCE METHODS (cont).

FINITE DIFFERENCE METHODS (cont). Finite Differencing of Hyperbolic PDE’s Consider the wave equation:

FINITE DIFFERENCE METHODS (cont). Using central difference formula the wave equation may be approximated as:

FINITE DIFFERENCE METHODS (cont). Substituting Let

FINITE DIFFERENCE METHODS (cont). Example: Solve the wave equation Subject to the boundary conditions, And the initial conditions:

Finite Difference Method Take r=1, For j=0,

Finite Difference Method Substitute to get the starting formula:

Finite Difference Method Since u=1, r=1, chose, Solve the problem for since it is symmetric. See the C code.

Finite Difference Method Finite Differencing of Elliptic PDE’s. Consider the two dimensional Poisson’s Equation:

Finite Difference Method Central difference approximation for the partial derivatives:

Finite Difference Method Where, Assume: FD approximation of the Poisson’s equation after simplification:

Finite Difference Method Gives: Or

Finite Difference Method When the source term vanishes, the Poisson’s equation leads to the Laplace’s equation. Thus for the same mesh size h:

Finite Difference Method The application of the finite difference method to elliptic PDEs often leads to a large system of algebraic equations to be solved. Solution of such equations is a major problem. Band matrix and iterative methods are commonly used to solve the system of equations.

Finite Difference Method Band Matrix Method Notice that only nearest neighboring nodes affect the value of at each node. Application of the FD equations results in a set of equation such that:

Finite Difference Method Where is a sparse matrix (it has many zeros) , is the column matrix consisting of the unknown values, and is the column matrix containing the known values of . So:

Accuracy and Stability FD Solutions Accuracy is the closeness of the approximate solution to the exact solutions. Stability is the requirement that the scheme does not increase the magnitude of the solution with increase in time.

Accuracy and Stability FD Solutions Unavoidable errors in numerical solution of physical problems: modeling errors, truncation (or discretization) errors, round-off errors

Accuracy and Stability FD Solutions Modeling errors: Several assumptions are made for obtaining the mathematical model. i.e. nonlinear system may be represented by a liner PDE.

Accuracy and Stability FD Solutions Truncation errors, arise from the fact that in numerical analysis we can deal only with finite number of terms of a series.

Accuracy and Stability FD Solutions Truncation errors may be reduced: By using finer meshes. i.e. smaller time and space step sizes and more number of points. By using a large number of terms in the series expansion of derivatives.

Accuracy and Stability FD Solutions Round-off Errors, are due to finite precision of computers. May be reduced by using double precision.

Accuracy and Stability FD Solutions Error as a function of a mesh size

Accuracy and Stability FD Solutions To determine whether the FD scheme is stable, define an error, , which occurs at time step n, assuming a single independent variable. Define the amplification of this error at time step n+1 as: Where is known as amplification factor.

Accuracy and Stability FD Solutions For the stability of the difference scheme it is required that the above equation satisfies: or

2D Potential Distribution in a Discrete Inhomogeneous Dielectric The relevant equation is:

2D Potential Distribution in a Discrete Inhomogeneous Dielectric Divide the domain into a grid.

2D Potential Distribution in a Disceat Inhomogeneous Dielectric And:

2D Potential Distribution in a Discrete Inhomogeneous Dielectric So,

2D Potential Distribution in a Discreat Inhomogeneous Dielectric Similarly: