A 99 line topology optimization code written in Matlab

被引:1982
|
作者
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 条
  • [1] A discrete level-set topology optimization code written in Matlab
    Vivien J. Challis
    Structural and Multidisciplinary Optimization, 2010, 41 : 453 - 464
  • [2] A discrete level-set topology optimization code written in Matlab
    Challis, Vivien J.
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2010, 41 (03) : 453 - 464
  • [3] An efficient 3D topology optimization code written in Matlab
    Liu, Kai
    Tovar, Andres
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2014, 50 (06) : 1175 - 1196
  • [4] An efficient 3D topology optimization code written in Matlab
    Kai Liu
    Andrés Tovar
    Structural and Multidisciplinary Optimization, 2014, 50 : 1175 - 1196
  • [5] A sequential element rejection and admission (SERA) topology optimization code written in Matlab
    Rubén Ansola Loyola
    Osvaldo M. Querin
    Alain Garaigordobil Jiménez
    Cristina Alonso Gordoa
    Structural and Multidisciplinary Optimization, 2018, 58 : 1297 - 1310
  • [6] A sequential element rejection and admission (SERA) topology optimization code written in Matlab
    Ansola Loyola, Ruben
    Querin, Osvaldo M.
    Garaigordobil Jimenez, Alain
    Alonso Gordoa, Cristina
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2018, 58 (03) : 1297 - 1310
  • [7] A new generation 99 line Matlab code for compliance topology optimization and its extension to 3D
    Ferrari, Federico
    Sigmund, Ole
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2020, 62 (04) : 2211 - 2228
  • [8] A new generation 99 line Matlab code for compliance topology optimization and its extension to 3D
    Federico Ferrari
    Ole Sigmund
    Structural and Multidisciplinary Optimization, 2020, 62 : 2211 - 2228
  • [9] An 89-line code for geometrically nonlinear topology optimization written in FreeFEM
    Zhu, Benliang
    Zhang, Xianmin
    Li, Hai
    Liang, Junwen
    Wang, Rixin
    Li, Hao
    Nishiwaki, Shinji
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2021, 63 (02) : 1015 - 1027
  • [10] An 89-line code for geometrically nonlinear topology optimization written in FreeFEM
    Benliang Zhu
    Xianmin Zhang
    Hai Li
    Junwen Liang
    Rixin Wang
    Hao Li
    Shinji Nishiwaki
    Structural and Multidisciplinary Optimization, 2021, 63 : 1015 - 1027