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

Journal Article (2025)
Author(s)

Junpeng Wang (Technische Universität München)

Niels Aage (Technical University of Denmark (DTU))

J. Wu (TU Delft - Materials and Manufacturing)

Ole Sigmund (Technical University of Denmark (DTU))

Rudiger Westermann (Technische Universität München)

Research Group
Materials and Manufacturing
DOI related publication
https://doi.org/10.1007/s00158-025-04127-3
More Info
expand_more
Publication Year
2025
Language
English
Research Group
Materials and Manufacturing
Bibliographical Note
Green Open Access added to TU Delft Institutional Repository as part of the Taverne amendment. More information about this copyright law amendment can be found at https://www.openaccess.nl. Otherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.@en
Issue number
9
Volume number
68
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

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.

Files

S00158-025-04127-3.pdf
(pdf | 4.21 Mb)
License info not available
warning

File under embargo until 06-03-2026