Compressible Flow in a Nozzle.docx

上传人:b****1 文档编号:153002 上传时间:2023-04-28 格式:DOCX 页数:20 大小:328.30KB
下载 相关 举报
Compressible Flow in a Nozzle.docx_第1页
第1页 / 共20页
Compressible Flow in a Nozzle.docx_第2页
第2页 / 共20页
Compressible Flow in a Nozzle.docx_第3页
第3页 / 共20页
Compressible Flow in a Nozzle.docx_第4页
第4页 / 共20页
Compressible Flow in a Nozzle.docx_第5页
第5页 / 共20页
Compressible Flow in a Nozzle.docx_第6页
第6页 / 共20页
Compressible Flow in a Nozzle.docx_第7页
第7页 / 共20页
Compressible Flow in a Nozzle.docx_第8页
第8页 / 共20页
Compressible Flow in a Nozzle.docx_第9页
第9页 / 共20页
Compressible Flow in a Nozzle.docx_第10页
第10页 / 共20页
Compressible Flow in a Nozzle.docx_第11页
第11页 / 共20页
Compressible Flow in a Nozzle.docx_第12页
第12页 / 共20页
Compressible Flow in a Nozzle.docx_第13页
第13页 / 共20页
Compressible Flow in a Nozzle.docx_第14页
第14页 / 共20页
Compressible Flow in a Nozzle.docx_第15页
第15页 / 共20页
Compressible Flow in a Nozzle.docx_第16页
第16页 / 共20页
Compressible Flow in a Nozzle.docx_第17页
第17页 / 共20页
Compressible Flow in a Nozzle.docx_第18页
第18页 / 共20页
Compressible Flow in a Nozzle.docx_第19页
第19页 / 共20页
Compressible Flow in a Nozzle.docx_第20页
第20页 / 共20页
亲,该文档总共20页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

Compressible Flow in a Nozzle.docx

《Compressible Flow in a Nozzle.docx》由会员分享,可在线阅读,更多相关《Compressible Flow in a Nozzle.docx(20页珍藏版)》请在冰点文库上搜索。

Compressible Flow in a Nozzle.docx

CompressibleFlowinaNozzle

CompressibleFlowinaNozzle

**Underconstruction**

ProblemSpecification

Considerairflowingathigh-speedthroughaconvergent-divergentnozzlehavingacircularcross-sectionalarea,A,thatvarieswithaxialdistancefromthethroat,x,accordingtotheformula

A=0.1+x2;-0.5

whereAisinsquaremetersandxisinmeters.Thestagnationpressurepoattheinletis101,325Pa.ThestagnationtemperatureToattheinletis300K.Thestaticpressurepattheexitis3,738.9Pa.WewillcalculatetheMachnumber,pressureandtemperaturedistributioninthenozzleusingFLUENTandcomparethesolutiontoquasi-1Dnozzleflowresults.TheReynoldsnumberforthishigh-speedflowislarge.Soweexpectviscouseffectstobeconfinedtoasmallregionclosetothewall.Soitisreasonabletomodeltheflowasinviscid.

GotoStep1:

CreateGeometryinGAMBIT

Step1:

CreateGeometryinGAMBIT

Sincethenozzlehasacircularcross-section,it'sreasonabletoassumethattheflowisaxisymmetric.Sothegeometrytobecreatedistwo-dimensional.

StartGAMBIT

CreateanewdirectorycallednozzleandstartGAMBITfromthatdirectorybytypinggambit-idnozzleatthecommandprompt.

UnderMainMenu,selectSolver>FLUENT5/6sincethemeshtobecreatedistobeusedinFLUENT6.0.

CreateAxisEdge

We'llcreatethebottomedgecorrespondingtothenozzleaxisbycreatingtheverticesAandBshownintheabovefigureandjoiningthembyastraightline.

OperationToolpad>GeometryCommandButton

>VertexCommandButton

>CreateVertex

Createthefollowingtwovertices:

Vertex1:

(-0.5,0,0)

Vertex2:

(0.5,0,0)

OperationToolpad>GeometryCommandButton

>EdgeCommandButton

>CreateEdge

Selectvertex1byholdingdowntheShiftbuttonandclickingonit.Next,selectvertex2.ClickApplyintheCreateStraightEdgewindow.

CreateWallEdge

We'llnextcreatethebottomedgecorrespondingtothenozzlewall.Thisedgeiscurved.Since

