Docsity

Basic FDTD - Advanced Device Simulation - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Basic FDTD - Advanced Device Simulation - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Basic FDTD

Summary

•Maxwell’s equations

•The Yee algorithm

•Numerical dispersion

•ABC (Absorbing Boundary Conditions)

  • Assumptions:
    • The Medium where

will be:

  • Linear (Field-independent)
  • Isotropic (Direction-independent)
  • Non-dispersive (Frequency independent)

μ = μ r μ 0 , ε =ε r ε 0

FDTD of Maxwell's equations

( ε^ r ,μ r )

  • This allow us to use the relations:
  • Permitting Electric and Magnetic losses by using:
  • This gives:

D = ε E , B = μ H

1

H
E H

t

E
H E

t

σ

μ μ

σ

ε ε

= − ∇ × −
= ∇ × −

FDTD of Maxwell's equations

J = σ E σ in [ S / m ] M = σ H σ in [ Ω/ m ]

  • Begin with the Taylor series expansion:

Subtracting the two expansions gives

  •  ∂

∆ ∂

∂

∆ ∂

∂

∂ +∆ = +∆

i n i n i n

n i n x t x t x t

i (^) t x t x

x u

x

x u

x

u u x x u x ,

3

3 3

,

2

2 2

,

, 2 6

( )

  •  ∂

∆ ∂ − ∂

∆ ∂

∂

∂ −∆ = −∆ i n i n i n

n i n x t x t x t

i (^) t x t x

x u

x

x u

x

u u x x u x ,

3

3 3

,

2

2 2

,

, 2 6

( )

Finite-difference approximation of the first derivatives

[ ( ) ] 2

( ) ( ) 2 O x x

u x x u x x

x

u (^) i i

  • ∆ ∆

  • ∆ − −∆ = ∂

∂

( ) ( ) ( ) ( )

( ) ( )

( ) ( )

