 Open access peer-reviewed chapter

# The Orthogonal Expansion in Time-Domain Method for Solving Maxwell Equations Using Paralleling-in-Order Scheme

Written By

Zheng-Yu Huang, Zheng Sun and Wei He

Submitted: 30 November 2018 Reviewed: 07 December 2018 Published: 16 January 2019

DOI: 10.5772/intechopen.83387

From the Edited Volume

## Polynomials

Edited by Cheon Seoung Ryoo

Chapter metrics overview

View Full Metrics

## Abstract

The orthogonal expansion in time-domain method is a new kind of unconditionally stable finite-difference time-domain (FDTD) method for solving the Maxwell equation efficiently. Generally, it can be implemented by two schemes: marching-on-in-order and paralleling-in-order, which, respectively, use weighted Laguerre polynomials and associated Hermite functions as temporal expansions and testing functions. This chapter summarized paralleling-in-order-based FDTD method using associated Hermite functions and Legendre polynomials. And a comparison from theoretical analysis to numerical examples is shown. The LD integral transfer matrix can be considered as a “dual” transformation for AH differential matrix, which gives a possible way to find more potential orthogonal basis function to implement a paralleling-in-order scheme. In addition, the differences with these two orthogonal functions are also analyzed. From the numerical results, we can see their agreements in some general cases while differing in some cases such as shielding analysis with the long-time response requirement.

### Keywords

• associated Hermite
• finite-difference time-domain (FDTD)
• Legendre polynomials
• paralleling-in-order
• unconditionally stable

## 1. Introduction

To overcome the numerical stability constraints of conventional finite-difference time-domain (FDTD) method [1, 2], many unconditionally stable methods to reduce or eliminate requirements of the stability condition have been proposed and developed, such as alternating-direction implicit method [2, 3] and locally one-dimensional schemes , explicit and unconditionally stable FDTD method , and orthogonal expansions in time domain [5, 6, 7, 8]. For the orthogonal expansions schemes, field-versus-time variations in the FDTD space lattice are expanded using an appropriate set of orthogonal temporal basis and testing functions, such as weighted Laguerre polynomials (WLP) and associated Hermite (AH) functions, which leads to two different solution schemes: marching-on-in-order and paralleling-in-order, respectively. Both of them appear to be promising according to the reported work where the computational time can be reduced to at least 10% of the conventional FDTD scheme . Recently, the Legendre (LD) polynomials are explored as another possible orthogonal expansion incorporated with FDTD to form a paralleling-in-order-based unconditionally stable FDTD method. Based on it, in this chapter, we made a comparison investigation for these two new methods, which are AH FDTD method and LD FDTD method, especially focused on their differences. Through a numerical example, we validate their effectiveness when compared with the conventional FDTD method and summarized the characteristics of the two methods.

## 2. Formulation for paralleling-in-order scheme: AH and LD functions

### 2.1 2D Maxwell’s equations in time domain

The 2D time-domain Maxwell’s equations with the TEz wave case in lossy medium are considered:

ε E x r t t + σ e E x r t = H z r t y J x r t E1
μ H z r t t + σ m H z r t = E x r t y E y r t x M z r t E2
ε E y r t t + σ e E y r t = H z r t x J y r t E3

where ε , μ , σ e , and σ m are the permittivity, the permeability, the electric conductivity, and the magnetic loss of the medium, respectively. E ξ r t and J ξ r t ( ξ = x , y ) are the electric field component and the electric current densities, respectively. H z r t and M z r t are the magnetic field component and magnetic current densities, respectively.

### 2.2 The differential and integral transfer matrices to deal with the partial differential term in Maxwell’s equations

#### 2.2.1 The associated Hermite function

Associated Hermite function is defined as

ϕ n t = 2 n n ! π 1 / 2 1 / 2 e t 2 / 2 H n t , n = 0 1 E4

where H n t = 1 n e t 2 d n dt n e t 2 is Hermite polynomials. Although it is not causal, it can be transformed into causal form by virtue of a proper translating and scaling parameters and then used to span the causal electromagnetic responses. The transformed basis function is ϕ ¯ n t ˜ = 2 n n ! σπ 1 / 2 1 / 2 e t ˜ 2 / 2 H n t ˜ , where transformed time variable t ˜ = t T f / σ . And T f is a translating parameter and σ is a scaling parameter. By controlling these two parameters, the time-frequency support of the AH functions ϕ ¯ n t ˜ space can be changed flexibly. So, arbitrary locally time-supported functions can be spanned by these transformed basis functions, including the causal electromagnetic responses.