A=pir2

wherer(x)istheradiusofthecross-sectionatxand

A=0.1+x2

forthegivennozzlegeometry,weget

r(x)=[(0.1+x2)/pi]0.5;-0.5

Thisistheequationofthecurvedwall.LifewouldhavebeeneasierifGAMBITallowedforthisequationtobeentereddirectlytocreatethecurvededge.Instead,onehastocreateafilecontainingthecoordinatesofaseriesofpointsalongthecurvedlineandreadinthefile.Themorenumberofpointsusedalongthecurvededge,thesmoothertheresultantedge.

Thefilevert.datcontainsthepointdefinitionsforthenozzlewall.Takealookatthisfile.Thefirstlineis

211

whichsaysthatthereare21pointsalongtheedgeandwearedefiningonly1edge.Thisisfollowedbyx,randzcoordinatesforeachpointalongtheedge.Ther-valueforeachxwasgeneratedfromtheaboveequationforr(x).Thez-coordinateis0forallpointssincewehavea2Dgeometry.

Right-clickonvert.datandselectSaveAs...todownloadthefiletoyourworkingdirectory.

MainMenu>File>Input>ICEMInput...

NexttoFileName:

enterthepathtothevert.datfilethatyoudownloadedorbrowsetoitbyclickingontheBrowsebutton.

Then,checktheVerticesandEdgesboxesunderGeometrytoCreateaswewanttocreatetheverticesaswellasthecurvededge.

ClickAccept.

Thisshouldcreatethecurvededge.Hereitisinrelationtotheverticeswecreatedabove:

(Clickpictureforlargerimage)

CreateInletandOutletEdges

Createtheverticaledgefortheinlet:

OperationToolpad>GeometryCommandButton

>EdgeCommandButton

>CreateEdge

Shift-clickonvertex1andthenthevertexaboveittocreatetheinletedge.

Similarly,createtheverticaledgefortheoutlet.

(Clickpictureforlargerimage)

CreateFace

Formafaceoutoftheareaenclosedbythefouredges:

OperationToolpad>GeometryCommandButton

>FaceCommandButton

>FormFace

Recallthatwehavetoshift-clickoneachoftheedgesenclosingthefaceandthenclickApplytocreatetheface.

SaveYourWork

MainMenu>File>Save

Thiswillcreatethenozzle.dbsfileinyourworkingdirectory.Checkthatithasbeencreatedsothatyouwillabletoresumefromhereifnecessary.

GotoStep2:

MeshGeometryinGAMBIT

Step2:

MeshGeometryinGAMBIT

Nowthatwehavethebasicgeometryofthenozzlecreated,weneedtomeshit.Wewouldliketocreatea50x20gridforthisgeometry.

MeshEdges

Asintheprevioustutorials,wewillfirststartbymeshingtheedges.

OperationToolpad>MeshCommandButton

>EdgeCommandButton

>MeshEdges

LiketheLaminarPipeFlowTutorial,wearegoingtouseevenspacingbetweeneachofthemeshpoints.Wewon'tbeusingtheGradingthistime,sodeselecttheboxnexttoGradingthatsaysApply.

Then,changeIntervalCountto20forthesideedgesandIntervalCountto50forthetopandbottomedges.

(Clickpictureforlargerimage)

MeshFace

Nowthatwehavetheedgesmeshed,weneedtomeshtheface.

OperationToolpad>MeshCommandButton

>FaceCommandButton

>MeshFaces

Asbefore,selectthefaceandclicktheApplybutton.

(Clickpictureforlargeimage)

SaveYourWork

MainMenu>File>Save

GotoStep3:

SpecifyBoundaryTypesinGAMBIT

Step3:

SpecifyBoundaryTypesinGAMBIT

SpecifyBoundaryTypes

Nowthatwehavethemesh,wewouldliketospecifytheboundaryconditionshereinGAMBIT.

OperationToolpad>ZonesCommandButton

>SpecifyBoundaryTypesCommandButton

ThiswillbringuptheSpecifyBoundaryTypeswindowontheOperationPanel.Wewillfirstspecifythattheleftedgeistheinlet.UnderEntity:

pickEdgessothatGAMBITknowswewanttopickanedge(faceisdefault).

NowselecttheleftedgebyShift-clickingonit.TheselectededgeshouldappearintheyellowboxnexttotheEdgesboxyoujustworkedwithaswellastheLabel/TypelistrightundertheEdgesbox.

