摘要
为了研究圆柱型波导TE模式电磁场的计算的与电流场分布问题,为此采用了科学计算可视化的研究方法。本课题采用了OpenGL与C++builder联合编程直观显示其电磁场与电流分布覆盖图。
首先,阐述了该课题的研究背景与国内外研究动态和OpenGL的基本概念简单概述,说明了在C++ Builder环境下如何利用OpenGL进行编程,为它们的混合编程提供了一个基本的框架。其次,在此次设计中通过电磁场的基本理论和电磁场的基本电磁理论,推导得出圆形波导电场、磁场和表面电流的表达式。最后,利用C++builder与OpenGL混合编做出其电场、磁场和表面电流的分布覆盖图,通过图示探讨其电磁场与电流分布及特点。
通过使用OpenGL和C++builder混合编程将复杂、抽象的电磁场数据直观形象的展现出来对研究其电磁现象寻找其规律有很大的帮助。
关键词 OpenGL;可视化;场覆盖图
Abstract
To study the cylindrical waveguide TE mode electromagnetic field distribution calculated with the current field problems, this u of visualization in scientific computing rearch methods. This topic us OpenGL and C + + builder programming to visual display of its electromagnetic field and current distribution overlay.
First, an overview of the rearch background and rearch trends at home and abroad, and OpenGL overview of the basic concept is simple, illustrated in C + + Builder environment, how to u OpenGL programming, for their mix of programming provides a basic framework. Secondly, the design introduced in the basic theory of electromagnetic fields, the basic electromagnetic theory through the electromagnetic field, derive the electric field, magnetic field and surface current expressions. Finally, the u of C + + builder and OpenGL code to make the mixed electric and magnetic fields and surface current distribution overlay, by the icon of the electromagnetic field and current distribution and characteristics.
By using OpenGL and C + + builder programming mix will be complex, abstract visual image of the electromagnetic field data show up on the study to find the laws of electromagnetic phenomena is very helpful.
Keywords OpenGL; Visualization;Field Overlay