版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
TheOptimizationModule©Copyright2014COMSOL.Anyoftheimages,text,andequationsheremaybecopiedandmodifiedforyourowninternaluse.Alltrademarksarethepropertyoftheirrespectiveowners.See/trademarks.OverviewTheCOMSOL®4.4ProductSuiteTheOptimizationModuleAdd-ontoCOMSOLMultiphysicsGeneral-purposepackage,notapplication-specificOptimizationforElectrical,Mechanical,Fluid,andChemicaldevicesandprocessesCombineswithanyCOMSOLMultiphysicsModuleTheOptimizationModuleContains:UserinterfacesforsettingupoptimizationtasksOptimizationsolversExamplemodelsfromdifferentfieldsWhatisOptimization?TheimprovementofanobjectivefunctionbychangingcontrolvariableswhilemaintainingasetofconstraintsObjectivefunction(costfunction)Anyreal-valuedscalaroutputfromasolvedCOMSOLmodelMass,displacement,pressuredrop,resistance,power,etc...Controlvariables(optimizationvariables,designvariables,...)Anycontinuoussetofreal-valuedinputstothemodelDimensions,materialdistribution,materialproperties,etc...ConstraintsAnyequalityorinequalityconditionthatcanbeexpressedintermsofthesolvedmodel,orthecontrolvariablesPeakstress,minimumsize,maximumtemperature,etc...QuickIntroductiontoOptimizationintheCOMSOLDesktopHowdoweoptimize?StartwithasolvedCOMSOLmodelDefineyourobjectfunction:Whatdoyouwanttomakebetter?Choosethedesignvariables:Whatdoyouwanttochange?Specifyyourconstraints:Whatlimitscannotbeexceeded?Optimize!Tuningfork,Desiredresonanceat440HzStartwithanexistingmodelForclarity,theCOMSOLDesktopishereshownasitappearsonalow-resolutionscreen.AddtheOptimizationStudyfeatureSelectfromasuiteofoptimizationalgorithmsSettoleranceandthemaximumnumberofmodelevaluationsIfsolvingonacluster,candistributesolutionsandruninparallelSpecifyanobjectivefunctionfreq:theresonancecomputedbytheeigenfrequencysolverTheobjectiveistomaketheresonantfrequency440HzMinimize,maximum,maximizetheminimum,minimizethemaximum,andhandlesumsofobjectivefunctionsPickcontrolvariablesandconstraintsGlobalParametersetsthetuningforklength,specifyinitialvalueChooseupperandlowerbounds(constraints)onthecontrolvariablesCanaddotherconstraints,ifdesiredSolve,andthenextractsolutionOptimizationTutorialsandExamplesGettingStartedExample:TuningForkAdjustthelengthofthearmsofatuningforksuchthatthefirstresonanceisat440HzApproximategradient,sincethemodelisremeshedduringtheoptimizationBOBYQASolverCanalsobedoneviatheLiveLink™productsandcontrolledfromvariousCADsoftware,MATLAB®,andExcel®./model/tuning-fork-computing-the-eigenfrequency-and-eigenmode-8499SizeOptimization:
BanddispersioninamicrochannelMinimizethedifferenceistransittimebetweeninsideandoutsideSizeOptimization:3DFlywheelFindholeradiiwhichminimizeflywheelmassMaximumvonMisesstressmustnotexceedyieldlimit/blogs/using-gradient-free-optimization/SizeOptimizationofaFlywheel,
withAdvancedConstraintsMakestressdistributionasuniformalongtheradiusaspossibleConstrainthemassnottochangeConstrainthemomentofinertianottochangeGradient-basedapproach/model/optimizing-a-flywheel-profile-4356SizeOptimization:
MinimizingS11ofanAntenna/model/optimizing-a-bowtie-antenna-14435ChangeFlareAngleandArmHeightGradient-FreeApproach,becauseremeshingisrequiredShapeOptimization:
OptimizinganAcousticHornMaximizethesoundintensityalongtheaxisofthehornTheshapeofthehornisdescribedbyasumofsinewavesTruncatedFourierseriesTheMovingMeshfunctionalityisusedtoavoidremeshingthedomainGradient-Basedapproach/model/optimizing-the-shape-of-a-horn-4353ParameterEstimation:Findingthematerialpropertiesbaseduponexperimentaldatahttp:///model/transient-optimization-fitting-material-properties-of-a-wall-10905http:///model/curve-fitting-material-model-data-to-experimental-data-5886http:///model/determining-arrhenius-parameters-using-parameter-estimation-10305/model/degradation-of-dna-in-plasma-1391TransientanalysisMinimizeleastsquaresdifferencewithexperimentalresultsLevenberg-MarquardtInverseProblem:ImagingImagingofsoilpropertiesbasedonpumpingexperimentsFindthepermeabilitypatternmostconsistentwithexperimentaldataReconstructinteriordatabaseduponobservationsfromtheexterior/model/aquifer-characterization-through-inverse-modeling-from-pump-tests-4410TopologyOptimization:PorousCatalystObjectiveistomaximizethereactionratewhileminimizingtheamountofcatalystwithinthereactorInitialcatalystdistributionishomogeneousTopologyoptimizationadjustsamountofcatalystwithineachmeshelement/model/optimization-of-a-catalytic-microreactor-4401TopologyOptimization:TelsaMicrovalveMaximizeratioofflowlefttorightcomparedtoflowrighttoleftforsamepressuredrop./model/topological-optimization-of-a-tesla-microvalve-14513TopologyOptimization:
MinimizeBeamCompliance/model/topology-optimization-7428MinimizethecomplianceAddconstraintontotalmaterialSIMPmethodMathematicalOptimization:MinimizeaFunctionχ1χ2
NotableCOMSOLConferencePapersonTopologyOptimizationTopologyOptimizationinMultiplePhysicsProblems,O.Sigmund,DTUMechanicalEngineering,/papers/1790/MultiphysicsTopologyOptimizationofHeatTransferandFluidFlowSystems,E.Dede,ToyotaResearchInstituteofNorthAmerica,/papers/6282/SimulationofTopologyOptimizedElectrothermalMicrogrippers,O.Sardan,D.Petersen,O.Sigmund,&P.Boggild,DTUMechanicalEngineering,/papers/5346/ImplementationofStructuralTopologyOptimizationinCOMSOL,B.Lemke,Z.Liu,&J.G.Korvink,DepartmentofMicrosystemsEngineering,UniversityofFreiburg,/papers/1543/TopologyOptimizationofDielectricMetamaterialsBasedontheLevelSetMethodUsingCOMSOLMultiphysics,M.Otomori&S.Nishiwaki,KyotoUniversity,/papers/12519/IndustrySuccessStory:TopologyOptimizationLeadstoBetterCoolingExtractfromCOMSOLNews2012.©2012COMSOL.Allrightsreserved.SolidWorksisaregisteredtrademarkofDassaultSystèmesSolidWorksCorporationoritsparent,affiliates,orsubsidiaries.AluminumcoldplatewithouthierarchicalmicrochanneltopologyAluminumcoldplatewithhierarchicalmicrochanneltopologyModeledaluminumcoldplatewithhierarchicalmicrochanneltopologyAluminumcoldplatesaremountedincarstocombatheatproblems,requiringoptimalcoolingchanneltopologyforminimizedplatesizePerformedCFDandHeatTransferanalysesinconjunctionwithLiveLinkTM
forSolidWorks®tocreateaprototypeusingoptimizedtopologyCOMSOLNews2012:EricDede,ToyotaResearchInstitute,AnnArbor,MIOptimizationModuleTheory,IntroductionTheOptimizationinterfacecandefinecontrolvariablefields,integralobjectives,andlocalconstraintsChangethespatialdistributionofmaterial,subjecttolocalbounds,tominimizemasswhileconstrainingsystemcomplianceThefamilyofoptimizationsolversOptimizationModuleSearchwithoutfindingGradientsAnalyticGradientMethodsMonte-CarloCoordinateSearchMMALevenberg-MarquardtNelder-MeadBOBYQARandomSearchSearchoneaxisatatime1storderapproximategradient2ndorderapproximategradientSNOPTLinearconvergenceQuadraticconvergenceLeast-Squaresproblemsonly(veryfast)ApproximateGradientMethodsWhatisthegradient?ThegradientisthederivativeoftheobjectivefunctionwithrespecttothecontrolvariablesGradientsoftheobjectivecanbecomputedeither:ApproximatelyCoordinatesearch:Finite-differenceinonecontrolvariableatatimeNelder-Mead:Evaluates(N+1)pointsofanN-dimensionaldesignspaceandconstructsasimplex,improvesworstpointBOBYQA:MakesprogressivelocalquadraticapproximationsAnalyticallyMMAandSNOPTusetheAdjointmethodtocomputeexactgradientCancomputegradientswithrespecttoallcontrolvariablesatonceRequiressmoothanddifferentiableobjectiveandconstraintfunctionsNoremeshingGradientbasedmethodsstartatapointwithinthedesignspaceandimprovethedesignDesignSpaceχ1χ2ObjectiveFunctionf(χ)(1)Startatanexistingdesign&computegradientdirection(2)Searchalonggradient&findminimumalongline(3)Repeatuntilnomoreimprovementispossible(1)(2)(3)ComparisonofAlgorithmsApproximateGradientAnalyticGradientObjectiveFunctionAnyscalaroutputMustbebothsmoothanddifferentiableDesignVariablesAnything,includinggeometricdimensionsAnythingthatdoesnotresultinremeshingofthegeometryRemeshingYesNoConstraintsCanonlyconstrainscalaroutputsConstraintsmustbedifferentiableandsmooth,butcanbeateachpointinspacePossibleanalysesAnycombinationofalldifferentanalysistypesAnystudywithonlyoneof:
Stationary,Transient,orFrequency-DomainRelative
PerformanceIncreasesexponentially
withthenumberofdesignvariablesPerformanceisnotverysensitivetothenumberofdesignvariablesTheMonte-Carlomethodsharesalloftheseproperties,butwillhavetheslowestconvergenceWhichoptimizationsolvertouse?Docontrolvariableschangethemesh?Constraintsonthesolution?Arethereanyconstraints?TopologyOptimization?SNOPTMMALevenberg-MarquardtBOBYQASmoothlyvaryingobjective?Nelder-Mead(orCoordinateSearch)MonteCarloYesYesYesYesYesNoNoNoNoVeryrandomNoisyOptimizationUserInterfacesTheOptimizationstudystepCentralcontrolpanelforalloptimizationChooseandtunesolversSpecifyglobalobjectivefunctions,controlparametersandconstraintsEnable/disablecontributionsfrominterfacesTheOptimizationinterfaceSetupgeneralobjectivecontributions,
includingleast-squaresDefinecontrolvariablefieldsSpecifygeneralconstraintsOptimizationModuleTheory,AdvancedDerivative-freesolversDirectsearchNelder-MeadCoordinatesearchTrustRegionBOBYQADerivative-FreeOptimizationSolversRequireonlyobjectivefunctionvalues,
noderivativesControlanything,includingtheCADgeometryRobustbutexpensiveParallelonclustersGradient-basedGeneral-purposeSNOPTMMALeast-squaresLevenberg-MarquardtGradient-BasedOptimizationSolversUsegradientinformationtocontrolsearchdirectionStationaryandtransientsolverscomputegradientsefficientlyManycontrolvariables(fields)CommonOptimizationTasksOptimizationTasksPureOptimizationOptimalDesignParameterSelectionGeometricOptimizationSizingShapeOptimizationTopologyOptimizationTargetMatchingInverseProblemsParameterEstimationImagingObjectiveFunctionsinCOMSOLGlobalObjectivesAcceptsanyglobalexpression–ofteninvolvingcouplingoperatorsExample:classicaloptimizationIntegralObjectivesIntegratesanexpressionoveradomain,boundary,edgeorpointExample:minimizingtheweightofastructureProbeObjectivesEvaluatesanexpressionatgivencoordinatesLeast-SquaresObjectivesComparesanexpressiontomeasuredvaluesinafileExample:fittingreactionconstantstomatchmeasuredconcentrationsControlVariablesinCOMSOLGlobalControlVariablesChooseanyexistingmodelparametersintheOptimizationstudystepWorkswithallsolversUsedwithderivative-freesolverstocontrolCADgeometryparametersControlVariableFieldsControlvariablesareassociatedwithpositionsinthegeometryFiniteelementinterpolationgivesmanydegreesoffreedomRequireusingtheOptimizationInterfaceOnlyworkswithgradient-basedsolversConstraintsinCOMSOLBoundsSetlimitsdirectlyonthecontrolvariables,oftenrequiredbysolversDesignconstraintsSetrelationsbetweenthecontrolvariablesDonotrequireevaluationofanyPDEsolutionPerformanceconstraintsSetconditionsonthePDEsolutionvariablesSameformatasanobjectivefunctionandasexpensivetoevaluateSensitivityEvaluationinCOMSOLSymbolicmathmachineryallowsefficientgradientevaluationAslongasallexpressionsaredifferentiableAdjointsensitivityFastevaluationofthegradientofanyobjectivefunctionwithrespecttoacontrolvariablefieldForwardsensitivityFastevaluationofthederivativeofaPDEsolutionfieldwithrespecttoindividualcontrolvariablesGradientofobjectivefunctionsiscomputedusingthechainruleNumericalgradientFall-backwhenexpressionsarenotsymbolicallydifferentiableTheSolversoftheOptimizationModuleAbouttheSNOPTSolverSNOPT=SparseNonlinearOPTimizerDevelopedbyP.E.Gill,W.MurrayandM.A.SaundersatStanfordUniversitySequentialQuadraticProgramming(SQP)methodSolvesasequenceofapproximatingquadraticprogrammingproblemswithlinearizedconstraintsOuterloopusesaquasi-NewtonstrategywhereanapproximateHessianisupdatedusinggradientsevaluatedatconsecutivestepsAbouttheMMASolverMMA=MethodofMovingAssymptotesDevelopedbyKristerSvanbergatKTH(RoyalInstituteofTechnology,Sweden)COMSOLversionismorespecificallyGCMMA=GloballyConvergentMMASolvesasequenceofconvexapproximationsAllowsgeneralnonlinearconstraintsEachapproximationisgeneratedfromlineardataatcurrentpointAllintermediatepointsarefeasible,unlessthefeasiblesetisemptyAbouttheLevenberg-MarquardtSolverSolverforleast-squaresproblemsRequiresanobjectivefunctiononleast-squaresformDoesnotallowanyconstraintsTrust-regionGauss-NewtonmethodComputesthegradientofeachterminthesumofsquaresseparatelyApproximatestheHessianfromfirst-orderderivativesonlyOften
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 新华人寿附加华裕 A 款意外住院津贴团体医疗保险条款
- 大类资产配置全球跟踪2026年3月第2期-资产概览:原油周度涨幅达30%年内破50%
- 2026年初级中学教师资格考试物理学科知识与教学能力模拟题题库(含答案)
- 2026年湖南益阳市中小学教师招聘考试试卷及答案
- 2026年保密教育线上培训考试题答案
- 2026年安徽省阜阳市重点学校初一新生入学分班考试试题及答案
- 二年级品德下册 我发现……教学设计2 科教版
- 第四单元 三国两晋南北朝时期:政权分立与民族交融 教学设计 2023-2024学年部编版七年级历史上学期
- 入党积极分子政治理论考核题库及答案
- 本章复习与测试教学设计初中数学沪教版上海八年级第一学期-沪教版上海2012
- 感染性腹泻防控课件
- LY/T 1575-2023汽车车厢底板用竹胶合板
- 和谐婚姻家庭知识讲座
- 宠物腹部手术-胃切开术
- 宠物腹部手术-肠管侧壁切开术
- 2022-2023学年六年级下册综合实践活动茶与生活(说课稿)
- 丙戊酸镁缓释片及其制备工艺
- 警惕病从口入-课件
- 各大名校考博真题及答案心内科部分
- 中药与食物的关系药食同源
- 新人教版五年级下册数学(新插图)练习六 教学课件
评论
0/150
提交评论