scieee AI-readable full text Open interactive document viewer

Accelerating Finite-Difference Time-Domain (FDTD) Solvers using Voxels-in-Cell Method

Tekbas, Kenan,Berenger, Jean-Pierre,Díaz Angulo, Luis Manuel,Ruiz-Cabello Núñez, Miguel David,González García, Salvador

Abstract

EU Horizon 2020 Research and Innovation Programme under Marie Sklodowska-Curie Action under Grant 101066571, HECATE and by the Spanish National Project PID2019.106120RB.C33, PID2022-137495OB-C31 and FEDER Project B-TIC-700-UGR20.

Full text

Accelerating Finite-Difference Time-Domain (FDTD) Solvers using Voxels-in-Cell Method Kenan Tekbas¸(1)(2), Jean-Pierre B´ erenger(3), Luis D. Angulo(1), Miguel Ruiz Cabello(1), and Salvador G. Garcia(1) (1) The Department of Electromagnetism, University of Granada, 18071 Granada, Spain ([email protected]) (2) The Department of Electrical and Electronic Engineering, Amasya University, 05100 Amasya, T¨ urkiye (3) The Department of Electrical and Electronic Engineering, The University of Manchester, M139PL Manchester, UK Abstract—The Voxels-in-Cell (VIC) method was recently introduced for reducing the computational cost of the finitedifference time-domain (FDTD) method with objects composed with voxels. In this paper, we present some applications of VIC method in electromagnetic problems and show that the accuracy of the method is preserved while large reductions of the computational requirements can be achieved. I. INTRODUCTION In recent years, considerable research has been conducted into overcoming the computational burden of the FDTD method. Its computational efficiency is boosted by hardware-based approaches, involving the parallelization of the FDTD algorithm by using multi-core Central Processing Units (CPUs) in distributed or shared memory architectures, or Graphical Processing Units (GPUs). Although this approach enables users to perform the computation of problems at high speed without sacrificing accuracy, it requires additional hardware costs and large clusters or supercomputers to perform the computations. Software-based approaches can alleviate these requirements, by using numerical techniques. Numerous subcell, subgridding and hybrid models have been introduced for a variety of applications [1]. In general, these models tackled very specific problems and materials, mostly good conductive materials. In this paper, we present some applications of VIC method, that was recently introduced for dielectric [2] and dispersive media [3], to speed the FDTD computations while preserving the accuracy. II. VIC METHOD The theoretical details of VIC method are given in [2]. We assume that a non-homogenous cell composed of MiMjMk voxels, each with its own medium and indexes (iv, jv, kv), where iv∈(1, Mi),jv∈(1, Mj),kv∈(1, Mk). A. Lossless Media The component Ezcan be updated as in [2], En+1 z(ig, jg, kg) = En z(ig, jg, kg) + ∆t ε∗∗ (ig, jg, kg)   Hn+1 2 y+−Hn+1 2 y− ∆x−Hn+1 2 x+−Hn+1 2 x− ∆y  (1) where ε∗∗ (ig, jg, kg) = Mk MiMj"Mk X kv=1 1 PMi iv=1 PMj jv=1 ε(iv, jv, kv)#−1 . x y z ∆x ∆y ∆z kv= 2 kv= 1 kv= 3 kv= 4 Ez(ig, jg, kg) Hx+ Hy+ Hy− Hx− iv= 1 iv= 2 iv= 3 iv= 4 jv= 1 jv= 3 jv= 2 jv= 4 Voxel δx δy δz k=kg Fig. 1. The FDTD cell composed with voxels of size δxδyδz filled with different media. The component that needs to be updated is Ez, located at the center of a volume with dimensions ∆x, ∆y, ∆z. This volume is essentially a cell that has been shifted by ∆x/2,∆y/2,∆z/2with respect to the Yee cell typically used in the FDTD simulations. In the plane k=kgthat holds the Eznode, there are nodes Hy−and Hy+situated ∆x/2from Ezand nodes Hx−and Hx+situated ∆y/2from Ez. B. Lossy Media to Model Composite Materials In a homogenous medium, the component Ezcan be updated by discretizing the integral form of the Maxwell- Ampere equation with conduction current ZZ∆x∆yε∂Ez(t) ∂t +σEz(t)dxdy =Ch(t)(2) where σis the conductivity, ∆x∆yis the surface perpendicular to Ezat k=kgand Chis the integral Ch(t) = ZL H(t)dl (3) where Lis the contour path that surrounds surface ∆x∆yand holds the four Hnodes. In the non-homogenous case in Fig.1, we assumed that Chdoes not depend on zover the cell, that is Chis a constant from z=kg−∆z/2to z=kg+ ∆z/2and Ezis a component tangential to the interfaces between the different media in the slice so that it is continuous through these interfaces and can be considered as uniform in the slice of surface ∆x∆y, as in a usual FDTD cell. Therefore, the integral of (2) that yields Mi X iv=1 Mj X jv=1 ε(iv, jv, kv)∂Ez(kv, t) ∂t δxδy + Mi X iv=1 Mj X jv=1 σ(iv, jv, kv)Ez(kv, t)δxδy =Ch(t). (4) Discretization of (4) provides us En+1 z(kv) = a(kv)En z(kv) + ∆t b(kv)   Hn+1 2 y+−Hn+1 2 y− ∆x−Hn+1 2 x+−Hn+1 2 x− ∆y  (5) where a(kv) = 2−∆tσ∗(kv) ε∗(kv) 2+∆tσ∗(kv) ε∗(kv) , b(kv) = σ∗(kv)∆t 2+ε∗(kv) MiMj ε∗(kv) = Mi X iv=1 Mj X jv=1 ε(iv, jv, kv), σ∗(kv) = Mi X iv=1 Mj X jv=1 σ(iv, jv, kv) After updating Ez(kv)and its xand ycounterparts in all the slices of all the FDTD cells, the Hcomponents should be updated to complete the FDTD iteration. To update Hat the four neighboring nodes represented in Fig. 1, we apply the Maxwell-Faraday law in integral form, which requires integrating of Ezover the segment ∆zthat contains the Ez(ig, jg, kg)node. In non-homogeneous cells, Ezdepends on the slice. However, since the integral is nothing but the average of Ezover ∆zmultiplied by ∆z, and since the permeability is homogeneous in the cells, the standard FDTD algorithm for updating the Hcomponents can be left unchanged. We just need to place the average value < En+1 z>at each original Ez(ig, jg, kg)node of the FDTD cells, that is En+1 z(ig, jg, kg) = 1 Mk Mk X kv=1 En+1 z(kv).(6) III. NUMERICAL EXAMPLES We present the VIC results for some test cases and compare with fine mesh and AVG results. The AVG method incorporates average parameters, calculated as x(ig, jg, kg) = PMi iv=1 PMj jv=1 PMk kv=1 x(iv, jv, kv)/(MiMjMk)where xis either εror σ. A. Overlapping Composite Materials The object in Fig.2 (left side) was placed in vacuum. The FDTD steps were ∆x=∆y=∆z=1 mm and ∆t=1.83 ps for the fine mesh and ∆x=∆y=∆z=2 mm and ∆t=3.66 ps for the VIC mesh. 1 mm 60 mm 60 mm σ=100 S/m ǫr=5 120 mm 40 mm P1 P2 P3 ǫr=1, σ=50 S/m ǫr=50 120 mm x zy80 mm Fig. 2. The results for the overlapping materials. The incident plane wave propagating in ydirection and polarized in zdirection, with waveform Ez(t) = 100exp[−((t−3τ)/τ)2]V/m where τ=10 ns. B. Lossy Enclosures We report results for an experiment with the a 60×60×60- VIC-cell enclosure with walls of thickness 1 mm made with medium (εr=50, σ=4.5 S/m). Fine mesh VIC AVG Fig. 3. The observation of peak Ezfield. The computational settings are the same as in the previous experiment apart from τset to 134.5 ps. C. Bioelectromagnetics The VIC method [3] was applied to the voxel-based human phantom models [4]. Fig. 4. The observation of peak Ezfield in the female phantom (top) and the male phantom (bottom). We introduced the plane wave with sinusoidal time dependence propagating along the y-axis and with the electric field polarized along the z-axis. The frequency of the excitation is 2.4 GHz. The voxel size is 1 mm3and VIC cell size is (2 mm)3. The computational requirements with the serial code are 35 min. CPU time and 23 GB memory for the female phantom, and 46 min. CPU time and 30 GB memory for the male phantom. IV. CONCLUSION With the VIC cell two times larger than the voxels, i.e. with eight voxels in each VIC cell, the overall number of cells is reduced with a factor of eight, and the stability condition is relaxed with a factor of two, resulting in large reduction of memory and CPU time requirements, at least an order of magnitude for the CPU time. ACKNOWLEDGEMENT This work was supported in part by EU Horizon 2020 Research and Innovation Programme under Marie Sklodowska- Curie Action under Grant 101066571, HECATE and by the Spanish National Project PID2019.106120RB.C33, PID2022- 137495OB-C31 and FEDER Project B-TIC-700-UGR20. REFERENCES [1] A. Taflove and S. Hagness, ”Computational Electrodynamics: The Finite– Difference Time–Domain Method, third ed.”, Boston, MA, Artech House, 2005. [2] K. Tekbas¸ and J.P. B´ erenger, “Finite-difference time-domain (FDTD) method with non-homogeneous cells filled with voxels,” J. Comput. Phys. vol. 489, pp. 112266, Sep. 2023. [3] K. Tekbas¸, J.P. B´ erenger, L. D. Angulo, M. Ruiz-Cabello and S.G. Garcia, “FDTD voxels-in-cell method with Debye media,” IEEE Trans. Antennas Propag., vol. 72, no. 5, pp. 4431-4439, May 2024. [4] A. Christ et al., “The virtual family–Development of surface-based anatomical models of two adults and two children for dosimetry simulations”, Phys. Med. Biol., vol. 55, no. 2, pp. N23-N38, Dec. 2009.