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 条
  • [21] A filter-based level set topology optimization method using a 62-line MATLAB code
    Mohammad Yaghmaei
    Ali Ghoddosian
    Mohammad Mahdi Khatibi
    Structural and Multidisciplinary Optimization, 2020, 62 : 1001 - 1018
  • [22] A filter-based level set topology optimization method using a 62-line MATLAB code
    Yaghmaei, Mohammad
    Ghoddosian, Ali
    Khatibi, Mohammad Mahdi
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2020, 62 (02) : 1001 - 1018
  • [23] IbIPP for topology optimization-An Image-based Initialization and Post-Processing code written in MATLAB
    Ibhadode, Osezua
    Zhang, Zhidong
    Bonakdar, Ali
    Toyserkani, Ehsan
    SOFTWAREX, 2021, 14
  • [24] A 101-line MATLAB code for topology optimization using binary variables and integer programming
    Renato Picelli
    Raghavendra Sivapuram
    Yi Min Xie
    Structural and Multidisciplinary Optimization, 2021, 63 : 935 - 954
  • [25] A 101-line MATLAB code for topology optimization using binary variables and integer programming
    Picelli, Renato
    Sivapuram, Raghavendra
    Xie, Yi Min
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2021, 63 (02) : 935 - 954
  • [26] A 117 Line 2D Digital Image Correlation Code Written in MATLAB
    Atkinson, Devan
    Becker, Thorsten
    REMOTE SENSING, 2020, 12 (18)
  • [27] Matlab code for a level set-based topology optimization method using a reaction diffusion equation
    Masaki Otomori
    Takayuki Yamada
    Kazuhiro Izui
    Shinji Nishiwaki
    Structural and Multidisciplinary Optimization, 2015, 51 : 1159 - 1172
  • [28] Matlab code for a level set-based topology optimization method using a reaction diffusion equation
    Otomori, Masaki
    Yamada, Takayuki
    Izui, Kazuhiro
    Nishiwaki, Shinji
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2015, 51 (05) : 1159 - 1172
  • [29] A MATLAB topology optimization code to control the trajectory of particle in fluid
    Choi, Young Hun
    Yoon, Gil Ho
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2023, 66 (04)
  • [30] A MATLAB code for topology optimization using the geometry projection method
    Hollis Smith
    Julián A. Norato
    Structural and Multidisciplinary Optimization, 2020, 62 : 1579 - 1594