




免费预览已结束,剩余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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 物流破损合同5篇
- 租赁合同范文:临时租车协议4篇
- 专家顾问聘用合同协议书范本7篇
- 金融机构间约期存款标准合同3篇
- 废旧电机购销合同范本
- 租用铺面合同范本
- 天目云雾购销合同3篇
- 厂房转让合同范本
- 借贷合同范本简单版
- 场地出租转租合同范本
- QB/T 2660-2024 化妆水(正式版)
- 2024年红河产业投资集团有限公司招聘笔试冲刺题(带答案解析)
- 《HALCON编程及工程应用》课件第9章 HALCON测量
- 医院培训课件:《护理人文关怀的践行-仁心仁护彰显大爱》
- PETS5词汇表总结大全
- 数字谜02-三上08-乘除法填空格
- 应届生培养方案
- 保险代位求偿权答辩状
- 《英语句子成分及基本结构》课件
- 汽修基础理论知识
- 综合实践活动六年级上册全册讲课课件
评论
0/150
提交评论