Physics & Spacearticle2026-12-01

Solving the 2D Maxwell’s equations using neural networks with local converging inputs

Open access6 citations

Abstract

In this paper, we apply neural networks with local converging inputs (NNLCIs), originally developed in the work [Huang et al., Commun. Comput. Phys. 34, 290–317 (2023)], to solve the two dimensional Maxwell’s equations around perfect electric conductors (PECs). The input to the networks consists of local patches of low cost numerical solutions to the equations computed on two coarse grids, and the output is a more accurate solution at the center of the local patch. We apply the recently developed second order finite difference method [Lee and Liu, J. Comput. Phys. 490, 112314 (2023)] to generate the input and training data, which capture the scattering of electromagnetic waves off of a PEC at a given terminal time. The advantage of NNLCIs is that, once trained, they offer an efficient alternative to costly high-resolution conventional numerical methods; our numerical experiments indicate a computational complexity saving by a factor of 83 in terms of the number of spatiotemporal grid points. In contrast with existing research on applying neural networks to directly solve PDEs, our method takes advantage of the local domain of dependence of Maxwell’s equations in the input solution patches and is, therefore, simpler yet still robust. We demonstrate that our neural network, trained on selected PEC geometries, can predict accurate solutions for different PEC geometries, provided that the training data are sufficiently diverse, covering variations in geometry and frequency.

// Source

View paper (DOI)Open access versionOpenAlexAIP AdvancesPublished 2026-12-01

Authors: Harris Cobb, Hwi Lee, Yingjie Liu

Institutions: Georgia Institute of Technology, New York Institute of Technology