• Aucun résultat trouvé

Finite volume scheme for the 1D Maxwell equations with GSTC conditions

N/A
N/A
Protected

Academic year: 2021

Partager "Finite volume scheme for the 1D Maxwell equations with GSTC conditions"

Copied!
18
0
0

Texte intégral

(1)

HAL Id: hal-01720293

https://hal.inria.fr/hal-01720293

Submitted on 1 Mar 2018

HAL is a multi-disciplinary open access

archive for the deposit and dissemination of

sci-entific research documents, whether they are

pub-lished or not. The documents may come from

teaching and research institutions in France or

abroad, or from public or private research centers.

L’archive ouverte pluridisciplinaire HAL, est

destinée au dépôt et à la diffusion de documents

scientifiques de niveau recherche, publiés ou non,

émanant des établissements d’enseignement et de

recherche français ou étrangers, des laboratoires

publics ou privés.

Finite volume scheme for the 1D Maxwell equations

with GSTC conditions

Loula Fezoui, Stéphane Lanteri

To cite this version:

Loula Fezoui, Stéphane Lanteri. Finite volume scheme for the 1D Maxwell equations with GSTC

conditions. [Research Report] RR-9156, Inria. 2018, pp.1-14. �hal-01720293�

(2)

ISSN 0249-6399 ISRN INRIA/RR--9156--FR+ENG

RESEARCH

REPORT

N° 9156

Februray 2018 Project-Teams Nachos

Finite volume scheme for

the 1D Maxwell equations

with GSTC conditions

(3)
(4)

RESEARCH CENTRE

SOPHIA ANTIPOLIS – MÉDITERRANÉE

2004 route des Lucioles - BP 93 06902 Sophia Antipolis Cedex

Finite volume scheme for the 1D Maxwell

equations with GSTC conditions

Loula Fezoui and Stéphane Lanteri

Project-Teams Nachos

Research Report n° 9156 — Februray 2018 — 14 pages

Abstract: We propose a Finite Volume Time-Domain scheme for the numerical treatment of Generalized Sheet Transition Conditions (GSTC) modeling metasurfaces in the one-dimensional case.

Key-words: Metasurfaces, time-domain Maxwell equations, GSTC conditiuons, finite volume method.

(5)

Schéma volume fini pour les équations de Maxwell 1D

couplées aux conditions GSTC

Résumé : On propose un schéma volume fini en domaine temporel pour le traitement numérique des conditions de transfert généralisées modélisant la discontinuité du champ élec-tromagnétique traversant une métasurface dans le cas 1D.

Mots-clés : Métasurfaces, équations de Maxwell en domaine temporel, conditions GSTC, méthode volume fini

(6)

FVTD scheme for GSTC 3

1

Introduction

Metasurfaces are artificial devices designed for controlling electromagnetic waves through the surface electric and magnetic susceptibility tensors. Conversely, in some cases, one may deduce these parameters from the surrounding electromagnetic field ([2], [3]). The connection between susceptibility tensors and the electromagnetic field may be given through boundary conditions. Such conditions are called GSTC for Generalized Sheet Transition Conditions and were es-tablished in the frequency-domain (see [1] and references therein). Numerical simulations were carried out using finite difference methods first in the frequency-domain (cf. [5]) and then in the time-domain (cf. [4]).

Here, we propose a new finite volume scheme that can handle these unusual boundary con-ditions. Numerical results are compared to analytical and FDTD solutions.

2

Maxwell equations

Let us consider a metasurface at z = 0, parallel to the Ox axis. We choose a TEy polarisation

(ie ¯E = (0, ¯Ey, 0)|, ¯H = ( ¯Hx, 0, 0)| ) and assume that fields depend only on z and t variables

and that there is no charge or current. Thus Maxwell equations are written as          µ∂ ¯Hx ∂t − ∂ ¯Ey ∂z = 0 ε∂ ¯Ey ∂t − ∂ ¯Hx ∂z = 0 (1) We introduce the following change of variables

τ = c0t, εr= ε ε0 , µr= µ µ0 , E = ¯E, H = c0µ0H = Z¯ 0H¯ (2)

