Solving Maxwell’s Equations with Mimetic Methods
Johnny Corbino · 2026
Read Solving Maxwell’s Equations with Mimetic Methods by Johnny Corbino (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-19056.txt.
Introduction
Corbino solves Maxwell's equations with a mimetic finite-difference method in one and two dimensions. Mimetic operators copy key calculus rules on a grid, which keeps the scheme true to the physics. He first sets out the field equations and the classic time-domain grid method. He then shows how the mimetic form yields a compact setup for computing. Two tests follow. One sends a sine wave through a lossy slab. One spreads a pulse in a plane with absorbing edges. All code uses a public mimetic library.
Catalog record
| CREATOR | Johnny Corbino |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 22921 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.19056
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Solving Maxwell’s Equations with Mimetic Methods Johnny Corbino Abstract We present a mimetic finite-difference approach for solving Maxwell’s equations in one and two spatial dimensions. After introducing the governing equations and the classical Finite-Difference Time-Domain (FDTD) method, we describe mimetic operators that satisfy a discrete analogue of the extended Gauss divergence theorem and show how they lead to a compact, physically consistent formulation for computational electromagnetics. Two numerical examples are presented: a one-dimensional sinusoidal wave interacting with a lossy dielectric slab, and a two-dimensional Gaussian pulse with Uniaxial Perfectly Matched Layer (UPML) absorbing boundary conditions. All implementations use the Mimetic Operators Library Enhanced (MOLE). 1 Introduction Maxwell’s equations govern the behavior of electromagnetic fields and are central to a vast range of engineering and scientific applications. The Finite-Difference Time-Domain (FDTD) method, introduced by Yee [ 1 ] , remains one of the most popular techniques for the numerical solution of these equations due to its explicit time-marching nature and conceptual simplicity [ 2 , 3 ] . However, the standard FDTD scheme is limited to second-order spatial accuracy, and extending it to higher orders while preserving the underlying physics requires considerable effort. Mimetic finite-difference methods offer an alternative that addresses these limitations. They construct discrete operators—divergence, gradient, curl, and Laplacian—that satisfy the same vector calculus identities as their continuous counterparts, including a discrete version of the extended Gauss divergence theorem [ 4 , 5 , 6 ] . This ensures conservation properties at the discrete level and provides uniform accuracy up to and including the domain boundaries. This paper is organized as follows. Section 2 introduces Maxwell’s equations and defines all relevant physical parameters. Section 3 gives a brief overview of the FDTD method. Section 4 presents the mimetic operator framework. Sections 5 and 6 present one-dimensional and two-dimensional numerical examples, respectively. Finally, Section 7 offers concluding remarks. 2 Maxwell’s Equations In differential form, for linear, isotropic media, Maxwell’s equations read: \displaystyle\nabla\times\mathbf{E} \displaystyle=-\mu\frac{\partial\mathbf{H}}{\partial t}, (1) \displaystyle\nabla\times\mathbf{H} \displaystyle=\varepsilon\frac{\partial\mathbf{E}}{\partial t}+\sigma\mathbf{E}, (2) \displaystyle\nabla\cdot(\varepsilon\mathbf{E}) \displaystyle=\rho_{v}, (3) \displaystyle\nabla\cdot(\mu\mathbf{H}) \displaystyle=0, (4) where: • \mathbf{E} is the electric field intensity (V/m), • \mathbf{H} is the magnetic field intensity (A/m), • \varepsilon is the electric permittivity (F/m); in free space \varepsilon_{0}\approx 8.854\times 10^{-12} F/m, and for a material with relative permittivity \varepsilon_{r} we have \varepsilon=\varepsilon_{r}\,\varepsilon_{0} , • \mu is the magnetic permeability (H/m); in free space \mu_{0}=4\pi\times 10^{-7} H/m, and for a material with relative permeability \mu_{r} we have \mu=\mu_{r}\,\mu_{0} , • \sigma is the electric conductivity (S/m), modeling ohmic losses ( \sigma=0 for lossless media), • \rho_{v} is the volume charge density (C/m 3 ). The phase velocity in a medium is v=1/\sqrt{\mu\varepsilon} ; in free space, v=c_{0}=1/\sqrt{\mu_{0}\varepsilon_{0}}\approx 3\times 10^{8} m/s (speed of light in vacuum). In one dimension, restricting to waves propagating along z with E_{x} and H_{y} , Faraday’s and Ampère’s laws reduce to: \displaystyle\varepsilon\frac{\partial E_{x}}{\partial t} \displaystyle=-\frac{\partial H_{y}}{\partial z}-\sigma E_{x}, (5) \displaystyle\mu\frac{\partial H_{y}}{\partial t} \displaystyle=-\frac{\partial E_{x}}{\partial z}. (6) The magnetic flux density \mathbf{B} and the magnetic field intensity \mathbf{H} are related by \mathbf{B}=\mu\,\mathbf{H}. (7) In the 1D example that follows, we work with \mathbf{H} , which is the natural variable in Ampère’s law. In the 2D example, we work with \mathbf{B} , which simplifies the formulation when \mu is constant (free space, \mu=\mu_{0} ) because Faraday’s law becomes \partial\mathbf{B}/\partial t=-\nabla\times\mathbf{E} without a material coefficient. For two-dimensional problems in the TM z polarization, the relevant fields are E_{z} , B_{x} , and B_{y} , and Faraday’s and Ampère’s laws reduce to: \displaystyle\frac{\partial B_{x}}{\partial t} \displaystyle=-\frac{\partial E_{z}}{\partial y}, (8) \displaystyle\frac{\partial B_{y}}{\partial t} \displaystyle=\phantom{-}\frac{\partial E_{z}}{\partial x}, (9) \displaystyle\varepsilon\frac{\partial E_{z}}{\partial t} \displaystyle=\frac{1}{\mu}\!\left(\frac{\partial B_{y}}{\partial x}-\frac{\partial B_{x}}{\partial y}\right). (10) 3 The FDTD Method The FDTD method discretizes Maxwell’s equations on a staggered grid introduced by Yee [ 1 ] . Electric and magnetic field components are sampled at spatially offset locations, and their time evolution is staggered by half a time step, yielding the leapfrog scheme. E_{x}^{n}(0) E_{x}^{n}(1) E_{x}^{n}(2) E_{x}^{n}(3) E_{x}^{n}(4) E_{x}^{n}(5) H_{y}^{n+\frac{1}{2}} H_{y}^{n+\frac{1}{2}} H_{y}^{n+\frac{1}{2}} H_{y}^{n+\frac{1}{2}} H_{y}^{n+\frac{1}{2}} \Delta z \frac{\Delta z}{2} Figure 1: One-dimensional Yee staggered grid. Electric field values (dots) are stored at integer nodes; magnetic field values (crosses) at half-integer nodes. For the one-dimensional case, in normalized units ( c_{0}=1 , \mu_{0}=1 , \varepsilon_{0}=1 , so that \varepsilon=\varepsilon_{r} and \mu=\mu_{r} ), the update equations are: \displaystyle E_{x}^{n+1}(i) \displaystyle=E_{x}^{n}(i)+\frac{\Delta t}{\varepsilon\,\Delta z}\left[H_{y}^{n+1/2}\!\left(i\!-\!\tfrac{1}{2}\right)-H_{y}^{n+1/2}\!\left(i\!+\!\tfrac{1}{2}\right)\right], (11) \displaystyle H_{y}^{n+3/2}\!\left(i\!+\!\tfrac{1}{2}\right) \displaystyle=H_{y}^{n+1/2}\!\left(i\!+\!\tfrac{1}{2}\right)+\frac{\Delta t}{\mu\,\Delta z}\left[E_{x}^{n+1}(i)-E_{x}^{n+1}(i\!+\!1)\right]. (12) The scheme is stable under the Courant–Friedrichs–Lewy (CFL) condition \Delta t\leq\Delta z/c_{0} . In a lossy dielectric with relative permittivity \varepsilon_{r} and conductivity \sigma , the electric field update acquires damping coefficients. Using a semi-implicit discretization of the conduction current term, one obtains: E_{x}^{n+1}(i)=c_{a}(i)\,E_{x}^{n}(i)+c_{b}(i)\left[H_{y}^{n+1/2}\!\left(i\!-\!\tfrac{1}{2}\right)-H_{y}^{n+1/2}\!\left(i\!+\!\tfrac{1}{2}\right)\right], (13) where c_{a}=\frac{1-\dfrac{\sigma\,\Delta t}{2\,\varepsilon}}{1+\dfrac{\sigma\,\Delta t}{2\,\varepsilon}},\qquad c_{b}=\frac{\dfrac{\Delta t}{\varepsilon\,\Delta z}}{1+\dfrac{\sigma\,\Delta t}{2\,\varepsilon}}. (14) The coefficient c_{a}<1 causes exponential decay of the field inside the lossy region, while c_{b} controls the strength of the electric field response to spatial variations in the magnetic field. While FDTD is straightforward and efficient, it has important limitations. The Yee scheme does preserve the discrete divergence conditions ( \nabla\cdot(\varepsilon\mathbf{E})=\rho_{v} and \nabla\cdot\mathbf{B}=0 ) if they are satisfied initially, thanks to the staggered grid structure. However, when extending to higher orders of accuracy or different coordinate systems (e.g., curvilinear), the extension is not trivial and often a divergence correction method is required [ 7 ] . 4 Mimetic Finite-Difference Operators 4.1 Definitions and properties Mimetic operators construct discrete analogues of the differential operators—divergence ( \mathbf{D}\equiv\nabla\cdot ), gradient ( \mathbf{G}\equiv\nabla ), curl ( \mathbf{C}\equiv\nabla\times ), and Laplacian ( \mathbf{L}\equiv\nabla^{2} )—that satisfy the fundamental vector calculus identities [ 5 , 6 ] . These identities are preserved at any order of accuracy and extend naturally to curvilinear coordinate systems [ 9 ] , addressing the limitations of the Yee scheme discussed above: \displaystyle\mathbf{G}\,f_{\text{const}} \displaystyle=\mathbf{0}, (15) \displaystyle\mathbf{D}\,\bm{\nu}_{\text{const}} \displaystyle=\mathbf{0}, (16) \displaystyle\mathbf{C}\,\mathbf{G}\,f \displaystyle=\mathbf{0}, (17) \displaystyle\mathbf{D}\,\mathbf{C}\,\bm{\nu} \displaystyle=\mathbf{0}, (18) \displaystyle\mathbf{D}\,\mathbf{G}\,f \displaystyle=\mathbf{L}\,f. (19) Moreover, the Corbino–Castillo (CC) operators satisfy the discrete extended Gauss divergence theorem [ 6 ] : \langle\mathbf{D}\bm{\nu},f\rangle_{Q}+\langle\mathbf{G}f,\bm{\nu}\rangle_{P}=\langle\bm{\mathcal{B}}\bm{\nu},f\rangle, (20) where P and Q are diagonal weight matrices and \bm{\mathcal{B}} is the mimetic boundary operator. This identity is the discrete counterpart of \int_{\Omega}(\nabla\cdot\bm{\nu})\,f\,dV+\int_{\Omega}\nabla f\cdot\bm{\nu}\,dV=\oint_{\partial\Omega}f\,\bm{\nu}\cdot\hat{\mathbf{n}}\,dS, (21) and guarantees that the discrete scheme inherits the conservation properties of the continuous equations. 4.2 Staggered grids Like the Yee grid, mimetic operators are defined on staggered grids. In one dimension, scalar quantities are stored at cell centers and at the two boundary nodes, while vector components reside at cell edges (nodes). \Delta x \frac{\Delta x}{2} Scalar ( \bullet ) Vector ( | ) m=4 cells Figure 2: One-dimensional mimetic staggered grid with m=4 cells. Scalar values (dots) reside at cell centers and boundary nodes ( m+2 locations). Vector values (ticks) reside at cell edges ( m+1 locations). For m cells, the gradient \mathbf{G} is an (m+1)\times(m+2) sparse matrix and the divergence \mathbf{D} is an (m+2)\times(m+1) sparse matrix. 4.3 One-dimensional operators The second-order mimetic gradient, following Corbino and Castillo [ 6 ] , is: \mathbf{G}=\frac{1}{\Delta x}\begin{bmatrix}-\frac{8}{3}&3&-\frac{1}{3}\\ &-1&1\\ &&\ddots&\ddots\\ &&&-1&1\\ &&&\frac{1}{3}&-3&\frac{8}{3}\end{bmatrix}_{(m+1)\times(m+2)}. (22) The mimetic operators are constructed via the solution of Vandermonde systems and achieve a uniform order of accuracy throughout the domain, including at the boundaries. This distinguishes them from standard finite-difference and summation-by-parts (SBP) operators, which typically suffer from reduced accuracy near the boundaries. The second-order mimetic divergence is: \mathbf{D}=\frac{1}{\Delta x}\begin{bmatrix}0&\cdots&0\\ -1&1&\\ &\ddots&\ddots\\ &-1&1\\ 0&\cdots&0\end{bmatrix}_{(m+2)\times(m+1)}. (23) 4.4 Two-dimensional