fluent-gambit使用輔導(dǎo)

2017-03-02  by:CAE仿真在線  來(lái)源:互聯(lián)網(wǎng)


GAMBIT使用要點(diǎn)

一、圖形用戶界面

包括:主菜單,圖形窗口,抄本窗口,命令文本框,描述窗口,操作工具面板,副面板,圖形/窗口控制面板。工具面板上按鈕左下方帶?符號(hào)的說(shuō)明有可選列表(用右鍵打開(kāi))。

二、圖形窗口內(nèi)的鼠標(biāo)操作方式

(1)Display:左鍵-旋轉(zhuǎn),中鍵-移動(dòng),右鍵上下-縮放,右鍵左右-旋轉(zhuǎn),Ctrl+左鍵-放大,

雙擊中鍵-顯示前一狀態(tài)

(2)Task: Shift+左鍵-選擇實(shí)體(可以拉方框包括要選對(duì)象),Shift+中鍵-轉(zhuǎn)換選擇相鄰實(shí)體,

Shift+右鍵-接受實(shí)體選擇并轉(zhuǎn)到下一選項(xiàng)或執(zhí)行Apply。

(3)Vertex Creation


GAMBIT輔導(dǎo)1.基本幾何圖形的生成及網(wǎng)格劃分(Top-Down法)

1. 進(jìn)入Gambit: 運(yùn)行g(shù)ambit -id example.jou

2. Geometry→Volume→Create Real Brick (10,6,6,Centered) →Apply (學(xué)會(huì)用undo)

3. Geometry→Volume→Create Real Cylinder (10,3,6,Positive Z) →Apply

4. Geomertry→Volume→Boolean operation→Unite Real Volumes

5. Mesh→Volume→Mesh Volume (Hex,Cooper,Interval size=1) →Apply

6. Graphies/Windows Control Toolpad→Examin Mesh(Range,EquiAngle Skew)

7. File→Exit


GAMBIT輔導(dǎo)2.二維混合彎管(Bottom-Up法)

1. 選擇Solver→Fluent4

2. Tools→Coordinate System→Display Grid(Visibility,XY,X,-32,32,16)→Update list→(Y,-32,32,16) →Update list→Snap→Apply

3. 用Ctrl+右鍵生成九個(gè)點(diǎn)(A→H)


A



B



C



E



F



G



K



M



L



J



D



H


I




E






4. 取消Display Grid 面板中的Visibility選項(xiàng)→Apply

5. Geometry→Edge→Create EDGE→Create Real Circular Arc(中心E,邊 FD)→Apply

Geometry→Edge→Create EDGE→Create Real Circular Arc(中心E,邊GB)→Apply

6. Geometry→Edge→Create Edge→Create Straight Edge(B→A,A→C,C→D,F→G,G→I,I→H,H→F)

7. Geometry→Edge→Split/Edge (GB,Type=Cylinder,local t=-39.93) →Apply (生成J點(diǎn))

Geometry→Edge→Split Edge(JB,Type=Cylinder,local t=-50.07) →Apply (生成K點(diǎn))

Geometry→Vertex→More/Copy vertices (K點(diǎn),Copy,Translate,x=0,y=-12.0,z=1)→Apply (生成L點(diǎn))

Geometry→Vertex→More/Copy Vertices (L點(diǎn),Copy,Translate,x=4,y=0,z=0) →Apply (生成M點(diǎn))

8. Geometry→Edge→Create Edge→Create Straight Edge(K→L, L→M,M→J)

9. Geomety→Face→Create Face→Create Face From Edge(KJ,JG,GI,IH,HF,FD,DC,CA,AB,BK)→Apply

Geomety→Face→Create Face→Create Face From Edge (KJ,JM,ML,Lk)→Apply

10.Mesh→Edge→Mesh Edge (AC,HI,Ratio=1.25,Double Sided, Interval Count=10) →Apply

Mesh→Edge→Mesh Edge (AB,CD,GI,FH, Interval Count=15)→Apply

Mesh→Edge→Mesh Edge (BK,JG,Interval Count=12,,Ratio=0.9)→Apply

Mesh→Edge→Mesh Edge(KJ,Ratio0.85,Double Sided,不選Spacing Apply,不選Option-Mesh項(xiàng))-Apply

11.Mesh→Face→Mesh Faces(大面,Quad,Map,Inteval size=1)→Apply

Mesh→Face→Mesh Faces(小面,Quad,Map,Inteval size=1)→Apply

