topAC99: A compact MATLAB implementation of filter-free Allen--Cahn topology optimization with matrix-free field transfer
Abstract
This paper presents topAC99, a self-contained, toolbox-free 99-line MATLAB kernel for filter-free Allen--Cahn topology optimization via the Augmented Lagrangian method on structured quadrilateral meshes. The software architecture combines three compact numerical components: (i) a lumped nodal discretization with a 7-line Kronecker-sum 5-point Laplacian that enforces homogeneous Neumann conditions at width-invariant sparse memory cost; (ii) matrix-free node-to-element averaging and adjoint backpropagation via two-dimensional convolutions (conv2); and (iii) an inlined 18-line 1D-dual bisection Method of Moving Asymptotes (MMA) solver for signed sensitivities. Benchmarks from 60x40 to 300x200 meshes (121,002 degrees of freedom) against convolution- and PDE-filtered SIMP baselines show that Allen--Cahn residual and adjoint evaluations add only 0.7%--1.2% per-step overhead while converging in 78--92 iterations on fine grids. Minimal-line extensions to a symmetric force inverter compliant mechanism and a passive-deck highway arch bridge further demonstrate the versatility of the 99-line kernel.
Get this paper in your agent:
hf papers read 2611.31885 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 1
Collections including this paper 0
No Collection including this paper