The Matlab codes presented in this page are intended for educational purposes and may serve as helpful tools for students and newcomers to the field of topology optimization. They extend
the previous TopOpt code top99neo by including stochastic approximation schemes, in order to solve optimization problems with probabilistic parameters, like unknown load positions or uncertain local material failure in the structure.
After download, the programs can be run by writing for example:
Clamp with structural damage at unknown location (download from here):
>> topS140(180,45,0.4,3,3.2,2,’N’,0.5,2,1e-2,1,1500);
Clamp with uncertain load position (download from here):
>> topS140 load(180,45,0.4,3,3.2,2,’N’,0.5,2,1e-2,1,1500);
(after generating the test data as presented in Section 6.2 of arXiv preprint)
MBB beam with dynamic force (download from here):
>> topS dynamic(180,60,0.4,3,3.2,2,’N’,0.5,2,1e-2,1,1500);
NOTE: The codes contain the external function ”fsparse” that is part of the ”Fast”
package by Stefan Engblom. The package can be downloaded here:
https://github.com/stefanengblom/stenglib
and installed in Matlab following the instructions in the README file.
Details on the implementation are discussed in the preprint:
A 140 line MATLAB code for topology optimization problems with probabilistic parameters
- Andrian Uihlein, Ole Sigmund, Michael Stingl,
see https://doi.org/10.48550/arXiv.2505.10421.