A discrete level-set topology optimization code written in Matlab
- 4.2k Downloads
This paper presents a compact Matlab implementation of the level-set method for topology optimization. The code can be used to minimize the compliance of a statically loaded structure. Simple code modifications to extend the code for different and multiple load cases are given. The code is inspired by a Matlab implementation of the solid isotropic material with penalization (SIMP) method for topology optimization (Sigmund, Struct Multidiscipl Optim 21:120–127, 2001). Including the finite element solver and comments, the code is 129 lines long. The code is intended for educational purposes, and in particular it could be used alongside the Matlab implementation of the SIMP method for topology optimization to demonstrate the similarities and differences between the two approaches.
KeywordsTopology optimization Level-set method Matlab code Education
Unable to display preview. Download preview PDF.
- Luo J, Luo Z, Chen S, Tong L, Wang MY (2008b) A new level set method for systematic design of hinge-free compliant mechanisms. Comput Methods Appl Mech Eng 198:318–331Google Scholar
- Osher S, Fedkiw R (2002) Level set methods and dynamic implicit surfaces. Applied mathematical sciences, vol 153. Springer, New YorkGoogle Scholar
- Sethian JA (1999) Level set methods and fast marching methods: evolving interfaces in computational geometry, fluid mechanics, computer vision and materials science. Cambridge Monographs on Applied and Computational Mathematics, vol 3, 2nd edn. Cambridge University Press, CambridgeGoogle Scholar