Journal of Qujing Normal University ›› 2023, Vol. 42 ›› Issue (3): 9-14.

Previous Articles     Next Articles

Numerical Analysis of Finite Difference Method of Electromagnetic Fields Based on MATLAB

ZHU Yongfang   

  1. Department of Elementary Courses, Anhui Sanlian University , Hefei Anhui 230601, China
  • Received:2022-12-12 Online:2023-05-26 Published:2023-06-30

Abstract: The FDTD method is used to simulate the two-dimensional electromagnetic field through MATLAB software, and the numerical value of the electromagnetic field finite difference method is analyzed. The results show that the FDTD method is suitable for calculating the complex electromagnetic field values. Both the rectangular infinite slot model and the two-dimensional square electrostatic field model can be used for simple electromagnetic field calculation. The numerical analysis shows that the number of iterations of the rectangular infinite slot model is 213.The iteration number of two-dimensional square electrostatic field model is 62. The intensity of the electric field can be reflected from the density of the lines in the figure. The solution results of the over-relaxation method and the simple iteration method are related to the number of grids set. When the grid area values are uneven, the field changes cannot be reflected by the difference scheme. The integral form of Maxwell equations can reflect the change information of the field in the grid, and the difference equation obtained is more accurate.

Key words: MATLAB software, finite difference method, electromagnetic field, numerical analysis

CLC Number: