2. 3D Maxwell's Equations
Maxwell's equations are given by

. . . (1)
Let us find a S- and NS-FDTD algorithms for this wave equation.
Standard Yee Algorithm
Fig. 1. Yee cell in three dimensions. h is the grid spacing. Ex, Ey, Ez are electric field components.
Hx, Hy, Hz are magnetic field components. Each component alternately lies on the numerical grid.
In three dimensions, as shown in Fig. 1, the Yee cell is defined by

. . . (2)
Using the S-FDTD algorithm in the Yee cell, the Maxwell's equations are discretized as

. . . (3)
where dS = (dx, dy, dz).
Expanding the temporal difference operators, we obtain a "3D S-Yee algorithm,"

. . . (4)
Nonstandard Yee Algorithm
In the similar way to two dimensions, we define

. . . (5)
which satisfied dNS2 = dS⋅dNS = dNS⋅dS.
Using (5), we define

. . . (6)
where Z = (μ/ε)1/2. Since (6) is equivalent to the NS-FDTD algorithm for the 3D wave equation,
it is a high accuracy form optimized to a monochromatic wave. Expanding the temporal difference operators and using

. . . (7)
we obtain a "3D NS-Yee algorithm,"

. . . (8)
Copyright (C) 2011 Naoki Okada, All Rights Reserved.