PyHexTop: a compact Python code for topology optimization using hexagonal elements
arXiv:2310.01968 · doi:10.1007/978-981-96-1158-4_35
Abstract
Python serves as an open-source and cost-effective alternative to the MATLAB programming language. This paper introduces a concise topology optimization Python code, named ``\texttt{PyHexTop}," primarily intended for educational purposes. Code employs hexagonal elements to parameterize design domains as such elements provide checkerboard-free optimized design naturally. \texttt{PyHexTop} is developed based on the ``\texttt{HoneyTop90}" MATLAB code~\cite{kumar2023honeytop90} and uses the \texttt{NumPy} and \texttt{SciPy} libraries. Code is straightforward and easily comprehensible, proving a helpful tool that can help people new in the topology optimization field to learn and explore. \texttt{PyHexTop} is specifically tailored to address compliance minimization with specified volume constraints. The paper provides a detailed explanation of the code for solving the Messerschmitt-Bolkow-Blohm beam and extensions to solve problems different problems. The code is publicly shared at: https://github.com/PrabhatIn/PyHexTop
arXiv comment3 Figures
References in corpus (4)
- HoneyTop90: A 90-line MATLAB code for topology optimization using honeycomb tessellation
- TOPress: a MATLAB implementation for topology optimization of structures subjected to design-dependent pressure loads
- On Topology optimization with elliptical masks and honeycomb tessellation with explicit length scale constraints
- SoRoTop: a hitchhiker's guide to topology optimization MATLAB code for design-dependent pneumatic-driven soft robots