 
         
         
         
         
        
            已阅读5页,还剩268页未读,            继续免费阅读
        
        
                版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
            1,Inthissession:GridgenTerminology.GUIComponents.GridgenHelp.Building2DStructuredGrids.Building2DUnstructuredGrids.Tutorial:“2DBump:BasicSkills.”,GridgenTraining,Overview,2,WhatsanEntity?,Anentityisanyindividualelementthatmakesuppartofagridorgeometry.,GridgenTerminology,Domains,Blocks,Connectors,ExamplesofGridgenentities,3,Connectors,GridgenTerminology,Connectorsarethecurveentitiesthatdefineallgridedges.,Connectorscontainoneormoresegments.,Nodesmarkconnectorendpoints.,ControlPointsletuserdefinesegmentshape.,Connectorsaredimensionedbynumberofgridpointswithadistributiondescribinghowtheyareplaced.,4,Domains,GridgenTerminology,ADomainisasurfacegridentityboundedbyedges.,StructuredDomainsconsistsolelyofquadrilateralelements.,UnstructuredDomainsconsistsolelyoftriangularelements.,StructuredDomainshaveexactlyfouredges.,UnstructuredDomainsgenerallyhaveoneedge(moreiftheytheencompassholes).,Eachedgecontainsoneormoreconnector(s).,5,Blocks,GridgenTerminology,ABlockisavolumegridentityboundedbyfaces.,StructuredBlocksconsistsolelyofhexahedralelements.,UnstructuredBlockscanconsistoftetrahedral,pyramidal,and/orprismaticelements.,StructuredBlocksareboundedbyexactlysixfaces.,UnstructuredBlocksgenerallyhaveoneface(moreiftheyencompassholes).,Eachfacecontainsoneormoredomain(s).,6,Grids,AGridiscomposedofvolumeand/orsurfacegridblocks.,StructuredGridscontainonlyquadrilateralandhexahedralelements.,UnstructuredGridscontainonlytriangularandtetrahedralelements.,HybridGrids(suchasthatshownhere)containbothstructuredandunstructuredgridelements(quads,triangles,hexes,andtets)andcanalsohaveprismaticandpyramidalelements.,GridgenTerminology,7,Databases,InGridgen,databasesrefertocollectionsofgeometryinformationthatcanbeusedtodefinetheshapetowhichthegridistobebuiltandtypicallycomefromcomputeraideddesign(CAD)software:AnalyticcurveandsurfaceinformationfromaCADfile.Shelldiscreteunstructureddatabasesurfaceentity,generallyimportedfromstereolithography(STL)formattedfiles.Networkbilinear(non-slopecontinuous)databasesurfaceentity,generallyimportedfromPlot3Dformattedfiles.Ofcourse,databasesarenotnecessarytobuildgridswithGridgen,butareoftenneededforimportingcomplexgeometries.,GridgenTerminology,8,TheGridgenScreen,GUIComponents,VersionListsGridgenversionnumber,StatusTalliesnumberofgridentities,MessageProvidesinstructionsandpromptsfortextinput,TextInputEchoesdataenteredviakeyboard,BlackboardDisplayscontext-sensitivegraphicalandtabulardata(akaDiagnosticorBrowserwindow),CommandMenuListsGridgenCommands(akaButtonMenu),DisplayShowsgraphicalimageofgridanddatabase,9,TheMouse:Pan,Zoom,andPick,LeftMouseButton:PanPressandholdtheleftmousebuttontopanthemodelimageinthedisplaywindow.Whilepanning,themousecursorchangesto:,CenterMouseButton:ZoomPressandholdthecentermousebuttontochangethemodelimagessize,pushingthemouseawayfromyouzoomsoutwhilepullingittowardsyouzoomsin.Formicewithacenterwheel,thewheelcanberolledorhelddowntocontrolzoom.Ontwobuttonmice,zoomingisaccomplishedbyholdingbothbuttonsdown.Whilezooming,themousecursorchangesto:,RightMouseButton:PickPressandreleasetherightmousebuttontoselectcommandsfromthecommandmenuorpickentitiesinthedisplaywindoworbrowserlist.Whilepicking,themousecursorchangesto:,GUIComponents,10,SomeMouseOptions,GUIComponents,Thefunctionsoftheleftandrightmousebuttonscanbereversed,sothatleftisforpickingandrightisforpanning.ThiscanbedonebyselectingLeftPk.,Whendealingwithsmallergeometricentities,itmayalsobedesirabletoreducethemousesensitivityinpanning,zooming,androtatingthescreenimage.Thiscanbedonebyclickingonthebutton(moreclicks,lesssensitivity).,Youmaywishtochangesomeofthedefaultmousesettings.ThesecanbeaccessedbyselectingtheDisplayorDispsubmenufromGridgensMAINMENU.,11,ModelRotations,Y,X,Z,ScreenCoordinates,BodyCoordinates,GUIComponents,Gridgenhastwodistinctcoordinatesystems:screencoordinatesandbodycoordinates.Inadditiontopanning,zooming,andpicking,themousebuttonscanalsobeusedtorotatethemodelscreenimage.ThisisdonebycombiningtheleftandcentermousebuttonswiththeCtrlkey:Ctrl+leftmousebutton:screenxandyrotations.Ctrl+centermousebutton:screenzrotations.,12,ModelRotations(Continued),Formorepreciserotationcontrol,thefollowingnumpadkeyscanbeused:7rotatesaboutthexscreenaxis.8rotatesabouttheyscreenaxis.9rotatesaboutthezscreenaxis.NumLockrotatesaboutthexbodyaxis./rotatesabouttheybodyaxis.*rotatesaboutthezbodyaxis.Additionalrotationfeaturescanbeaccessedwiththefollowing“hotkeys”:PageDownusedwithanyofthex-y-zbody/screenkeysresultsina90deg.rotationaboutthecorrespondingcoordinatedirection.PageUpusedwithanymodelmanipulation,whetherbymouseorkeyboard,provides3xaccelerationoftheoperation.+andnumpadkeysreversethedirectionofakeyboardmodelrotation.Altusedwithanumpadmodelrotationgivesasingleincrement(3deg.)rotation.,GUIComponents,13,CommonlyUsedHotKeys,GUIComponents,Note:HotkeysforGridgencommandsareshownaspinkcharactersonthecorrespondingGUIbuttons.,14,FileBrowsing,SelectingInput/OutputfromtheMAINMENUopenstheINPUT/OUTPUTCOMMANDSsubmenufromwhich(inthisexample)theINPUTGridgenFILEsubmenuhasbeenselected.,TheBrowserWindowshowstheappropriatecontentsofthecurrentworkingdirectory.Themousecanbeusedtoscrollthroughandselectfromlist.,SelectingTypeinNameallowsyoutotypeinafilenameforimportorexport,whileTypeinDirletsanewworkingdirectorytobeset.,SelectingGotoDir(/inUnix)willprovidelistofavailabledrivestochangetoascurrentworkingdirectory,whileGotoDirOrigchangestheworkingdirectorybacktotheoriginaldirectorywhereGridgenwasopened.,GUIComponents,Oncefilehasbeenselected,Openisclicked.,15,FileBrowsing(Continued),UponenteringtheTypeinNamemode,thetextinputwindowwillechothefilenameenteredviathekeyboard.Oncethenameisentered,theEnterkeyonthekeyboardorOpenbuttonintheGUImustbeclicked.Theesckeycanbeusedtoexitfromtextinput.Noothercommandsormanipulationsareavailablewhileinthismode.Glyphexpressionsarevalid.,GUIComponents,16,GridgenFileNames,GridgenRestartFiles(.gg)containentiregridmodelsfromcontrolpointdefinitionsthroughboundaryconditionsettings.Theyonlyreferencedatabaseinformation.CompositeDatabaseFiles(.dba)store,inGridgensnativedatabasemodelformat,datafromalldatabasesources,aswellasdatabaseentitydisplayattributesandlayerinformation.,GUIComponents,17,GridgenHelp,GridgenHelp,Gridgenshtml-basedhelpcanbeaccessedfromvirtuallyanymenuwithintheprogrambyeithermouseclickingontheHelpbuttonorentering?Fromthekeyboard.ThishelpdocumentationisequivalenttotheUserManualandautomaticallyopenstothepertinentsectionrelatingtotheoperationormodecurrentlyinusewithinGridgen.Forexample,thewindowattheleftopenswhenhelpiscalleduponfromtheopeningI/Omenu.,18,Building2DStructuredGrids,Building2DStructuredGrids,Beginningwiththeairfoildatabasegeometrybelow,thehybridgridshownattherightwillbeconstructedusingGridgen,startingwiththe2Dstructuredblockatthetop.,19,The“Bottom-Up”GridgenProcess,Building2DStructuredGrids,SelectAnalysisSoftwareandMeshDimensionalityImportandManipulateDatabaseGeometryCreateSegmentsandConnectorsDimensionConnectorsandDistributeGridPointsAssembleDomainsAssembleBlocksSetupCFDAnalysisBoundariesExportandSaveFiles,20,SelectAnalysisSoftware,ThefirststepinanyGridgenprojectistheselectionoftheCFDanalysissoftwareandthedimensionality(2Dvs.3D)ofthemeshbeingconstructed.,IntheMAINMENU,AnalysisS/Wischosentobringupthecorrespondingcommandsmenu.,SelectAnalysisS/Wisthenclicked,whichbringsupthefairlylengthylistofsupportedCFDpackages.,Forthisexample,2Dandthedefaultgenericsolverwillbeselectedviamouseclicks.Oncetheseselectionsaremade,theNextPagebuttonisclickedtobringupthesecondhalfofthesupportedsoftwarelistsotheDonebuttonattheendofthelistcanbeselectedtoconfirmthechoices.,Building2DStructuredGrids,21,SetDefaults,Building2DStructuredGrids,Althoughnotessential,settingdefaultvaluesforsomeitems,suchasconnectordimension,cansavetimeduringthemeshconstructionprocess.,IntheMAINMENU,Defaultsischosentobringupthedefaultsmenu.Note:AnotherwaytobringupthedefaultsmenuistoselecttheDfltquickkey.,Theblackboardwindowshowsthecurrentdefaultsettings,e.g.,thedefaultconnectordimension(ConnDimens)is0.Thiscanbechangedbyselectingtheappropriatebuttonbelow.,Thisactivatesthetextinputwindow.Forthepresentexample,typein36andthenhitEntertostoreit.Theblackboardwindowwillshowthenewvalue.ClickDonetofinishsettingdefaults.,22,ImportDatabaseGeometry,Building2DStructuredGrids,Next,thedatabasefilecontainingtheairfoilgeometrywillbeimported.,IntheMAINMENU,Databaseischosentobringupthecorrespondingcommandsmenu.Note:Asanalternative,thefhotkeyonthekeyboardcouldbeused.,ImportisthenselectedtobringuptheINPUTDATABASEFILEsubmenu.,Thebrowserwindowshowstheavailabledatabase(.dba)filesinthecurrentworkingdirectory.Thedesiredfilecanthenbepickedwiththemouse(changingthenamefrompinktoblackincolor).ClickonOpentoreadthefileintoGridgenandthenDoneintheDATABASECOMMANDSmenutoreturntotheMAINMENU.,23,CreateConnectors,Building2DStructuredGrids,Itsnowpossibletostartbuildingtheconnectorsthatwillmakeuptheedgesofthegrid.Thefirstconnectorwillmatchtheuppercontouroftheairfoil.,IntheMAINMENU,Connectorsischosentobringupthecorrespondingcommandsmenu.,Sincetherearenoconnectorsyet,onlytheCreatecommandisavailableintheCONNECTORCOMMANDSmenu.SelectthistoopentheCreateConnectorsubmenu,Therearethreewaystobuildaconnector:individualcurvesegmentscanbecreatedandlinkedtogether,twoendpointscanbechosentoformaconnectorbetweenthem,oraconnectorcanbelaiddownuponadatabaseentity.Thislastoptionwillbepickedhere.,24,CreateConnectors(Continued),Theblackboardwindowshowstheavailabledatabaseentities.Themousecanbeusedtopickentitiesfromthislistordirectlyfromthedisplaywindow.Onceselected,thetableentryandtheconnectorinthedisplaychangefrompinktoblackincolor.,ClickingonDonecompletestheprocess.Becausethedefaultdimensionhasbeenset,thenewconnectorappearsinpalegreen(ifundimensioned,itwouldhavebeenbrightgreen).,Building2DStructuredGrids,25,CreateConnectors(Continued),Theremainingconnectorsneededtoformtheedgesofthemeshwillbecreatedwiththe2PointConnectorsoption.EachCPcanbeselectedfromthedisplayviathemouseorenteredviathekeyboard.Foreachnewconnector,Gridgeninitiallypositionsthedisplaycursoratthelastendpointofthepreviouslydefinedconnector.Here,allbutthelastconnectorhavebeendefined,andthedisplaycursorispositionedatthatconnectorstrailingendpoint.,Thetrailingendpointforthislastconnectorisalsotheleadingedgeendpointfortheconnectorappliedtotheairfoilsuppersurface.ItcanbeselectedbyrepositioningthedisplaycursorandusingbyPickingorbyenteringitscoordinatesviaKeyboard.Again,clickingDonefinishesthejob.,Asthisisthedesiredstartingpointofthelastconnector,itwillbeselectedviabyPicking.,Building2DStructuredGrids,2,0,0,2,1,0,-1,1,0,-1,0,0,26,CreateConnectors(Continued),Withthelastconnectorcompleted,clickonDoneCreatingConnsintheCREATECONNECTORmenu(orjusthitthecorrespondinghotkey,esc).Next,toseethegridpointdistribution,toggleConGPsinthedisplaymenu(orhitthehotkeycombinationac).Asshown,itsclearthattherearefarmoregridpointsalongthebottomedgethanthetop(sincetherearethreeconnectorsbelowtotheoneabove,buteachwiththesamedefaultdimension).Thishastobecorrectedbeforethedomaincanbebuilt.,Building2DStructuredGrids,27,(Re)DimensionConnectors,Building2DStructuredGrids,IntheCONNECTORCOMMANDSmenu,selectRedimensionGrids.Thiswillallowthetopconnectortobepickedinthedis-playwindowviathemouse,anditsnewdimensiontobeenteredviathekey-board.Inthiscase,106isthatnewdimension(whileeachofthethreebottomconnectorshas36gridpoints,thecenteronesharesoneofitsendpointswitheachofitsneighborsreducingthetotalfortheedgeby2).OnceEnterhasbeenpicked,Done-ApplyNewDimsisclickedtofinish.,28,(Re)DistributeConnectors,Itsalsopossibletoalterthedistributionofgridpointsalongconnectors.Thiswillbediscussedinmoredetaillater.,UnderCONNECTORCOMMANDS,pickSetsVals.,Selectsubconnector(s)forwhichthedistributionistobereset.,Then,SelectDone.,Thenewsvaluecanthenbeenteredandapplied.,s=0,s=0.01,Building2DStructuredGrids,Inthepresentexample,thegridpointswillremainevenlydistributed.,29,AssembleDomains,Building2DStructuredGrids,Allisnowreadytoassembletheconnectorsintothefouredgesthatwillboundthedomainofthemesh.,IntheMAINMENU,pickDomainstoswitchtothatmenu.,Next,selecttheCreatecommandtobeginbuildingthenewdomain.,Besurethatstructuredcelltypeischosen,thenpickAssembleEdges.,Adomainschematicwillappear,aswillseveralchoices.EnsurethatAutoNextEdgeisoff,andAutoCompleteison.,30,AssembleDomains(Continued),Building2DStructuredGrids,Thefirstedgewillconsistofthethreebottomconnectors.Themouseisusedtoselecttheseinturnfromlefttorightthepicturehereshowsthesceneafterthefirsttwohavebeenpickedwiththemousecursorpoisedtoselectthethird.Oncethisconnectorhasbeenadded,NextEdgeisselectedtotellGridgentheedgeiscomplete.Themouseisthenusedtoselecttheconnectorontherightsideofthedomaintobe.WhenNextEdgeisagainselectedafterthat,thedomainwillautocompleteitself.,31,AssembleDomains(Continued),Building2DStructuredGrids,Thisisthedomainthatresults.Notethatthemeshinthevicinityoftheleadingedgeoftheairfoilisabitroughlooking.ThiscanbecorrectedwithalittlesmoothingdonewithGridgensstructuredsolver.TogetbacktotheDOMAINCOMMANDSmenutodothis,selectDone.,32,TheStructuredSolver,Building2DStructuredGrids,Torunthesolver,firstchooseRunSolverStructuredfromtheDOMAINCOMMANDSmenu.,Thedomainisnextpickedinthiscasebyhighlightingtheentryinthebrowserwindow.OnceDoneisselected,theparametersfortheellipticsolvercanbeselected.,Inthisinstance,theRunNIterationsbuttonisselected,and10isenteredviathekeyboard.ClickingEnterwillthenstartthesolver.,33,TheStructuredSolver(Continued),Building2DStructuredGrids,Themeshlineswillshiftasthesolverruns,endingwiththesmoothedmeshasshownhere.DoneSaveisselectedtosavethechanges.,34,AssembleBlocks,Building2DStructuredGrids,FromtheMAINMENU,Blocksisselected.,Thegridblockisnextassembledfromthedomain,inmuchthesamewayasadomainisassembledfromitsconnectoredges.,CreateisthenselectedfromtheBLOCKCOMMANDSmenu.,ThisopenstheCREATEBLOCKsubmenu.EnsurethestructuredcelltypeistoggledbeforeclickingonAssembleFaces.,ThenextstepistopickAdd1stFacetobeginformingtheblock.,35,AssembleBlocks(Continued),Building2DStructuredGrids,Thefaceisselectedbymouseclickingonitsimageinthedisplaywindow.Sincethisisa2Dblock,oncetheSavetheFacebuttonispressed,theblockiscomplete.,PressDoneSaveBlockstofinishthisstep.,36,SetAnalysisBoundaries,Building2DStructuredGrids,ThefinalstepingeneratingthemeshissettinguptheboundariesfortheCFDsoftware.,FromtheMAINMENU,theAnalysisS/Wsubmenuisselected.,SetBCsisthenpicked.,37,SetAnalysisBoundaries(Continued),Building2DStructuredGrids,Theindividualconnectorsthatwillmakeupeachboundarycanthenbehighlightedbymouseinthedisplaywindow.Onceallofthedesiredconnectorsthatwillmakeaboundaryareselected,Doneispickedtobringupasecondmenutospecifytheboundarytypetobeassignedtothatcollection.Inthiscase,theinlettotheflowfieldisbeingselected.Theotherboundariesarespecifiedinthesamemanner.,38,ExportandSaveFiles,Building2DStructuredGrids,ThemeshandboundaryconditionsarenowreadytobeexportedforusewiththeCFDsoftware.,FromtheMAINMENU,Input/Outputisselected.,Fromhere,theindividualfilescanbeexported.,Thewindowforwritingthefilesisbasicallyidenticaltothatusedtoinputthedatabasefilesatthebeginningofthegridgenerationprocess.,39,Building2DUnstructuredGrids,Building2DUnstructuredGrids,Itsnowtimetobuildtheunstructuredblockaroundthelowerhalfoftheairfoil.,Thefirstfewsteps(selectingtheanalysissoftware,settingdefaultsinthiscasetheconnectordimension,andimportingthedatabasegeometry)arethesameasbefore.Tosavesometime,itwillbeassumedthatthesehavealreadybeenperformed.,40,The“Bottom-Up”GridgenProcess,SelectAnalysisSoftwareandMeshDimensionalityImportandManipulateDatabaseGeometryCreateSegmentsandConnectorsDimensionConnectorsandDistributeGridPointsAssembleDomainsAssembleBlocksSetupCFDAnalysisBoundariesExportandSaveFiles,Building2DUnstructuredGrids,41,CreateConnectors,Everythingisthussettostartbuildingtheconnectorsthatwillmakeupthegridsedges.,IntheMAINMENU,Connectorsischosentobringupthecorrespondingcommandsmenu.,SelectCreatetoopentheCreateConnectorsubmenu,Asthefirstconnectorwillbelaiddownontheairfoildatabasegeometry,pickOnDBEntities.,Building2DUnstructuredGrids,42,CreateConnectors(Continued),Asseenpreviously,theairfoiliscomposedoftwodatabaseentities,onefortheuppersurfaceandoneforthelower.Themousecanbeusedtopickthecurveforthelowersurfacefromthelistintheblackboardwindowordirectlyfromthedisplaywindow.Notethatplacingthemousecursorovereithertheentryinthetableortheentityinthedisplayhighlightsbothtoaidtheselectionprocess.,ClickingonDonecompletestheprocess.,Building2DUnstructuredGrids,43,CreateConnectors(Continued),Asbefore,the2PointConnectorsoptionisusedtocreatetheremainingconnectors.SinceGridgeninitiallypositionsthedisplaycursoratthelastendpointofthepreviouslydefinedconnector,itspossibletoquicklyboxintheairfoilfrombelow.Here,thecursorispositionedbackattheleadingedgeoftheairfoil,readytopickthefinalendpointofthelastconnectorneededtocompletethecircuit.,Withthecursorinposition,thelastconnectorcanbecompletedbyPicking.,Building2DUnstructuredGrids,2,-1,0,-1,-1,0,2,0,0,-1,0,0,44,CreateConnectors(Continued),Withthelastconnectorcompleted,clickonDoneCreatingConnsintheCREATECONNECTORmenu(orjusthitthehotkey,esc).Unlikeastructureddomain,theunstructuredonebeingbuiltinsidetheseconnectorswillnotrequirebalancednumbersofgridpointsonoppositeedges(indeedtherewillbeonlyoneedgethatsurroundstheentiredomain).However,topromoteauniformcelldensity,itwillstillbedesirabletoredimensionthatlongconnectoratthebottomtohaveroughlyasmanygridpointsasthethreeconnectorsontheothersidehavecombined.Sincethestepstodothisarethesameaspreviouslyshown,justthefinalresultisdisplayedhere.,Building2DUnstructuredGrids,45,AssembleDomains,Everythingisnowreadytoassembletheconnectorsthatwillboundthemeshdomain.,IntheMAINMENU,pickDomainstoswitchtothatmenu.,Next,selecttheCreatecommandtobeginbuildingthenewdomain.,Besurethatunstructuredcelltypeischosen,thenpickAssembleEdges.,Asanunstructureddomaincanhaveanynumbe        
    温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 海边风景的描写作文9篇
- 企业培训计划与实施记录模板
- 儿童保护项目实施承诺函5篇
- 体育赛事运营计划及推广
- 人事管理表格模板员工入职与离职手续
- 自动化流程优化与作业模板
- 自来水管道施工进度方案
- 2025年新能源汽车自动驾驶安全技术检测与认证报告
- 顶管机同步注浆加固地层施工方案
- 具身智能+环境领域智能环境监测机器人分析研究报告
- 汽车文化考试题及答案
- 2025年新员工入职协议书
- 长春中考直播解读课件
- 运动康复放松培训课件
- 2025下半年四川成都东部新区教育卫健和文旅体局教育系统所属事业单位考试招聘31人考试参考试题及答案解析
- 职高思政考试试题及答案
- 信息化项目合同5篇
- 算力:新质生产力的基石
- 工伤基础培训课件
- 做事先做人培训课件
- 建筑工程材料价格表
 
            
评论
0/150
提交评论