Efficient topology optimization in MATLAB using 88 lines of code

计算机科学 编码(集合论) MATLAB语言 工程设计过程 拓扑优化 拓扑(电路) 数学优化 程序设计语言 机械工程 数学 工程类 电气工程 有限元法 集合(抽象数据类型) 结构工程
作者
Erik Andreassen,Anders Clausen,Mattias Schevenels,Boyan S. Lazarov,Ole Sigmund
出处
期刊:Structural and Multidisciplinary Optimization [Springer Science+Business Media]
卷期号:43 (1): 1-16 被引量:1549
标识
DOI:10.1007/s00158-010-0594-7
摘要

The paper presents an efficient 88 line MATLAB code for topology optimization. It has been developed using the 99 line code presented by Sigmund (Struct Multidisc Optim 21(2):120–127, 2001) as a starting point. The original code has been extended by a density filter, and a considerable improvement in efficiency has been achieved, mainly by preallocating arrays and vectorizing loops. A speed improvement with a factor of 100 is obtained for a benchmark example with 7,500 elements. Moreover, the length of the code has been reduced to a mere 88 lines. These improvements have been accomplished without sacrificing the readability of the code. The 88 line code can therefore be considered as a valuable successor to the 99 line code, providing a practical instrument that may help to ease the learning curve for those entering the field of topology optimization. The paper also discusses simple extensions of the basic code to include recent PDE-based and black-and-white projection filtering methods. The complete 88 line code is included as an appendix and can be downloaded from the web site www.topopt.dtu.dk .
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科目三应助GUO采纳,获得10
1秒前
2秒前
2秒前
2秒前
kustmustshnu发布了新的文献求助10
3秒前
丘比特应助和铃采纳,获得10
3秒前
4秒前
寒冷的奇迹完成签到,获得积分10
4秒前
阳光发布了新的文献求助10
4秒前
4秒前
胡天硕发布了新的文献求助30
6秒前
lumi应助科研通管家采纳,获得10
6秒前
lumi应助科研通管家采纳,获得10
6秒前
molihuakai应助dzj采纳,获得10
6秒前
科研通AI6.4应助kk采纳,获得10
7秒前
何曼慈应助科研通管家采纳,获得10
7秒前
爆米花应助科研通管家采纳,获得10
7秒前
7秒前
SciGPT应助科研通管家采纳,获得10
7秒前
慕青应助科研通管家采纳,获得10
7秒前
pluto应助科研通管家采纳,获得10
7秒前
molihuakai应助科研通管家采纳,获得10
8秒前
bkagyin应助科研通管家采纳,获得10
8秒前
思源应助科研通管家采纳,获得10
8秒前
8秒前
斯文败类应助科研通管家采纳,获得10
8秒前
8秒前
molihuakai应助科研通管家采纳,获得10
8秒前
打打应助江宜采纳,获得10
9秒前
9秒前
zyf发布了新的文献求助10
10秒前
星希完成签到 ,获得积分10
11秒前
lxw发布了新的文献求助10
11秒前
王则华发布了新的文献求助10
11秒前
11秒前
眠羊完成签到,获得积分10
12秒前
14秒前
14秒前
豫安发布了新的文献求助10
15秒前
ming2026应助元谷雪采纳,获得10
17秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Reducing Compassion Fatigue, Secondary Traumatic Stress and Burnout 600
Comparative Elite Sport Development Systems, Structures and Public Policy 600
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Auslegungsgeschichte 500
Cosmos as Art Object: Studies in Plato's Timaeus and Other Dialogues 500
What is the Future of Psychotherapy in Digital Age? Technology, AI Bots, and Psychotherapy after Covid 444
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7637644
求助须知:如何正确求助?哪些是违规求助? 9211158
关于积分的说明 19758207
捐赠科研通 7204878
什么是DOI,文献DOI怎么找? 3275711
关于科研通互助平台的介绍 2437346
邀请新用户注册赠送积分活动 2272906