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.

Slides:



Advertisements
Similar presentations
Unit-2 Polarization and Dispersion
Advertisements

EE3321 ELECTROMAGENTIC FIELD THEORY
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
Uniform plane wave.
Chapter 1 Electromagnetic Fields
Waveguides Part 2 Rectangular Waveguides Dielectric Waveguide
Shaping the color Optical property of photonic crystals Shine.
1 Small-scale Mobile radio propagation Small-scale Mobile radio propagation l Small scale propagation implies signal quality in a short distance or time.
EEE 498/598 Overview of Electrical Engineering
Modelling techniques and applications Qing Tan EPFL-STI-IMT-OPTLab
5/4/2015rew Accuracy increase in FDTD using two sets of staggered grids E. Shcherbakov May 9, 2006.
Waveguides Rectangular Waveguides TEM, TE and TM waves
PH0101 Unit 2 Lecture 4 Wave guide Basic features
Module 1-1 Continued Nature and Properties of Light.
Diffraction of Light Waves
Waves Do the wave!! * In class on board- w/demos * Wave vs particle * Mechancal vs non-mechancal * Longitudinal vs Transverse * Spreading of waves.
Chapter 16 Wave Motion.
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.
Finite Difference Time Domain Method (FDTD)
9. Radiation & Antennas Applied EM by Ulaby, Michielssen and Ravaioli.
EE3321 ELECTROMAGNETIC FIELD THEORY
ISNS Phenomena of Nature Archimedes’ principle is useful for determining the volume and therefore the density of an irregularly shaped object by.
Implementation of 2D FDTD
Lecture 1 Signals in the Time and Frequency Domains
Waves. The Nature of Waves What is a mechanical wave?  A wave is a repeating disturbance or movement that transfers energy through matter or space 
Chapter 9 Electromagnetic Waves. 9.2 ELECTROMAGNETIC WAVES.
Lecture 6.
Oscillations & Waves IB Physics. Simple Harmonic Motion Oscillation 4. Physics. a. an effect expressible as a quantity that repeatedly and regularly.
Antenna Modeling Using FDTD SURE Program 2004 Clemson University Michael Frye Faculty Advisor: Dr. Anthony Martin.
1 EEE 431 Computational Methods in Electrodynamics Lecture 9 By Dr. Rasime Uyguroglu
UPenn NROTC Unit, dtd Fall 2004 Naval Weapons Systems Energy Fundamentals.
By Ya Bao1 Antennas and Propagation. 2 By Ya Bao Introduction An antenna is an electrical conductor or system of conductors Transmission - radiates electromagnetic.
The Perfectly Matched Layer (PML)
EMLAB 1 Examples of One ‐ Dimensional FDTD. EMLAB 2 Typical FDTD Grid Layout.
Enhancing One‐Dimensional FDTD
Gratings and the Plane Wave Spectrum
Properties of Matter and the Analysis of Glass
Introduction to CST MWS
Surface Plasmon Resonance
Chapter 16 Lecture One: Wave-I HW1 (problems): 16.12, 16.24, 16.27, 16.33, 16.52, 16.59, 17.6, Due.
EMLAB 1 3D Update Equations with Perfectly Matched Layers.
Lecture 5.
Lai-Ching Ma & Raj Mittra Electromagnetic Communication Laboratory
Physics 213 General Physics Lecture Last Meeting: Electromagnetic Waves, Maxwell Equations Today: Reflection and Refraction of Light.
UNIT 5.  The related activities of sorting, searching and merging are central to many computer applications.  Sorting and merging provide us with a.
Remcom Inc. 315 S. Allen St., Suite 416  State College, PA  USA Tel:  Fax:   ©
1 EEE 431 Computational Methods in Electrodynamics Lecture 8 By Dr. Rasime Uyguroglu
Dipole Driving Point Impedance Comparison  Dipole antenna modeled: length = 2m, radius = 0.005m  Frequency range of interest: 25MHz=500MHz  Comparison.
Wave Dispersion EM radiation Maxwell’s Equations 1.
H. SAIBI November 25, Outline Generalities Superposition of waves Superposition of the wave equation Interference of harmonic waves.
Hirophysics.com Simulation of the Electromagnetic Fields and its Properties With Free-space and Dielectrics Using the FDTD Method Mark E. Eckman.
Modelling and Simulation of Passive Optical Devices João Geraldo P. T. dos Reis and Henrique J. A. da Silva Introduction Integrated Optics is a field of.
Formulation of 2D‐FDTD without a PML.
EEE 431 Computational Methods in Electrodynamics Lecture 2 By Rasime Uyguroglu.
5. Electromagnetic Optics. 5.1 ELECTROMAGNETIC THEORY OF LIGHT for the 6 components Maxwell Eq. onde Maxwell.
1 EEE 431 Computational Methods in Electrodynamics Lecture 13 By Dr. Rasime Uyguroglu
Wave propagation in optical fibers Maxwell equations in differential form The polarization and electric field are linearly dependent.
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.
Antennas and Propagation
Chapter 1 Electromagnetic Fields
Lecture 4: Numerical Stability
Microwave Passives Anurag Nigam.
R.A.Melikian,YerPhI, , Zeuthen
Prof: Ming Wu GSI: Kevin Han Discussion 1/17/18
(Based on medium) 2. Mechanical Waves
Diyu Yang Mentor: Xu Chen Advisor: José E. Schutt-Ainé Abstract
Applied Electromagnetic Waves Rectangular Waveguides
This means that in a vacuum, red light
PH0101 Unit 2 Lecture 4 Wave guide Basic features
Presentation transcript:

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. What do we do at k = N z ? E y (k=N z +1) does not exist. What do we do at k = 1? H x (k=0) does not exist.

