Finite Difference Time Domain Method (FDTD)

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

Computational Modeling for Engineering MECN 6040
Waveguides Part 2 Rectangular Waveguides Dielectric Waveguide
Chapter 8 Elliptic Equation.
Prof. David R. Jackson Dept. of ECE Fall 2013 Notes 26 ECE 6340 Intermediate EM Waves 1.
EEE 498/598 Overview of Electrical Engineering
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 29.
Modelling techniques and applications Qing Tan EPFL-STI-IMT-OPTLab
Computational Electromagnetics
EMLAB 1 Numerical Boundary Conditions. EMLAB 2 A Problem at the Boundary of the Grid We must implement the update equations for every point in the grid.
An Optimal Nearly-Analytic Discrete Method for 2D Acoustic and Elastic Wave Equations Dinghui Yang Depart. of Math., Tsinghua University Joint with Dr.
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.
EEE340Lecture : Time-Harmonic Electromagnetics Using the rule We have the Maxwell’s equations in phasor form as The Lorentz gauge (7.98) (7.94)
Numerical Simulation of a Dipole Antenna Coupling to a Thin Wire in the Near Field Yaping Zhang, John Paul, C Christopoulos George Green Institute for.
EMLAB 1 Power Flow and PML Placement in FDTD. EMLAB 2 Lecture Outline Review Total Power by Integrating the Poynting Vector Total Power by Plane Wave.
Consortium for Metrology of Semiconductor Nanodefects Mechanical Engineering An Introduction to Computational Electromagnetics using FDTD R. E. Diaz.
Implementation of 2D FDTD
Finite Differences Finite Difference Approximations  Simple geophysical partial differential equations  Finite differences - definitions  Finite-difference.
1/15 IEEE-APS Toronto, July 2010 J.-P. B ERENGER*, F. COSTEN** *Centre d’Analyse de Défense 16 bis, Avenue Prieur de la Côte d’Or Arcueil, France.
1 EEE 498/598 Overview of Electrical Engineering Lecture 11: Electromagnetic Power Flow; Reflection And Transmission Of Normally and Obliquely Incident.
Grating reconstruction forward modeling part Mark van Kraaij CASA PhD-day Tuesday 13 November 2007.
Finite Element Method.
1 EEE 431 Computational Methods in Electrodynamics Lecture 9 By Dr. Rasime Uyguroglu
Acoustic diffraction by an Oscillating strip. This problem is basically solved by a technique called Wiener Hopf technique.
To Dream the Impossible Scheme Part 1 Approximating Derivatives on Non-Uniform, Skewed and Random Grid Schemes Part 2 Applying Rectangular Finite Difference.
ENE 325 Electromagnetic Fields and Waves
The Perfectly Matched Layer (PML)
Enhancing One‐Dimensional FDTD
Chapter 2: Transmission lines and waveguides
So far, we have considered plane waves in an infinite homogeneous medium. A natural question would arise: what happens if a plane wave hits some object?
MECN 3500 Inter - Bayamon Lecture 9 Numerical Methods for Engineering MECN 3500 Professor: Dr. Omar E. Meza Castillo
1 The University of Mississippi Department of Electrical Engineering Center of Applied Electromagnetic Systems Research (CAESR) Atef Z. Elsherbeni
EMLAB 1 3D Update Equations with Perfectly Matched Layers.
Lai-Ching Ma & Raj Mittra Electromagnetic Communication Laboratory
X-Ray Reflectivity Measurement
CEM in action Computed surface currents on prototype military aircraft at 100MHz The plane wave is incident from left to right at nose on incidence. The.
1 EEE 431 Computational Methods in Electrodynamics Lecture 8 By Dr. Rasime Uyguroglu
Modeling Electromagnetic Fields in Strongly Inhomogeneous Media
Dipole Driving Point Impedance Comparison  Dipole antenna modeled: length = 2m, radius = 0.005m  Frequency range of interest: 25MHz=500MHz  Comparison.
A Non-iterative Hyperbolic, First-order Conservation Law Approach to Divergence-free Solutions to Maxwell’s Equations Richard J. Thompson 1 and Trevor.
1 EEE 431 Computational Methods in Electrodynamics Lecture 7 By Dr. Rasime Uyguroglu
Formulation of 2D‐FDTD without a PML.
Implementing Finite Volume Methods 1.  Continue on Finite Volume Methods for Elliptic Equations  Finite Volumes in Two-Dimensions  Poisson’s Equation.
The Finite Difference Time Domain Method FDTD Haythem H. abdullah ERI, Electronics Research Institute, Microwave Engineering Dept.
FINITE DIFFERENCE In numerical analysis, two different approaches are commonly used: The finite difference and the finite element methods. In heat transfer.
1 EEE 431 Computational Methods in Electrodynamics Lecture 13 By Dr. Rasime Uyguroglu
Hanyang University 1/16 Antennas & RF Devices Lab. MODERN ANTENNA HANDBOOK by CONSTANTINE A.BALANIS ch – Kim Sung Peel.
Date of download: 9/17/2016 Copyright © 2016 SPIE. All rights reserved. The implementation of the angular spectrum of plane waves method in the finite.
UPB / ETTI O.DROSU Electrical Engineering 2
Fang Liu and Arthur Weglein Houston, Texas May 12th, 2006
EEE 431 Computational Methods in Electrodynamics
Lecture 4: Numerical Stability
Finite Difference Methods
Modeling of Traffic Flow Problems
FDTD 1D-MAP Plane Wave TFSF Simulation for Lossy and Stratified Media
ELEC 401 MICROWAVE ELECTRONICS Lecture 3
THE METHOD OF LINES ANALYSIS OF ASYMMETRIC OPTICAL WAVEGUIDES Ary Syahriar.
CSE 245: Computer Aided Circuit Simulation and Verification
ELEC 401 MICROWAVE ELECTRONICS Lecture 3
EE757 Numerical Techniques in Electromagnetics Lecture 5
ENE 325 Electromagnetic Fields and Waves
Finite difference time domain
ENE 325 Electromagnetic Fields and Waves
General theory of scattering in isotropic media
topic16_cylinder_flow_relaxation
Diyu Yang Mentor: Xu Chen Advisor: José E. Schutt-Ainé Abstract
AE/ME 339 Computational Fluid Dynamics (CFD) K. M. Isaac 4/30/2019
Topic 8 Pressure Correction
The Method of Moments Lf = g where L is a linear operator
Modeling Debye Dispersive Media Using Efficient ADI-FDTD Method
Presentation transcript:

Finite Difference Time Domain Method (FDTD)

FDTD: The Basic Algorithm Maxwell’s Equations in the TIME Domain:

Equate Vector Components: Six E and H-Field Equations

2-D Equations: Assume that all fields are uniform in y direction (i. e 2-D Equations: Assume that all fields are uniform in y direction (i.e. d/dy = 0) 2D - TE 2D - TM

1-D Equations: Assume that all fields are uniform in y and x directions (i.e. d/dy =d/dx= 0) 1D - TE 1D - TM

Discretize Objects in Space using Cartesian Grid 2D Discretization 3D Discretization z x 1D Discretization

Define Locations of Field Components: FDTD Cell called Yee Cell Finite-Difference Space is divided into small cells One Cell: (dx)(dy)(dz) E and H components are distributed in space around the Yee cell (note: field components are not collocated) FDTD: Yee, K. S.: Numerical solution of initial boundary value problems involving Maxwell's equations in isotropic media. IEEE Transactions on Antennas Propagation, Vol. AP-14, pp. 302-307, 1966.

Replace Continuous Derivatives with Differences Derivatives in time and space are approximated as DIFFERENCES

Solution then evolves by time-marching difference equations Time is Discretized One Time Step: dt E and H fields are distributed in time This is called a “leap-frog” scheme.

Yee Algorithm Definitions of spatial meshing and time step Initialization Iteration n Calculation of En from Hn-1/2 and En-1 Calculation of Hn+1/2 from En and Hn-1/2 n=n+1 N=Nbiteration End

1-D FDTD Assuming that field values can only vary in the z-direction (i.e. all spatial derivatives in x and z direction are zero), Maxwell’s Equations reduce to: z Hy Ex e(z), m(z)

1-D FDTD – Staggered Grid in Space Interleaving of the Ex and Hy field components in space and time in the 1-D FDTD formulation Time plane

Replace all continuous derivatives with central finite differences 1-D FDTD Replace all continuous derivatives with central finite differences Note: finite differences are 2nd order in time and space

Replace all continuous derivatives with finite differences 1-D FDTD Replace all continuous derivatives with finite differences Solve for

1-D FDTD Replace all continuous derivatives with finite differences and increment time by one half time step Solve for

After some simple algebra: 1-D FDTD After some simple algebra:

1-D FDTD – Staggered Grid in Space Interleaving of the Ex and Hy field components in space and time in the 1-D FDTD formulation i=1 i=2 i=3 i=4 z=0 z=dz z=2*dz z=3*dz i=1 i=2 i=3 i=4 z=dz/2 z=3dz/2 z=5*dz/2 z=7*dz/2

1-D FDTD – Staggered Grid in Space Interleaving of the Ex and Hy field components in space and time in the 1-D FDTD formulation i=1 i=2 i=3 i=4 z=0 z=dz z=2*dz z=3*dz i=1 i=2 i=3 i=4 z=dz/2 z=3dz/2 z=5*dz/2 z=7*dz/2

1-D FDTD – Basic Core of Code for n=2:Nt % all time steps for i=2:Nx-1 % all interior nodes Loop through all of the E -grid end Loop through all time steps Note: H uses the new values of E. This is Equivalent to incrementing by ½ a time step for i=2:Nx-1 % all interior nodes Loop through all of the H -grid end end

SOME OPEN QUESTIONS?? How do we determine what Dt and Dz should be? How do we implement real sources? How do we simulate open boundaries? How accurate is the solution?

Numerical Stability Like all iterative algorithms FDTD has the possibility of not converging on a solution. This usually results in the algorithm going unstable and producing ever increasing field values over time. When does this happen? 1-D 2-D 3-D

Numerical Dispersion In real life plane waves traveling in a homogenous medium propagate at the speed of light in that medium independent of frequency or propagation direction. However, due to our approximation of continuous derivatives with finite differences if we launch a plane wave in FDTD it will actually propagate at a slightly different speed than that of light. Moreover, and more disturbing, the propagation velocity will depend on the frequency of the plane wave and its direction of propagation with respect to the FDTD grid. This effect is known as numerical dispersion. The effect has been well studied and mathematically quantified.

Numerical Dispersion Continuous Plane Wave 1-D FDTD Magic time step! At optimal time step

Implementation of Boundary Conditions 1D Boundary condition for a perfectly electrically conducting (PEC) material Absorbing/open boundary condition in 1-D Space-time-extrapolation of the first order For the magic time-step a plane wave needs one time steps to travel over one grid cell with the size ∆z Space-time-extrapolation of the first order

(MATLAB DEMO)

2-D Equations: Assume that all fields are uniform in y direction (i. e 2-D Equations: Assume that all fields are uniform in y direction (i.e. d/dy = 0) 2D - TM 2D - TE

2D - TM E-GRID H-GRID Ex Ez Hy dz dx (i-1,j-1) (i,j-1) (i+1,j-1)

2D – TM: Derive FDTD Equations Ex Ez Hy dz (i-1,j-1) (i,j-1) (i+1,j-1) (i-1,j) (i,j) (i+1,j) (i,,j+1) (i+1,j+1) (i-1,j+1)

2D – TM: Derive FDTD Equations H-GRID dx Ex Ex Hy Hy Ez Ez Ez (i,j) (i-1,j) Ex (i+1,j) (i-1,j) Ex Hy Hy dz Ez Ez Ez (i-1,j-1) (i,j-1) Ex Ex Solve for

2D – TM: Derive FDTD Equations

2-D FDTD – Basic Core of Code for n=2:Nt % all time steps for i=2:Nx-1 % all interior nodes Loop through all of the E -grid end for i=2:Nx-1 % all interior nodes Loop through all of the H -grid end end

2D – TE: Derive FDTD Equations

Numerical Dispersion 2D case Using same procedure as for the 1D case we obtain:

Source Modeling 1. We can implement a “hard” source by forcing the fields to predefined values at specific nodes in the FDTD grid. For example:

Source Modeling: Soft Sources Scattered Field Formulation 1. We can implement a “soft” source by first reformulating Maxwell’s equations for only the scattered field. (1) (2) (3) (1)-(2): Use (3) in above and a little algebra:

Six E and H-Field Equations Scattered Field

2D Scattered Field TM TE

1D Scattered Field TM TE

1-D FDTD Scattered Fields (TE)

1-D FDTD Scattered Fields (TE) EXAMPLE INCIDENT FIELD let In FDTD

1-D FDTD – Basic Core of 1D Scattered Field Code (non-magnetic) for n=2:Nt % all time steps for i=2:Nx-1 % all interior nodes If tau<0 Loop through all of the E -grid else end end for i=2:Nx-1 % all interior nodes Loop through all of the H -grid end end

2-D FDTD Scattered Fields (TE)

Implementation of Boundary Conditions 2D Boundary condition for a perfectly electrically conducting (PEC) material Absorbing/open boundary condition in 1-D Many different methods Interpolation/Extrapolation in time and space (Liaos) One way way equation (Mur) Artificial absorbing boundaries (PMLs)

One Way Wave Equation

One Way Wave Equation

One Way Wave Equation If we could implement the one way equations on a FDTD boundary we would have the perfect ABC (i.e. zero reflection. Unfortunately we can’t do that since we don’t know how to implement the square root operator. So we need to approximate. First order Taylor series expansion

One Way Wave Equation

Absorbing Boundary Conditions 2D: Mur 1st order One-way Wave Equations: They approximately represent waves traveling in only one direction. y=h y=0 x=0 x=w

Absorbing Boundary Conditions 2D: Mur One-way Wave Equations: They approximately represent waves traveling in only one direction. y=h y=0 x=0 x=w

Absorbing Boundary Conditions 2D: 1st Order Mur 2D 1st Order Mur Equation y=h y=0 x=0 x=w

Absorbing Boundary Conditions 2D: Mur 2nd Order One-way Wave Equations: They approximately represent waves traveling in only one direction. y=h y=0 x=0 x=w

(MATLAB DEMO)