您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 咨询培训 > Fluent优化技术培训
ANSYSFLUENT优化技术培训姓名:宋述军公司:安世亚太科技(北京)有限公司Preface•ThereleaseoftheadjointsolverinFluent13istheculminationofseveralyearsofR&Deffort.•Thisprojectwasrisky,buttherewardsaregreat–bothforANSYSanditsclients.•Therewereanumberoffalsestartsanddead-ends.•Writinganadjointsolverthatmeetstheneedsoftheengineeringcommunityisnotatrivialtask.•Wearepleasedtohavecomesofar,andlookforwardtogoingmuchfurther.KeyIdeas-FundamentalsWhatdoesanadjointsolverdo?•Anadjointsolverprovidesspecificinformationaboutafluidsystemthatisverydifficulttogatherotherwise.•Anadjointsolvercanbeusedtocomputethederivativeofanengineeringquantitywithrespecttoalloftheinputsforthesystem.•ForexampleDerivativeofdragwithrespecttotheshapeofavehicle.Derivativeoftotalpressuredropwithrespecttotheshapeoftheflowpath.KeyIdeas-FundamentalsFLOWSOLVERInputs•Boundarymesh•Interiormesh•Materialproperties•Boundarycondition1•Flowangle•Inletvelocity•…•…Outputs•Fielddata•Contourplots•Vectorplots•xy-plots•Scalarvalues•Lift•Drag•TotalpressuredropHigh-level“system”viewofaconventionalflowsolverHOWARECHANGESTOKEYOUTPUTSDEPENDENTONCHANGESTOTHEINPUTS?KeyIdeas-FundamentalsFlowsolutionq,andtheinputstotheproblemc.);(cqJOutput0);(cqRResidualsoftheNavier-Stokesequations0ccRqqRLinearizedNavier-StokesChangetheinputscbycccJqqJJChangeinoutputEngineeraparticularlinearcombinationoflinearizedNSequations–introducemultipliers0~~ccRqqqRqTTq~qJqqRT~AdjointequationsAftersubstitutionsccRqcJJT~ChangeininputsChangeinoutput•Topleveladjointsolveralgorithm–quasi-Newtonscheme•SolveusingAMG•Involvesafamiliarprocess–Solutionadvancementcontrols–Courantnumber,under-relaxation–Residuals&iterations–RoughlythesameeffortasaconventionalflowsolutionKeyIdeas–AdjointEquationsThisinnocent-lookingsystemofequationsisattheheartoftheadjointsolver.ConstructandsolveanadjointproblemtogetahelpersolutionApproximatelinearizationwithpseudo-timestepintroduced.Similartooriginalflowsolver,buttransposed.UpdatetotheadjointsolutionSystemJacobian(transposed)DerivativeofachosenobservablewithrespecttotheflowsolutionqJqqRT~qqRqJqMT~~.KeyIdeas-WorkflowWorkflow•Solvetheflowequationsandpost-processtheresultsasusual.•Pickanobservationthatisofengineeringinterest.Lift,drag,totalpressuredrop?•SetupandsolvetheadjointproblemforthisobservationDefinesolutionadvancementcontrolsSetconvergencecriteriaInitializeIteratetoconvergence•Post-processtheadjointsolutiontogetShapesensitivitySensitivitytoboundaryconditionsettingsContour&vectorplots•ModifythemeshusingameshdeformationapproachMeshmorphingKeyIdeas–ShapeSensitivityShapesensitivity:Sensitivityoftheobservedvaluewithrespectto(boundary)gridnodelocationsmeshnnxwDrag.)(Shapesensitivitycoefficients:VectorfielddefinedonmeshnodesNodedisplacementVisualizationofshapesensitivity•Usesvectorfieldvisualization.•Identifiesregionsofhighandlowsensitivity.•Thesearetheplaceswherechangestotheshapecanhaveabigimpactonthequantityofinterest.•Theguidanceisspecifictothequantityofinterest,andthecurrentflowstate.DragsensitivityforNACA0012KeyIdeas–GradientAlgorithm&OptimizationHowtochoosethenodedisplacementfield?•Steepestdescent•Displacementproportionaltothelocalsensitivity•Providesafirst-orderestimateoftheeffectofthechangebeforethechangeisevermade.meshnnwwDrag.)(FirstorderestimateofthechangeScalingfactorforthedeformation(userchooses)ChosennodedisplacementsnnwxmeshnnxwDrag.)(KeyIdeas–MeshMorphingFlowCompletingthedesigncycleMeshMorphing•Sensitivityoflifttosurfaceshape•UseBernsteinpolynomial-basedmorphingscheme•Adjointtodeformationoperation•Surfaceshapesensitivitybecomescontrolpointsensitivity•Benefitofthisapproachistwo-foldSmoothsthesurfacesensitivityfieldProvidesasmoothinteriormeshdeformation•SelectportionsofthegeometrytobemodifiedKeyIdeas–MeshMoprhingActualchange3.1P=-213.8Totalimprovementof8%Constrainedmotion•Somewallswithinthecontrolvolumemaybeconstrainednottomove.•Aminimaladjustmentismadetothecontrol-pointsensitivityfieldsothatdeformationofthewalliseliminated.Castasaleast-squaresproblem.KeyIdeas–MeshAdaptationSolution-basedmeshadaptation•Detailsnotpresentedhere•Regionsintheflowdomainwheretheadjointsolutionislargeissusceptibletohavingastrongeffectofdiscretizationerrorsonthequantityofinterest.•AdaptinregionswheretheadjointsolutionislargeAdjointsolutionDragsensitivityBaselineMeshAdaptedMeshAdaptedMeshDetailKeyIdeasWhathavewelearnedsofar?•Anadjointsolvercanbeusedtocomputethederivativeofachosenobservationofengineeringinterestwithrespecttoalltheinputdataforthesystem.•Theadjointequationsformalinearsystem.•Solvinganadjointproblemisnottrivial–aboutasmucheffortasaflowsolution.•Theadjointsolutionprovidesguidanceontheoptimaladjustmentthatwillimproveasystem’sperformance.•Anadjointsolutioncanbeusedtoestimatetheeffectofachangepriortoactuallymakingthechange.•Shapesensitivitydatacanbecombinedwithmeshmorphingtoguidesmoothmeshdeformations.•Anadjointsolutioncanbeusedaspartofagradient-basedoptimizationalgorithm.•Anadjointsolutionc
本文标题:Fluent优化技术培训
链接地址:https://www.777doc.com/doc-6498707 .html