A 99 line topology optimization code written in Matlab

被引:1986
作者
Sigmund, O [1 ]
机构
[1] Tech Univ Denmark, Dept Solid Mech, DK-2800 Lyngby, Denmark
关键词
topology optimization; education; optimality criteria; world-wide web; Matlab code;
D O I
10.1007/s001580050176
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
The paper presents a compact Matlab implementation of a topology optimization code for compliance minimization of statically loaded structures. The total number of Matlab input lines is 99 including optimizer and Finite Element subroutine. The 99 lines are divided into 36 lines for the main program, 12 lines for the Optimality Criteria based optimizer, 16 lines for a mesh-independency filter and 35 lines for the finite element code. In fact, excluding comment lines and lines associated with output and finite element analysis, it is shown that only 49 Matlab input lines are required for solving a well-posed topology optimization problem. By adding three additional lines, the program can solve problems with multiple load cases. The code is intended for educational purposes. The complete Matlab code is given in the Appendix and can be down-loaded from the web-site http://www.topopt.dtu.dk.
引用
收藏
页码:120 / 127
页数:8
相关论文
共 50 条
  • [31] A MATLAB topology optimization code to control the trajectory of particle in fluid
    Young Hun Choi
    Gil Ho Yoon
    Structural and Multidisciplinary Optimization, 2023, 66
  • [33] A MATLAB code for topology optimization using the geometry projection method
    Smith, Hollis
    Norato, Julian A.
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2020, 62 (03) : 1579 - 1594
  • [34] HoneyTop90: A 90-line MATLAB code for topology optimization using honeycomb tessellation
    P. Kumar
    Optimization and Engineering, 2023, 24 : 1433 - 1460
  • [35] An 88-line MATLAB code for the parameterized level set method based topology optimization using radial basis functions
    Peng Wei
    Zuyu Li
    Xueping Li
    Michael Yu Wang
    Structural and Multidisciplinary Optimization, 2018, 58 : 831 - 849
  • [36] A 213-line topology optimization code for geometrically nonlinear structures
    Qi Chen
    Xianmin Zhang
    Benliang Zhu
    Structural and Multidisciplinary Optimization, 2019, 59 : 1863 - 1879
  • [37] A 213-line topology optimization code for geometrically nonlinear structures
    Chen, Qi
    Zhang, Xianmin
    Zhu, Benliang
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2019, 59 (05) : 1863 - 1879
  • [38] PolyMat: an efficient Matlab code for multi-material topology optimization
    Emily D. Sanders
    Anderson Pereira
    Miguel A. Aguiló
    Glaucio H. Paulino
    Structural and Multidisciplinary Optimization, 2018, 58 : 2727 - 2759
  • [39] PolyMat: an efficient Matlab code for multi-material topology optimization
    Sanders, Emily D.
    Pereira, Anderson
    Aguilo, Miguel A.
    Paulino, Glaucio H.
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2018, 58 (06) : 2727 - 2759
  • [40] 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