Algorithm 1 |
● For the interior edge and where ● For the boundary edge |
In this paper, we study an adaptive edge finite element method for time-harmonic Maxwell's equations in metamaterials. A-posteriori error estimators based on the recovery type and residual type are proposed, respectively. Based on our a-posteriori error estimators, the adaptive edge finite element method is designed and applied to simulate the backward wave propagation, electromagnetic splitter, rotator, concentrator and cloak devices. Numerical examples are presented to illustrate the reliability and efficiency of the proposed a-posteriori error estimations for the adaptive method.
Citation: Hao Wang, Wei Yang, Yunqing Huang. An adaptive edge finite element method for the Maxwell's equations in metamaterials[J]. Electronic Research Archive, 2020, 28(2): 961-976. doi: 10.3934/era.2020051
[1] | Hao Wang, Wei Yang, Yunqing Huang . An adaptive edge finite element method for the Maxwell's equations in metamaterials. Electronic Research Archive, 2020, 28(2): 961-976. doi: 10.3934/era.2020051 |
[2] | Jichun Li . Recent progress on mathematical analysis and numerical simulations for Maxwell's equations in perfectly matched layers and complex media: a review. Electronic Research Archive, 2024, 32(3): 1901-1922. doi: 10.3934/era.2024087 |
[3] |
Zuliang Lu, Fei Huang, Xiankui Wu, Lin Li, Shang Liu .
Convergence and quasi-optimality of |
[4] | Shuhao Cao . A simple virtual element-based flux recovery on quadtree. Electronic Research Archive, 2021, 29(6): 3629-3647. doi: 10.3934/era.2021054 |
[5] | Hsueh-Chen Lee, Hyesuk Lee . An a posteriori error estimator based on least-squares finite element solutions for viscoelastic fluid flows. Electronic Research Archive, 2021, 29(4): 2755-2770. doi: 10.3934/era.2021012 |
[6] | Suayip Toprakseven, Seza Dinibutun . A weak Galerkin finite element method for parabolic singularly perturbed convection-diffusion equations on layer-adapted meshes. Electronic Research Archive, 2024, 32(8): 5033-5066. doi: 10.3934/era.2024232 |
[7] | Victor Ginting . An adjoint-based a posteriori analysis of numerical approximation of Richards equation. Electronic Research Archive, 2021, 29(5): 3405-3427. doi: 10.3934/era.2021045 |
[8] | Chunmei Wang . Simplified weak Galerkin finite element methods for biharmonic equations on non-convex polytopal meshes. Electronic Research Archive, 2025, 33(3): 1523-1540. doi: 10.3934/era.2025072 |
[9] | Ying Liu, Yanping Chen, Yunqing Huang, Yang Wang . Two-grid method for semiconductor device problem by mixed finite element method and characteristics finite element method. Electronic Research Archive, 2021, 29(1): 1859-1880. doi: 10.3934/era.2020095 |
[10] | Jiwei Jia, Young-Ju Lee, Yue Feng, Zichan Wang, Zhongshu Zhao . Hybridized weak Galerkin finite element methods for Brinkman equations. Electronic Research Archive, 2021, 29(3): 2489-2516. doi: 10.3934/era.2020126 |
In this paper, we study an adaptive edge finite element method for time-harmonic Maxwell's equations in metamaterials. A-posteriori error estimators based on the recovery type and residual type are proposed, respectively. Based on our a-posteriori error estimators, the adaptive edge finite element method is designed and applied to simulate the backward wave propagation, electromagnetic splitter, rotator, concentrator and cloak devices. Numerical examples are presented to illustrate the reliability and efficiency of the proposed a-posteriori error estimations for the adaptive method.
In this paper, we consider the following two-dimensional time harmonic Maxwell's equations
∇×(1μ∇×E)−k2εE=F,in Ω, | (1) |
where
Solutions of many problems of interest require computation of phenomena occurring in a physical domain of infinite extent. In such an infinite domain, electromagnetic sources are all considered to be at the origin, and to scatter energy to infinity. A condition is required to prevent the nonphysical inverse process, where energy is transferred by radiation from infinity to the origin, and ensure uniqueness of the solution in an infinite domain. For the two-dimensional case, the following condition, known as the Silver-Müller radiation condition [5], must be satisfied
limr→∞r1/2(∇×E×n−ikE)=0,r=|x|. | (2) |
The numerical approximations of the Maxwell's equations have been extensively investigated in the last many years, such as finite element method (FEM) [6,7,15,18,23,36], finite difference time domain method (FDTD) [14,30], interior penalty discontinuous Galerkin method (IPDG) [17], hybridizable discontinuous Galerkin method (HDG) [27], nodal discontinuous Galerkin method (NDG) [22] and multigrid method (MG) [11], etc. In recent years, metamaterials as a new type of material have attracted people's attention because of their potential applications in many fields [14,28], such as cloaking devices [2,12,24], sub-wavelength imaging and perfect lens. We mention in passing some related mathematical research on metamaterials in the literature [1,4,20,21], and some related finite element methods designed for simulating the electromagnetic wave in metamaterlals [33,34,35]. The advantage of adaptive finite element method in metamaterials, which will be considered in this paper, is to make possible, with reasonable computational cost, the local mesh adjustment of the computational domain according to a-posteriori error estimator.
The adaptive method can improve the efficiency of electromagnetic field calculation, and it is simple and and accurate [6,7,23]. In this paper, we develop the adaptive finite element method of Maxwell's equation in metamaterials. Because many electromagnetic problems are actually interface problems, we need to deal with them carefully. Some parts of the interface problems do not need to be refined near the interface, but they are still refined by using the usual indicators. So the more efficient a-posteriori error estimator should be considered without regard to the particularity of the examples and make the meshes match the images of the numerical solution better, which is the purpose of this article. In view of such problems, the recovery technique is used in each sub-area and the corresponding error is calculated. Errors of all sub-areas constitute errors of the domain of interest to guide the grid refinement.
The rest of this paper is organized as follows. In Section 2, we introduce the finite element scheme for the Maxwell's equations. A-posteriori error estimators are proposed, which include two types: one is the residual-based and the other is the recovery-based in Section 3. Afterwards in Section 4, several numerical examples are presented to compare the realization effect of the different posteriori error indicators. In Section 5, we give a conclusion.
Let
H(curl;Ω)={v=[v1,v2]t∈[L2(Ω)]2:∇×v∈L2(Ω)}, |
and the subspace
H0(curl;Ω)={v∈H(curl;Ω):n×v=n1v2−n2v1=0 on ∂Ω}, |
equipped with the norm
||v||H(curl;Ω)=(||∇×v||2+||v||2)12, |
where
The Berenger PML [3] is applied to approximate the Silver-Müller radiation condition with the perfect electric conductor (PEC) boundary conditions
n×E=0,on ∂Ω. | (3) |
The variational formulation of Eq.(1) reads: Given
a(E,Ψ)=(F,Ψ),∀Ψ∈H0(curl;Ω), | (4) |
where
a(E,Ψ)=(μ−1∇×E,∇×Ψ)−k2(εE,Ψ). |
Let
Vh={Ψh∈H(curl;Ω):Ψh|K=[a1a2]+b[y−x], a1,a2,b∈R, ∀K∈Th}. |
A basis for
ϕKE=λi∇λj−λj∇λi | (5) |
for any triangle
λi=xjyk−xkyj2|K|+yj−yk2|K|x+xk−xj2|K|y, |
with cyclic permutation of the indices
With the choice of discrete space
a(Eh,Ψh)=(F,Ψh),∀Ψh∈Vh. | (6) |
Having computed a finite element solution, it is possible to obtain a-posteriori error estimations. These estimations accomplish two main goals. Firstly, they are able to quantify the actual error numerically. Secondly, they can be used to perform the adaptive mesh refinement, which solves the problem iteratively. The method uses a-posteriori error estimators to indicate where errors are particularly high, and more mesh intervals are then placed in those locations. This process
Solve ⟹ Estimate ⟹ Mark ⟹ Refine |
can be repeated until a satisfactory error tolerance or result is reached. In this section, we propose a-posteriori error estimations including not only a residual type but also a recovery type. A Dörfler marking strategy [13] is used in the adaptive process.
The residual type a-posteriori error estimator
ηr0Kl=(h2Kl(||R1Kl||2+||R2Kl||2)+∑E∈EhKl(||J1E||2+||J2E||2))12,Kl∈Th, | (7) |
where
R1Kl=∇×(μ−1∇×E)−k2εE−F,R2Kl=∇⋅(k2εE+F), |
and
J1E=[(μ−1∇×E)⋅(nE2,−nE1)t]E,J2E=[(k2εE+F)⋅(nE1,nE2)t]E, |
where
The recovery type a-posteriori error estimators
ηr1Kl=(||R(∇×E)−∇×E||2+||R(E)−E||2)12, | (8) |
and
ηr2Kl=(||R(μ−1∇×E)−μ−1∇×E||2+||R(εE)−εE||2)12, | (9) |
for
Algorithm 1 |
● For the interior edge and where ● For the boundary edge |
Remark 1. Recovery operator can be built in a variety of ways such as gradient recovery [19,26,37], functional recovery [29], flux recovery [8,9,10,31] and so on. Two quantities related to
Theorem 3.1. Assume that the domain
(1) Assume that
|μ−1(xe)∇×u(xe)−R(μ−1(xe)∇×uI(xe))|≤Ch2. | (10) |
(2) Assume that
|ε(xe)E(xe)−R(ε(xe)EI(xe))|≤Ch2. | (11) |
(3) Under the assumption of (1) and (2) above,
‖μE−R(μ−1Eh)‖l2,Ω+‖ε∇×E−R(ε∇×Eh)‖l2,Ω≤Ch2. | (12) |
Remark 2. The proof of Theorem 3.1 is similar to the reference of [23,Lemma 2.7], [16,Theorem 3.3] and [23,Theorem 2.2].
This section is devoted to numerical examples to illustrate the efficiency and reliability of the proposed a-posteriori error indicators. The wave source term is given by
Example 4.1. Let
k=1,μ=11+x2+y2,ϵ=[1+x2xyxy1+y2]. |
We choose the analytic solution
E=[y(x2−1)(y2−1)x2+y2+0.02−x(x2−1)(y2−1)x2+y2+0.02], |
and compute
The Example 4.1 is aimed to test the convergence result stated in Theorem 3.1. Clearly, the results shown in Table 1 are consistent with Theorem 3.1.
Rate | Rate | |||
1/2 | 1.72241533259 | 0.65798419344 | ||
1/4 | 1.43147288047 | 0.2669 | 0.33590028941 | 0.9700 |
1/8 | 1.04238857427 | 0.4576 | 0.09973181632 | 1.7519 |
1/16 | 0.33780141151 | 1.6256 | 0.02622591011 | 1.9271 |
1/32 | 0.08957072297 | 1.9151 | 0.00685496133 | 1.9358 |
1/64 | 0.02277727214 | 1.9754 | 0.00173714021 | 1.9804 |
Example 4.2. Let
μ={−1.1,Ω1,1,Ω∖Ω1, |
and
ε={−1.1I,Ω1,I,Ω∖Ω1, |
where the negative index metamaterial medium area
Example 4.2 simulates the backward wave propagation phenomenon illustrated in Fig. 1, which is based on the three types a-posteriori error indicators mentioned above. It can see that wave propagates as usual before it enters the metamaterial region. Once the wave enters into the metamaterial, wave propagates backward inside the metamaterial slab. And that wave propagates as usual again when leaves the metamaterial slab.
From the point of view of suitability between the grid and the numerical solution, it can be seen that the residual type is better than the others in Fig. 1. From the numerical solution of the images, some parts of the horizontal interfaces between the two media do not need to be refined, but in fact, these places are still refined when using the recovery a-posteriori error indicators.
Thus according to two horizontal interfaces formed between the media, we divide the whole area into three sub-areas, and the recovery type a-posteriori error of the whole area is consisted of these sub-areas, which are shown in Fig. 2. Compared with the direct recovery type a-posteriori error of the whole area in Fig. 1, adaptive meshes by using the recovery type a-posteriori error of the whole area consisted of the error for these sub-areas perform better on the interfaces during the refinement process, which achieves the expected effect.
Remark 3. In Example 4.3-4.6, we also first consider the three types a posteriori error indicators mentioned above on the whole area and then consider that according to the number of interfaces
Example 4.3. Let
μ=1,x∈Ω, |
and
ε(⋅,y)={[1+m2pmp∗1],y1≤y≤y2,I,y<y1 or y>y2, |
which can be easily derived according to the theory of article [36] while the wave propagates along the
In Example 4.3, the moving medium area is fixed in
Firstly, we choose the center point
Then, the center point
Finally, the constant
Overall, it can be seen that the recovery type a-posteriori error indicators perform better.
For Example 4.4-4.5, we consider the square domain
Example 4.4. The parameters
μ=1,x∈Ω, |
and
ε={[r2+2mxy+m2y2r2−m(x2−y2)−m2xyr2∗r2−2mxy+m2x2r2],R1≤r≤R2,I,otherwise, |
where
In Example 4.4, we simulate the cylindrical rotation cloak. To see how wave propagates in the rotator, we plot the electric fields
Example 4.5. We consider the parameters
μ={b2a2,0≤r≤a,K2εr,a≤r≤c,1,otherwise, |
and
ε={[εrcos2θ+εθsin2θ(εr−εθ)sinθcosθ∗εrsin2θ+εθcos2θ],a≤r≤c,I,otherwise, |
where the constants are denoted, respectively, as,
εr=r+K1r,εθ=1εr,K1=(b−a)c−bc,K2=(c−bc−a)2. |
In our simulation, the parameters a, b and c are taken as
Example 4.5 simulates the electromagnetic concentration effect, which are shown in Figs. 12 and 13. As in the previous example, although the residual type a-posteriori error estimator achieves the concentration effect, the pattern of the corresponding grid is not matched with the graph of the numerical solution. The advantage of recovery type a-posteriori errors is prominent again.
Example 4.6. Let
μ={1,x∈Ω1,((R2−R1R2)2rr−R1)−1,x∈Ω2, |
and
ε={I,x∈Ω1,[r2+R1(R1−2r)cos2θr(r−R1)R1(R1−2r)sinθcosθr(r−R1)∗r2+R1(R1−2r)sin2θr(r−R1)],x∈Ω2. |
In Example 4.6, the colaking simulation is displayed in Figs. 15 and 16. It is obvious that the recovery-based a-posteriori error estimation
Remark 4. The relationship between the direction of wave source and the position of metamaterial plays a very important role in the actual simulation.
In this paper, we used adaptive edge element method for the time-harmonic Maxwell's equation, which was not only based on the residual type a-posteriori estimation, but also based on the recovery type. And we presented the numerical examples to illustrate the reliability and efficiency of the proposed a-posteriori error estimations. By adding the different wave source terms, the results were similar to those obtained by the time domain Maxwell's equations simulations [18,36]. Through the results of these examples, it can see that the recovery type a-posteriori error indicator deserves to be considered and recommended on the each sub-area.
Wang's research was supported by Hunan Provincial Innovation Foundation for Postgraduate(CX20190464). Yang's research was supported by NSFC Projects 11771371, Key Project of Hunan Education Department, China 18A056 and Project of Scientific Research Fund of Hunan Provincial Science and Technology Department(No: 2018WK4006). Huang's reserach was supported by NSFC Projects 11971410.
[1] |
Plasmon resonance with finite frequencies: A validation of the quasi-static approximation for diametrically small inclusions. SIAM J. Appl. Math. (2016) 76: 731-749. ![]() |
[2] |
Nearly cloaking the full Maxwell equations: Cloaking active contents with general conducting layers. J. Math. Pures. Appl. (9) (2014) 101: 716-733. ![]() |
[3] |
A perfectly matched layer for the absorption of electromagnetic waves. J. Comput. Phys. (1994) 114: 185-200. ![]() |
[4] |
Localization and geometrization in plasmon resonances and geometric structures of Neumann-Poincaré eigenfunctions. ESAIM Math. Model. Numer. Anal. (2020) 54: 957-976. ![]() |
[5] | Analysis of a Cartesian PML approximation to the three dimensional electromagnetic wave scattering problem. Int. J. Numer. Anal. Model. (2012) 9: 543-561. |
[6] |
An adaptive P1 finite element method for two-dimensional Maxwell's equations. J. Sci. Comput. (2013) 55: 738-754. ![]() |
[7] |
An adaptive P1 finite element method for two-dimensional transverse magnetic time harmonic Maxwell's equations with general material properties and general boundary conditions. J. Sci. Comput. (2016) 68: 848-863. ![]() |
[8] |
A recovery-based a posteriori error estimator for H(curl) interface problems. Comput. Methods. Appl. Mech. Engrg. (2015) 296: 169-195. ![]() |
[9] |
Recovery-based error estimators for interface problems: Mixed and nonconforming finite elements. SIAM J. Numer. Anal. (2010) 48: 30-52. ![]() |
[10] |
Flux recovery and a posteriori error estimators: Conforming elements for scalar elliptic equations. SIAM J. Numer. Anal. (2010) 48: 578-602. ![]() |
[11] |
Multigrid methods for two-dimensional Maxwell's equations on graded meshes. J. Comput. Appl. Math. (2014) 255: 231-247. ![]() |
[12] |
Full and partial cloaking in electromagnetic scattering. Arch. Ration. Mech. Anal. (2017) 223: 265-299. ![]() |
[13] |
A convergent adaptive algorithm for Poisson's equation. SIAM J. Numer. Anal. (1996) 33: 1106-1124. ![]() |
[14] | Y. Hao and R. Mittra, FDTD modeling of metamaterials: Theory and applications, Artech. House., (2008). |
[15] |
B. He, W. Yang and H. Wang, Convergence analysis of adaptive edge finite element method for variable coefficient time-harmonic Maxwell's equations, J. Comput. Appl. Math., 376 (2020), 16pp. doi: 10.1016/j.cam.2020.112860
![]() |
[16] |
The averaging technique for superconvergence: Verification and application of 2D edge elements to Maxwell's equations in metamaterials. Comput. Methods Appl. Mech. Engrg. (2013) 255: 121-132. ![]() |
[17] |
Interior penalty DG methods for Maxwell's equations in dispersive media. J. Comput. Phys. (2011) 230: 4559-4570. ![]() |
[18] |
Y. Huang, J. Li and W. Yang, Modeling backward wave propagation in metamaterials by the finite element time-domain method, SIAM J. Sci. Comput., 35 (2013), B248–B274. doi: 10.1137/120869869
![]() |
[19] |
The superconvergent cluster recovery method. J. Sci. Comput. (2010) 44: 301-322. ![]() |
[20] |
On quasi-static cloaking due to anomalous localized resonance in R3. SIAM J. Appl. Math. (2015) 75: 1245-1260. ![]() |
[21] |
Analysis of electromagnetic scattering from plasmonic inclusions beyond the quasi-static approximation and applications. ESAIM Math. Model. Numer. Anal. (2019) 53: 1351-1371. ![]() |
[22] |
Analysis and application of the nodal discontinuous Galerkin method for wave propagation in metamaterials. J. Comput. Phys. (2014) 258: 915-930. ![]() |
[23] |
An adaptive edge finite element method for electromagnetic cloaking simulation. J. Comput. Phys. (2013) 249: 216-232. ![]() |
[24] |
H. Liu, Virtual reshaping and invisibility in obstacle scattering, Inverse Problems, 25 (2009), 16pp. doi: 10.1088/0266-5611/25/4/045006
![]() |
[25] |
(2003) Finite Element Methods for Maxwell's Equations. New York: Oxford University Press. ![]() |
[26] |
A posteriori error estimates based on the polynomial preserving recovery. SIAM J. Numer. Anal. (2004) 42: 1780-1800. ![]() |
[27] |
Hybridizable discontinuous Galerkin methods for the time-harmonic Maxwell's equations. J. Comput. Phys. (2011) 230: 7151-7175. ![]() |
[28] |
Controlling electromagnetic fields. Science (2006) 312: 1780-1782. ![]() |
[29] |
Adjoint recovery of superconvergent functionals from PDE approximations. SIAM. Rev. (2000) 42: 247-264. ![]() |
[30] | A. Taflove and S. C. Hagness, Computational Electrodynamics: The Finite-Difference Time-Domain Method, Artech House, Inc., Boston, MA, 2000. |
[31] |
Adaptive finite element method for the sound wave problems in two kinds of media. Comput. Math. Appl. (2020) 79: 789-801. ![]() |
[32] |
D. H. Werner and D.-H. Kwon, Transformation Electromagnetics and Metamaterials. Fundamental Principles and Applications, Springer-Verlag, London, 2014. doi: 10.1007/978-1-4471-4996-5
![]() |
[33] |
Developing a time-domain finite element method for the Lorentz metamaterial model and applications. J. Sci. Comput. (2016) 68: 438-463. ![]() |
[34] |
Modeling and analysis of the optical black hole in metamaterials by the finite element time-domain method. Comput. Methods Appl. Mech. Engrg. (2016) 304: 501-520. ![]() |
[35] |
Mathematical analysis and finite element time domain simulation of arbitrary star-shaped electromagnetic cloaks. SIAM J. Numer. Anal. (2018) 56: 136-159. ![]() |
[36] |
Developing finite element methods for simulating transformation optics devices with metamaterials. Commun. Comput. Phys. (2019) 25: 135-154. ![]() |
[37] |
The superconvergence patch recovery (SPR) and adaptive finite element refinement. Comput. Methods. Appl. Mech. Engrg. (1992) 101: 207-224. ![]() |
1. | Nadezhda Shtabel, Daria Dobroliubova, 2022, Chapter 12, 978-3-030-94140-6, 148, 10.1007/978-3-030-94141-3_12 | |
2. | Adrian Amor-Martin, Luis E. Garcia-Castillo, Adaptive Semi-Structured Mesh Refinement Techniques for the Finite Element Method, 2021, 11, 2076-3417, 3683, 10.3390/app11083683 | |
3. | Hao Wang, Wei Yang, Yunqing Huang, Adaptive finite element method for two-dimensional time-harmonic magnetic induction intensity equations, 2022, 412, 03770427, 114319, 10.1016/j.cam.2022.114319 | |
4. | Bin He, Hao Wang, Wei Yang, Design and adaptive finite element simulation of conformal transformation optics devices with isotropic materials, 2023, 144, 08981221, 198, 10.1016/j.camwa.2023.05.026 | |
5. | Hao Wang, Adaptive Fourier finite element method for three-dimensional time-harmonic Maxwell’s equations in axisymmetric domains, 2025, 44, 2238-3603, 10.1007/s40314-024-03036-3 |
Algorithm 1 |
● For the interior edge and where ● For the boundary edge |
Rate | Rate | |||
1/2 | 1.72241533259 | 0.65798419344 | ||
1/4 | 1.43147288047 | 0.2669 | 0.33590028941 | 0.9700 |
1/8 | 1.04238857427 | 0.4576 | 0.09973181632 | 1.7519 |
1/16 | 0.33780141151 | 1.6256 | 0.02622591011 | 1.9271 |
1/32 | 0.08957072297 | 1.9151 | 0.00685496133 | 1.9358 |
1/64 | 0.02277727214 | 1.9754 | 0.00173714021 | 1.9804 |
Algorithm 1 |
● For the interior edge and where ● For the boundary edge |
Rate | Rate | |||
1/2 | 1.72241533259 | 0.65798419344 | ||
1/4 | 1.43147288047 | 0.2669 | 0.33590028941 | 0.9700 |
1/8 | 1.04238857427 | 0.4576 | 0.09973181632 | 1.7519 |
1/16 | 0.33780141151 | 1.6256 | 0.02622591011 | 1.9271 |
1/32 | 0.08957072297 | 1.9151 | 0.00685496133 | 1.9358 |
1/64 | 0.02277727214 | 1.9754 | 0.00173714021 | 1.9804 |