41
EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB 1 3D Update Equations with Perfectly Matched Layers

Embed Size (px)

Citation preview

Page 1: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

1

3D Update Equations withPerfectly Matched Layers

Page 2: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

2Lecture Outline

• Review• Conversion to the time‐domain• Numerical approximations• Derivation of the update equations• Summary of all update equations

Page 3: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

3No PAB in Two DimensionsIf we model a wave hitting some device or object, it will scatter the applied wave into potentially many directions. Waves at different angles travel at different speeds through a boundary. Therefore, the PAB condition can only be satisfied for one direction, not all directions.

Page 4: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

4Anisotropy to the Rescue!!

It turns out we can prevent reflections at all angles, all frequencies, and for all polar-izations if we allow our absorbing material to be diagonally anisotropic.

Page 5: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

5The PML Parameters (1 of 2) We need to generalize our PML for waves incident on all boundaries.

Page 6: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

6The PML Parameters (2 of 2)

The loss terms should increase gradually into the PMLs.

Page 7: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

7Maxwell’s Equations with PML

Page 8: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

8

Conversion to the Time‐Domain

Page 9: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

9Assume No Loss (σ=0)

Page 10: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

10Recall Fourier Transform Properties

Page 11: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

11Prepare Maxwell’s Equations for Conversion (1 of 2)We will start with this equation. The procedure for all other equations has the same basic steps.

First, let

The equation now becomes

Page 12: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

12Prepare Maxwell’s Equations for Conversion (2 of 2)

The inverse term on the left is brought to the right.

The equation is then expanded by multiplying all of the terms.

For easy conversion to the time‐domain, we want all the terms to be multiplied by (j ω)a.

Page 13: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

13Convert Each Term to Time‐Domain Individually

Page 14: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

14The Time‐Domain Equation with PML

Page 15: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

15Summary of All Time‐Domain Equations

Page 16: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

16

Numerical Approximations

Page 17: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

17We Will Handle Each Term SeparatelyThe first governing equation in the time‐domain was

The terms listed separately are:

Page 18: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

18

We previously approximated this term using finite‐differences as follows.

Term 1

Page 19: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

19

The trick here is that we need to interpolate the H field at time t. We do this by averaging the values at time t+Δt/2 and t- Δ t/2.

Term 2

Page 20: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

20

Term 3 (1 of 3)

We approximate the integral in this equation with a summation.

We have a problem. The summation includes up to t+Δt/2, but the integral onlygoes up to t. We are accidentally integrating too far. This happened because thesummation is integrating a term that exists at the half time steps.

Page 21: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

21

We pull out the last term in the summation.

We force the extracted term to only integrate over half of a time step.

Term 3 (2 of 3)

Page 22: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

22

We factor out the Δt term.

The end‐time on this summation implies that we will update the summation before updating the H field.

Term 3 (3 of 3)

Page 23: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

23

We approximated this term using finite‐differences in a previous lecture.

Recall that the curl term is

Term 4

Page 24: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

24Term 5

We approximate the integral in this equation with a summation.

There are no problems with this summation because it is integrating a term that exists at integer time steps.

Page 25: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

25Putting it All Together

Putting all the terms together, the equation is

Page 26: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

26Summary of All Numerical Equations

Page 27: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

27

Derivation of the Update Equations

Page 28: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

28The Starting Point

Just as before, we solve the numerical equation for the future time value of H.This term appears three times and these must be collected.

Page 29: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

29

We start by expanding the equation by multiplying all of the terms.

Expand the Equation

Page 30: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

30

Next we collect the coefficients of the common field terms.

Collect Common Terms

Page 31: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

31Solve for the Future H Field

Solving our numerical equation for the H field at t+Δt/2 yields

This is the largest equation in the entire course!

Page 32: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

32

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before theupdate equation.

The update equation is computed inside the main FDTD loop immediately after the integration terms are updated.

Final Form of the Update Equation for Hx

Page 33: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

33Are These Equations Correct?A simple way to test these update equations is to set the PML parameters to zeroand see if the update equations reduce to what we discussed in a previous lecture.

The update coefficients reduce to

The update equation reduces to

For problems uniform in the z direction, the z derivative is zero. This equationreduces to exactly what is shown in the previous Lecture.

Page 34: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

34

Summary of theUpdate Equations

Page 35: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

35

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Hx

Page 36: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

36

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Hy

Page 37: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

37

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Hz

Page 38: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

38

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Dx

Page 39: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

39

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Dy

Page 40: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

40

The update coefficients are computed before the main FDTD loop.

The integration terms are computed inside the main FDTD loop, but before the update equation.

The update equation is computed inside the main FDTD loop immediately af-ter the integration terms are updated.

Final Form of the Update Equation for Dz

Page 41: EMLAB 1 3D Update Equations with Perfectly Matched Layers

EMLAB

41

The update coefficients are computed before the main FDTD loop.

The update equations are computed inside the main FDTD loop.

Final Update Equations for Ex, Ey, and Ez