摘要
OpenFOAM是一款功能丰富的开源CFD软件。但上述软件并不能直接在Windows系统下使用,同时软件没有可用的前后处理界面,使得其算例生成及使用操作极为繁琐。为了降低CFD用户使用时间成本,利用Visual Studio软件和C++语言开发大型装备用流场仿真定制软件。以上软件界面和可视化功能基于MFC框架开发,求解部分采用OpenFOAM内置求解器,可实现Windows环境下调用OpenFOAM进行大型装备流场性能智能仿真。开发的软件不仅可通过界面参数输入生成模板算例,且将繁琐的操作指令内置于界面按钮,使操作者可一键完成相关设置和性能模拟,极大地减少了用户的使用成本。同时,上述软件有助于不同领域行业的知识沉淀和成果积累,有力地促进产品正向设计和自主创新。
OpenFOAM is a feature rich open source CFD software.However,the above software cannot be directly used under the Windows system,and there is no available pre and post processing interface for the sofware,making its example generation and usage operations extremely cumbersome.In order to reduce the time cost for CFD users,this article used Visual Studio software together with the C++language to develop a specific software for flow field calculation of high-end equipments.The above software interface and visualization functions were developed based on the MFC framework,and the solution part used OpenFOAM built-in solver,which can achieve intelligent simulation of large-scale equipment flow field performance by calling OpenFOAM in the Windows environment.Furthermore,the developed software can not only generate the template files of the actual examples using interface parameter input,but also embed the cumbersome operation commands in the interface buttons,which greatly reduces the user's using cost.In addition,this software may contribute to the accumulation of the knowledge and achievements of different disciplines and industries,and effectively promotes positive product design and independent innovation of enterprises.
作者
张欣超
彭飞
张洪辉
ZHANG Xin-chao;PENG Fei;ZHANG Hong-hui(CRRC Industrial Research Institute Co.,Ltd.,Beijing 100071,China;Industrial Engineering Department of Tsinghua University,Beijing 100084,China)
出处
《计算机仿真》
北大核心
2023年第9期134-139,共6页
Computer Simulation
关键词
流场计算
软件开发
微软操作系统
智能制造
Flow field calculation
Software development
Windows system
Intelligent manufacturing