介绍了三维FDTD建模软件的开发,电磁建模和网格生成采用Visual Basic实现。该软件提供给FDTD仿真软件诸如介质、网格、边界条件、激励源设置之类的数据文件;自动生成满足FDTD算法条件的均匀或非均匀网格。采用OpenGL技术,通过对图形的旋转、平移、缩放、透视等操作对目标物体进行细致的实时观察与修改,实现了计算区间内电磁场的动态变化演示,具有建模速度快、可视化效果好等优点,保证了FDTD数值求解过程的正确与高效。最后利用该软件对微带拐角等不连续性问题进行了建模和仿真,取得了较好的效果。
3D FDTD modeling software is introduced in this paper.The electromagnetism modeling and mesh generation have been developed with Visual Basic.The software provides the FDTD simulator with the data files such as media,mesh,boundary,excitation source and so on.The uniform and non-uniform meshes can be generated automatically in according with FDTD arithmetic conditions.With OpenGL technology,it is convenient to observe and modify the objective by rotating,moving,scaling,perspective revealing and other operations and the varying electromagnetism field's distribution are also obtained.With the advantages of rapid modeling and 3D graphical display,the software ensures the correctness and effectiveness of the FDTD numerical solver.The modeling and simulation results of a microstrip bend show the usefulness of the software.