2D FDTD code with TF/SF interface and UPML absorbing borders

Simple example implements FDTD + UPML + Total Field/Scattered Field interface

You are now following this Submission

The example contains:
1. 2D FDTD algorithm for simultaneously TE and TM modes calculation,
2. Uniaxial PML absorbing border conditions,
3. Total Field/Scattered field (TF/SF) interface for plane EM-waves scattering problems investigations.

Works well for free-form scatterers with constant permittivities, permeabilities and conductivities. Number of materials isn't limited.
For more details see Allen Taflove's "bible".

Cite As

Vasily Kozhevnikov (2026). 2D FDTD code with TF/SF interface and UPML absorbing borders (https://www.mathworks.com/matlabcentral/fileexchange/41518-2d-fdtd-code-with-tf-sf-interface-and-upml-absorbing-borders), MATLAB Central File Exchange. Retrieved .

Categories

Find more on View and Analyze Simulation Results in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

TE mode corrected (grid collocation)

1.0.0.0