Finite-Difference Time-Domain

Measurement
Introduced by
Kane Yee
Year
1966
Type
Finite-difference algorithm
Family
Computational

What does it do?

The Finite-Difference Time-Domain (FDTD) method solves Maxwell's equations numerically by discretising space and time on a grid and stepping the electric and magnetic fields forward in time.

Kane Yee introduced the underlying finite-difference scheme in 1966. It is widely used in computational electrodynamics and optical simulation to model how electromagnetic waves propagate through complex structures and media.

The intuition behind the method

FDTD stores the electric and magnetic fields at grid points and advances time in discrete steps. At each step, E is updated from the spatial curl of H, and H from the curl of E, using finite-difference approximations. The staggered Yee grid places the field components so that each curl is a central difference between neighbouring points, which gives second-order accuracy. Stability is not guaranteed by the grid layout alone; it depends on keeping the time step below the Courant limit. Because the method works in the time domain, a single run yields transient fields, and nonlinear or dispersive updates can be inserted at each step.

History

Kane Yee's 1966 paper replaced Maxwell's equations with finite-difference equations on a staggered arrangement of field points, and illustrated the approach with the scattering of an electromagnetic pulse by a perfectly conducting cylinder. Subsequent work extended the method to a much wider range of electromagnetic problems. The monograph by Taflove and Hagness, cited here as a standard reference, documents this development.

When to use it

Choose FDTD for time-dependent, broadband or nonlinear optical problems, for structures with complex geometry or dispersive materials, and when you need near-field distributions or transient behaviour. Pulse propagation and harmonic generation are natural fits because the solution is obtained in the time domain. Avoid FDTD when only the steady response at a single frequency is needed for a high-Q resonator, since the simulation must run through many time steps of ringing before the response settles. Frequency-domain solvers are usually more economical for that case.

Limitations and considerations

  • Discretisation introduces grid dispersion and numerical anisotropy, so the apparent phase velocity depends on propagation direction and on wavelength relative to cell size; fine meshes are needed to keep these errors small
  • The explicit time step must satisfy the Courant limit set by the smallest cell, so fine local features force very small steps across the whole domain
  • Narrow-band or steady-state analysis requires running until transients decay, which can take many time steps; cost grows steeply as a three-dimensional grid is refined
  • Memory for the field arrays over a large 3D grid can become prohibitive
  • Results for open domains depend on the absorbing boundary; imperfect absorption produces spurious reflections

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Solves the time-dependent curl equations of Maxwell's equations directly on the grid, so transient fields and pulse propagation come from one run
  • Handles nonlinear and dispersive materials by adding update equations at each time step
  • Accepts arbitrary geometries and inhomogeneous media through material values assigned cell by cell
  • Each explicit update uses only neighbouring cells, so the work per time step is modest and parallelises readily across processors and GPUs
  • Errors come from a known discretisation and can be reduced by refining the mesh and checking the time step

Applications

  • Microwave and millimeter-wave antenna design and electromagnetic compatibility analysis
  • Optical waveguide and photonic crystal device simulation
  • Metamaterial and plasmonic resonator design and characterization
  • Bioelectromagnetics and specific absorption rate (SAR) assessment in medical devices
  • Terahertz spectroscopy and imaging system design

How it works

How it works

1

Divide the computational domain into cells with spacings Δx, Δy and Δz, which may be uniform or non-uniform. Choose a time step Δt that satisfies the Courant condition set by the smallest spacing.

2

Set the initial E and H values at all grid points, usually to zero. Alternatively, impose a source that injects a chosen field profile during the run. Soft sources add the excitation to the field update, so the grid remains transparent to waves passing through it. Hard sources overwrite field values at chosen points and can reflect waves that return to them. Choose a pulse whose spectrum covers the band of interest, and check that the source does not reflect back from the domain boundaries.

3

Advance E and H in alternating half-steps, so that each E component is updated from the curl of H and each H component from the curl of E. Dispersive or nonlinear materials add auxiliary updates at this stage.

4

Apply conditions at the edges of the domain. Perfectly conducting walls set the tangential E to zero, while absorbing layers such as PML suppress artificial reflection from the truncated edge. The choice determines whether the domain represents a closed cavity or an open region.

5

Record field snapshots or integrate quantities such as power flow. Transform the time-domain response, for example by Fourier transform, to obtain spectra, transmission and reflection, or mode profiles.

Common pitfalls

  • Exceeding the Courant limit for the smallest cell (for cubic 3D cells, Δt > Δx/(c√3), with c the light speed in the medium) makes the fields grow without bound. High-index regions have a smaller local c and therefore a tighter limit
  • Features smaller than the grid spacing are not resolved: they are smeared over a cell or missed entirely. Mesh sizing should follow the finest geometric detail and the wavelength in the material
  • Closing an open region with perfectly conducting walls creates cavity modes, while absorbing layers that are too thin or placed too close to a source can reflect energy back into the domain
  • A domain too small for the simulated time window lets waves return from the edges or wrap around periodic boundaries, distorting spectra

Frequently asked questions

Why is the Yee grid staggered, and why does it matter?

The Yee grid staggers the field components: E components sit on cell edges and H components sit at the centres of cell faces, with H also offset from E by half a time step. This arrangement makes each curl a central difference between neighbouring points, giving second-order accuracy in space and time. It also builds the discrete form of Maxwell's divergence-free conditions into the grid, which helps avoid spurious modes.

What is the Courant criterion, and how do I choose a safe time step?

The Courant criterion states Δt ≤ Δx / (c √3) for 3D (or Δx / (c √2) for 2D, Δx / c for 1D) where Δx is the smallest grid spacing and c is the light speed in the medium. A safe choice is Δt = 0.99 × Δx / (c √3). Smaller time steps increase accuracy but slow the simulation; larger steps risk instability.

When should I use absorbing boundaries (PML) instead of metal walls?

Use PML to model open or semi-infinite domains where you want outgoing waves to exit without reflection. Use metal walls (perfect electric conductor) to model closed cavities or shielding. PML adds computational cost but is usually required for modeling antennas, free-space radiation, and scattering from isolated objects.

How do I handle dispersive materials like glasses or metals?

Dispersive materials require frequency-dependent permittivity ε(ω). In FDTD, use auxiliary differential equations (ADE) to track polarization or magnetization currents, or use frequency-dependent conductivity (Drude models). These approaches add complexity but enable accurate simulation of chromatic dispersion and plasmonic resonances.

Related methods

Sources

  1. Yee, K. S. (1966). Numerical solution of initial boundary value problems involving Maxwell's equations in isotropic media. IEEE Transactions on Antennas and Propagation, 14(3), 302-307.

    Open DOI reference
  2. Taflove, A., & Hagness, S. C. (2005). Computational Electrodynamics: The Finite-Difference Time-Domain Method (3rd ed.). Artech House.

    Open publication reference
  3. Sullivan, D. M. (2000). Electromagnetic simulation using the FDTD method. IEEE Press.

    Open publication reference