摘要
参考区间法是连续体拓扑优化的算法之一,核心程序采用ANSYS参数化设计语言(APDL)编写。APDL程序编写过程简单方便,但调试困难,不利于做大规模二次开发使用。为了实现参考区间法面向工程的应用,有必要针对该算法的命令流文件开发出专用的图形用户界面(GUI)系统。C++是目前流行的通用程序设计语言之一,Qt库提供了一个完整的C++应用程序开发框架。本课题利用Qt库,编写一个GUI程序,使得由APDL语言编写的参考区间法分析程序可嵌入其中,从而实现GUI开发。
The reference-interval (RI) approach is one of the methods to solve the topology optimization of continua. The algo-rithm of RI approach is written in ANSYS Parameter Design Language (APDL) which is a type of script language for the creation of a model for finite element analysis or the secondary development of ANSYS. The characters of APDL are similar to those of Fortran Language, e.g., easy programming, but the code written in APDL is difficult to compile, which makes against the large scale secondary development. To improve the application of RI approach in practical engineerings, the development of the graphical user interfaces (GUI) for the code becomes urgent. The perspective is, by GUI, the one which could obtain the results easily by running the software after the specification of a few necessary parameters of algorithm. C + + is a very popular and generalized progrmnming language, and Qt library supplies an integrated development framework of the apphcation program written in C + + . In this work, a GU! program is compiled by using Qt library, in which the code for RI approach written in APDL could be embedded, therefore the development for GUI could be realized.
出处
《水利与建筑工程学报》
2010年第6期35-37,63,共4页
Journal of Water Resources and Architectural Engineering
基金
国家自然科学基金(50908190)
西北农林科技大学‘青年学术骨干支持计划’(Z111020903)
关键词
拓扑优化
参考区间法
APDL
二次开发
QT
C++
topology optimization
reference-interval approach
APDL
secondary development
Qt
C + +