where Z0 is the characteristic impedance of free space. Assuming the medium surrounding the

metasurface is the vacuum, (1) becomes        ∂H ∂τ − ∂E ∂z = 0 ∂E ∂τ − ∂H ∂z = 0 , E = Ey, H = Hx (3)

We set I1=] − ∞, 0[, I2=]0, +∞[and add the following initial conditions

               H0(z) = H(z, 0) = ( g1(z) if z ∈ I1 g2(z) if z ∈ I2 E0(z) = E(z, 0) = ( f1(z) if z ∈ I1 f2(z) if z ∈ I2 (4)

where fj and gj are arbitrary regular functions defined on Ij. We can easily check that the

(7)

4 Loula Fezoui and Stéphane Lanteri general solution to (3)-(4) is given by

               H(z, t) = 1 2 ( (g1− f1)(z − t) + (f1+ g1)(z + t) if z ∈ I1 (g2− f2)(z − t) + (f2+ g2)(z + t) if z ∈ I2 E(z, t) = 1 2 ( (f1− g1)(z − t) + (f1+ g1)(z + t) if z ∈ I1 (f2− g2)(z − t) + (f2+ g2)(z + t) if z ∈ I2 (5)

3

GSTC conditions

We introduce electric and magnetic surface polarisation fields ¯P and ¯M and GSTC boundary conditions are written in the time-domain (cf. [5]) as

         d ¯P dt = ∆ ¯H d ¯M dt = 1 µ0 ∆ ¯E , ∆U = U (0+) − U (0−) (6) The polarisation fields ¯P and ¯M are connected to the electric and magnetic fields ¯E and ¯H through the following equations

( ¯ P = ε0χeE¯av ¯ M = χmH¯av , Uav = 1 2 U (0 +) + U (0) (7) where χe and χmare respectively the electric and magnetic surface susceptibility.

We set P = ¯P /ε0 and M = Z0M¯ then (6) becomes

       dP dτ = ∆H dM dτ = ∆E (8) with ( P = χeEav M = χmHav (9) We inject (9) into (8) and we obtain

       ∆H = d dτ  χeEav  ∆E = d dτ  χmHav  (10) Inserting (10) in the general solution (5) leads to the first-order differential system

         d dτ n χe  (Fs− Gs)(−τ ) + (Fs+ Gs)(τ ) o = 2  (Gd− Fd)(−τ ) + (Fd+ Gd)(τ )  d dτ  χm  Gs− Fs)(−τ ) + (Fs+ Gs)(τ ) o = 2  (Fd− Gd)(−τ ) + (Fd+ Gd)(τ )  (11) Inria

(8)

FVTD scheme for GSTC 5 with

Fs= f1+ f2, Gs= g1+ g2, Fd = f2− f1, Gd= g2− g1 (12)

If we assume that χe and χm are time-independent, conditions (10) are written as

       ∆H = χe d dτ  Eav  ∆E = χm d dτ  Hav  (13) and the differential system (11) becomes

         χe d dτ n (Fs− Gs)(−τ ) + (Fs+ Gs)(τ ) o = 2  (Gd− Fd)(−τ ) + (Fd+ Gd)(τ )  χm d dτ n (Gs− Fs)(−τ ) + (Fs+ Gs)(τ ) o = 2  (Fd− Gd)(−τ ) + (Fd+ Gd)(τ )  (14)

4

The Finite Volume Time-Domain method (FVTD)

We write Maxwell equations (3) in the conservative formulation ∂Q ∂τ −  ∂F ∂z  (Q) = 0 (15) with Q = (H, E)|, F(Q) = (E, H)| (16) Let zj = (j − 1)∆zand Cj= [zj, zj+1]. Integrating (15) on each Cj element gives

Z

Cj ∂Q ∂τ dτ =

Z

Cj ∂F ∂zdz = h Fi zj+1 zj (17) In finite volume methods, the approximate solution is independent of space variables in each Cj element, therefore the value Qj = Q(zj)is not unique. We usually introduce a numerical

function Φ (known as the numerical flux function in fluid mechanics) and we write

F(Qj) ≈ Φ (Qj−1, Qj) (18)

We inject (18) in (17) and the finite volume scheme becomes dQj dτ = 1 ∆z h Φ (Qj, Qj+1) (τ ) − Φ (Qj−1, Qj) (τ ) i (19) The function Φ is not unique. We choose the central average flux defined by

Φ(U, V ) = F(U ) + F(V ) 2 (20) and (19) becomes dQj dτ = 1 2∆z h F (Qj+1) − F (Qj−1) i (21) RR n° 9156

(9)

6 Loula Fezoui and Stéphane Lanteri or in terms of E and H            dEj dτ = 1 2∆z(Hj+1− Hj−1) dHj dτ = 1 2∆z(Ej+1− Ej−1) (τ ) (22) The approximate solution being constant in each Cj element, the metasurface must be located

at the interface of two adjacents elements named Cκand Cκ−1, where κ is the index of the point

z = 0.We use a leap-frog scheme for time integration and (22) becomes            En j = E n−1 j + ν  Hn− 1 2 j+1 − H n−1 2 j−1  Hn+ 1 2 j = H n−1 2 j + ν Ej+1n − Ej−1n  , ν = ∆τ 2∆z (23) We use (23) to compute (Ej, Hj) for each j except for j = κ − 1 and j = κ in which case we

write                             En κ−1 = E n−1 κ−1 − ν  Hn−12 κ−1 + H n−1 2 κ−2  + ∆τ ∆zH n−1 2(0−) En κ = Eκn−1 + ν  Hn−12 κ+1 + H n−1 2 κ  − ∆τ ∆zH n−1 2(0+) Hn+12 κ−1 = H n−1 2 κ−1 − ν Eκ−1n + Eκ−2n  + ∆τ ∆zE n(0) Hn+12 κ = H n−1 2 κ + ν Eκ+1n + Eκn  − ∆τ ∆zE n(0+) (24)

We integrate (13) using the same leap-frog scheme and obtain        Hn−1 2(0+) − Hn−12(0−) = χe ∆τE n av− En−1av  En(0+) − En(0) = χm ∆τ h Hn+12 av − H n−1 2 av i (25) with Hn+ 1 2 av = 1 2 h Hn+12(0+) + Hn+12(0) i , Eavn = 1 2 h En(0+) + En(0−)i (26) We inject (26) into (25) and obtain

         Hn− 12(0+) = Hn− 12(0) + χe 2∆τ  En(0+) − En−1(0+) + En(0) − En−1(0) En(0+) = En(0) + χm 2∆τ  Hn+ 12(0+) − Hn− 12(0+) + Hn+ 12(0) − Hn− 12(0) (27)

(27) is an underdetermined linear system with too many unknowns so we decide to keep En(0+) and Hn−12(0+) as unknowns. Setting U (0) = Uκ−1, U (0+) = Uκin the R.H.S. of (27)

leads to          Hn−12(0+) = Hn− 1 2 κ−1 + χe 2∆τ  Enκ− Eκn−1+ Enκ−1− Eκ−1n−1  En(0+) = En κ−1 + χm 2∆τ  Hn+12 κ − H n−1 2 κ + H n+1 2 κ−1 − H n−1 2 κ−1  (28) Inria

(10)

FVTD scheme for GSTC 7

We inject (28) into (24) and set U (0−) = Uκ−1in the R.H.S. of (24) and obtain

                                   Eκ−1n = E n−1 κ−1+ ν  Hn− 1 2 κ−1 − H n−12 κ−2  En κ = E n−1 κ + ν  Hn− 1 2 κ+1 − 2H n−12 κ−1 + H n−12 κ  − Ce  En κ− E n−1 κ + Eκ−1n − E n−1 κ−1  Hn+ 1 2 κ−1 = H n−1 2 κ−1 + ν  En κ−1− Eκ−2n  Hn+ 1 2 κ = H n−1 2 κ + ν  En κ+1− 2Eκ−1n + Eκn  − Cm  Hn+ 1 2 κ − H n−1 2 κ + H n+1 2 κ−1 − H n−1 2 κ−1 

After regrouping terms in the second and fourth equations the scheme becomes (for j = κ)

           AeEκn = AeEn−1κ + ν  Hn− 1 2 κ+1 − 2H n−12 κ−1 + H n−12 κ  − Ce  Eκ−1n − E n−1 κ−1  AmH n+12 κ = AmH n−12 κ + ν  En κ+1− 2Enκ−1+ Eκn  − Cm  Hn+ 1 2 κ−1 − H n−12 κ−1  (29) with Cp= χp 2∆z, Ap= 1 + Cp, p = e , m (30)

5

Numerical Experiments

5.1

Propagation of a gaussian pulse

Let us study the propagation of a gaussian pulse defined at τ = 0 by (

f1(z) = e−a(z−z0)

2

g1(z) = −f1(z)

, a > 0, z0∈ I1 (31)

We consider two cases (a) χe= χm= 0

(b) χe= χm=

2 a

We solve the system (14) and find respectively

(a) f2≡ f1, g2≡ g1 (32) (b)        f2(z) = √ aπea(1+4(z−z0))4  1 − erf √ a(1+2(z−z0)) 2  − f1(z) g2(z) = −f2(z), with erf(x) = 2 √ πR e −x2 dx (33) We use (5) to compute the exact electric field and find respectively

(a) E(z, τ ) = e−a(z−z0−τ )2, ∀ (z, τ ), (34) RR n° 9156

(11)

8 Loula Fezoui and Stéphane Lanteri (b) E(z, τ ) =              e−a(z−z0−τ )2, if z ∈ I1 √ aπea(1+4(z−z0−τ))4  1 − erf √ a(1+2(z−z0−τ )) 2  − e−a(z−z0−τ )2, if z ∈ I2 (35)

We set χe= 0.5, z0= −1.5, I1∪ I2 =] − 3, 3[ and ∆z = 1/100 and we plot in Figure 1 the

exact solution (35) and the numerical results using the finite volume (23)-(29) and the FDTD schemes (see Annex 1 eqs. 40)-(44)). We may observe that the approximate solutions compare well with each other as well as with the analytical solution.

−3 −2 −1 0 1 2 3 −0.2 0 0.2 0.4 0.6 0.8 1 z E(z, τ=1) Exact VF Yee 0 1 2 3 4 5 6 −0.2 0 0.2 0.4 0.6 0.8 1 τ E(z=0.01) Exact VF Yee

Figure 1: E(z, τ = 1) (left), E(z = 0.01, τ) (right)

To quantify the accuracy of the numerical solutions, we compute the global error at τn= n∆τ

using the discrete L2norm

s X j ∆z (En j − Eexact(zj, τn))2(H n j − Hexact(zj, τn))2  (36)

Figure 2 shows the evolution over time of error (36) in case (a) (on the left) and in case (b) (on the right). In both cases, as expected, the error decreases with smaller ∆z (ie with more refined grids).

(12)

FVTD scheme for GSTC 9

Figure 2: FVTD: L2error without (left) and with GSTC (right)

To determine to what extent numerical solutions satisfy GSTC conditions, we compute the following error function

max  [E n (0)] − χm ∆τ  Hn+ 1 2 av − H n−1 2 av  , [H n−1 2(0)] − χe ∆τ E n av− E n−1 av   (37)

with [U(0)] = U(0+) − U (0).

Figure 3 shows the evolution over time of error (37) on different grids. We can see that this error is smaller that the global error (36), which means that the GSTC conditions are better resolved than the Maxwell equations.

Figure 3: FVTD: error in GSTC conditions

(13)

10 Loula Fezoui and Stéphane Lanteri

5.2

Metallic cavity

We look for frequency waves in [−a, a] which satisfy the GSTC conditions (13) at z = 0 and the perfect metallic condition at z = ±a. Such waves exist and are given by

E(z, t) =

( sin(k(z + a)) sin(ωt), z < 0 sin(k(z − a)) sin(ωt), z > 0 H(z, t) =

( − cos(k(z + a)) cos(ωt), z < 0 − cos(k(z − a)) cos(ωt), z > 0

(38)

with

χe= 0, χm= −

2

ktan(ka), k = ω = nπ, n ∈ N (39) Remark 1. The unusual form of the dispersion relation k = ω stems from the change of variables described in section 2.

We choose k = 2π (which corresponds to a frequency of 0.3 GHz and a wavelength of 1 m) and χm = 0.02 (a ≈ 1.5). Figure 4 shows the analytical electric field and numerical results

obtained with FVTD and FDTD schemes.

−1.5 −1 −0.5 0 0.5 1 1.5 −1 −0.5 0 0.5 1 z E(z, τ=6) Exact VF Yee 0 1 2 3 4 5 6 −1 −0.5 0 0.5 1 τ E(z=0.1, τ) Exact VF Yee

Figure 4: E(z, τ = 6) (left) and E(z = 0.1, τ) (right)

We can see that computed and exact solutions compare relatively well with each other, however comparison with the exact solution favours the FVTD solution. Figure 5 shows the (36) and (13) errors on different grids. We notice that while the former error decreases with ∆z for both schemes, the latter grows with τ for the FDTD scheme and decreases for the FVTD scheme. However we can see on the right side of Figure 5 that error (37) is much the same for both schemes.

(14)

FVTD scheme for GSTC 11

Figure 5: L2error in solutions (left) and error in GSTC conditions (right)

References

[1] E.F. Kuester, M.A. Mohamed, M. Piket-May, C.L. Holloway “Averaged Transition Condi-tions for Electromagnetic Fields at a Metafilm”, IEEE Trans. Antennas Propag., vol. 51, no. 10, 2003.

[2] C.L. Holloway, A. Dienstfrey, E.F. Kuester, J. O’Hara, A.K. Azad, A.J. Taylor, ‘A discussion on the interpretaion and characterization of metafilms/metasurfaces: the two-dimensional equivalent of metamaterials”, IEEE Trans. Antennas Propag., vol. 3, no. 2, 2009.

[3] K. Achouri, M.-A. salem, C. Caloz, “General Metasurface Synthesis based on Susceptibility Tensors”, IEEE. Trans. Antennas Propag., vol. 63, no. 7, 2015.

[4] Y. Vahabzadeh, K. Achouri, C. Caloz, “Simulation of Metasurfaces in Finite Difference Techniques”, Arxiv 1602.04086v1, Feb 2016.

[5] Y. Vahabzadeh, N. Chamanara, C. Caloz, “Space-Time Varying Metasurfaces Simulation in Finite Difference Time Domain”, Arxiv 1702.08760v1, Jan 2017.

[6] K. Yee, “Numerical solution of initial boundary value problems invoking Maxwell’s equations in isotropic media”, IEEE. Trans. Antennas Propag., vol. 14, no. 7, 1966.

(15)

12 Loula Fezoui and Stéphane Lanteri

1

The finite-difference time-domain method (FDTD)

Let us briefly recall the FDTD scheme described in [5]. We introduce the following notations zj= (j − 1)∆z, τn = n∆τ, υ = ∆τ ∆z, Ejn= E(zj, n∆τ ), H n+1 2 j = H(zj+1 2, τ n+12 ) Applied to (3), the Yee scheme [6] is written as

           En j = E n−1 j + υ  Hn− 1 2 j − H n−1 2 j−1  Hn+12 j = H n−1 2 j + υ Ej+1n − Ejn  , (40) In (40) the electric field is computed at the nodes zj and the magnetic H at zj+∆z2 and since

these fields are discontinuous along the metasurface, the authors of [5] suggest to place the metasurface in ](κ +1

2)∆z, (κ + 1)∆z[, with κ chosen so that zκand zκ+1

2 are on the left of the

metasurface and zκ+1 is on the right (Figure 6).

Figure 6: Metasurface at z = 0

The usual Yee scheme is used to compute all values Ej and Hj, except Eκ+1 and Hκ for

which we write            En κ+1 = E n−1 κ+1 + υ  Hn− 1 2 κ+1 − Hn− 1 2(0+)  Hn+ 1 2 κ = H n−1 2 κ + υ  En(0) − En κ  (41) The values Hn−1

2(0+)and En(0−)are computed using the boundary conditions (13) discretized

here as        En(0−) = Eκ+1n − χm 2∆τ  Hn+ 1 2 κ − H n−1 2 κ − Hn+ 1 2(0+) + Hn− 1 2(0+)  Hn−1 2(0+) = Hn− 1 2 κ + χe 2∆τ E n κ+1− E n−1 κ+1 + En(0−) − En−1(0−)  (42) Inria

(16)

FVTD scheme for GSTC 13 We inject (42) into (41) and obtain

                       Enκ+1 = E n−1 κ+1 + υ  Hn− 1 2 κ+1 − H n−1 2 κ  − χe 2∆z  En κ+1− E n−1 κ+1 − En(0−) + En−1(0−)  Hn+12 κ = H n−1 2 κ + υ  En κ+1− Eκn  − χm 2∆z  Hn+12 κ − H n−1 2 κ − Hn+ 1 2(0+) + Hn−12(0+)  (43) We set H(0+) = H

κ+1and E(0−) = Eκ. After regrouping terms, the scheme (43) becomes

           AeEκ+1n = AeEκ+1n−1 + υ  Hn− 1 2 κ+1 − H n−12 κ  − Ce  Eκn− Eκn−1  AmH n+12 κ = AmH n−12 κ + υ  Eκ+1n − Enκ  − Cm  Hn+ 1 2 κ+1 − H n−12 κ+1  (44) where Cp= χp 2∆z, Ap= 1 + Cp, p = e , m

Remark 2. We note that if χe = 0 and/or χm = 0 then {Ce = 0, Ae = 1} and/or {Cm =

0, Am= 1} and (44) reduces to the classical Yee scheme (40) for j = κ + 1 and/or j = κ.

Remark 3. The scheme (44) differs slightly from that described in [5] since we found that the constant Bp= 1 − Cp is in fact equal to Ap.

(17)

14 Loula Fezoui and Stéphane Lanteri

Contents

1 Introduction 3

2 Maxwell equations 3 3 GSTC conditions 4 4 The Finite Volume Time-Domain method (FVTD) 5 5 Numerical Experiments 7 5.1 Propagation of a gaussian pulse . . . 7 5.2 Metallic cavity . . . 10

Annexes 12

Appendices 12

1 The finite-difference time-domain method (FDTD) 12

(18)

RESEARCH CENTRE

SOPHIA ANTIPOLIS – MÉDITERRANÉE

2004 route des Lucioles - BP 93 06902 Sophia Antipolis Cedex

Publisher Inria

Domaine de Voluceau - Rocquencourt BP 105 - 78153 Le Chesnay Cedex inria.fr

Figure

Figure 2 shows the evolution over time of error (36) in case (a) (on the left) and in case (b) (on the right)
Figure 2: FVTD: L 2 error without (left) and with GSTC (right)
Figure 5: L 2 error in solutions (left) and error in GSTC conditions (right)
Figure 6: Metasurface at z = 0

Références

Documents relatifs

In order to prove the error estimate theorem we have to use a priori bounds on the discrete solution (obtained thanks to the discrete energy estimate given in Proposition

Wolfram proposed a mixed finite element method for nonlinear diffusion equations and proved convergence towards the steady-state in case of a nonlinear Fokker-Planck equation

We conclude that all the schemes produce a non-oscillatory solution, capture the correct shock location, employ the most accurate reconstructions far from the shock region,

On one hand, the dis- cretization of the pressure gradient term is built as the discrete transposed of the velocity divergence term, the latter being evaluated using a natural

We present a fourth-order in space, second-order in time finite volume scheme for transient convection diffusion problem based on the Polynomial Reconstruction Operator and

However, there are few results concerning the convergence analysis of numerical methods for coagulation and fragmentation models (see [17] for quasi Monte-Carlo methods)....

In order to obtain an energy estimate without any condition on the time step ∆t, we choose a time discretization for the non-linear terms such that the right hand side of (3.4) is

On the other hand, we refer to the work of Vila and Villedieu [VV03], who prove, again under a strict CFL condition, an h 1/2 -error estimate in the L 2 loc space-time norm for