EMLAB 3 Dirichlet Boundary Condition One easy thing to do is assume the fields outside the grid are zero. This is called a Dirichlet boundary condition. We modify the update equations as follows.

EMLAB 4 Equations  MATLAB Code Update Equations DO NOT use ‘if’ statements to implement boundary conditions.

EMLAB 5 Periodic Boundary Condition Some devices are periodic along a particular direction. When this is the case, the field is also periodic. We modify the update equations as follows.

EMLAB 6 Grid Resolution

EMLAB 7 Consideration #1: Wavelength The grid resolution must be sufficient to resolve the shortest wavelength. First, you must determine the smallest wavelength: n max is the largest refractive index found anywhere in the grid. f c is the maximum frequency in your simulation. Second, you resolve the wave with at least 10 cells. NλNλ Comments 10~20Low contrast dielectrics 20~30High contrast dielectrics 40~60Most metallic structures 100~200Plasmonic devices

EMLAB 8 Consideration #2: Mechanical Features The grid resolution must be sufficient to resolve the smallest mechanical features of the device. First, you must determine the smallest feature: Second, you must divide this by 1 to 4.

EMLAB 9 Calculating the Initial Grid Resolution Must resolve the minimum wavelength Must resolve the minimum structural dimension Set the initial grid resolution to the smallest number computed above

EMLAB 10 “Snap” grid to critical dimensions Decide what dimensions along each axis are critical → Typically this is a lattice constant or grating period along x → Typically this is a layer thickness along y Compute how many grid cells comprise d x,y, and round UP Adjust grid resolution to fit this dimension in grid EXACTLY

EMLAB 11 Courant Stability Condition

EMLAB 12 Numerical Propagation Through Grid During a single iteration, a disturbance in the electric field at one point can only be felt by the immediately adjacent magnetic fields. It takes at least two time steps before that disturbance is felt by an adjacent electric field. This is simply due to how the update equations are implemented during a single iteration.

EMLAB 13 Electromagnetic waves propagate at the speed of light in a vacuum. Inside a material, they propagate at a reduced speed. Physical Propagation Through Space

EMLAB 14 A Limit on Δt Over a time duration of one time step  t, an electromagnetic disturbance will travel: Numerical distance covered in one time step: Δz Physical distance covered in one time step: c 0 Δt/n Because of the numerical algorithm, it is not possible for a disturbance to travel farther than one unit cell in a single time step. We need to make sure that a physical wave would not propagate farther than a single unit cell in one time step. This places an upper limit on the time step. n should be set to the smallest refractive index found anywhere in the grid. Usually this is just made to be 1.0 and dropped from the equation.

EMLAB 15 The Courant Stability Condition Refractive index is greater than or equal to one, so our condition on Δt can be written more simply as: Sort of a worst case. n=1 produces the fastest possible physical wave. For 2D or 3D grids, the condition can be generalized as The Courant stability condition

EMLAB 16 Practical Implementation of the Stability Condition The stability condition will be most restrictive along the shortest dimension of the grid unit cell. A good equation to ensure stability and accuracy on any grid is then Note: A factor of 0.5 was included here as a safety margin. This can be generalized to account for special cases. 1.Your grid is filled with dielectric and travels slower everywhere. 2.Your model includes dispersive materials with refractive index less than one.

