Professional Documents
Culture Documents
(Remember that you are modelling the fluid-filled region, not the solid structure round it.)
GAMBIT, li e similar !rograms such as A"#$#, constructs its geometry by references to a hierarchy of geometric %&ntities%. &ntities ha'e to be set u! in the order( )ertices - &dges - *aces - )olumes )ertices are !oints defined by three coordinates. &dges (straight lines, circles, cur'es, etc.) are constructed by reference to )ertices. *aces (flat and cur'ed) are constructed from &dges. )olumes are formed by stitching *aces together (but only *aces that share common &dges). T+o-dimensional modelling only goes as far as a set of !lanar *aces. $ou must start +ith good design s etch, sho+ing in !articular the )ertices (+ith their coordinates) and the &dges. $ou also need to decide ho+ you +ill s!lit your model into )olumes, because the best meshing schemes +ill need s!ecial attention to the )olume structure. There is some sco!e for ,- modelling by Boolean o!erations on %!rimiti'es% built in to GAMBIT. But it may be better to design ,- !roblems in .A- (e.g. #olid &dge, Rhino) and #a'eAs an IG&# (name.igs) file. /hen im!orted into GAMBIT, it gi'es the )ertices, &dges and *aces. 0o+e'er, some cleaning u! of the IG&# !roducts may be needed before the *aces can be stitched together to ma e )olumes. #ometimes IG&# !roduces s!urious *aces that can be easily deleted. #ometimes you may ha'e to gra!!le +ith %)irtual &ntites%. $ou +ill !robably ha'e to add faces, in order to get your o!timum )olume structure.
So ,er 5 F uent 6 +* GAMBIT' (eometric mode 1Geometry2 5 1)ertices2 - .oordinates -* 1Geometry2 5 1&dges2 - )ertices .* 1Geometry2 5 1*aces2 - /ireframe 5* Fi e - Sa,e save the session 6* GAMBIT' me!"in( t"e mode 1Mesh2 - 1&dge2 /*
Repeat this to give a long rectangle: suggest "## $onnect the vertices together $reate a %face& entity from the four lines
0* 3*
set s!acing or number of mesh !oints along im!ortant edges. Ma e sure Inter,a Count is selected. #et 67 inter'als on the t+o long &dges, and 87 on the t+o ends 1Mesh2 - 1*ace2 Pic1 the face9 A%% 2, Fi e - Sa,e
$ertain edges control the density of the final mesh. 'ou can "grade" them too. (ote option to delete a previous mesh.
GAMBIT' identi#2 &oundar2 !ur#ace! 1:ones2 - 1Boundary Ty!es2 $all end surfaces "inlet" + "outlet,. $all walls -top, and )4*
;ic edges one at a time and gi'e them names
9:;:#<"#9.doc 9#=9"=9>
-bottom,. Define inlet as a ./01$23' 2(0/34 outlet as 15360174 and the walls as 7800.
;age 8 of ,
Fi e6E5it )-* FLUENT' (ettin( !tarted 3fluent49 3<4 +hen as ed for 'ersion ).* Fi e - 7ead - Ca!e 5 channel.msh )5*
)6*
Grid 6 Sca e Ay default4 605/(3 assumes lengths are in metres. @8BA23 doesn?t have units. 'ou have to ensure that 6luent Ma e sure the grid is the si=e you )nows which units you were using (mm in this case). e>!ected, and a!!ly scale factors Fi e - 8rite - Ca!e Do this from time to time. 3he $ase file (later, +hen you ha'e results, select Ca!e 9 Data) contains your fluid model and mesh. Di!% a2 - Grid $hec) that it?s the right model. 0earn how to pan and Coom the display. Fi e 6 :ardco%2 6 select gra!hics format 6 Sa,e Saves the active graphics window Sur#ace - Line! &nter the t+o sets of coordinates (877,7)9 (877,6)9 to define a line half +ay along the !i!e De#ine - Mode ! 6 ;i!cou! De#ine - Materia ! 6 !ic or define a fluid De#ine - Boundar2 condition! #et %inlet% to ;e ocit2 In et9 enter 'elocity of > m?s #et %outlet% to Out# o$ #et @to!A and @bottomA to 8a So ,e - Initia i!e - Init So ,e - Monitor! - 7e!idua - P ot So ,e - Iterate - set 877 iterations Di!% a2 5 ;ector! o# ,e ocit2 < Contour! o# ,e ocit2 6 Contour! o# %re!!ure P ot6;e ocit2 De#ine < Boundar2 condition! .hange @inletA 'elocity So ,e6Iterate P ot 6 ;e ocit2 So ution < +nd Order 6So ,e Define any planes4 lines or points over which you might want to display information. Default viscous model is 0aminar-note the many alternatives 3he default fluid is "air" Ay default4 605/(3 assumes velocities are in m=s. ((ote second chance to give a %type& to the bc&s. Aut only if they are separately named.) 1therwise the computer array is full of the Dun) from the last user. Displays progress of iteration. (ote options available Solution stops automatically at 9## or when residuals reach 9#->. 0oo) at results on selected planes Draws graphs of data along selected lines 8dDust the inlet velocity until the velocity profile is Dust fully formed at the outlet. (ot necessary to re-initialise before solution. Draw the graph of the velocity profile at the mid-way point and save this $hange the order of the solution to "nd order (you have been wor)ing to 9st order). 8gain not necessary to initialise. $ompare the velocity profile at the mid-way point with that obtained using the 9st order solution.
P ot 6 ;e ocit2
Me!" Den!it2 "o+ return to GAMBIT and !roduce t+o higher density meshes, doubling the number of mesh !oints in each case (ie 877, 87 and 67, <7). Run these simulations in *luent and loo at the out!ut as 'ector !lots and contour
9:;:#<"#9.doc 9#=9"=9>
;age < of ,
9:;:#<"#9.doc 9#=9"=9>
;age , of ,