The book "The Finite Difference Time Domain for Electromagnetics" by Karl Kunz and Raymond Luebbers, CRC Press, 1993, contains an FDTD code and output files in Appendix B. The same code and output files are contained in this directory.
外國人開發的電磁時域有限差分方法工具包
Electromagnetic FinITE-Difference Time-Domain (EmFDTD)
is a basic two-dimensional FDTD code developed at the
School of Electrical Engineering, Sharif University of
Technology.
This code has been written based on the standard
Yee s FDTD algorithm. Applications include propagation,
scattering, and diffraction of electromagnetic waves
in homogeneous and non-homogeneous isotropic media
for in-plane propagating waves. Negative permittivites
or permeabilities as well as dispersion is not included.
Zero, Periodic, and Perfectly Matched Layer boundary
conditions may be selectively applied to the solution
domain.
The program is best suited for study of propagation and
diffraction of electromagnetic waves in Photonic Crystal
structures.
EmFDTD is written in MATLAB language and has been
tested under MATLAB 5.0 and higher versions.
This MATLAB M-file implements the FinITE-Difference time-domain solution of Maxwell s curl equations over a one-dimensional space lattice comprised of uniform grid cells.