EMLAB 17 Time Step for Our 1D Grid n bc = refractive index at the grid boundaries. This means a wave will travel the distance of one grid cell in exactly two time steps. It is a necessary condition for the perfect boundary condition we will soon implement. This implies that we cannot have different materials at the two boundaries using this boundary condition.

EMLAB 18 Perfect 1D Boundary Condition

EMLAB 19 The Problem The finite ‐ difference equation here requires knowledge of the electric field outside of the grid.

EMLAB 20 Implementing the Perfect Boundary Condition If… the field is only travelling outward at the boundaries the materials at the boundaries are linear, homogeneous, isotropic and non ‐ dispersive The refractive index at both boundaries is nbc. Δt = n bc Δ z/(2c0) exactly. then

EMLAB 21 Visualizing the Perfect Boundary Condition

EMLAB 22 Summary of the 1D Perfect Boundary Condition Conditions Waves at the boundaries are only travelling outward. Materials at the boundaries are linear, homogeneous, isotropic and non ‐ dispersive The refractive index is the same at both boundaries and is n bc. Time step is chosen so physical waves travel 1 cell in exactly two time steps Δ t = n bc Δ z/(2c 0 ) Implementation at z ‐ Low Boundary At the z ‐ low boundary, we need only modify the E ‐ field update equation. Implementation at z ‐ High Boundary At the z ‐ high boundary, we need only modify the H ‐ field update equation.

EMLAB 23 Sources

EMLAB 24 The Gaussian Pulse In FDTD, we typically use short pulses as sources. This approximates an impulse function so we can excite a single simulation with a broad range of frequencies at the same time.

EMLAB 25 Frequency Content of Gaussian Pulse The Fourier transform of a Gaussian pulse is another Gaussian function. The frequency content of the Gaussian pulse extends from DC up to around B.

EMLAB 26 Designing the Pulse Source (1 of 2) Step 1: Determine the bandwidth B of the source to cover all frequencies of interest. Step 2: Compute the pulse width to encompass the needed bandwidth. Step 3: You may need to reduce your time step. Your Gaussian pulse should be resolved by at least 10 to 20 time steps. Typically, you determine a first Δt based on the Courant stability condition, then determine a second Δ t based on resolving the maximum frequency, and finally go with the smallest value of the two Δ t’s. All of this should be satisfied automatically if Δ t = n Δ z/(2c 0 ).

EMLAB 27 Visualizing the Arrays

EMLAB 28 Designing the Pulse Source (2 of 2) Step 4: Compute the delay time t 0 The pulse source must start at zero and gradually increase. NO STEP FUNCTIONS!! WRONG!! The step function at the beginning will induce very large field gradients. STILL WRONG!! While better, this source still starts with a step function that will produce large field gradients. CORRECT!! This source “eases” into the Gaussian source.

EMLAB 29 Two Ways to Incorporate a Source Source #1: Simple Hard Source The simple hard source is the easiest to implement. After updating the field across the entire grid, one field component at one point on the grid is overwritten with the source. This approach injects power into the model, but the source point behaves like a perfect electric conductor or perfect magnetic conductor and will scatter waves. OVERWRITE Not usually a practical source. We won’t use it. Source #2: Simple Soft Source The simple soft source is better than the hard source because it is transparent to scattered waves passing through it. After updating the field across the entire grid, the source function is added to one field component at one point on the grid. This approach injects power into the model in both directions. It is great for testing boundary conditions. ADD TO Rarely used. Use this until we learn TF/SF.

EMLAB 30 Total Number of Iterations

EMLAB 31 Considerations for Estimating the Total Number of Iterations The total number of iterations depends heavily on the device being modeled and what properties of it are being calculated. Device Considerations 1. Highly resonant devices typically require more iterations. 2. Purely scattering devices typically require very few iterations. 3. More iterations are needed the more times the waves bounce around in the grid. Information Considerations 1. Calculating abrupt spectral shapes requires many iterations. 2. Calculating fine frequency resolution requires many iterations. 3. Calculating the approximate position of resonances often requires fewer iterations. Great for hunting resonances!

EMLAB 32 A Rule of Thumb How long does it take a wave to propagate across the grid (worst case)? Simulation time T must include the entire pulse of duration τ. Simulation time should allow for  5 bounces. A rule ‐ of ‐ thumb for total simulation time is then Given the time step Δt, the total number of iterations is then Note: For highly resonant devices, this will NOT be enough time! This must be an integer quantity.

EMLAB 33 Revised FDTD Algorithm

EMLAB 34 Revised FDTD Algorithm

EMLAB 35 Equations → MATLAB Code