arrow
Return

Efficient large-scale 3D topology optimization with matrix-free MATLAB code

delete2025-09-06
delete0
PRE
AI
J
Junpeng Wang *
N
Niels Aage
J
Jun Wu
O
Ole Sigmund
R
Rüdiger Westermann
DOI:10.1007/s00158-025-04127-3delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
This paper presents an efficient MATLAB framework for large-scale density-based topology optimization and porous infill optimization in 3D. Besides showing comparable computational efficiency with existing MATLAB implementations at equivalent simulation scales, this framework supports significantly larger models with up to 128 million hexahedral simulation elements on a standard PC equipped with 64 GB RAM. Furthermore, it can handle arbitrary non-cuboid design domains and does not require powers-of-two differences in the elements’ spatial resolutions. To achieve this, the technical contribution concentrates on solving the linear system of static finite element method (FEM). A tailored element-based matrix-free computing stencil is demonstrated to circumvent the vast memory consumption in large-scale FEM. Its computational efficiency is assured by fully leveraging the efficient matrix–vector operations and indexing functionalities in MATLAB. We further improve the computational efficiency and memory consumption of the MATLAB-implemented geometric multigrid method with a non-dyadic Galerkin coarsening and a diagonal relaxation scheme. All code is made publicly available at https://github.com/PSLer/TOP3D_XL .
Keywords:
Topology optimization
Porous infill
Multigrid method
Matrix-free

Journal

Structural and Multidisciplinary Optimization cover
Structural and Multidisciplinary Optimization
IF:
4
Papers:
4.8K
Citations:
1.7W

Organization

D
department of civil and mechanical engineering
Scholars:
70
Papers: 42
Citations: 0
D
Department of Sustainable Design Engineering
Scholars:
1
Papers: 2
Citations: 0
T
Technical University of Munich
Scholars:
5.2W
Papers: 3.9W
Citations: 6.2W
researcher View more organizations