HoneyTop90: A 90-line MATLAB code for topology optimization using honeycomb tessellation

被引:10
作者
Kumar, P. [1 ,2 ]
机构
[1] Indian Inst Sci, Dept Mech Engn, Bengaluru 560012, Karnataka, India
[2] Indian Inst Technol Hyderabad, Dept Mech & Aerosp Engn, Hyderabad 520085, India
关键词
Topology optimization; Hexagonal elements; MATLAB; Wachspress shape functions; Compliance minimization; FINITE-ELEMENTS; WRITTEN; DESIGN; FILTERS; MASKS;
D O I
10.1007/s11081-022-09715-6
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
This paper provides a simple, compact and efficient 90-line pedagogical MATLAB code for topology optimization using hexagonal elements (honeycomb tessellation). Hexagonal elements provide nonsingular connectivity between two juxtaposed elements and, thus, subdue checkerboard patterns and point connections inherently from the optimized designs. A novel approach to generate honeycomb tessellation is proposed. The element connectivity matrix and corresponding nodal coordinates array are determined in 5 (7) and 4 (6) lines, respectively. Two additional lines for the meshgrid generation are required for an even number of elements in the vertical direction. The code takes a fraction of a second to generate meshgrid information for the millions of hexagonal elements. Wachspress shape functions are employed for the finite element analysis, and compliance minimization is performed using the optimality criteria method. The provided MATLAB code and its extensions are explained in detail. Options to run the optimization with and without filtering techniques are provided. Steps to include different boundary conditions, multiple load cases, active and passive regions, and a Heaviside projection filter are also discussed. The code is provided in Appendix A, and it can also be downloaded along with supplementary materials from .
引用
收藏
页码:1433 / 1460
页数:28
相关论文
共 32 条
  • [21] MATLAB implementations for 3D geometrically nonlinear topology optimization: 230-line code for SIMP method and 280-line code for MMB method
    Yanfang Zhao
    Guikai Guo
    Wenjie Zuo
    Structural and Multidisciplinary Optimization, 2023, 66
  • [22] 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
  • [23] An efficient 137-line MATLAB code for geometrically nonlinear topology optimization using bi-directional evolutionary structural optimization method
    Han, Yongsheng
    Xu, Bin
    Liu, Yuanhao
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2021, 63 (05) : 2571 - 2588
  • [24] An efficient 137-line MATLAB code for geometrically nonlinear topology optimization using bi-directional evolutionary structural optimization method
    Yongsheng Han
    Bin Xu
    Yuanhao Liu
    Structural and Multidisciplinary Optimization, 2021, 63 : 2571 - 2588
  • [25] 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
  • [26] An efficient 146-line 3D sensitivity analysis code of stress-based topology optimization written in MATLAB
    Deng, Hao
    Vulimiri, Praveen S.
    To, Albert C.
    OPTIMIZATION AND ENGINEERING, 2022, 23 (03) : 1733 - 1757
  • [27] 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
  • [28] 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
  • [29] Further elaborations on topology optimization via sequential integer programming and Canonical relaxation algorithm and 128-line MATLAB code
    Liang, Yuan
    Cheng, Gengdong
    STRUCTURAL AND MULTIDISCIPLINARY OPTIMIZATION, 2020, 61 (01) : 411 - 431
  • [30] Further elaborations on topology optimization via sequential integer programming and Canonical relaxation algorithm and 128-line MATLAB code
    Yuan Liang
    Gengdong Cheng
    Structural and Multidisciplinary Optimization, 2020, 61 : 411 - 431