




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 跨境电商建站平台
- 智能家居 系统
- 市场竞争对手分析数据表
- 智能制造技术生产流水线操作手册
- 三农村公共服务智能化提升方案
- 交通物流行业绿色运输策略方案
- 物流行业无人配送技术推广方案
- 附件3医院护类人员年终理论考试500题练习卷附答案
- 乡村绿化美化服务方案
- 三农产品电商助力农业新兴业态培育与发展方案
- 2025年安徽水利水电职业技术学院单招职业适应性测试题库带答案
- 浙江省浙南名校联盟2024-2025学年高一2月返校检测语文试题及答案
- 2025年安徽水利水电职业技术学院单招职业技能考试题库往年题考
- 2025年南京信息职业技术学院单招职业技能测试题库及答案一套
- 2025年桐城师范高等专科学校单招职业适应性测试题库审定版
- 2024年新疆事业单位招聘笔试真题
- 2025年中央一号文件参考试题库100题(含答案)
- 《西亚》教学课件(第1课时)(25张)公开课教案课件
- 04S519小型排水构筑物(含隔油池)图集
- 北工大电子课程设计报告数电自行车里程表.
- 加油站法律法规符合性评价
评论
0/150
提交评论