An efficient 2D/3D NURBS-based topology optimization implementation using page-wise matrix operation in MATLAB

被引:0
作者
Chungang Zhuang
Zhenhua Xiong
Han Ding
机构
[1] Shanghai Jiao Tong University,School of Mechanical Engineering
来源
Structural and Multidisciplinary Optimization | 2023年 / 66卷
关键词
Education; MATLAB; Topology optimization; Isogeometric analysis; Computational efficiency;
D O I
暂无
中图分类号
学科分类号
摘要
This paper presents a computationally efficient MATLAB implementation of two-dimensional/three-dimensional (2D/3D) topology optimization in non-uniform rational basis spline (NURBS) framework for educational purposes. The pseudo-densities and the related weights at control points define the NURBS-based density surface and are also simultaneously taken as the design variables, which extremely increases the computational expense due to the iterative numerical operations at Gauss integration points for isogeometric analysis (IGA) and sensitivity calculation. Thus, this paper designs the page-wise matrix operation and its implementation on graphics processing unit (GPU) to replace the element loop-based iteration to improve the computational efficiency. For the 2D problems, the main program of valid 34 lines of code (Appendix 1) is mainly divided by initialization of lines 3–11, IGA and sensitivity analysis of lines 13–30, and optimizer of lines 32–34. The sensitivity analysis function of valid 51 lines of code (Appendix 2) is programmed by the page-wise matrix operation. The optimization problems are solved by the Method of Moving Asymptotes (MMA) algorithm. The computational efficiency is largely improved in terms of the performance evaluation of the benchmark cases between the page-wise matrix-based procedure structure and the conventional element loop-based iteration algorithm. All programs that support the results of this study are completely provided and serve educational purposes for students and newcomers.
引用
收藏
相关论文
共 46 条
  • [31] Fast MATLAB evaluation of nonlinear energies using FEM in 2D and 3D: Nodal elements
    Moskovka, Alexej
    Valdman, Jan
    APPLIED MATHEMATICS AND COMPUTATION, 2022, 424
  • [32] A MATLAB Script for Solving 2D/3D Minimum Compliance Problems using Anisotropic Mesh Adaptation
    Jensen, Kristian Ejlebjerg
    26TH INTERNATIONAL MESHING ROUNDTABLE, (IMR26 2017), 2017, 203 : 102 - 114
  • [33] Pixel-based shape optimization in 2D using constrained density-based topology optimization
    Zegard, Tomas
    Salinas, Diego
    Silva, Emilio C. N.
    ENGINEERING WITH COMPUTERS, 2025,
  • [34] MATLAB implementations of velocity field level set method for topology optimization: an 80-line code for 2D and a 100-line code for 3D problems
    Yaguang Wang
    Zhan Kang
    Structural and Multidisciplinary Optimization, 2021, 64 : 4325 - 4342
  • [35] MATLAB implementations of velocity field level set method for topology optimization: an 80-line code for 2D and a 100-line code for 3D problems
    Wang, Yaguang
    Kang, Zhan
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2021, 64 (06) : 4325 - 4342
  • [36] Spline parameterization method for 2D and 3D geometries based on T-mesh optimization
    Lopez, J. I.
    Brovka, M.
    Escobar, J. M.
    Montenegro, R.
    Socorro, G. V.
    COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2017, 322 : 460 - 482
  • [37] Evidence-Based Optimization of Classroom Teaching Units Using 3D Printers for Designing Models-From the 2D Picture to the 3D Flower Model
    Bonorden, Marcel
    Papenbrock, Jutta
    EDUCATION SCIENCES, 2022, 12 (11):
  • [38] A SIMP-phase field topology optimization framework to maximize quasi-brittle fracture resistance of 2D and 3D composites
    Li, Pengfei
    Wu, Yi
    Yvonnet, Julien
    THEORETICAL AND APPLIED FRACTURE MECHANICS, 2021, 114
  • [39] Interactive 3D structural design in virtual reality using preference-based topology optimization
    Li, Zhi
    Lee, Ting-Uei
    Xie, Yi Min
    COMPUTER-AIDED DESIGN, 2025, 180
  • [40] Topological dimensionality reduction-based machine learning for efficient gradient-free 3D topology optimization
    Sun, Zhaoyou
    Wang, Yaguang
    Liu, Pai
    Luo, Yangjun
    MATERIALS & DESIGN, 2022, 220