fluent 学习资料 Laminar Pipe Flow.docx

上传人:b****4 文档编号:4235805 上传时间:2022-11-28 格式:DOCX 页数:34 大小:1.02MB
下载 相关 举报
fluent 学习资料 Laminar Pipe Flow.docx_第1页
第1页 / 共34页
fluent 学习资料 Laminar Pipe Flow.docx_第2页
第2页 / 共34页
fluent 学习资料 Laminar Pipe Flow.docx_第3页
第3页 / 共34页
fluent 学习资料 Laminar Pipe Flow.docx_第4页
第4页 / 共34页
fluent 学习资料 Laminar Pipe Flow.docx_第5页
第5页 / 共34页
点击查看更多>>
下载资源
资源描述

fluent 学习资料 Laminar Pipe Flow.docx

《fluent 学习资料 Laminar Pipe Flow.docx》由会员分享,可在线阅读,更多相关《fluent 学习资料 Laminar Pipe Flow.docx(34页珍藏版)》请在冰豆网上搜索。

fluent 学习资料 Laminar Pipe Flow.docx

fluent学习资料LaminarPipeFlow

ProblemSpecification

1.CreateGeometryinGAMBIT

2.MeshGeometryinGAMBIT

3.SpecifyBoundaryTypesinGAMBIT

4.SetUpProbleminFLUENT

5.Solve!

6.AnalyzeResults

7.RefineMesh

Problem1

Problem2

LaminarPipeFlow

ProblemSpecification

Considerfluidflowingthroughacircularpipeofcontantcross-section.ThepipediameterD=0.2mandlengthL=8m.TheinletvelocityVin=1m/s.Considerthevelocitytobeconstantovertheinletcross-section.Thefluidexhaustsintotheambientatmospherewhichisatapressureof1atm.Takedensityρ=1kg/m3andcoefficientofviscosityµ=2x10-3kg/(ms).TheReynoldsnumberRebasedonthepipediameteris

whereVavgistheaveragevelocityattheinlet,whichis1m/sinthiscase.

SolvethisproblemusingFLUENT.Plotthecenterlinevelocity,wallskin-frictioncoefficient,andvelocityprofileattheoutlet.Validateyourresults.

Note:

Thevaluesusedfortheinletvelocityandflowpropertiesarechosenforconvenienceratherthantoreflectreality.ThekeyparametervaluetofocusonistheReynoldsno.

PreliminaryAnalysis

Weexpecttheviscousboundarylayertogrowalongthepipestartingattheinlet.Itwilleventuallygrowtofillthepipecompletely(providedthatthepipeislongenough).Whenthishappens,theflowbecomesfully-developedandthereisnovariationofthevelocityprofileintheaxialdirection,x(seefigurebelow).Onecanobtainaclosed-formsolutiontothegoverningequationsinthefully-developedregion.YoushouldhaveseenthisintheIntroductiontoFluidMechanicscourse.Wewillcomparethenumericalresultsinthefully-developedregionwiththecorrespondinganalyticalresults.Soit'sagoodideaforyoutogobacktoyourtextbookintheIntrocourseandreviewthefully-developedflowanalysis.Whatarethevaluesofcenterlinevelocityandfrictionfactoryouexpectinthefully-developedregionbasedontheanalyticalsolution?

Whatisthesolutionforthevelocityprofile?

We'llcreatethegeometryandmeshinGAMBITwhichisthepreprocessorforFLUENT,andthenreadthemeshintoFLUENTandsolvefortheflowsolution.

GotoStep1:

CreateGeometryinGAMBIT

Step1:

CreateGeometryinGAMBIT

StrategyforCreatingGeometry

Inordertocreatetherectangle,wewillfirstcreatetheverticesatthefourcorners.We'llthenjoinadjacentverticesbystraightlinestoformthe"edges"oftherectangle.Lastly,we'llcreatea"face"correspondingtotheareaenclosedbytheedges.InStep2,we'llmeshthefacei.e.therectangle.Notethatin3Dproblems,you'llhavetoforma"volume"fromfaces.SothehierarchyofgeometricobjectsinGAMBITisvertices->edges->faces->volumes.

