30
Convergency of a Leap-Frog Discontinuous Galerkin Method for Solving Time-Domain Maxwell’s Equation in Anisotropic Materials Ad´ erito Ara´ ujo, S´ ılvia Barbeiro , Maryam Khaksar Ghalati CMUC, Department of Mathematics, University of Coimbra, Portugal BIT Circus Numerical Mathematics and Computational Science Ume˚ a University, August 26-28, 2015 Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 1 / 29

Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Convergency of a Leap-Frog Discontinuous GalerkinMethod for Solving Time-Domain Maxwell’s Equation in

Anisotropic Materials

Aderito Araujo, Sılvia Barbeiro , Maryam Khaksar Ghalati

CMUC, Department of Mathematics,University of Coimbra, Portugal

BIT CircusNumerical Mathematics and Computational Science

Umea University, August 26-28, 2015

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 1 / 29

Page 2: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Outline

MotivationWave propagation in biological tissue (retina)

Maxwell’s equation in anisotropic material

Numerical methodsStability and convergency of Leap-frog discontinuous Galerkin scheme

Numerical ResultsIllustrating the high-order convergency

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 2 / 29

Page 3: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Motivation

The motivation of this work has come from the light scattering effects inhuman retina.

Figure: Human Eye.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 3 / 29

Page 4: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Motivation

The motivation of this work has come from the light scattering effects inhuman retina.

Figure: Human Eye.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 3 / 29

Page 5: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Motivation

Retina

Thin layer backside of the eye;Varies between 0.10 and 0.24 mm along the eye

Light sensitive part of tissue

Part of central nervous system;Constituted by layers of neurons interconnected through synapses.

Figure: Histologic image of the retina

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 4 / 29

Page 6: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

OCT

Optical Coherence Tomography

High resolution imaging technique

Noninvasive

Analogous to ultrasound imaging, but using light instead of sound

Based on low coherence interferometry

Rely on differences in backscattering properties of small volumeswithin the tissue.

A useful diagnostic tool in ophtalmologhy

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 5 / 29

Page 7: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

OCT

A- scanWhen we change the position of the mirror, we get reflections fromdifferent depths for the same lateral position.

B- scanIf we take multiple A-scans along the same axis, all of them parallelbetween themselves, we have a bi-dimensional image of retina.

Figure: OCT B- Scan

OCT has the possibility of evaluating different elements in measuringthe retinal nerve fiber layer (RNFL)

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 6 / 29

Page 8: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Motivation

Strong correlation between RNFL thinning and a reduction in tissuebirefringence

Waveguides with induced anisotropy may worth to be modeled asthey could play a role in biological waveguides

In order to model in detail the behavior of the electromagnetic wave as ittravels through the retina we arrive at solving the Maxwell’s equations inanisotropic medium. 1

1A. Araujo, S. Barbeiro, L. Pinto, F. Caramelo, A. L. Correia, M. Morgado,P. Serranho, A. S. C. Silva and R. Bernardes, “Maxwell’s equations to modelelectromagnetic wave’s propagation through eye’s structures”, Proceedings of CMMSE2013, vol. 1, Ian Hamilton and Jesus Vigo-Aguiar Eds., pp. 121-129, 2013.Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 7 / 29

Page 9: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Maxwell’s Equations in Anisotropic Materials

2D Maxwell’s equations in transverse electric (TE) mode:

ε∂E

∂t= ∇×H,

µ∂H

∂t= −curl E, in Ω× (0, T ].

E = (Ex, Ey)

H = (Hz)

Ω is a two-dimensional domain.

µ: Isotropic permeability;

Anisotropic permittivity tensor

ε =

(εxx εxyεyx εyy

)Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 8 / 29

Page 10: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Boundary condition

Perfect electric conductor boundary condition (PEC)

n× E = 0, on ∂Ω,

Perfect magnetic conductor boundary condition (PMC)

n×H = 0, on ∂Ω,

Silver-Muller absorbing boundary condition

n× E = cµn× (Hz × n), on ∂Ω,

where we assume the medium is isotropic near the absorbingboundary , i.e.,

ε =

(ε 00 ε

)and the local light speed c is given by εµc2 = 1.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 9 / 29

Page 11: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Method

Space discretization:Nodal Discontinuous Galerkin 2

Handle complex geometryAdaptive meshHigh-order of accuracy and hp-adaptivityExplicit semi-discrete form

Time Integration:Leap-frog

Solving a system of equations in staggered grid pointsExplicit 2nd order

2J. S. Hesthaven and T. Warburton, Nodal Discontinuous Galerkin Methods.Algorithms, Analysis, and Applications, Springer-Verlag, New York, 2008.Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 10 / 29