NexttoName:

enterinlet.

ForType:

selectVELOCITY_INLET.

ClickApply.YoushouldseethenewentryappearunderName/Typeboxnearthetopofthewindow.

Createboundarytypesforeachoftheedgesasspecifiedinthechartbelow:

EdgePosition

Name

Type

Left

inlet

PRESSURE_INLET

Right

outlet

PRESSURE_OUTLET

Top

wall

WALL

Bottom

centerline

AXIS

YoushouldhavethefollowingedgesintheName/Typelistwhenfinished:

SaveandExport

MainMenu>File>Save

MainMenu>File>Export>Mesh...

Typeinnozzle.mshfortheFileName:

.SelectExport2dMeshsincethisisa2dimensionalmesh.ClickAccept.

Checknozzle.mshhasbeencreatedinyourworkingdirectory.

GotoStep4:

SetUpProbleminFLUENT

Step4:

SetUpProbleminFLUENT

LaunchFLUENT

Start>Programs>FluentInc>FLUENT6.0

Select2ddpfromthelistofoptionsandclickRun.

ImportFile

MainMenu>File>Read>Case...

Navigatetoyourworkingdirectoryandselectthenozzle.mshfile.ClickOK.

ThefollowingshouldappearintheFLUENTwindow:

Checkthatthedisplayedinformationisconsistentwithourexpectationsofthenozzlegrid.

AnalyzeGrid

Grid>Info>Size

Howmanycellsandnodesdoesthegridhave?

Display>Grid

Howmanynodesarethereintheradialdirection?

Arethenodesclusteredtowardsthewall?

Why?

DefineProperties

Define>Models>Solver...

UndertheSolverbox,selectCoupled.UnderSpace,chooseAxisymmetric.

ClickOK.

Define>Models>Viscous

SelectInviscidunderModel.

ClickOK.

Define>Models>Energy

Theenergyequationneedstobeturnedonsincethisisacompressibleflowwheretheenergyequationiscoupledtothecontinuityandmomentumequations.

MakesurethereisacheckboxnexttoEnergyEquationandclickOK.

Define>Materials

SelectairunderFluidmaterials.UnderProperties,chooseIdealGasnexttoDensity.Youshouldseethewindowexpand.ThismeansFLUENTusestheidealgasequationofstatetorelatedensitytothestaticpressureandtemperature.

ClickChange/Create.

Define>OperatingConditions

We'llworkintermsofabsoluteratherthangaugepressuresinthisexample.SosetOperatingPressureinthePressureboxto0.

ClickOK.

ItisimportantthatyousettheoperatingpressurecorrectlyincompressibleflowcalculationssinceFLUENTusesittocomputeabsolutepressuretouseintheidealgaslaw.

Define>BoundaryConditions

Setboundaryconditionsforthefollowingsurfaces:

axis,default-interior,fluid,inlet,outlet,wall.

SelectinletunderSurfaceandpickpressure-inletunderTypeasitsboundarycondition.ClickSet....ThePressureInletwindowshouldcomeup.

Setthetotal(i.e.stagnation)pressure(notedasGauageTotalPressureinFLUENT)andtemperatureattheinlet.Forasubsonicinlet,Supersonic/InitialGaugePressureistheinitialguessvalueforthestaticpressure.Calculatethisinitialguessvaluefromthe1Dsolution.Afteryouhaveenteredthevalues,clickOKtoclosethewindow.

Usingthesamestepsasabove,pickpressure-outletastheboundaryconditionfortheoutletsurface.Then,whenthePressureOutletwindowcomesup,setthepressureandtemperatureasabove.ClickOK.

GotoStep5:

Solve!

Step5:

Solve!

Nowwewillsetthesolvesettingsforthisproblemandtheniteratethroughandactuallysolveit.

Solve>Control>Solution

Takealookattheoptionsavailable.WewantSecondOrderUpwindfortheFlow(undertheDiscretizationbox).

MakesurethatisselectedandclickOK.

Solve>Initialize

Asyoumayrecallfromtheprevioustutorials,thisiswherewesettheinitialguessvalues(thebasecase)fortheiterativesolution.Onceagain,we'llsetthesevaluestobetheonesattheinlet.SelectinletunderComputeFrom.

ClickInit.

Solve>Monitors

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

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

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2