12.Zones→Specify Boundy Type (inflow1,INFLOW,Entity=Edges,AC邊,INFLOW,LM邊,outflow,

OUTFLOW,HI邊) →Apply 注:Zones→Specify Continuum Types默認(rèn)為流體,其余面默認(rèn)為墻。

13.File→Export→Mesh(Elbow.GRD) →Apply

14.File→Exit


GAMBIT輔導(dǎo)3.三管道相交

1. Solver→PolyFlow

2. Geometry→Volume→CreateVolume→Create Real Cylingder(10,3,3,positive Z) →Apply

Geometry→Volume→CreateVolume→Create Real Cylingder(10,3,3,positive Y) →Apply

Geometry→Volume→CreateVolume→Create Real Cylingder(10,3,3,positive X) →Apply

Geometry→Volume→Create Volume→Create Real Sphere (3) →Apply

Geomety→Volume→Boolean operation→Unite Real Volumes(將四個(gè)體合為一個(gè)體)

3. Geometry→Volume→Create Volume→Create Real Brick (5,5,5,-X,-Y,-Z) →Apply

Geometry→Volume→Splot Volume(用正方體分割大體)→Apply

Geometry→Edge→Create Edge→Create Strangle Edge (將三圓柱交點(diǎn)與原點(diǎn)連線) →Apply

Geometry→Face→Create Face→Create Face from wireframe(以剛生成的線為一邊生成三個(gè)面)

Geometry→Volume→Split Volume (用剛生成的三個(gè)面中的一個(gè)分割體)

4. Mesh→Boundary Layer→Create Boundary Layer (0.1,1.4,4,0.71在六條圓弧上生成邊界層)

5. Mesh→Volume→Mesh Volume→(八分之一球體,Hex,Tet Primitive,Interval size =1) →Apply

6. 為三個(gè)管道做網(wǎng)格

1)Mesh→Face→Set Face Vertex Type(Type=Side 選柱面上的’E’點(diǎn)) →Apply

Mesh→Volume→Mesh Volume (柱體,Hex,Cooper,Size=1) →Apply

2)Mesh→Face→Mesh Faces(柱面,Quad,Submap,Size=1) →Apply

Mesh→Volume→Mesh Volume (柱體,Hex,Cooper,Size=1) →Apply

3)Mesh→Volume→Mesh Volume(柱體,Hex,Cooper選擇除柱面以外的四個(gè)面為源面,Size=1)--Apply

7. Zones→SpecifyBoundary Types (inflow Entity=Faces,三個(gè)柱端面中兩個(gè)為入流邊界,一個(gè)為出流邊界,其余為墻面)


FLUENT輔導(dǎo)1.翼形的跨音速繞流





4o


M¥=0.8

1m



運(yùn)行Fluent –2d

1. 網(wǎng)格

(1) File®Read®Case (airfoil.msh)

(2) Grid®check(注意:最小體積要大于0)

(3) Display®Grid(右鍵縮小、放大)

2. 模型

(1) Define®Models®Solver (Coupled,Implicit,2D,Steady,Absolute)

注:高速空氣動(dòng)力學(xué)問(wèn)題宜采用Coupled算法,Implicit比explicit收斂快但占內(nèi)存多。

(2) Define®Models®Energy (注:打開(kāi)能量方程使熱交換有效)

(3) 打開(kāi)Spalart-Allmars紊流模型

Define®Models®Viscous (Spalart-Allmaras)

注:S-A模型求解紊流粘性傳遞方程,專門(mén)用于與壓力梯度有關(guān)壁面邊界層流動(dòng)的航空問(wèn)題。

3. 材料

Define®Materials(ideal-gas,sutherland)®change/create®close

注:粘性Sutherland定律適合于高速可壓縮流體。r,v與T有關(guān),但在本情況下,溫度變化不大,比熱和熱導(dǎo)率可設(shè)為常數(shù)。

4. 操作條件

Define®Operating Conditions (operating-pressure=0)

注:馬赫數(shù)大于0.1,操作壓力宜為0,詳見(jiàn)《用戶指南》。

5. 邊界條件

Define--®Boundary Conditions (Gauge Pressure=101325,Mach number=0.8,Temp=300k,

X-Conpeunt=0.997564,Y-Conpeunt=0.069756) (注:攻角為4o)

6. 求解

(1)設(shè)置控制參數(shù)

Solve®Controls®Solution(Turbulent Viscosity=0.8,Courat Number=5,Second Order upwind)

注:湍流粘性比例系數(shù)和Courant數(shù)越大,收斂越快,但穩(wěn)定性下降。二階格式比一階格式更精確。

