Electrodynamics#

Finite-difference time-domain (FDTD) solutions of Maxwell’s equations on a Yee grid, in 1D and 2D, plus a graded-conductivity absorbing boundary in the spirit of Berenger’s Perfectly Matched Layer. Also includes animated demos of a Hertzian oscillating dipole antenna, a wave crossing a dielectric slab, and a standing TM cavity mode.

A wave crossing a dielectric slab

A wave crossing a dielectric slab

A Hertzian dipole antenna radiating on the Yee grid

A Hertzian dipole antenna radiating on the Yee grid

A standing TM cavity mode oscillating in place

A standing TM cavity mode oscillating in place

Measuring the speed of light from Maxwell’s equations

Measuring the speed of light from Maxwell's equations

Berenger’s Perfectly Matched Layer vs. a hard wall

Berenger's Perfectly Matched Layer vs. a hard wall

A point source radiating on the Yee grid

A point source radiating on the Yee grid