拓扑优化的经典,99行MATLAB程序实现整个拓扑优化,是学习拓扑优化概念及编程的绝好教材。
StructMultidiscOptim21,120–127 Springer-Verlag2001
A99linetopologyoptimizationcodewritteninMatlab
O.Sigmund
AbstractThepaperpresentsacompactMatlabim-plementationofatopologyoptimizationcodeforcom-plianceminimizationofstaticallyloadedstructures.ThetotalnumberofMatlabinputlinesis99includingopti-mizerandFiniteElementsubroutine.The99linesaredividedinto36linesforthemainprogram,12linesfortheOptimalityCriteriabasedoptimizer,16linesforamesh-independency lterand35linesforthe niteelementcode.Infact,excludingcommentlinesandlinesassoci-atedwithoutputand niteelementanalysis,itisshownthatonly49Matlabinputlinesarerequiredforsolvingawell-posedtopologyoptimizationproblem.Byaddingthreeadditionallines,theprogramcansolveproblemswithmultipleloadcases.Thecodeisintendedforedu-cationalpurposes.ThecompleteMatlabcodeisgivenintheAppendixandcanbedown-loadedfromtheweb-sitedoc.guandang.net.
Keywordstopologyoptimization,education,optimal-itycriteria,world-wideweb,Matlabcode
1
Introduction
TheMatlabcodepresentedinthispaperisintendedforengineeringeducation.Studentsandnewcomerstothe eldoftopologyoptimizationcandown-loadthecodefromtheweb-pagedoc.guandang.net’intuitionforoptimaldesign.Advancedstudentsmaybeaskedtoguesstheop-timaltopologyforgivenboundaryconditionandvolume
ReceivedOctober22,1999O.Sigmund
DepartmentofSolidMechanics,Building404,TechnicalUni-versityofDenmark,DK-2800Lyngby,Denmarke-mail:sigmund@fam.dtu.dk
fractionandthentheprogramshowsthecorrectoptimaltopologyforcomparison.
Intheliterature,onecan ndamultitudeofapproachesforthesolvingoftopologyoptimizationproblems.IntheoriginalpaperBendsøeandKikuchi(1988)aso-calledmicrostructureorhomogenizationbasedapproachwasused,basedonstudiesofexistenceofsolutions.
Thehomogenizationbasedapproachhasbeenadoptedinmanypapersbuthasthedisadvantagethatthedeter-minationandevaluationofoptimalmicrostructuresandtheirorientationsiscumbersomeifnotunresolved(fornoncomplianceproblems)andfurthermore,theresultingstructurescannotbebuiltsincenode nitelength-scaleisassociatedwiththemicrostructures.However,theho-mogenizationapproachtotopologyoptimizationisstillimportantinthesensethatitcanprovideboundsonthetheoreticalperformanceofstructures.
Analternativeapproachtotopologyoptimizationistheso-called“power-lawapproach”orSIMPapproach(SolidIsotropicMaterialwithPenalization)(Bendsøe1989;ZhouandRozvany1991;Mlejnek1992).Here,ma-terialpropertiesareassumedconstantwithineachelem-entusedtodiscretizethedesigndomainandthevariablesaretheelementrelativedensities.Thematerialproper-tiesaremodelledastherelativematerialdensityraisedtosomepowertimesthematerialpropertiesofsolidma-terial.Thisapproachhasbeencriticizedsinceitwasar-guedthatnophysicalmaterialexistswithpropertiesde-scribedbythepower-lawinterpolation.However,arecentpaperbyBendsøeandSigmund(1999)provedthatthepower-lawapproachisphysicallypermissibleaslongassimpleconditionsonthepoweraresatis ed(e.g.p≥3forPoisson’sratioequalto13).Toensureexistenceofso-lutions,thepower-lawapproachmustbecombinedwithaperimeterconstraint,agradientconstraintorwith l-teringtechniques(seeSigmundandPetersson1998,foranoverview).Thepower-lawapproachtotopologyop-timizationhasbeenappliedtoproblemswithmultipleconstraints,multiplephysicsandmultiplematerials.Whereasthesolutionoftheabovementionedap-proachesisbasedonmathematicalprogrammingtech-niquesandcontinuousdesignvariables,anumberofpa-pershaveappearedonsolvingthetopologyoptimizationproblemasanintegerproblem.Beckers(1999)success-
1. %%% A 99 LINE TOPOLOGY OPTIMIZATION CODE BY OLE SIGMUND, JANUARY 2000...% "A 99 line topology optimization code written in Matlab" % 112. % by...
Implementation of Compliance Minimization Structure Topology Optimization via ...2001: A 99 line topology optimization code written in Matlab. Struct. ...
% "A 99 line topology optimization code written in Matlab" % % by Ole Sigmund (2001), Structural and Multidisciplinary Optimization, % % Vol 21, pp....
the paper % A 99 line topology optimization code written in Matlab" by Ole Sigmund (2001), Structural and Multidisciplinary Optimization,% Vol 21, pp. ...
end Matlab Implementation (2) Structure Topology Optimization Chapter 9 Prof....(nely+1)]); -- Stiffness Code -- Compliant Code 4 FE Analysis [U,c...
A 3D interactive program Ole Sigmund, Mechanical Engineering, Solid Mechanics Technical University of Denmark A 99-line MATLAB code for topology optimization ...
the optimization code and run this changed code.... % Run Topology Optimization [femout,fem1]= ...Run TopOpt.m in Matlab to do the optimization....
? 通过对《 A 99 line topology optimization code written in Matlab 》一 文的学习, 对拓扑优化的理论原理以及实际的计算机方法实现都有了一定 的认识,了解了...
Phil Trans R Soc Lond Ser A: Math Phys Eng Sci 358: 211–227 Sigmund O (2001) A 99 line topology optimization code written in Matlab. Struct ...
Key words: OptiStruct, Lightweight, topology optimization 1 前言法兰盘轮毂...A 99 line topology optimization code written in Matlab. Struct Multidiscip ...
热门文档