Open Access
ARTICLE
A Simple and Efficient Structural Topology Optimization Implementation Using Open-Source Software for All Steps of the Algorithm: Modeling, Sensitivity Analysis and Optimization
1 Coordination of Mechanical Engineering, Federal Institute of Science and Technology of ES - IFES, Aracruz-ES, 29192-733, Brazil
2 Department of Computational Mechanics, Faculty of Mechanical Engineering, Unicamp, Campinas-SP, 13083-860, Brazil
* Corresponding Author: Rafael Marin Ferro. Email:
Computer Modeling in Engineering & Sciences 2023, 136(2), 1371-1397. https://doi.org/10.32604/cmes.2023.026043
Received 11 August 2022; Accepted 09 October 2022; Issue published 06 February 2023
Abstract
This work analyzes the implementation of a continuous method of structural topology optimization (STO) using open-source software for all stages of the topology optimization problem: modeling, sensitivity analysis and optimization. Its implementation involves three main components: numerical analysis using the Finite Element Method (FEM), sensitivity analysis using an Adjoint method and an optimization solver. In order to allow the automated numerical solution of Partial Differential Equations (PDEs) and perform a sensitivity analysis, FEniCS and Dolfin Adjoint software are used as tools, which are open-source code. For the optimization process, Ipopt (Interior Point OPTimizer) is used, which is a software package for nonlinear optimization scale designed to find (local) solutions of mathematical optimization problems. The topological optimization method used is based on the SIMP-Solid Isotropic Material with Penalization interpolation. The considered problem is the minimization of compliance/maximization of stiffness, considering the examples of recurrent structures in the literature in 2D and 3D. A density filtering algorithm based on Helmholtz formulation is used. The complete code involves 51 lines of programming and is presented and commented in detail in this article.Keywords
Cite This Article
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.