arrow
Return

PyTOaCNN: Topology optimization using an adaptive convolutional neural network in Python

delete2025-11-25
delete0
PRE
AI
K
Khaish Singh Chadha
P
Prabhat Kumar *
DOI:10.1007/s00500-025-10919-ydelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
This paper introduces an adaptive convolutional neural network (CNN) architecture capable of automating various topology optimization (TO) problems with diverse underlying physics. The proposed architecture has an encoder-decoder-type structure with dense layers added at the bottleneck region to capture geometrical features. To further improve the network’s ability to capture intricate geometry, an adaptive layer with user-defined neurons is incorporated into the dense layers. TensorFlow and Keras are the main libraries employed to develop and train the model. The network is trained using datasets obtained by the problem-specific open-source TO codes. The model takes the user’s input of the volume fraction as an image and instantly generates an optimized design post-training. To demonstrate the effectiveness and robustness of the proposed adaptive CNN model various numerical experiments that include compliance minimization problems with constant and design-dependent loads and bulk modulus optimization are performed. The model produces high-quality results for test problems resembling those obtained by open-source TO codes with insignificant objective and volume fraction errors. To facilitate reproducibility and ease of learning for those new to the field, the paper also includes the associated Python code (Appendix A) and explains it.
Keywords:
Topology Optimization
Machine Learning
Python Code
Convolutional Neural Network
Design-Dependent Loads
Bulk Modulus Optimization

Journal

Soft Computing cover
Soft Computing
IF:
2.5
Papers:
1.0W
Citations:
2.1W

Organization

D
department of mechanical and aerospace engineering
Scholars:
332
Papers: 160
Citations: 2
Cited Papers

Cited Papers

Deep Generative Design: Integration of Topology Optimization and Generative Models
err2019-09-16
err0
errOAAI
errSangeun Oh; Yongsu Jung; Seongsin Kim; Ikjin Lee; Namwoo Kang
errShare
errSave
Efficient topology optimization in MATLAB using 88 lines of code
err2010-11-20
err1.3K
PREAI
errAndreassen, Erik; Clausen, Anders; Schevenels, Mattias; Lazarov, Boyan S.; Sigmund, Ole
errShare
errSave
Holistic computational design within additive manufacturing through topology optimization combined with multiphysics multi-scale materials and process modelling
err2023-09-01
err38
errOAAI
errBayat, Mohamad; Zinovieva, Olga; Ferrari, Federico; Ayas, Can; Langelaar, Matthijs; Spangenberg, Jon; Salajeghe, Roozbeh; Poulios, Konstantinos; Mohanty, Sankhya; Sigmund, Ole; Hattel, Jesper
errShare
errSave
researcher View more