Efficient topology optimization in MATLAB using 88 lines of code. The paper presents an efficient 88 line MATLAB code for topology optimization. It has been developed using the 99 line code presented by {it O. Sigmund} [ibid. 21, No. 2, 120--127 (2001)] as a starting point. The original code has been extended by a density filter, and a considerable improvement in efficiency has been achieved, mainly by preallocating arrays and vectorizing loops. A speed improvement with a factor of 100 is obtained for a benchmark example with 7,500 elements. Moreover, the length of the code has been reduced to a mere 88 lines. These improvements have been accomplished without sacrificing the readability of the code. The 88 line code can therefore be considered as a valuable successor to the 99 line code, providing a practical instrument that may help to ease the learning curve for those entering the field of topology optimization. The paper also discusses simple extensions of the basic code to include recent PDE-based and black-and-white projection filtering methods. The complete 88 line code is included as an appendix and can be downloaded from the web site url{}.

References in zbMATH (referenced in 29 articles , 1 standard article )

Showing results 1 to 20 of 29.
Sorted by year (citations)

1 2 next

  1. Brune, Alexander; Kočvara, Michal: On barrier and modified barrier multigrid methods for three-dimensional topology optimization (2020)
  2. Du, Zongliang; Zhang, Weisheng; Zhang, Yupeng; Xue, Riye; Guo, Xu: Structural topology optimization involving bi-modulus materials with asymmetric properties in tension and compression (2019)
  3. Lagaros, Nikos D.; Vasileiou, Nikos; Kazakis, Georgios: A C# code for solving 3D topology optimization problems using SAP2000 (2019)
  4. Perry, Daniel J.; Kirby, Robert M.; Narayan, Akil; Whitaker, Ross T.: Allocation strategies for high fidelity models in the multifidelity regime (2019)
  5. Sosnovik, Ivan; Oseledets, Ivan: Neural networks for topology optimization (2019)
  6. Zhang, Huikai; Wang, Yaguang; Kang, Zhan: Topology optimization for concurrent design of layer-wise graded lattice materials and structures (2019)
  7. Jensen, Kristian Ejlebjerg: Topology optimization of Stokes flow on dynamic meshes using simple optimizers (2018)
  8. Xia, Liang; Xia, Qi; Huang, Xiaodong; Xie, Yi Min: Bi-directional evolutionary structural optimization on advanced structures and materials: a comprehensive review (2018)
  9. Bird, R. E.; Coombs, W. M.; Giani, S.: Fast native-MATLAB stiffness assembly for SIPG linear elasticity (2017)
  10. Kočvara, Michal; Mohammed, Sudaba: Primal-dual interior point multigrid method for topology optimization (2016)
  11. Ramírez-Gil, Francisco Javier; Nelli Silva, Emilío Carlos; Montealegre-Rubio, Wilfredo: Topology optimization design of 3D electrothermomechanical actuators by using GPU as a co-processor (2016)
  12. Tavakoli, Rouhollah: Optimal design of multiphase composites under elastodynamic loading (2016)
  13. Xia, Qi; Shi, Tielin: Constraints of distance from boundary to skeleton: for the control of length scale in level set based structural topology optimization (2015)
  14. Tavakoli, Rouhollah: Multimaterial topology optimization by volume constrained Allen-Cahn system and regularized projected steepest descent method (2014)
  15. Aage, Niels; Nobel-Jørgensen, Morten; Andreasen, Casper Schousboe; Sigmund, Ole: Interactive topology optimization on hand-held devices (2013) ioport
  16. Andreasen, Casper Schousboe; Sigmund, Ole: Topology optimization of fluid-structure-interaction problems in poroelasticity (2013)
  17. Jansen, Miche; Lombaert, Geert; Diehl, Moritz; Lazarov, Boyan S.; Sigmund, Ole; Schevenels, Mattias: Robust topology optimization accounting for misplacement of material (2013)
  18. Luo, Yangjun; Wang, Michael Yu; Kang, Zhan: An enhanced aggregation method for topology optimization with local stress constraints (2013)
  19. Qian, Xiaoping; Sigmund, Ole: Topological design of electromechanical actuators with robustness toward over- and under-etching (2013)
  20. Bruggi, Matteo; Duysinx, Pierre: Topology optimization for minimum weight with compliance and stress constraints (2012)

1 2 next