摘要
针对现有涂层体系三维点接触分析Fortran程序代码缺乏接触参数界面输入和计算结果界面可视化功能而应用不便的问题,文章基于Vb、Fortran和Matlab的混合编程,开发了涂层体系三维点接触分析软件。通过Vb软件设计了接触分析软件界面,实现了接触体几何尺寸、材料特性以及载荷等参数的界面输入;通过调用Fortran语言编译的动态链接库文件实现了涂层体系的三维接触分析计算;通过ActiveX技术调用Matlab的绘图功能实现了接触压力分布和次表层接触应力分布的界面可视化。结果表明:通过Vb、Fortran和Matlab的混合编程可以综合各软件语言的优势,实现参数输入界面化和计算结果界面可视化,有效解决单一Fortran程序代码应用不便的问题。2种计算结果的比对表明,本文开发的涂层三维接触分析软件的计算结果准确有效。
In order to solve the inconvenience in the application of the Fortran codes developed for the three-dimensional contact analysis of coating-substrate caused by the lack of functions at the interface input of contact parameters and interface visualization of calculation results,a three-dimensional contact analysis software is developed for coating-substrate system based on the hybrid programing of Vb,Fortran and Matlab.Software interface is designed with Vb for the interface input of the contact parameters,such as geometric size,material properties and load.The contact analysis of the coating-substrate system is further conducted by calling the dynamic link library file compiled by Fortran language.The interface visualizations of contact pressure distribution and subsurface contact stress distribution are realized by calling the drawing function of Matlab based on the ActiveX technology.The research shows that the hybrid programming of Vb,Fortran and Matlab can integrate their advantages,realize the interface input of the parameters and the interface visualization of calculation results,and effectively solve the inconvenience of the application of a single Fortran program code.The comparison between the calculation results of this software and those of the existing Fortran contact analysis code shows that the calculation results of the software developed are accurate for the analysis of coatings in three-dimensional contact.
作者
吴跃
王廷剑
孙厚涛
齐智慧
张永钊
王燕霜
宣兆成
WU Yue;WANG Ting-jian;SUN Hou-tao;QI Zhi-hui;ZHANG Yong-zhao;WANG Yan-shuang;XUAN Zhao-cheng(School of Mechanical Engineering,Tianjin University of Technology and Education,Tianjin 300222,China;School of Mechatronics Engineering,Harbin Institute of Technology,Harbin 150001,China;Aero Engine Corporation of China Harbin Bearing Co.,Ltd.,Harbin 150001,China)
出处
《天津职业技术师范大学学报》
2020年第4期12-18,共7页
Journal of Tianjin University of Technology and Education
基金
国家自然科学基金资助项目(51705364)
国家级大学生创新创业训练计划项目(201910066010)
天津市自然科学基金资助项目(18JCQNJC74900)
天津职业技术师范大学人才启动项目(KYQD1909).
关键词
涂层体系
接触分析
软件开发
混合编程
动态链接库
coating-substrate system
contact analysis
software development
hybrid programming
dynamic link library