From , if a causal function u r t , such as the electric or magnetic field function, can be expanded by

u r t = n = 0 u n r ϕ ¯ n t ˜ E5

we can deduce the first derivative of u x t with respect to

t u r t = 1 σ n = 0 u n + 1 r n + 1 2 u n 1 r n 2 ϕ ¯ n t ˜ E6

Then, the Q-tuple AH domain coefficients for u r t and u ̇ r t from (5) and (6) can be obtained as U = U 0 U Q 1 T and U ̇ = U ̇ 0 U ̇ Q 1 T . And, we can readily obtain the relationship between U and U ̇ as

U ̇ = αU E7

where

α = 2 2 λ 1 1 2 2 Q 1 Q 1 Q × Q E8

By using (8), the partial differential term in Maxwell?s equations can readily be dealt with, and finally, a five-point banded matrix equation for Hz component can be obtained .

#### 2.2.2 The associated Legendre polynomial

We expand all the temporal quantities in terms of the associated Legendre polynomial given by :

P q t = 2 q + 1 2 L q 2 t l 1 , t 0 l E9

where l is the time support for analyzing a causal response and Lq is the Legendre polynomial with order q, which are orthogonal in the interval [−1,1] satisfying the following recurrence relation:

L q + 1 t = 2 q + 1 q + 1 tL q t q q + 1 L q 1 t , E10

and L 0 t = 0 , L 1 t = t . Given a time-support field function u r t , it can be expanded by (9) as

u r t = q = 0 u q r P q t E11

where u q r is the q-th expanding coefficients, and it can be calculated by

u q r = + u r t P q t dt E12

From the intrinsic features of Legendre function, the differential relationship can be described as

P q t = 1 2 2 q + 3 2 q + 1 P q + 1 ' t 1 2 2 q + 1 2 q 1 P q 1 ' t E13

If the field derivative of u r t to t is expanded as

u ' r t = q = 0 u q 1 r P q t E14

where u q 1 r is q-th expanding coefficients for u ' r t , then incorporated with (13), it can be deduced as

u ' r t = q = 0 l 2 2 q + 1 2 q 1 u q 1 1 r l 2 2 q + 3 2 q + 1 u q + 1 1 r P q t ' E15

Connecting (15) and (11), we can get

u q r = l 2 2 q + 1 2 q 1 u q 1 1 r l 2 2 q + 3 2 q + 1 u q + 1 1 r E16

When assembling u q r q = 0 , 1 Q 1 as a Q-tuple U and u q 1 r q = 0 , 1 Q 1 as U 1 , a matrix-multiply relationship can be obtained from (16) as the following:

U = α L U 1 E17

where α L is integral matrix.

α L = l 2 1 / 1 3 1 / 1 3 1 / 3 5 1 / 3 5 1 / 2 Q 3 2 Q 1 1 / 2 Q 3 2 Q 1 Q × Q E18

Alternatively, Eq. (17) can be rewritten as.

U 1 = α L 1 U E19

### 2.3 From time domain to orthogonal domain and reconstruction

When the differential or integral transfer matrices are obtained, the time-domain Maxwell equation can be transformed directly into AH or LD domain. Here, let us set LD as an example to illustrate the later formulation.

Similar to the paralleling-in-order-based AH FDTD method, we can apply a Q-tuple-domain transformation for LD FDTD method to (1)–(3) and discretize them as the following:

α e i j E x i , j = H z i , j H z i , j 1 / Δ y ¯ j J x i , j E20
α e i j E y i , j = H z i , j H z i 1 , j / Δ x ¯ i J y i , j E21
α m i j H z i , j = E x i , j + 1 E x i , j / Δ y j E y i + 1 , j E y i , j / Δ x i M z i , j E22

where

α e i j = ε i , j α L 1 + σ e i , j I E23
α m i j = μ m i , j α L 1 + σ m i , j I E24

where E x i , j , E y i , j , H z i , j , J x i , j , J y i , j , and M z i , j are Q-tuple representations of fields and sources, respectively. And, I is the Q-dimensional identity matrix. By assembling (20)–(22) and eliminating the electric field components, a five-diagonal banded matrix equation for Hz component can be obtained:

a l i j H z i 1 , j + a r i + 1 j H z i + 1 , j + a m i j H z i , j + a d i j H z i , j 1 + a u i j + 1 H z i , j + 1 = b i , j E25

where

a u i j + 1 = α e i j + 1 1 / Δ y ¯ j + 1 / Δ y j E26
a d i j = α e i j 1 / Δ y ¯ j / Δ y j E27
a l i j = α e i j 1 / Δ x ¯ i / Δ x i E28
a r i + 1 j = α e i + 1 j 1 / Δ x ¯ i + 1 / Δ x i E29
a m i j = a r i + 1 j + a l i j + a u i j + 1 + a d i j + α m i j E30
b i , j = α m i j + 1 1 J x i , j + 1 α m i j 1 J x i , j / Δ y + α m i + 1 j 1 J y i + 1 , j α m i j 1 J y i , j / Δ x M z i , j E31

By using eigenvalue transformation from α L X = XV , where X and V are the eigenvector matrix and diagonal matrix composed of eigenvalues λ q , respectively, Eq. (25) can be changed to the paralleling-in-order solution. For the q-th decoupled equation, we have

A 1 / λ q H z q = b q E32

where A · is a banded sparse matrix, with the similar form as from AH FDTD method, and b q is the transformed variables from b i , j = X b i , j . Finally, we can obtain a paralleling-in-order scheme to calculate all of the expanding coefficients of electromagnetic fields, and then the time-domain responses can be reconstructed from (11).

## 3. Comparison for the two methods

The above formula can be regarded and classified as a uniform OF differential transfer matrix transformation. Therefore, as long as the LD differential matrix is replaced by the AH domain differential transfer matrix, the FDTD algorithm based on the LD orthogonal basis function, LD FDTD, including the parallel solution AH FDTD algorithm , and the alternate direction efficient calculation  can be easily realized. The implementation of the program only requires a simple modification.

Table 1 gives a comparison of the relevant properties of the LD FDTD method and the AH FDTD method. It can be seen that the two methods can be considered as a “dual” system, because the AH differential matrix is the basic element of the AH FDTD method and the LD integration matrix is also the basic element of the LD FDTD method. This gives us a revelation that is it possible that any orthogonal basis function can construct a differential or integral transfer matrix and then easily implement a paralleling-in-order scheme similar like AH FDTD algorithm? The answer might be NOT. Such as the Laguerre FDTD method, as introduced before, cannot be calculated in parallel. However, it is undeniable that there may be more basis functions that can implement the paralleling-in-order scheme. If any, we can collectively call these methods as the AH series unconditionally stable FDTD method.

AH FDTD LD FDTD
Differential transfer matrix Integral transfer matrix
U 1 = αU U = α L U 1
α l = 2 2 l 1 1 2 2 Q 1 Q 1 Q × Q α L l = l 2 1 / 1 3 1 / 1 3 1 / 3 5 1 / 3 5 1 / 2 Q 3 2 Q 1 1 / 2 Q 3 2 Q 1 Q × Q
t α dt α L 1
T Q 2 l πQ / 1.7 + 1.8 F Q πQ / 1.7 + 1.8 2 πl l Q Scale factor l = TQ
Finite order of Q
With time-frequency Homomorphism Without time-frequency
Homomorphism
Antisymmetry
Eigenvalue conjugate symmetry
Antisymmetry
Eigenvalue conjugate symmetry
A λ q H q = J q A 1 / λ q H q = J q

### Table 1.

LD comparison of LD FDTD method and AH FDTD method.

## 4. Numerical verification

### 4.1 An infinitely large lossy dielectric plate

As AH or LD FDTD method shares with almost the same program, a 1-D program is set for a general verification. Figure 1 shows the simulation results when a uniform plane wave penetrates an infinitely large lossy dielectric plate. The figure includes the electric field waveforms calculated by the AH FDTD method and the LD FDTD method and their relative errors with respect to the conventional FDTD method. It can be seen that the time-domain waveforms of both can be consistent with the results of the FDTD method and the relative errors are basically the same, only differing in the initial part. Therefore, in general, when the order of the two basic functions is the same and the parameters are selected reasonably, the accuracy is basically the same, and the efficiency is almost the same. Figure 1.Comparison of calculation results between AH FDTD method and HR FDTD method when simulating an infinitely large lossy dielectric plate. (a) Time-domain waveform. (b) Relative error.