'' ''' ' ˆ^2 ˆ^3 ˆ ˆ ˆ ˆ ˆ (^) ... 2! 3!

f x f x f x = f x + f x ⋅ x − x + ⋅ x − x + ⋅ x − x +

  • Solving both E and H fields, in time and space.
    • => Both E and H field boundaries can be used
    • Solving both E and H fields => more robust
    • =>Unique field features (e.g. singularities)
  • Yee Cell centres its E and H fields in 3D.
    • FD expressions are central in nature and 2 nd^ order accurate.
    • Continuity of the tangential E and H fields across boundaries.
    • Implicit enforce the two Gauss laws.
  • Yee Algorithm centres its E and H fields in time.

The Yee Algorithm

  • Yee Algorithm centres its E and H fields in time.
    • => Time stepping is fully explicit.
    • FD expressions for the time derivatives are

central in nature and 2 nd^ order accurate.

  • Time stepping algorithm is nondissipative.

The Yee Time stepping

  • Yee Algorithm centres its E and H fields in time.

The Yee Time stepping

Finite Difference of Maxwell’s Equations in 3D

x

x z y

E

z

H

y

H

t

E

σ ε

, 1/ 2, 1/ 2 , 1/ 2, 1/ 2 , 1, 1/ 2 , , 1/ 2 , 1/ 2, 1 , 1/ 2, (^12) , ,

1/ 2 1/ 2 , 1/ 2, 1/ 2 , 1/ 2, 1/ 2

i j k i j k^1 i j k i j k i j k i j k i j k

n n n n n n X X Z Z Y Y (^) n i j k X i j k

E E H H H H E t y z

σ ε

  • −

− ^ − −  =  − −  ∆ ^ ∆ ∆   

Finite Difference of Maxwell’s Equations in 3D

By using the approximation

The explicit expression is obtained

By using the same spatial sampling in X, Y and Z =>

, 1, 12 , , 12 , 12 , 1 , 12 , , 12 , 12 ,^ ,

, 1 ,^1 2 2 (^1) , 1 , 1 , 1 ,^1 2 2 2 2 2 , 1 , 1 , 1 ,^1 2 2 2 2 , 1 , 1 , 1 ,^1 2 2 2 2

1 2

1 1 2 2

i j k i j k i j k i j k i j k i j k

i j k n n n n n i j^ k^ i j^ k Z^ Z^ Y^ Y n X X i j k i j k

i j k i j k

t t H H H H E (^) t E t y z

σ

ε ε

σ σ

ε ε

  • +^ +^ +^ +

∆ − ∆  (^) − −  = ⋅ + ⋅ ^ −  ∆ ∆ ^ ∆ ∆   

, 1/ 2, 1/ 2 , 1/ 2, 1/ 2 , 1/ 2, 1/ 2

1/ 2 1/ 2

2

i j k i j k i j k

n n n X^ X X

E E E

  • (^) + − =

, 12 , 12 ,^ ,^ , 1, 12 , , 12 , 12 , 1 , 12 ,

, 1 ,^1 2 2 (^1) , 1 , 1 , 1 ,^1 2 2 2 2 2 , 1 , 1 , 1 ,^1 2 2 2 2 , 1 , 1 , 1 ,^1 2 2 2 2

1 2 1

1 1 2 2

i j k i j k i j k i j k i j k i j k

i j k

n i j^ k^ n i j^ k n n n n X X Z Z Y Y i j k i j k

i j k i j k

t t

E E H H H H t t (^) s

σ

ε ε

σ σ

ε ε

  • +^ +^ +^ +

∆ − ∆

= ⋅ + ⋅ ^ − − + ^  ∆ ∆ ^ ^ ∆   ^ 

Finite Difference of Maxwell’s Equations in 2D

(^12) , 1 12 , 1 12 , 12 12 , (^32)

, (^12)

  • 1 2 ,^1 (^1) , 1 1 , 1 1 1 (^1 2 2 2 )

  • 1 * 1 2 , 1 2 ,^1 (^1) , 1 1 , 1 2 2

  • 1 , (^2)

,^1 (^1 )

  • 1 , (^2) ,

1 2

1 1 2 2

1 2

1 2

i j i j i j i j

i j

i j

n i^ j^ n i^ j^ n^ n X X Z Z i j i j i j i j

i j

n i j Y i j i j

t t s H H E E t t

t

H t

σ

μ μ

σ σ μ μ

σ

μ

σ μ

− + − + − + − +

− +

  • −^ +^ −^ +^ +^ + − + − + − + − +

∆ − ∆ ∆ (^)   = ⋅ + ⋅ (^)  −  ∆ ∆ (^)  

∆ −

= ∆

, 12 12 , 12 12 , (^12)

(^12) , 12 , (^12)

, 1 1 1 *^2 2 , 1 2 (^1) , 1 2 2

  • 1 1 2 , 2 (^1 1) , 1 1 ,^1 (^2) * 2 2 *^2 , 1 1 ,^1 2 2 2 (^1) , 1 1 , 1 2 2 2 2

1 2

1 2

1 1 2 2

i j i j i j

i j i j

n i j^ n^ n Y Z Z i j i j

i j

n i^ j^ n i^ j Y Y i j i j

i j i j

t s H E E t

t t s E (^) t H (^) t H

μ

σ μ

σ

μ μ σ σ

μ μ

      • − +

− + +

  • (^) + +

− +

  • −^ +^ −^ +
  • − +

− + − +

∆ ∆ (^)   ⋅ + ⋅ (^)  −  ∆ (^)  

∆ − ∆ ∆ = (^) ∆ ⋅ + (^) ∆ ⋅

i j ,^12^ i^ 1, j^12 i^12 , j i^12 , j 1 Yn H^ Yn H^ nX^ HXn

  • −^ + − − +

 (^) − + −     

1 1 S 1 C 1

D dS H dl t

∫∫ ∫

The Yee Cell seen in a more Macroscopic view –

Faraday's and Ampere’s law

  • Using same procedure as for the 1D case we

obtain:

  • For the case with equal spatial sampling:

2 2 2 2 2

x y z

c

t

x y

c

t

Stability 2D and 3D

2 c 3

s

t

c

s

t

  • Using same procedure as for the 1D case we

obtain:

Numerical Dispersion 2D case

sin( )

cos( ),

sin( )

sin

cos( )

sin

sin

sin

sin

sin

2 2

2

2 2 2

α α

ω α α

ω

k k k k

t s k s k

c t

s

k y

y

k x

x

t

c t

x y

x y