Sliced Tensor Operators for Large-Scale Topology Optimization
Abstract
Large-scale three-dimensional topology optimization is constrained by both the cost of repeatedly solving the governing finite-element equations and the memory required by these computations. Memory consumption can be controlled through specialized low-level implementations, but developing, optimizing, and extending such code requires substantial effort and hardware-specific expertise. High-level tensor programming frameworks, which support automatic differentiation, offer an attractive alternative: numerical operations can be expressed compactly, while their compilers generate highly optimized code for CPUs and GPUs. However, a direct tensor formulation creates intermediate arrays that can quickly exhaust the available memory. We address this limitation through memory-bounded tensor operators for matrix-free finite-element analysis and Galerkin multigrid. The fine-grid stiffness action is evaluated in overlapping spatial slices, and on coarse grids, the Galerkin operator is retained in a factorized representation consisting of fine-grid stiffness interpolation coefficients and precomputed local operators. This representation permits its action to be evaluated without materializing a spatially varying stiffness operator on every coarse grid, while preserving the exact Galerkin hierarchy. We implement these formulations in topax, a modular JAX library for two- and three-dimensional density-based topology optimization supporting CPUs and GPUs. On a single NVIDIA GH200, topax performs 50 design iterations for a problem with more than 809 million displacement degrees of freedom in approximately minutes. Across the common GPU benchmark, it is up to times faster than the fastest competing implementation and uses less than half the device memory for the largest problem.
Create a lesson
Related papers
DrivAerRim: A large-scale full-vehicle CFD dataset for wheel rim aerodynamics
Shared title terminology · Chao Xia, Xi Zeng, Alexey Vdovin et al.
Learning Nonlocal Interactions in Large-Scale Heterogeneous Metamaterials through Scientific Machine Learning
Shared title terminology · Dex Doksoo Lee, Jehyeon Shin, Yue Yu et al.
An open source Python code for three-dimensional topology optimization in single precision on a consumer GPU
Shared title terminology · Leonilson Toffoli Pedrini, Rodolfo G. M. Andrade, Rafael M. Ferro
From topology-optimization brief to solver-checked release: separating intent, admissibility and acceptance knowledge for language agents
Shared title terminology · Shaoliang Yang, Jun Wang
Allen--Cahn Residual-Constrained Topology Optimization via an Augmented Lagrangian Method
Shared title terminology · Run Du, Xuan Xiao, Wenming Cheng et al.
Subsurface Model Programming: Frontier Large Language Models Natively Interpret and Edit Dynamic Reservoir Models
Shared title terminology · Yanchen Song, Huizhu Xiang, Zhengdong Lei et al.