topAC99: A compact MATLAB implementation of filter-free Allen--Cahn topology optimization with matrix-free field transfer

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.

Authors

Publication Details

Journal
arXiv
Published
2026-11-24
DOI
https://doi.org/10.48550/arxiv.2611.31885
Primary Topic
Topology Optimization in Engineering
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

topAC99: A compact MATLAB implementation of filter-free Allen--Cahn topology optimization with matrix-free field transfer

Run Du
arXiv
Topology Optimization in Engineering
preprint

topAC99: A compact MATLAB implementation of filter-free Allen--Cahn topology optimization with matrix-free field transfer

Run Du
preprint en

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.

arXiv
Topology Optimization in Engineering
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon