This program simulate PML as absorbing boundary condition for 2D-FDTD of TMz mode EM wave. This program works for any rectangular workspace with same or different step size in x and y direction
Abhishek Anchal (2020). PML in 2D FDTD of TMz mode EM wave (https://www.mathworks.com/matlabcentral/fileexchange/45487-pml-in-2d-fdtd-of-tmz-mode-em-wave), MATLAB Central File Exchange. Retrieved .
Thank you for referring the book. I shall be thankful if you could answer two of my queries:
1- Why did you need to insert the ABC for the incident buffer? Since PML should do the job. I have tried to simulate without ABC buffer, but I got reflections from the TFSF boundary after a while...
2- The other point, which I did not understand is that, why do we need to inverse the permittivity and permeability in the direction we apply PML to other directions, for example ufx(x) = 1/ufx(y).
I hope that you explanation will be much beneficial to me.
Sorry for late reply.
You can refer the book Electromagnetic Simulation Using the FDTD Method, 2nd Edition by Dennis M. Sullivan for more details.
Can you please refer the text to understand the formulations.