节点文献

水流数值模拟中的混合编程技术

Mixed-language Programming of Flow Numerical Simulation

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 陈可锋喻国华徐永辉

【Author】 CHEN Ke-feng1,YU Guo-hua1,XU Yong-hui2(1.River and Port Department,Nanjing Hydraulic Research Institute,Nanjing 210029,China; 2.State Key Laboratory of Hydrology-Water Resources and Hydraulic Engineering,Nanjing 210098,China; 3.Geography Science Department,Nanjing Normal University,Nanjing 210097,China)

【机构】 南京水利科学研究院河港所南京师范大学地理科学学院 江苏南京210024水文水资源与水利工程科学国家重点实验室江苏南京210098江苏南京210024江苏南京210097

【摘要】 FORTRAN语言计算效率高但图形功能弱,Visual Basic(VB)计算效率低而图形功能强。为了发挥两者的优势,实现FORTRAN资源的再利用,以VB6.0和FORTRAN95为开发平台,通过动态链接库(DLL),探讨和演示了VB和FORTRAN混合编程技术在水流数值计算中的应用,实现了VB可视化界面与FORTRAN强大的数值计算能力的相结合。并探讨VB调用Surfer 8.0进行嵌入式编程,对水流数值模拟的结果进行了图形化处理和动态的显示。

【Abstract】 Fortran language is characterized by high calculating efficiency but weak graphic function,while Visual Basic 6.0(VB) is characterized by low calculating efficiency but powerful graphic function.In order to utilize their advantages adequately,and reuse resources of FORTRAN calculation program,the application of mixed-language programs in flow numerical simulation is discussed and demonstrated: By transferring Fortran′s dynamic-link library in Visual basic,integration between visual interface of VB and powerful calculating efficiency of FORTRAN language is realized.The procedure of developing VB with the embedded compiler of Surfer8.0 is also discussed,and the result of flow numerical simulation is displayed graphically and dynamically.

  • 【文献出处】 水运工程 ,Port & Waterway Engineering , 编辑部邮箱 ,2007年02期
  • 【分类号】TP311.11
  • 【被引频次】5
  • 【下载频次】207
节点文献中: 

本文链接的文献网络图示:

本文的引文网络