论文部分内容阅读
为快速开发计算水力学通用后处理模块,提出了多种高级计算机语言混合编程并与调用图形应用程序接口(API)相结合的开发模式。该方法最大限度地利用现有源代码,便于软件内容的扩展及实现后处理模块与计算主程序的数据交互,保证了软件的通用性,节约了资源;在高级编程语言基础上编制交互界面,调用API底层图形库使得流场、等值线、流速矢量图等水力学图形图像易于实现,并可实现灵活的人机交互。
In order to rapidly develop a computational hydraulic general-purpose post-processing module, a variety of advanced computer language hybrid programming and call graphics application programming interface (API) combined development model. The method makes full use of the existing source code to facilitate the expansion of the software content and the data interaction between the post-processing module and the calculation main program to ensure the universality of the software and save the resources. The interactive interface is programmed on the basis of the advanced programming language, Call the underlying graphics library API makes the flow field, contours, flow rate vector graphics and other hydraulic graphics easy to implement, and to achieve flexible human-computer interaction.