(2)Solve®Monitors® Residual(選中plot)

注:打開(kāi)殘差監(jiān)測(cè)曲線,也可同時(shí)打開(kāi)drag.lift,moment-coefficients曲線(文件名Apply保存監(jiān)測(cè)數(shù)據(jù))。

(3)初始化

Solve®Initialize®Initialize(computer from=pressure-far-field-1,Gauge Pressure=101325…)®init

(4)Solve®Iterate(100)

(5) 設(shè)置計(jì)算drag,lift,moment coefficients的參考值,用于無(wú)量綱化作用在翼上的力和力矩

Report®Reference Values (Compute from =pressure-for-field-1)

(6)顯示壓力等值線

Display®Contours(Filled,Draw Grid)

(7)生成點(diǎn)面

Surface®Point (X0=0.53,Y0=0.051) ®Create®close

(8)為點(diǎn)面創(chuàng)建表面顯示器

Solve®Monitors®Surfer(Surface Monitors=1,在monitor-1右邊選中plot和write)®Define(Report of=Wall flux®Skin.Fniction Coefficient,在Surface列表中選Point-4,plot window=4,FileName=monitor-1.out) ®ok®ok

(9)File®Write®Case(airfoil.cas)

(10)Solve®Iterate(200)

(11)提高紊流粘性方程的收斂標(biāo)準(zhǔn)

Solve®Monitors®Residual(nut.criterion=1e-7) ®ok

(12)Solve®Iterate(400)

注:察看表面磨擦系數(shù)記錄(History),阻力系數(shù)收斂記錄(Drag Covergence History),升力系數(shù)收斂記錄(lift convergence history),力矩系數(shù)收斂記錄(moment Convergence history)。

(13)File®Write®Data(airfoil.dat)

7. 后處理

(1)打印翼上y+曲線

plot®xyplot(只打開(kāi)position on x axis,x=1,y=0,z=0,turbwlence®Wall®Yplus, 選中

Wall-bottom與Wall-top)®plot

注: ,tw為切應(yīng)力, 要求墻附近y+應(yīng)>30。本題除少數(shù)區(qū)域(激波附近和跡線處)

外y+>30,因此可接受現(xiàn)有網(wǎng)格。

(2)顯示馬赫數(shù)等值線

Display®Contours(Velocity®Mach Number, 關(guān)閉draw Grid)®Display

注:在上表面x/c=0.45處出現(xiàn)激波。

(3)打印翼上壓力分布曲線

plot®xyplot(在y axis function中選Pressure®Pressure Coefficient)®plot

(4)打印X方向剪切應(yīng)力(翼表面處)

plot®xyplot (Wall Flux®X-wall Shear Stress) ®plot (注:負(fù)剪切力表明邊界層分離及反向流)

(5)顯示X方向速度等值線(注意激波后反流)

Display®Contours(Velocity®XVelocity) ®Display

(6)打印速度向量(放大激波后反流)

Display®Velocity Vectors(Scales=15) ®Display


FLUENT輔導(dǎo)2.液體燃料的燃燒

問(wèn)題描述

Tw=1200K


Air 1m/s,650K

1m

C5H12


Air


10m


二維管,入口Re?105,故為湍流,pentane蒸發(fā)后變?yōu)闅庀嗖⑷紵?燃燒使用混合組分PDF 模型,平衡態(tài)組分包括11種成分:(C5H12, CH4 , CO, CO2 , H2, H2O(g), H2O(l), O2, OH, C(S) 和N2)。假設(shè):射流中的液滴為100mm直徑,初始溫度為300k,分散角為30°,射流質(zhì)量流速為0.004kg/s即為極稀薄燃料情況)。

先用prePDF 生成PDF文件(PDF文件中包含關(guān)于組成濃度和溫度與混合物成分關(guān)系的信息)。

1. 絕熱系統(tǒng)計(jì)算

① 定義prePDF模型類型

Setup®Case(Adiabatic,Equilibrium Chemistry,BetaPDF) ®Apply®Close

② 定義化學(xué)組分(詳見(jiàn)指南)

Setup®Species®Define(11,11,C5H12,CH4,CO,CO2,H2,H2O,H2O(L),O2,OH,C(S),N2) ®Apply®Close

③ 定義燃料和氧化劑成分

Setup®Species®Composition(FuelStream=C5H12,ModelFraction=1.0,OxiderStream:

O2=0.21,N2=0.79)®Apply®Close

④ Setup®Species®Density (H2O(L)=1000, C(S)=1700) ®Apply®Close