Page 12: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Leap-frog Discontinuous Galerkin

Computational domain:

Ω = ∪kTkTk, conforming triangular elements

Solution on each element Tk

(Exk, Eyk, Hzk)

Finite element space

VN = v ∈ L2(Ω)3 : v|Tk ∈ PN (Tk)

PN (Tk): Space of polynomials of degree less than or equal to N onTk

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 11 / 29

Page 13: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Leap-frog DG Full Discrete Scheme

Divide the time interval [0, T ] into M subintervals;

tm = m∆t

∆t : Time step size

tm+1/2 = (m+ 12)∆t

Emxk = Exk(·, tm) , Emyk = Eyk(·, tm) Hm+1/2zk = Hzk(·, tm+1/2).

Find (Em+1xk

, Em+1yk

, Hm+1/2zk ) ∈ VN such that, ∀(uk, vk, wk) ∈ VN ,

(εxx

Em+1xk

− Emxk∆t

+ εxyEm+1yk

− Emyk∆t

, uk

)Tk

=(∂yH

m+1/2zk

, uk

)Tk

+( −nyZ+ + Z−

(Z+[Hm+1/2z ]

−α(nx[Emy ]− ny[Emx ])), uk

)∂Tk

, (1)

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 12 / 29

Page 14: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Leap-frog DG Full discrete scheme

(εyx

Em+1xk

− Emxk∆t

+ εyyEm+1yk

− Emyk∆t

, vk

)Tk

=(∂xH

m+1/2zk

, vk

)Tk