CreateaWorkingDirectory

Createafoldercalledpipeinaconvenientlocation.We'llusethisastheworkingfolderinwhichfilescreatedduringthesessionwillbestored.

NoteforACCELcomputerlabusers:

Eachusergetshis/herown100MBofdiskspaceunderS:

atACCEL.YoucanputyourfilesinS:

andit'llbeaccessiblefromanycomputer.Thisiswhereyoushouldputfilesthatyouwanttokeepandaccesslateron.

StartGAMBIT

Startyourcommandprompt.

Start>Run

InWindowsNT/2000/XP:

Typecmdandpressenter.

InWindows95/98/ME:

Typecommandandpressenter.

Navigateyourwaytoyourworkingfolder.Forexample,ifyoucreatedafoldernamedfluentondriveS:

inWindows,typecdS:

\fluentatthecommandpromptandpressEnter.

StartGAMBITbytypinggambit-idpipeatthecommandpromptandpressingEnter.

Ifthisdoesn'twork,trytypingthefullpathnametotheGAMBITexecutable:

c:

\fluent.inc\ntbin\ntx86\gambit-idpipe

ThisbringsuptheGAMBITinterfaceandtellsGAMBITtousepipeasthedefaultprefixforallfilescreatedduringthesession.InWindows,theExceedX-serverstartsupbeforetheGAMBITinterfacecomesup.Exceedisathird-partyapplicationneededtorendertheinterfaceinWindows(GAMBITwasoriginallydevelopedunderUnix).Tomakebestuseofscreenrealestate,movethewindowsandresizethemsothatyouapproximatethisscreenarrangement.ThiswayyoucanreadinstructionsinthebrowserwindowandimplementtheminGAMBIT.

Youcanresizethetextinthebrowserwindowtoyourtasteandcomfort:

InInternetExplorer:

Menubar>View>TextSize,thenchoosetheappropriatefontsize.

InNetscape:

Menubar>View>IncreaseFontorMenubar>View>DecreaseFont.

TheGAMBITInterfaceconsistsofthefollowing:

∙MainMenuBar:

NotethatthejobnamepipeappearsafterID:

inthetitlebaroftheUtilityMenu.

∙OperationToolpad:

We'llmoreorlessworkourwayacrosstheOperationToolpadaswegothroughthesolutionsteps.Noticethataseachofthetopbuttonsisselected,adifferent"sub-pad"appears.TheGeometrysub-padisshownintheabovesnaphot.

∙GlobalControlToolpad:

TheGlobalControlToolpadhasoptionssuchasFittoScreen

andUndo

thatareveryhandyduringthecourseofgeometryandmeshcreation.

∙GAMBITGraphics:

Thisisthewindowwherethegraphicalresultsofoperationsaredisplayed.

∙GAMBITDescriptionPanel:

TheDescriptionPanelcontainsdescriptionsofbuttonsorobjectsthatthemouseispointingto.MoveyourmouseoversomebuttonsandnoticethecorrespondingtextintheDescriptionPanel.

∙GAMBITTranscriptWindow:

ThisisthewindowtowhichoutputfromGAMBITcommandsiswrittenandwhichprovidesfeedbackontheactionstakenbyGAMBITasyouperformoperations.If,atsomepoint,youarenotsureyouclickedtherightbuttonorenteredavaluecorrectly,thisiswheretolooktofigureoutwhatyoujustdid.YoucanclickonthearrowbuttonintheupperrighthandcornertomaketheTranscriptwindowfull-sized.Youcanclickonthearrowagaintoreturnthewindowtoitsoriginalsize.Goahead,givethisatry.

SelectSolver

SpecifythatthemeshtobecreatedisforusewithFLUENT6.0:

MainMenu>Solver>FLUENT5/6

VerifythishasbeendonebylookingintheTranscriptWindowwhereyoushouldsee:

Theboundarytypesthatyou'llbeabletoselectinthethirdstepdependsonthesolverselected.

