A 120 lines code for isogeometric topology optimization and its extension to 3D in MATLAB

📅 2025-04-11
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the complexity and poor reproducibility of isogeometric topology optimization (ITO) implementations. We propose a minimalist, highly efficient MATLAB implementation—comprising only 120 lines for 2D and 257 lines for 3D—featuring a single main function with no subroutines or explicit mesh generation. Our method innovatively integrates closed-form analytical expressions for B-spline element stiffness matrices with Bezier extraction, entirely eliminating Gaussian quadrature and conventional FEM discretization. The framework combines isogeometric analysis (IGA) for geometry and field representation, the solid isotropic material with penalization (SIMP) interpolation scheme, and the method of moving asymptotes (MMA) optimizer, while maintaining full input compatibility with the classic top88 and top3D benchmarks. Numerical experiments demonstrate superior convergence behavior, accuracy, and computational efficiency compared to standard approaches. The fully open-source code significantly lowers the barrier to entry and practical adoption of ITO.

Technology Category

Application Category

📝 Abstract
In this paper, a compact and efficient code implementation is presented for isogeometric topology optimization (ITO) approach. With the aid of B.ezier extraction technique, a derived explicit stiffness matrix computation formula is applied to all B-spline IGA elements with rectangular shape under linear elasticity assumption. Using the aforementioned explicit formula, the stiffness matrix calculation and updating of IGA are significantly simplified, which leads to the current ITO code implemented only in one main function without calling subroutines, such as IGA mesh generation and Gaussian quadrature. Both two-dimensional (2D) and three-dimensional (3D) cases are taken into consideration, which result into iga_top120 and iga_top3D257 MATLAB codes for 2D and 3D design problems. Numerical examples validate the effectiveness of our open-source codes, with several user-defined input parameters basically identical to those used in top88 and top3D. Therefore, iga_top120 and iga_top3D257 provide an effective entry for the code transforming from FEM-based TO into ITO.
Problem

Research questions and friction points this paper is trying to address.

Compact MATLAB code for isogeometric topology optimization
Simplifies stiffness matrix computation in 2D and 3D
Transforms FEM-based topology optimization to ITO
Innovation

Methods, ideas, or system contributions that make the work stand out.

Uses Bėzier extraction for stiffness matrix computation
Implements ITO in one main MATLAB function
Extends code to 2D and 3D design problems
🔎 Similar Papers
No similar papers found.
X
Xianda Xie
School of Advanced Manufacturing, Nanchang University, Nanchang, 330031, China
Z
Zhihui Ou
School of Advanced Manufacturing, Nanchang University, Nanchang, 330031, China
A
Aodi Yang
Shenzhen Xinkailai Technology Co Ltd, Shenzhen, 518111, China
Xiaobing Li
Xiaobing Li
University of Wisconsin-Madison SUNY College of Optometry
saccade attention decision making
Shuting Wang
Shuting Wang
Gaoling School of Artificial Intelligence, Renmin University of China
Information RetrievalRetrieval-augmented Generation