摘要
借鉴国外在开发数值计算软件上的模式 ,结合多相流动数值计算理论和COM结构程序设计方法 ,以气固两相流动为例 ,提出一种新的软件设计思路 .基于这种思路 ,以VisualC + +为开发工具 ,把数值计算软件分解为图形交互界面部分和计算组件部分 ,既解决了传统数值计算软件中的难以与用户交互的问题 ,又将计算程序分解为可以动态连接的组件 ,很好地解决了开发软件中的修改与升级问题 .同时开发出的计算组件可以应用于VisualC + +、VisualBasic等不同的程序编写环境 ,并且可以通过网络实现计算组件共享 ,从而有效地提高了编写数值计算软件的效率 .
This article follows the foreign model of developing numerical software based on the theory of multi phase flow and COM, and brings forward a new method of developing numerical software by making gas solid flow as an example. With this method and the developing tool of Visual C++, the numerical software is divided into GUI and numerical interface. Thus, the problem that it is difficult in directly exchanging data between user and software in traditional numerical software is well settled, and the problem of modifying and upgrading the software is also well settled by compiling the numerical part as DLL component. The developed components can be used in such developing environment as Visual C++,Visual Basic and so on, they can also be shared in through networks, thus the efficient is greatly increased.
出处
《上海电力学院学报》
CAS
2001年第2期19-22,共4页
Journal of Shanghai University of Electric Power