Abstract
In this paper, we provides a two-dimensional topology optimization (TO) code which is an extended version of the 99-line TO code written by Sigmund. The 99-line TO code has been very popular for both engineers and researchers. However, it is only applicable to the rectangular design domain with square finite element (FE). Therefore, a new TO code is here produced by the extension of the optimality criteria and the filtering process. In addition, the input routine and FE analysis module are introduced to deal with more general TO problems. Numerical examples are carried out to verify the capability of the present Matlab code. From numerical results, it is found to be that the present code can successfully optimize arbitrary shapes of two-dimensional structures without any restrictions. Finally, we provide the present code as a prototype of structural TO Matlab code for future research works.