### 4.2 An nonuniform parallel plate waveguide with a slot

However, the two methods also have the differences when simulating the long-time response applications, such as the example in . The numerical example is set as a TEz wave propagation in a parallel plate waveguide, as shown in Figure 2. It is with a PEC slot of the thickness 0.2 mm and the distance 0.2 mm and a partly filled dielectric material of the thickness 0.8 mm with the dielectric medium parameters given as two cases: case I, ε = 11 ε0, μ = μ0, σe = 0.003 S/m, and σm = 0 Ω/m; case II, ε = 2 ε0, μ = μ0, σe = 30,000 S/m, and σm = 0 Ω/m. There are 140 × 8 uniform cells ( Δ x = Δ y =0.1 mm) in the computational domain. A Gaussian pulse sinusoidally modulated is used as the electric current source profile:

J y t = exp t t c / t d 2 sin 2 π f c t t c E33 Figure 2.The geometry configuration for a 2D parallel plate waveguide with a PEC slot and a partly filled dielectric medium .

where t d = 1 / 2 f c , t c = 4 t d , and f c = 12 GHz. And the total simulation time is set as l = 1.28 ns for case I and l = 12.8 ns for case II; then it leads to the marching-in-on-time steps for N = 6000 and N = 60,000, respectively. And the number of orders for LD functions is chosen as 80 and 300, respectively, to obtain a good approximation of field components.

The Ey electric field responses at measurement point p1 and p2, located at the center of the slot and behind the medium, respectively, are calculated, which are both in agreement with the conventional FDTD method as shown in Figures 2 and 3. For comparison, the AH FDTD method is also used in these two cases. One can find the good results in Figure 3, but the errors come out in Figure 4 for AH FDTD method when the same number of orthogonal functions (Q = 80 for case I or 300 for case II) is used as LD FDTD method. However, when Q reaches 800, the results from AH FDTD method can achieve a comparable accuracy with the ones from LD FDTD method. One should note that for case II the waveform at point p2 has larger amplitude attenuation and longer delay than the result at point p1 due to the high dielectric medium located between them. Figure 3.The calculated results of transient electric field Ey for the case of I . Figure 4.The calculated results of transient electric field Ey for the case of II .

Tables 2 and 3 show the comparison of the computational resources. We can see that the simulation takes much more time for the FDTD method compared with proposed method, especially for the case of II, while the trade-off for the proposed method is that it consumes more memory than conventional FDTD method, which is similar to the AH FDTD method. In addition, from Table 3, we can find the advantages compared with AH FDTD method that the proposed method can use relative smaller memory storage and slightly fewer CPU times to get a readily results.

Δt (ps) Memory (MB) CPU time (s)
FDTD (N = 6000) 0.21 1.8 2.97
AH FDTD (Q = 80) 21 2.9 1.32
LD FDTD (Q = 80) 21 2.9 1.32

### Table 2.

The comparison of computational resources for the case of I .

Δt (ps) Memory (MB) CPU time (s)
FDTD (N = 60,000) 0.21 1.8 30.8
AH FDTD (Q = 300) 21 11.8 1.55
AH FDTD (Q = 800) 21 28.9 1.95
LD FDTD (Q = 300) 21 11.8 1.55

### Table 3.

The comparison of computational resources for the case of II .

## 5. Conclusions and future developments

The paralleling-in-order-based unconditionally stable FDTD methods are introduced using associated Hermite and Legendre polynomials in this chapter. The direct Q-tuple-domain transformation for time-domain Maxwell equation is guaranteed by using the integral matrix and differential matrix for Legendre function and associated Hermite functions that are introduced from the intrinsic integral or differential features for these orthogonal functions. Normally, the integral matrix of Legendre function can be considered as an inverse relationship from the differential operator, similar to the AH differential matrix. From this view, we can consider them as a uniform algorithm organized from the paralleling-in-order solution scheme. In addition, this chapter also detailed the different properties and the formula with these two methods theoretically and tested by numerical examples. Numerical examples for 1D and 2D cases validate their effectiveness and show LD FDTD with a better performance than AH FDTD method, in long-time simulation applications. In the next step, the more general paralleling-in-order scheme should be summarized, and then find or construct other possible orthogonal functions for their specific applications.