FORTRAN和C等高级语言使用广泛,但计算结果多为数值文本。通过编写数据接口,将FORTRAN边界元法程序的数值计算结果转换成Ensight输入文件,得出计算结果的场图像。这种方法具备视觉效果好、开发工作量低、对硬件图形库有较好支持等特点。同时,利用Ensight的功能,可进行数值观察、添加等值线等操作。
FORTRAN and C programs are extensively used as numerical calculation tools by researchers in various fields, and the numerical results are usually output in the text format. A field image can be obtained using Ensight via establishing the data interface of the Ensight software, and converting text results of a FORTRAN boundary element method example into a Ensight input file. The advantages of this technique are good visual effect, low development effort, better graphics library for hardware support and so on. In addition, observing the data and adding the equivalent line can be further accomplished in Ensight.