⑤ 定義絕熱系統(tǒng)操作條件

Setup®Operating Conditions(101000, 303, 650) ®Apply®Close

注:303為燃料入口溫度,也即蒸發(fā)溫度。

⑥ Setup®Solution Parameters®Close

⑦ File®Write®Input(lfuel-ad.inp) ®ok

⑧ Calculate®PDF Table

⑨ File®Write®PDF(選Fluent 5,lfuel-ad.pdf) ®ok

⑩ Graphics®Property Curves(Temperature)®Display(最高溫度約2270K,對(duì)應(yīng)濃度為0.1 )

Graphics®Property Curves(Species)®選擇所有種類®ok®Display®close

注:OH, H2O(L)很少,可去掉。

2. 非絕熱系統(tǒng)計(jì)算

① Setup®Case(Non-Adiabatic) ®Apply®close

② Setup®Operating Conditions(101000, 280, 2800, 303, 650) ®Apply®close

注:280比蒸發(fā)溫度(303)低, 2800應(yīng)比絕熱系數(shù)最高溫度高至少100K。

③ Setup®Solution Parameters(Fuel Rich=0.3, Distribution Center=0.2) ®Apply®Yes®close

注:Fuel Rich limit至少為最佳配比0.1的2倍。Distribution Centre 應(yīng)靠近Fule Rich limit.

④ File®Write®Input(lfuel.inp) ®ok

⑤ Calculate®PDF Table

⑥ File®Write®PDF(選中Fluent 5, lfuel.pdf) ®ok

⑦ Graphics®3D Nonadiabatic Table (Temperature) ®Display®close

⑧ Graphics®Property Curves (Species選所有組分) ®Display

⑨ File®Exit

3.進(jìn)入Fluent 2D ,讀入網(wǎng)格

(1) File®Read®Case(lfuel.msh)

(2) Grid®check (最小體積>0)

(3) Display®Grid

4.連續(xù)相(氣體)模型

(1) Define®Models®Solver(Segregated, Implicit) ®ok

(2) Define®Models®Viscous (K-e)

(3) Define ®Models®Species(PDF®lfuel.pdf) ®ok

注:讀入非絕熱PDF文件,則能量方程自動(dòng)打開(kāi)。

5.離散相模型

Define®Models®Discrete Phase(選中Interaction…, 5 , 10000, 0.01)

Define ®Injections®Create (group=10, droplet, n-penture-liquid-linear, C5h12,

選中Stochastic Model, 10 , 0.15,

0.001 0.001

0.001 0.001

100 100

0 57.7

1e-4 1e-4

303 303

2e-4 2e-4)

注:液滴直徑為100mm , 質(zhì)量流量為2e-4′10=0.002kg/s。

6.材料:連續(xù)相

Define®Materials(pdf-mixture, mixture, pdf-mixture, density=pdf, cp=mixing-law, Thermal

Conductivity=0.025, viscosity=2e-5) ®Change/Create

7.材料:離散相

Define®Materials(n-pentane-liquid, droplet-particle, name, C5H12<1>,

n-pentane-liquid(C5H12<1>), Density=620, CP=2300, Thermal Conductivity=0.136, Latent

heat=363000, 303, 306, 100, 6.1e-6, 8.2e4, 0) ®change/create®close

8.邊界條件

Define®Boundary Conditions(Velocity-inlet-7)®set(Magnitude and Direction, Absolute,

1.0, 1, 0, 650, Intensity and Hydraulic Diameter, 10, 2.0, 0, 0, escape) ®ok

Define®Boundary Conditions(presure-out-let-5)®set(0,1800,Intensity and Hydraulic Diameter,

10, 2.0, 0,0,escape)®ok

Define®Boundary Conditions (Wall-6)®Set(選中Temperature,1200,0,0,aluminum,0,0.5,

reflect, polynomial,polynomial) ®ok

注:如液滴可以到達(dá)墻面,對(duì)Boudary-Type可使用Trap選項(xiàng),即假定揮發(fā)成分一接觸熱壁

就全部汽化。

9.求解

(1) Solve®Initialize®initialize(velocity-inlet-7, 0, 1, 0, 650) ®init®close

注:本側(cè)為空氣預(yù)熱,故可使用空氣入口條件作初始值。在其他燃燒條件下,可能需要patch 一個(gè)高溫區(qū)(solve/initialize/patch菜單及solve/dpm-update)。另一種方法是在離散相耦合及燃燒之前先進(jìn)行初始?xì)庀嘤?jì)算。

