




已阅读5页,还剩200页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
ANSYS12.0TrainingManualCFX12.0,IntroductiontoCFXPartBChapter4-6,96Pages,Chapter4SolverSettings,IntroductiontoCFX,Overview,InitializationSolverControlOutputControlSolverManager,Note:Thischapterconsiderssolversettingsforsteady-statesimulations.Settingsspecifictotransientsimulationarediscussedinalaterchapter.,IterativesolutionproceduresrequirethatallsolutionvariablesareassignedinitialvaluesbeforecalculatingasolutionAgoodinitialguesscanreducethesolutiontimeInsomecasesapoorinitialguessmaycausethesolvertofailduringthefirstfewiterationsTheinitialvaluescanbesetin3ways:SolverautomaticallycalculatestheinitialvaluesInitialvaluesareenteredbytheuserInitialvaluesareobtainedfromaprevioussolutionInitialvaluescanbesetonaper-domainbasisorgloballyforalldomains,Initialization,InitializationSettingInitialValues,InsertGlobalInitialisationfromthetoolbarorbyright-clickingonFlowAnalysis1EditeachDomaintosetinitialvaluesonaper-domainbasisWhenbotharedefinedthedomainsettingstakeprecedenceSoliddomainmusthaveinitialconditionssetonaper-domainbasis,InitializationSettingInitialValues,TheAutomaticoptionmeansthattheCFX-SolverwillcalculateaninitialvalueforthesolvedvariableunlessapreviousresultsfileisprovidedWillbebasedonboundaryconditionvaluesanddomainsettingsTheAutomaticwithValueoptionmeansthatthespecifiedvaluewillbeusedunlessapreviousresultsfileisprovidedCanuseaconstantvalueoranexpression,InitializationUsingaPreviousSolution,TouseaprevioussolutionastheinitialguessenabletheInitialValuesSpecificationtogglewhenlaunchingtheSolverYoucanprovidemultipleinitialvaluesfilesWhensimulatingasystemyoucanprovideprevioussolutionsforeachcomponentofthesystemastheinitialguessUsuallyeachfilewouldcorrespondtoaseparateregionofspaceItisbestifdomainsintheSolverInputFiledonotoverlapwithmultipleinitialvaluesfiles,EdittheSolverControlobjectintheOutlinetree,SolverControlEditing,TheSolverControlpanelcontainsvariouscontrolsthatinfluencethebehaviorofthesolverThesecontrolsareimportantfortheaccuracyofthesolution,thestabilityofthesolverandthelengthoftimeittakestoobtainasolution,SolverControlOptions,SolverControlAdvectionScheme,TheAdvectionSchemereferstothewaytheadvectionterminthetransportequationsismodelednumericallyi.e.thetermthataccountsforbulkfluidmotionOftenthedominanttermThreeschemesareavailable,HighResolution,UpwindandSpecifiedBlendDiscussedinmoredetailnextThereisrarelyanyreasontochangefromthedefaultHighResolutionscheme,SolverControlAdvectionSchemeTheory,Solutiondataisstoredatnodes,butvariablevaluesarerequiredatthecontrolvolumefacestocalculatefluxesTheupstreamnodalvalues(fup)areinterpolatedtotheintegrationpoints(fip)onthecontrolvolumefacesusing:WhereisthevariablegradientandisthevectorbetweentheupstreamnodeandtheintegrationpointInotherwords,theipvalueisequaltotheupstreamvalueplusacorrectionduetothegradientbcanhavevaluesbetween0and1,SolverControlAdvectionSchemeTheory,Ifb=0wegettheUpwindadvectionscheme,i.e.nocorrectionThisisrobustbutonlyfirstorderaccurateSometimesusefulforinitialruns,butusuallynotnecessaryTheSpecifiedBlendschemeallowsyoutospecifybbetween0and1(i.e.betweennocorrectionuptofullcorrection)Butthisisnotguaranteedtobebounded,meaningthatwhenthecorrectionisincludeditcanovershootorundershootwhatisphysicallypossibleTheHighResolutionschememaximizesbthroughouttheflowdomainwhilekeepingthesolutionbounded,Theory,HighResolutionScheme,UpwindScheme,=1.00,Flowismisalignedwithmesh,0,1,SolverControlTurbulenceNumerics,RegardlessoftheAdvectionSchemeselection,theTurbulenceequationsdefaulttotheFirstOrder(Upwind)schemeUsuallythisissufficientTheHighResolutionschemecanbeselectedforadditionalaccuracyCangivebetteraccuracyinboundarylayersonunstructuredmeshes,SolverControlConvergenceControl,TheSolverwillfinishwhenitreachesMax.IterationsunlessconvergenceisachievedsoonerIfMax.IterationsisreachedyoumaynothaveaconvergedsolutionCanbeusefultosetMax.IterationstoalargenumberWhentheSolverfinishesyoushouldalwayscheckwhyitfinishedFluidTimescaleControlsetsthetimescaleinasteady-statesimulation,ANSYSCFXemploysthesocalledFalseTransientAlgorithmAtimescaleisusedtomovethesolutiontowardsthefinalanswerInasteady-statesimulationthetimescaleprovidesrelaxationoftheequationnon-linearitiesAsteady-statesimulationisa“transient”evolutionoftheflowfromtheinitialguesstothesteady-stateconditionsConvergedsolutionisindependentofthetimescaleused,InitialGuess,50iterations,100iterations,150iterations,FinalSolution,SolverControlTimescaleBackground,Forobtainingsuccessfulconvergence,theselectionofthetimescaleplaysanimportantroleIfthetimescaleistoolarge,theconvergencebecomesbouncyormayevenleadtothefailureoftheSolverIfthetimescaleistoosmall,theconvergencewillbeveryslowandthesolutionmaynotbefullyaccurate,SolverControlTimescaleSelection,SolverControlTimescaleSelection,Foradvectiondominatedflow,afractionofthefluidresidencetimeisoftenagoodestimateforthetimescaleAtimescaleof1/3of(LengthScale/VelocityScale)isoftenoptimalMayneedasmallertimescaleforthefirstfewiterationsandforcomplexphysics,transonicflow,.Forrotatingmachines,1/(inrad/s)isagoodchoiceForbuoyancydrivenflows,thetimescaleshouldbebasedonafunctionofgravity,thermalexpansivity,temperaturedifferenceandlengthscale(seedocumentation),TimescaleControlcanbeAutoTimescale,PhysicalTimescaleorLocalTimescaleFactorPhysicalTimescaleSpecifythetimescale.UsuallyaconstantbutcanalsobevariableviaanexpressionCanoftensetabettertimescalethanAutoTimescalewouldproducefasterconvergence,SolverControlTimescaleControl,SolverControlTimescaleControl,AutoTimescaleTheSolvercalculatesatimescalebasedonboundary/initialconditionsorcurrentsolutionanddomainlengthscaleUseaConservativeorAggressiveestimateforthedomainlengthscale,oraspecifiedvalueTimescaleisre-calculatedandupdatedeveryfewiterationsastheflowfieldchangesCansetaMaximumTimescaletoprovideanupperlimitTendstoproduceaconservativetimescaleTimescalefactor(default=1)isamultiplierwhichcanbechangedtoadjusttheautomaticallycalculatedtimescale,LocalTimescaleFactorTimescalevariesthroughoutthedomainCanaccelerateconvergencewhenvastlydifferentlocalvelocityscalesexistE.g.ajetenteringaplenumBestusedonfairlyuniformmeshes,sincesmallelementwillhaveasmalltimescalewhichcanslowconvergenceLocalTimescaleFactorisamultiplierofthelocaltimescaleNeveruseasfinalsolution;alwaysfinishoffwithaconstanttimescale,LocalTimescale=,LocalMeshLengthScaleLocalVelocityScale,SmallerTimescaleinhighvelocityand/orfinemeshregions,SolverControlTimescaleControl,SolverControlConvergenceCriteria,ConvergenceCriteriasettingsdeterminewhenthesolutionisconsideredconvergedandhencewhentheSolverwillstopAssumingMax.IterationsisnotreachedResidualsareameasureofhowaccuratelythesetofequationshavebeensolvedSinceweareiteratingtowardsasolution,wenevergettheexactsolutiontotheequationsLowerresidualsmeanamoreaccuratesolutiontothesetofequations(moreonthenextslide)Donotconfuseaccuratelysolvingtheequationswithoverallsolutionaccuracytheequationsmayormaynotbeagoodrepresentationofthetruesystem!Residualsarejustonemeasureofaccuracyandshouldbecombinedwithothermeasures:MonitorPoints(ch.8)andImbalances(below),Thecontinuousgoverningequationsarediscretizedintoasetoflinearequationsthatcanbesolved.Thesetoflinearequationscanbewrittenintheform:A=bwhereAisthecoefficientmatrixandisthesolutionvariableIftheequationweresolvedexactlywewouldhave:A-b=0TheresidualvectorRistheerrorinthenumericalsolution:A-b=RSinceeachcontrolvolumehasaresidualweusuallylookattheRMSaverageorthemaximumnormalizedresidual,SolverControlResidualsTheory,ResidualTypeMAX:ConvergencebasedonmaximumresidualanywhereRMS:ConvergencebasedonaverageresidualfromallcontrolvolumesRootMeanSquare=ResidualTargetForreasonableconvergenceMAXresidualsshouldbe1.0E-3,RMSshouldbeatleast1.0E-4ThetargetsdependentontheaccuracyneededLowervaluesmaybeneededforgreateraccuracy,SolverControlResiduals,SolverControlConservationTarget,TheConservationTargetsetsatargetfortheglobalimbalancesTheimbalancesmeasuretheoverallconservationofaquantity(mass,momentum,energy)intheentireflowdomain,ClearlyinaconvergedsolutionFluxInshouldequalFluxOutItsgoodpracticetosetaConservationTargetand/ormonitortheimbalancesduringtherunWhenset,theSolvermustmeetboththeResidualandConservationTargetbeforestopping(assumingMax.Iterationsisnotreached)Setatargetof0.01(1%)orlessFluxInFluxOut=0.5istrue,SolverControlElapsedTimeandInterruptControl,ExamplesIftemperatureexceedsaspecifiedvalueif(areaAve(T)wall200C,1,0)IfmeshqualitydropsbelowaspecifiedvalueinamovingmeshcaseMoreonlogicalexpressionsintheCELlecture,ThisoptionisonlyavailablewhenasoliddomainisincludedinthesimulationTheSolidTimescaleshouldbeselectedsuchthatitisMUCHlargerthanthefluidtimescale(100timeslargeristypical)theenergyequationisusuallyverystableinthesolidzonesolidtimescalesaretypicallymuchlargerthanfluidtimescales,SolverControlSolidTimescaleControl,ThefluidtimescaleisestimatedusingLengthScale/VelocityScaleThesolidtimescaleisautomaticallycalculatedasfunctionofthelengthscale,thermalconductivity,densityandspecificheatcapacityOryoucanchoosethePhysicalTimescaleoptionandprovideatimescaledirectly,TheEquationClassSettingstabisanadvancedoptionthatcanbeusedtosetSolvercontrolsonanequationspecificbasisNotusuallyneededWilloverridethecontrolssetonBasicSettingsfortheselectedequationAdvancedOptionsAdvancedsolvercontroloptionsRarelyneeded,SolverControlEquationClassSettings,OutputControlsResults,TheOutputControlsettingscontroltheoutputproducedbytheSolverTheTrnResults,TrnStatsandExporttabonlyapplytotransientsimulationsandarecoveredintheTransientchapterTheResultstabcontrolsthefinal.resfileGenerallydonotusetheSelectedVariables(orNone!)optionsinceitprobablywontcontainenoughinformationtorestarttherunlaterOutputEquationResidualsisusefulifyouneedtocheckwhereconvergenceproblemsareoccurringExtraOutputVariablesListcontainsvariablesthatarenotwrittentothestandardresultsfileE.g.Vorticity,Frequencyofoutputcanbeadjusted,OutputControlsBackup,TheBackuptabcontrolsifandwhenbackupresultsfilesareautomaticallywrittenbytheSolverRecommendforlongSolverrunsincaseofpowerfailure,networkinterruptions,etcOption:Standard:LikeafullresultsfileEssential:AllowsacleansolverrestartSmallest:Canrestartthesolver,buttherellbeajumpintheresidualsSelectedVariables:NotrecommendedCanalsomanuallyrequestabackupfilefromtheSolverManageratanytime,TheMonitortaballowsyoutocreateMonitorPointsTheseareusedtotrackvaluesofinterestastheSolverrunsTheCartesianCoordinatesOptionisusedtotrackthevalueofavariableataspecificX,Y,ZlocationTheExpressionOptionisusedtomonitorthevaluesofaCELexpressionE.g.CalculatetheareaaverageofCpattheinletboundary:areaAve(Cp)inletE.g.Massflowofparticularfluidthroughanoutlet:oil.massFlow()outletInsteady-statesimulationsyoushouldcreatemonitorpointsforquantitiesofinterestOnemeasureofconvergenceiswhenthesevaluesarenolongerchanging,OutputControlsMonitor,TheCFX-SolverManagerisagraphicaluserinterfaceusedto:DefinearunControltheCFX-SolverinteractivelyViewinformationabouttheemergingsolutionExportdata,SolverManager,DefineanewSolverrunSolverInputFileshouldbethe.deffileCanalsopick.res,.bakor_full.trnfilestorestartapreviousincompleterunTomakeaphysicschangeandrestartasolution,createanew.deffileandprovideitastheSolverInputFilethenselectthe.res,.bakor_full.trnfileintheInitialValuesSpecificationsectionIfbothfileshavethesamephysics,thisisthesameaspickingthe.res/.bak/_full.trnfileastheinputfileUseMeshFromselectswhichmeshtouse.Ifthemeshesareidenticalcanuseeitheroption,otherwise:IfyouusetheSolverInputFilemesh,theInitialValuessolutionisinterpolatedontotheinputfileIfyouusetheInitialValuesmeshonlythephysicsfromtheSolverInputFileisusedContinueHistoryFromcarriersoverconvergencehistoryanditerationcounters,SolverManagerDefiningaRun,SolverManagerDefiningaParallelRun,BydefaulttheSolverwillruninserialAsinglesolverprocessrunsonthelocalmachineSettheRunModetooneoftheparalleloptionstomakeuseofmultiplecores/processorsRequiresparallellicensesAllowsyoutodividealargeCFDproblemintosmallerpartitionsFastersolutiontimesSolvelargerproblemsbymakinguseofmemory(RAM)onmultiplemachinesTheLocalParalleloptionsshouldbeusedwhenrunningonasinglemachineTheDistributedParalleloptionsshouldbeusedwhenrunningacrossmultiplemachines,SerialLocalParallelDistributedParallelDifferentcommunicationmethodsareavailable(MPICH2,HPMPI,PVM)Seedocumentation“WhenToUseMPIorPVM”formoredetails,butHPMPIisrecommendedinmostcases,SolverManagerDefiningaParallelRun,TheShowAdvancedControltoggleenablesthePartitioner,SolverandInterpolatortabsOnthePartitionertabyoucanpickdifferentpartitioningalgorithmsPartitioningisalwaysaserialprocessCanbeaproblemforv.largecasessinceyoucannotdistributethememoryloadacrossmultiplemachinesThedefaultMeTiSalgorithmusesmorememorythanothers,soifyourunoutofmemoryuseadifferentmethod(seedocumentationfordetails)MultidomainOption:IndependentPartitioning:EachdomainispartitionedintonpartitionsCoupledPartitioning:AlldomainsarecombinedandthenpartitionedintonpartitionsTheresaspecificoptionforTransientRotorStatorcases,SolverManagerDefineRunAdvancedControls,OntheSolvertabyoucanselecttheDoublePrecisionoptionThesolverwillusemoresignificantfiguresinitscalculationsDoublessolvermemoryrequirementsUsewhenround-offerrorcouldbeaproblemifsmallvariationsinavariableareimportant,wheresmallisrelativetotheglobalrangeofthatvariable,e.g:ManyMeshMotioncases,sincethemotionisoftensmallrelativetothesizeofthedomainMostCHTcases,sincethermalconductivityisvastlydifferentinthefluidandsolidIfyouhaveawidepressurerange,butsmallpressurechangesareimportantSmallvaluesbythemselvesdonotneedDP,SolverManagerDefineRunAdvancedControls,TheSolverestimatesitsmemoryrequirementsupfrontMemoryAllocFactorisamultiplierforthisestimateUsewhenthesolverstopswithan“InsufficientMemoryAllocated”error,SolverManagerInteractiveSolverControl,DuringasolutionEditRuninProgressletsyoumakechangesontheflyModelsgenerallycannotbechanged,buttimescales,BCs,etccan,.outfile,MonitorPlot,SolverManagerAdditionalSolutionMonitors,Right-click,BydefaultmonitorplotsarecreatedshowingtheRMSresidualsforeachequationsolved,plusoneplotforanymonitorpointsRight-clicktoswitchbetweenRMSandMAXAdditionalmonitorscanbeselectedshowing:ImbalancesBoundaryfluxes(FLOW)BoundaryforcesTangential(viscous)Normal(pressure)Sourceterms,NewMonitor,StartanewSimulation,MonitorRuninProgress,MonitorFinishedRun,StopCurrentRun,SaveCurrentRun,SwitchResidualPlotbetweenRMSandMAX,Bydraggingthecursoroveranyicon,thefeaturedescriptionwillappear,SolverManagerAdditionalIcons,Chapter5CFDPost,IntroductiontoCFX,CFD-Postisaflexible,state-of-the-artpost-processorforANSYSCFDproducts(CFXandFLUENT)Itcanrunasastandalonepost-processor,orwithinWorkbenchIncludesalltheexpectedplottingobjectsPlanes,Isosurfaces,Vectors,Streamlines,Contours,Animations,Allowsprecisequantitativeanalysis:Weightedaverages,forces,FFT,resultscomparison,built-inanduserdefinedmacros,Cancreateuserdefinedscalar/vectorvariablesIncludesAutomaticReports,Charts(XY,Time,Histograms),Tables,SupportsSessionfiles,Statefiles,CommandandExpressionLanguages(includingthePerlprogramminglanguage),Overview,WithintheCFX-SolverManagerFromtheCFXLauncherWithinANSYSWorkbenchFromtheStartMenuorCommandLineStartProgramsANSYS12.0ANSYSCFD-Post,HowToStartCFD-Post,GUILayout,Outlinetab(“modeltree”),Detailsview,Additionaltabs(varioustools),VariousViewers(3D,Chart,),PreparelocationswheredatawillbeextractedfromorplotsgeneratedCreatevariables/expressionswhichwillbeusedtoextractdata(ifnecessary)i)Generatequalitativedataatlocationsii)GeneratequantitativedataatlocationsGenerateReports,CFD-PostGeneralWorkflow,CreatingLocations,LocationsarecreatedfromtheInsertmenuorfromthetoolbarOncecreated,allLocationsappearasentriesintheOutlinetree,UsethecheckboxesnexttoeachobjectintheOutlinetreetoquicklycontrolvisibility,Double-clickobjectsintheOutlinetreetoedit,Right-clickobjectsintheOutlinetreetoDuplicateorDelete,CreatingLocations,Domain,Subdomain,BoundaryandMeshRegionsarealwaysavailableBoundaryandMeshRegionscanbeeditedandcolouredbyanyvariableMeshRegionsprovidesallavailableinterior/exterior2D/3DregionsfromthemeshAllLocationsyoucreatearelistedunderUserLocationsandPlotsAllitemscontainedintheReportarelistedhere,PlanesXYPlane,PointandNormal,etc.Candefineacircleorrectangletoboundtheplane,otherwiseitsboundedonlybythesolutiondomain(s)PointXYZ:Atcoordinates.CanpickfromViewerNodeNumber:SomesolvererrormessagesgiveanodenumberVariableMax/Min:Usefultolocatewheremax/minvaluesoccurPointCloudCreatemultiplepointsUsuallyusedasseedstostreamlines,vectors,LocationTypes,LocationTypes,LinesStraightlinebetweentwopointsUsuallyusedasthebasisforanXYChartPolylinesAlsousedforChartsReadpointsfromafileUsethelineofintersectionbetweenaboundaryandanotherlocationExtractalinefromacontourplot,LocationTypes,VolumesElementsareeitherinoroutNocutvolumesFromSurfaceAvolumeisformedfromallelementstouching(orabove/below)theselectedlocationCanbeusefulformeshcheckingIsovolumeBaseonavariableat,aboveorbelowagivenvalue,orbetweentwovalues,LocationTypes,IsosurfacesSurfaceofavariableataspecifiedvalueIsoClipAnIsoCliptakesacopyofanyexistinglocationandthenclipsitusingoneormorecriteriaE.g.aoutletboundaryplotwhichisthenclippedbyVelocity=10m/sandVelocityNewinthetophalfoftheVariablestabThereare3methodsforUserDefinedvariablesTheExpressionmethoddefinesavariableviaanexpression,whichcanbeafunctionofanyothervariableUsuallycreatetheexpressionfirstontheExpressionstab.Exampleonnextslide.FrozenCopyhasbeensupersededbyCaseComparisonTheGradientmethodcalculatesthegradientofanyexistingscalarvariableProducesanewvectorvariable,Goal:PlotanisosurfaceatVelRatio=0.7where,OntheExpressionstabcreatetheexpressionforVelocityRatio:OntheVariablestabcreateanewvariablenamedVelRatiousingMethod=Expression,UserDefinedVariablesExample,CreateanIsosurfaceusingthevariableVelRatioatavalueof0.7,UserDefinedVariablesExample,Goal:PlotanisosurfaceatVelRatio=0.7where,ExpressionsTab,TheExpressionstabshowsallexistingexpressionsandallowsyoutocreatenewexpressionsRight-clickinthetopareaNe
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 菏泽家政职业学院《国际贸易综合模拟》2023-2024学年第二学期期末试卷
- 武汉工程科技学院《摄影与生活》2023-2024学年第二学期期末试卷
- 北京航空航天大学《信号与系统仿真基础实验》2023-2024学年第二学期期末试卷
- 哈尔滨科学技术职业学院《电子电路应用》2023-2024学年第二学期期末试卷
- 南京大学金陵学院《朗读技能指导与训练》2023-2024学年第二学期期末试卷
- 陇南师范高等专科学校《财税法》2023-2024学年第二学期期末试卷
- 贵阳信息科技学院《建设法规与工程监理概论》2023-2024学年第二学期期末试卷
- 云南商务职业学院《控制仪表及装置》2023-2024学年第二学期期末试卷
- 广东行政职业学院《建筑工程计量与计价A》2023-2024学年第二学期期末试卷
- 北方工业大学《卫生财务管理》2023-2024学年第二学期期末试卷
- 矿山安全培训课件-矿山地质安全
- (完整)被动防护网施工方案
- 《高层建筑火灾扑救》教学课件
- 东师《德育与班级管理》题库与答案
- 2023年南昌市外国与学校小升初能力试题
- 江西省医疗服务价格手册
- 义务教育初中地理课程标准2022版
- 湘版(2017秋)4年级下册实验报告单
- 广东中考数学考试大纲(5篇)
- 2023年三顾茅庐的课本剧剧本(3篇)
- 高考冲刺天主题班会
评论
0/150
提交评论