This article provides insight into the modeling of waveguides using the discontinuous Galerkin time-domain (DGTD) method. The spatial domain decomposition in the DGTD method is controlled by changing the resolution of the finite elements (FEs) which in turn have effect on the stable time marching step. Different resolutions of FEs support different resonant modes. This paper investigates the effects of the resolution of FEs and the effect of Final Time on appearance of low and high–frequency resonant modes in the waveguides. The experimentation is performed by considering the both transverse magnetic (TM) and transverse electric (TE) polarizations. The unstructured triangular mesh type is considered for the analysis. Integration in the temporal domain is achieved by using five-stage 4th order low-storage Runge-Kutta (LSERK) method and the stability of the numerical method is ensured by stable time marching step which is calculated by using Courant-Friedrichs-Levy (CFL) condition. The operation is performed on WR90 waveguide and the analytical and numeric values for various resonant modes are compared to validate the study.
Keywords: DGTD, modeling of waveguide, CFL, effect of resolution of finite elements, effect of final time, resonant modes of waveguide, WR90 waveguide
1D, one-dimensional; 2D, two-dimensional; 3D, three-dimensional; DGTD, discontinuous galerkin time-domain; Fes, finite elements; TM, transverse magnetic; TE, transverse electric; ODE, ordinary differential equations; LSERK, low-storage explicit runge-kutta; CFL, courant-friedrichs-levy; TD, time-domain; PEC, perfect electric conductor; FFT, fast fourier transformation
Waveguides have ability to handle very high power which makes them suitable for applications in RADAR and satellite communication. Unlike free space, rectangular waveguides support transverse magnetic (TM) and transverse electric (TE) modes – if air-filled or fully loaded with some dielectric material.1 While modeling waveguides by using numerical methods, certain factors like digitization of the computational domain, accuracy and execution time, need considerations. The variation of these parameters can lead to unwanted results and accurate modeling cannot be performed if the significance of these parameters being used in the numerical method remains unknown. The numerical methods have ability to deal with complex electromagnetic (EM) problems which cannot be molded using traditional analytical methods. These methods require due attention for their development otherwise the variation in parameters can generate unwanted results. Discontinuous Galerkin time-domain (DGTD) method is one of the recent methods in computational electromagnetic (CEM). It is being widely studied2–9 since its first appearance to solve the neutron transport equation using unstructured triangular mesh.10 The DGTD method is the combination of finite element method (FEM) and finite volume method (FVM)11,12 but offers better performance as compared to these two methods.13 Since the space discretization of the DGTD has effect on the bandwidth coverage,14,15 so it is vital to study the effect of resolution of the finite elements (FEs) on the appearance of the resonant modes of the waveguides. Also, the value of Final Time, the time required to terminate the simulation sequence, has its own significance regarding the resonant modes. To the knowledge of authors, these kinds of investigations have never been performed before and require due attention in order to properly model and analyze waveguides for their resonant frequencies. The organization of this article is as follows: Section 5 provides the formulation required for the study. It includes the formulation of the DGTD method for the both polarization i.e., TM and TE, upwind numerical fluxes are used to derive the expression, and truncation of the boundary by using perfect electric conductor (PEC) condition is provided. The formula for resonant mode calculation using exact method is also given. Section 6 provides the numerical analysis and discusses the effect of resolution of FEs and Final Time on the resonant modes, followed by comparison of the values of these modes by using the exact and the numerical methods. Finally, the conclusions are drawn in section 7.
The DGTD Method
Consider Maxwell’s equation in three-dimensions (3D), as given in Eq.(1):
(1)
where
- E=(Ex, Ey, Ez) and H=(Hx, Hy, Hz) are the electric and magnetic fields;
- respectively, ε is the permittivity and μ is the permeability.
To solve this numerically, the standard procedure is to treat space and time domain separately. In the standard DGTD method, space is discretized into K non overlapping finite elements (FEs). The local solutions are estimated for each element and the global solution is obtained by integrating all the local solutions. The communication between neighboring elements is ensured by using numerical fluxes. From the theory of Riemann solvers,16,17 the penalty terms inflowing into the normal
are given below:
(2)
(3)
where
-
is the numerical flux;
- The ‘+’ and ‘–’ signs in the superscript indicate the exterior and interior of an interface, respectively;
- The
is the impedance;
- ‘α’ controls the dissipation (i.e., α = 1 and 0 are for classic upwind and non-dissipative central fluxes respectively).
The function {{∙}} corresponds to the average value at an interface due to exterior and interior values e.g.,
. After some mathematical calculations and evaluating the vector identities, Eq. (2) and Eq. (3) generate the following numerical fluxes for the electric and magnetic fields, respectively:
(4)
(5)
The above two equations are for 3D and very useful to obtain the numerical flux for any component along their respective axis.
1) TMz case in 2D: Maxwell’s equations given in Eq. (1) takes the following form:
(6)
In 2D, nx and ny exist while nz = 0 and for the TMz mode we have only Hx, Hy and Ez components. The numerical fluxes for each component are obtained by using Eq. (4) and Eq. (5)and are given as follows:
(7)
(8)
(9)
where
is the dot product between dH and
.
is the dot product between dHOnce numerical fluxes are derived, the standard DGTD semidiscrete formulation as discussed in
18 is given as:
(10)
where the subscript
- h indicates to the approximate solution;
- l(r) is two-dimensional Lagrange polynomialL
- D, J and M are differential, Mass, and Jacobian matrices, respectively.
The details on these parameters can be found in.18 The functions shown in the brackets
,
and
are characterized for any parameter q as follows:
2) TEz case in 2D: The set of Maxwell’s equation, numerical fluxes of individual component and their corresponding semidiscrete DGTD formulation for the TEz mode are summarized in Eq. (11) to Eq. (15).
(11)
(12)
(13)
(14)
(15)
The semidiscrete expression are ordinary differential equations (ODE) in the time-domain (TD) which can be solved by using five-stage 4th order low-storage explicit Runge-Kutta (LSERK) method, given in.19 To ensure the stable time steps while integrating the solution in TD, Courant-Friedrichs-Levy (CFL) given in20 is used. This study uses unstructured triangular mesh elements. The marching step (Δt) as per CFL condition for this type of mesh is given in Eq. (16):
(16)
where rD is the normalized radius of the inscribed circle in a given triangular element and Δri is the grid spacing for one-dimensional (1D) standard interval of.11 For 4th order LSERK method, choose CFL=1. Applying PEC boundary: In the DGTD method, the perfect electric conductor (PEC) boundary is very easy to implement. The tangential components are set to zero i.e.,
only by changing the values at the boundary interfaces. The values of all nodes appearing at the boundary are changed by using mirror principle given in,18 i.e.,
such that
This is implemented as given in Eq. (17).
(17)
Exact method
The cutoff frequency fc of any waveguide having dimensions a × b is given in Eq. (18). The permittivity ε and permeability μ are the material parameters used for filling the waveguide either be air or vacuum. This expression holds true for either TMz or TEz mode.21
(18)
Simulation setup
The waveguide WR90 having dimensions a=0.9 in. (2.286 cm), b=0.4 in. (1.016 cm) is selected for the analysis of modes in the numerical method. The coarse triangular mesh is obtained from commercial mesh-generating software. The initial conditions used for TMz case are given in Eq. (19). For the TEz mode, the conditions are similar. So we do not repeat them.
(19)
where
- m and n are modal values;
- f is frequency;
The x and y are N×K matrices of the nodes along x- and y-axis, respectively, in 2D.
Here, N is the order of polynomial interpolation used in each Kth element. All the units are made non dimensional by using set of expressions given in Eq. (20).
(20)
where
- c is speed of light, t is time;
-
is the free-space impedance;
- L is reference length for a given problem.
In this study, we choose L=1.0160 cm which is the smallest dimension of the waveguide. Hence, all the parameters with hat (^) are non dimensional. The time-domain data for electric field is recorded at some test points in the given computational domain i.e., [–1.1430 1.1430]×[–0.5080 0.5080] and their frequency response is obtained by employing fast Fourier transformation (FFT) on the recorded data. Since the unstructured triangular mesh suffers from accurate positioning of the test point in the Cartesian coordinate system, this issue is resolved by using adaptive mesh method of node displacement mentioned in.15
Effect of resolution of finite elements
This section discusses the effect of resolution of number of non overlapping elements (K) used to discretize the computational domain. The simulation is performed and data is recorded at test point located at (x0, y0)=(0, 0). The effect of different modes appearing with respect to K is summarized in (Figure 1).
Figure 1 Effect of K on resonating modes with N=4: (a) K=30, (b) K=68, (c) K=134, and (d) K=546.
Figure 1 shows that as the resolution of the FEs used to discretized computational domain is increased from K=30 to K=546, the resonant modes are shifted from lower frequency modes to higher frequency modes. The reason is: as the resolution increases, the time step required for stable marching also decreases. The decreased value of Δt supported higher frequency components when FFT is used. So, if we are interested in lower frequency modes of a waveguide structure, we must use lower resolution of FEs in the computational domain. In the next section, we discuss the effect of Final Time on these models.
Effect of final time
This section explains the significance of using different final time for estimating the resonant frequency of the waveguide. The findings are shown in (Figure 2) where data for two values of Final Time=[200,500] is recorded. (Figure 2(a-b)) shows the time-domain data of electric field recorded at test point (x0, y0)=(0, 0) for the two final times and (Figure 2(c-d)) presents the spectrum of the recorded data which is obtained by taking FFT of the time-domain data. From (Figure 2), it is obvious that we need enough time to obtain different resonant modes. But, the longer time only captures more energy at the already existing modes, as can be seen from the variation in the peaks of normalized amplitudes in (Figure 2(c-d)). By increasing the Final Time we cannot obtain more modes. The appearance of the modes depended on the resolution of FEs used, as has been discussed in the previous section.
Figure 2 Effect of final time on resonating modes for K=68, N=4 and Δt=0.01427: (a) K=30, (b) K=68, N=4, (c) Spectrum View at normalized Final Time=200, and (d) Spectrum View at normalized Final Time=500. (Dimensional Final Time=Final Time×L×Δt /c).
Comparison of analytical and numerical results
This section summarizes the results of both TMz mode and TEz mode. The exact results are calculated by using the analytical formulation and the numerical results are obtained by using the DGTD method with appropriate settings K. The modes calculated by using TM polarization are presented in (Table 1). The effect of variation with K is also given. Similarly, the values obtained by using TE polarization are given in (Table 2). The lower frequency modes in the TE polarization are obtained by using K=30.
Mode |
Exact |
K=546 |
|
K=134 |
|
K=68 |
|
(m, n) |
(GHz) |
DGTD (GHz) |
Difference (%) |
DGTD (GHz) |
Difference(%) |
DGTD (GHz) |
Difference (%) |
2, 1 |
19.7442 |
19.753 |
0.044 |
19.7556 |
0.057 |
19.7526 |
0.042 |
3, 1 |
24.595 |
24.6045 |
0.038 |
24.6096 |
0.058 |
24.6026 |
0.03 |
4, 1 |
30.1003 |
30.1107 |
0.034 |
30.1151 |
0.048 |
30.114 |
0.045 |
5, 1 |
35.9608 |
35.9841 |
0.064 |
35.9795 |
0.051 |
35.9781 |
0.048 |
6, 1 |
42.0281 |
42.0459 |
0.042 |
42.0421 |
0.033 |
|
|
7, 1 |
48.2242 |
48.2466 |
0.046 |
48.2465 |
0.046 |
48.2941 |
0.144 |
8, 1 |
54.5052 |
54.5267 |
0.039 |
54.5358 |
0.056 |
|
|
9, 1 |
60.8449 |
60.8763 |
0.051 |
60.8912 |
0.076 |
|
|
10, 1 |
67.2265 |
67.2556 |
0.043 |
67.2561 |
0.043 |
|
|
11, 1 |
73.6393 |
73.6746 |
0.047 |
|
|
|
|
12, 1 |
80.0758 |
80.1134 |
0.047 |
|
|
|
|
13, 1 |
86.5306 |
86.5721 |
0.048 |
|
|
|
|
14, 1 |
92.9999 |
93.0507 |
0.054 |
|
|
|
|
15, 1 |
99.4809 |
99.5292 |
0.048 |
|
|
|
|
Table 1 Comparison of exact and numerical values cutoff frequencies for different modes (TMz polarization)
Mode (m,n) |
Exact (GHz) |
DGTD (GHz) |
Difference (%) |
1, 0 |
6.5586 |
6.5593 |
0.01 |
2, 0 |
13.117 |
13.1252 |
0.059 |
0, 1 |
14.757 |
14.7683 |
0.076 |
1, 1 |
16.1489 |
16.1496 |
0.004 |
3, 1 |
24.595 |
24.588 |
0.028 |
4, 0 |
26.2347 |
26.2504 |
0.059 |
Table 2 Comparison of exact and numerical values cutoff frequencies for different modes (TEz polarization)