(2) Solve®Monitors®Residual(選中plot) ®ok

(3) File®Write®case(fuel.cas)

(4) Solve®Iterate(300)

(5) File®Write®case&Data

10.后處理

(1) Display®Coutours(只選Autorange, temperate, static tempature) ®Display

注:最高溫約1900K,使用Display/Views來(lái)鏡像顯示。

(2)Display®Contours(Autorange, pdf, Mean Mixture Fraction) ®Display

(3)Display®Contours(Autorange, Discrete Phase Model, DPM Evaporation) ®Display

(4)Display®Particle Tracks(Node Valuet Autorange, Single, line, particle variables,

particle Diameter, 選injection-0) ®Display

(5)Display®Contours(Autorange, Species, Mass fraction of C5H12) ®Display

FLUENT輔導(dǎo)3.煤粉燃燒

氣相為連續(xù)相,煤粒為離散相,煤粒在氣體中揮發(fā),揮發(fā)分及炭的燃燒反應(yīng)可用有限速率化學(xué)反應(yīng)動(dòng)力學(xué)或mixture-fraction/PDF分析。mixture-fraction/PDF模型可以模擬非預(yù)混湍流燃燒,只需求解一或兩個(gè)標(biāo)量mixture-fraction輸運(yùn)方程。多個(gè)化學(xué)組分的濃度可以通過(guò)mixture-fraction的分布求出。組分的物性參數(shù)由化學(xué)數(shù)據(jù)庫(kù)得到。湍流與化學(xué)反應(yīng)的相互作用由Beta或雙delta PDF(probability density Function)來(lái)模擬。

問(wèn)題描述:

10m

Tw=1200K


Air 15m/s,1500K

50m/s,1500K 0.5m

coal,0.1kg/s

0.125m


入口平均Re=105,為湍流。

( PDF文件含:組分濃度、溫度與mixture-fraction的關(guān)系)

一、在prePDF中定義絕熱系統(tǒng)

1.Setup®Case(選Secondary Stream, Adibatic, Equilibrium Chemistry, Secondary Stream)®Apply

注:選Secondary Stream, 使用兩個(gè)混合組分即將炭作為燃料流,揮發(fā)分作為Secorday Stream,這樣比用一個(gè)混全組分準(zhǔn)確)。對(duì)Secondary Stream使用經(jīng)驗(yàn)定義:即定義C, H, N, O的原子成分。對(duì)非絕熱問(wèn)題一般先進(jìn)行絕熱計(jì)算,可以獲得:(1)絕熱燃燒最高溫度。(2)最佳配比混合物或密度(3)哪些組分對(duì)化學(xué)反應(yīng)系統(tǒng)是微不足道的(可去掉)。對(duì)雙組分,PDF類型(Delta或Beta)在Fluent中選取。

2.定義化學(xué)成分

13個(gè):C, C(S), CH4, CO, CO2, H, H2, H2O, N, N2, O, O2, OH

Setup®Species®Define(C, CCS), CH4, CO, CO2, H, H2, H2O, N, N2, O, O2, OH)®Apply®close

3.確定燃料組成


大致分析


重量百分比


(不含灰)重量百分比


揮發(fā)分


28


30.4


炭(C(S))


64


69.6



8




元素


重量百分比


C


89.3


H


5


O


3.4


N


1.5


S


0.8


開(kāi)放分享:優(yōu)質(zhì)有限元技術(shù)文章,助你自學(xué)成才

相關(guān)標(biāo)簽搜索:fluent-gambit使用輔導(dǎo) Fluent培訓(xùn) Fluent流體培訓(xùn) Fluent軟件培訓(xùn) fluent技術(shù)教程 fluent在線視頻教程 fluent資料下載 fluent分析理論 fluent化學(xué)反應(yīng) fluent軟件下載 UDF編程代做 Fluent、CFX流體分析 HFSS電磁分析 

編輯
在線報(bào)名:
  • 客服在線請(qǐng)直接聯(lián)系我們的客服,您也可以通過(guò)下面的方式進(jìn)行在線報(bào)名,我們會(huì)及時(shí)給您回復(fù)電話,謝謝!
驗(yàn)證碼

全國(guó)服務(wù)熱線

1358-032-9919

廣州公司:
廣州市環(huán)市中路306號(hào)金鷹大廈3800
電話:13580329919
          135-8032-9919
培訓(xùn)QQ咨詢:點(diǎn)擊咨詢 點(diǎn)擊咨詢
項(xiàng)目QQ咨詢:點(diǎn)擊咨詢
email:kf@1cae.com