Topology optimization using PETSc: a Python wrapper and extended functionality
Open Access
- 14 September 2021
- journal article
- research article
- Published by Springer Nature in Structural and Multidisciplinary Optimization
- Vol. 64 (6) , 4343-4353
Abstract
This paper presents a Python wrapper and extended functionality of the parallel topology optimization framework introduced by Aage et al. (Topology optimization using PETSc: an easy-to-use, fully parallel, open source topology optimization framework. Struct Multidiscip Optim 51(3):565–572, 2015). The Python interface, which simplifies the problem definition, is intended to expand the potential user base and to ease the use of large-scale topology optimization for educational purposes. The functionality of the topology optimization framework is extended to include passive domains and local volume constraints among others, which contributes to its usability to real-world design applications. The functionality is demonstrated via the cantilever beam, bracket and torsion ball examples. Several tests are provided which can be used to verify the proper installation and for evaluating the performance of the user’s system setup. The open-source code is available at https://github.com/thsmit/, repository $$\texttt {TopOpt\_in\_PETSc\_wrapped\_in\_Python}$$ .
Keywords
Funding Information
- H2020 Marie Sklodowska-Curie Actions (812765)
- Villum Fonden (Villum Investigator Project InnoTop)
This publication has 28 references indexed in Scilit:
- On multigrid-CG for efficient topology optimizationStructural and Multidisciplinary Optimization, 2013
- Filters in topology optimization based on Helmholtz‐type differential equationsInternational Journal for Numerical Methods in Engineering, 2010
- Efficient topology optimization in MATLAB using 88 lines of codeStructural and Multidisciplinary Optimization, 2010
- Imposing maximum length scale in topology optimizationStructural and Multidisciplinary Optimization, 2008
- Morphology-based black and white filters for topology optimizationStructural and Multidisciplinary Optimization, 2007
- A 99 line topology optimization code written in MatlabStructural and Multidisciplinary Optimization, 2001
- Filters in topology optimizationInternational Journal for Numerical Methods in Engineering, 2001
- Efficient Management of Parallelism in Object-Oriented Numerical Software Libraries1997
- On the Design of Compliant Mechanisms Using Topology Optimization*Mechanics of Structures and Machines, 1997
- The method of moving asymptotes—a new method for structural optimizationInternational Journal for Numerical Methods in Engineering, 1987