+( nxZ+ + Z−

(Z+[Hm+1/2z ]

−α(nx[Emy ]− ny[Emx ]), vk

)∂Tk

, (2)

(µHm+3/2zk − Hm+1/2

zk

∆t, wk

)Tk

=(∂yE

m+1xk

− ∂xEm+1yk

, wk

)Tk

+( 1

Y + + Y −(Y +

(nx[Em+1y ]− ny[Em+1

x ])− α[Hm+1/2z ]), wk

)∂Tk, (3)

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 13 / 29

Page 15: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Flux

Flux : 3

Coupling between the elements

α ∈ [0, 1] : Control dissipation

α = 0; Dissipative central fluxα = 1; Upwind flux

Jump in the field values across the interfaces of the elements

[E] = E− − E+

[H] = H− − H+

Superscript “ + ”: Neighbouring elementSuperscript “− ”: Local cell

3M. Konig, K. Busch and J. Niegemann, “The Discontinuous Galerkin Time-Domainmethod for Maxwell’s equations with anisotropic materials”, Photon. Nanostruct.Fundam. Appl. 8(4), pp. 303-309, 2010.Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 14 / 29

Page 16: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Speed with which the a wave travels along the direction of the unitnormal, n

c± =

√nT ε±n

µ± det(ε±)

Cell-impedancesZ± = µ±c±

Cell-conductancesY ± =

(Z±)−1

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 15 / 29

Page 17: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

CFL Condition

If

∆t <minε, µ

maxCE , CHminhk

where

CE =1

2Cinv + C2

traceN2

(1 +

α

2 minZk+

β12 minZk

+β22

)

CH =1

2Cinv + C2

traceN2

(2 +

α

2 minYk+

β2β32 minYk

+β22

)and β1 = α, β2 = 0 for PEC,β1 = 0, β2 = 1, β3 = α for PMC,and β1 = β2 = 1

2 , β3 = 1 for Silver-Muller boundary conditions.the method is stable.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 16 / 29

Page 18: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Leap-frog DG Method

Theorem

Under the CFL condition:

∆t <minε, µ

maxCE , CHminhk

and the sufficient regularity of electromagnetic fields,

maxm≥1

(‖Em − Em‖+ ‖Hm+1/2 − Hm+1/2‖) ≤

(∆t2 + hN+α)(‖E0 − E0‖+ ‖H1/2 − H1/2‖).

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 17 / 29

Page 19: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

Computational domain :Unit square Ω = [−1, 1]2

−1 −0.8 −0.6 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

Figure: Nonuniform mesh of the unit square for K = 2310 triangles

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 18 / 29

Page 20: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

The field distribution within the unitary cavity is given by

Ex(x, y, t) =−πωεxx

. cos(πx). sin(πy). sin(ωt)

Ey(x, y, t) =π

ωεyy. sin(πx). cos(πy). sin(ωt)

Hz(x, y, t) = cos(πx). cos(πy). cos(ωt),

where

ω = π

√1

εxx+

1

εyy

The permittivity tensor ε is diagonal and characterized by

ε′ =

(εxx 00 εyy

)

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 19 / 29

Page 21: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

Consider symmetric positive definite with non-vanishing off-diagonalelements

ε =

(εxx εxyεyx εyy

)Eigenvalue decomposition of ε

ε = R(φ)ε′R(φ)T ,

where ε is a diagonal matrix whose diagonal entries are the eigenvalues ofε.Rotation angel:

φ = arccos(√εxx − λ2

λ1 − λ2

).

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 20 / 29

Page 22: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

ε =

(5 11 3

)Rotation angel: φ = π

8 .

Diagonal tensor :

ε =

(5.4142 0

0 2.5858

)Boundary conditions:

PEC: [Ex] = 2E−x , [Ey] = 2E−

y , [Hz] = 0

PMC: [Ex] = 0, [Ey] = 0, [Hz] = 2H−z

Silver-MullerZ−H+

z = nxE+y − nyE+

x

Z−H+z = (nxE

−y − nyE−

x )

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 21 / 29

Page 23: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

K Error Ex Rate Ex Error Ey Rate Ey Error Hz Rate Hz

8 1.56E-01 1.07E-01 2.27E-01

46 6.29E-03 3.67 7.50E-03 3.04 6.13E-03 4.13

146 1.09E-03 3.04 1.44E-03 2.86 6.31E-04 3.94

568 1.30E-04 3.12 1.68E-04 3.16 4.06E-05 4.04

2310 1.62E-05 2.97 2.06E-05 2.99 2.57E-06 3.94

K Error Ex Rate Ex Error Ey Rate Ey Error Hz Rate Hz

8 5.33E-02 5.55E-02 1.78E-01

46 2.46E-03 3.52 3.34E-03 3.21 3.81E-03 4.39

146 3.48E-04 3.38 4.35E-04 3.53 3.78E-04 4.00

568 2.41E-05 3.93 2.93E-05 3.97 2.48E-05 4.01

2310 1.49E-06 3.96 1.85E-06 3.94 1.50E-06 4.00

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 22 / 29

Page 24: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

K

100

101

102

103

104

L2-E

rror

Ex

10-10

10-8

10-6

10-4

10-2

100

N = 2

N = 3

N = 4

N = 5

Figure: Convergence in space: N order of convergency of Ex in the case ofcentral flux (α = 0), for different polynomial orders.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 23 / 29

Page 25: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

K

100

101

102

103

104

L2-

Err

or

Ex

10-10

10-8

10-6

10-4

10-2

100

N = 2

N = 3

N = 4

N = 5

Figure: Convergence in space: N order of convergency of Ex in the case ofupwind flux (α = 1), for different polynomial orders.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 24 / 29

Page 26: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

m10

310

410

5

L2-E

rror

10-8

10-7

10-6

10-5

Ex

Ey

Hz

Figure: Convergence in time: 2nd order convergence of Ex, Ey and Hz whenα = 1 (upwind flux) and PEC boundary conditions.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 25 / 29

Page 27: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

K

100

101

102

103

104

L2-

Err

or

Ex

10-5

10-4

10-3

10-2

10-1

100

N = 1

N = 2

N = 3

Figure: Convergence in space: N order of convergency of Ex in the case ofcentral flux (α = 0), for different polynomial orders.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 26 / 29

Page 28: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Numerical Results

K

100

101

102

103

104

L2-

Err

or

Ex

10-6

10-5

10-4

10-3

10-2

10-1

100

N = 1

N = 2

N = 3

Figure: Convergence in space: N order of convergency of Ex in the case ofupwind flux (α = 1), for different polynomial orders.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 27 / 29

Page 29: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Conclusion

Fully explicit leap-frog DG scheme for solving time dependentMaxwell’s equations in anisotropic media which is in our applicationof interest.

Conditionally stable

Convergent:

Optimal order of convergence O(hN+1,∆t2) for upwind flux

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 28 / 29

Page 30: Convergency of a Leap-Frog Discontinuous Galerkin Method ... · Nodal Discontinuous Galerkin 2 Handle complex geometry Adaptive mesh High-order of accuracy and hp-adaptivity Explicit

Acknowledgments

This work was supported by the Centro de Matematica da Universidade deCoimbra (CMUC), funded by the European Regional Development Fundthrough the program COMPETE, and by the Portuguese Governmentthrough the FCT - Fundacao para a Ciencia e a Tecnologia under theprojects PEst-C/MAT/UI0324/2013 and PTDC/SAU-ENB/119132/2010and under the BD grant SFRH/BD/51860/2012.

Maryam Khaksar Ghalati (CMUC) BIT Circus 2015 29 / 29