Wecanassumethattheflowisaxisymmetric.Theproblemdomainis:

whererandxaretheradialandaxialcoordinates,respectively.

Strategyforcreatinggeometry

Wewillputtheoriginofthecoordinatesystematthelowerleftcorneroftherectangle.Thecoordinatesofthecornersareshowninthefigurebelow:

Wewillfirstcreatefourverticesatthefourcornersandjoinadjacentverticestogettheedgesoftherectangle.Wewillthenformafacethatcoverstheareaoftherectangle.

CreateVertices

FindthebuttonsdescribedbelowbypointingthemouseateachofthebuttonsandreadingtheDescriptionWindow.

OperationToolpad>GeometryCommandButton

>VertexCommandButton

>CreateVertex

NoticethattheCreateVertexbuttonhasalreadybeenselectedbydefault.Afteryouselectabuttonunderasub-pad,itbecomesthedefaultwhenyougotoadifferentsub-padandthencomebacktothesub-pad.

Createthevertexatthelower-leftcorneroftherectangle:

Nexttox:

entervalue0.Nexttoy:

entervalue0.Nexttoz:

entervalue0(thesevaluesshouldbedefaults).ClickApply.Thiscreatesthevertex(0,0,0)whichisdisplayedinthegraphicswindow.

IntheTranscriptwindow,GAMBITreportsthatit"Createdvertex:

vertex.1".Theverticesarenumberedvertex.1,vertex.2etc.intheorderinwhichtheyarecreated.

Repeatthisprocesstocreatethreemorevertices:

Vertex2:

(0,0.1,0)

Vertex3:

(8,0.1,0)

Vertex4:

(8,0,0)

Notethatfora2Dproblem,thez-coordinatecanalwaysbelefttothedefaultvalueof0.

OperationToolpad>GlobalControl>FittoWindowButton

ThisfitsthefourverticesoftherectanglewehavecreatedtothesizeoftheGraphicsWindow.

(Clickpictureforlargerimage)

CreateEdges

We'llnowconnectappropriatepairsofverticestoformedges.ToselectanyentityinGAMBIT,holddowntheShiftkeyandclickontheentity.

OperationToolpad>GeometryCommandButton

>EdgeCommandButton

>CreateEdge

SelecttwoverticesthatmakeupanedgeofthisrectanglebyholdingdowntheShiftbuttonandclickingonthecorrespondingvertices.Aseachvertexispicked,itwillappearredintheGraphicsWindow.ThenletgooftheShiftbutton.Wecanchecktheselectedverticesbyclickingontheup-arrownexttoVertices:

.

Thiswillbringupawindowcontainingtheverticesthathavebeenselected.VerticescanbemovedfromtheAvailableandPickedlistsbyselectingthemandthenpressingtheleftorrightarrowbuttons.

Afterthecorrectverticeshavebeenselected,clickClose,thenclickApplyintheCreateStraightEdgewindow.

Repeatthisprocesstocreatearectangle.

(Clickpictureforlargerimage)

CreateFace

OperationToolpad>GeometryCommandButton

>FaceCommandButton

>FormFace

Toformafaceoutoftheareaenclosedbythefourlines,weneedtoselectthefourledgesthatenclosethisarea.ThiscanbedonebyholdingdowntheShiftkey,clickingoneachline(noticethatthecurrentlyselectedlineappearsred),andthenreleasingtheShiftkeyafterallfourlineshavebeenselected.

Alternatively,aneasierwaytodothiswouldbetoclickontheuparrownexttoedges:

ThiswillbringuptheEdgeListwindow.ClickonAll->toselectalloftheedgesatonce.ClickClose.

ClickApplytocreatetheface.

GotoStep2:

MeshGeometryinGAMBIT

Step2:

MeshGeometryinGAMBIT

We'llnowcreateameshontherectangularfacewith100divisionsintheaxialdirectionand5divisionsintheradialdirection.We'llfirstmeshthefouredgesandthentheface.Thedesiredgridspa

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 解决方案 > 学习计划

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1