Professional Documents
Culture Documents
EXAMPLE 1 (Showing The Total Gambit/fluent/postprocessor)
EXAMPLE 1 (Showing The Total Gambit/fluent/postprocessor)
Start gambit by
Toggle start and run
Write gambit
PS for the moment its NOT possible to run gambit on PC, workstations are needed.
OperationGeometry
(geometry, mesh, faces, tools)
GeometryVolume
(vertex, line, face, volume, group)
Volumevolume
(knobs)
Choose Create real brick
Width: 2
Depth: 3
Height: 2.4
Choose Direction +X+Y+Z (to get the origin at one corner, its easier than when we should
attach other things to the room)
Label: Room
Apply
Rotate the volume with the left mouse button; the origin should be in the left/lower corner.
Choose Create real brick
Width: 0.2
Depth: 0.3
Height: 0.1
Choose Direction +X-Y+Z
Erase label Room (if this field is left with nothing GAMBIT will give it name volume and a
number corresponding to the volume made for the moment)
Apply
Choose Move/Copy Volumes (6:th knob)
Pick Volume2, (can also do when the window yellow-toggle right/left mouse button on the
graphic window-gets a dot position on the correct volume and left click
choose Move and Translate
Under Local
X:0.2 , Y:0, Z:0.1
Apply (volume 2 is moved from the corner)
Pick Volume2, choose Copy and Translate
Under Local
X:1 , Y:0, Z:0
Apply (we have created a new volume 3 with a different location from volume 2)
Close
By default gambit creates walls around each volume, to make it possible for air to flow from
the vent inlet / vent outlet (volume 2/3) and to the room we have to unite the volumes, areas
which are coexisting in the different volumes are taken away.
Choose Unite Real Volumes (3:e knob)
Pick All volumes
Retain should not be marked, now we got only one volume after the unite, if retain marked
gambit makes a new volume and keeps the old ones
Apply
Close
If any problem Gambit writes a warning and will not create a mesh file in some cases.
Start fluent
File Run - choose 3D and double precision - Run
File - Read - Case - choose example1.msh
Grid Check No negative volumes should occur.
Display - Grid Display, now you will see the room made in Gambit, Close the
windows
Menu/Define Boundary conditions choose inlet and Set write velocity to 3 m/s
Menu/Define Boundary conditions choose outlet and Set the default value
0 Pa is OK
Menu/Define Materials - fluid is air which for this example is OK
Menu/Define Operating Conditions- toggle gravity and set 9.81 in Z-direction
Menu/Define-Models- Viscous choose k-epsilon model (Standard), click OK
Menu/Solve - Initialize Initialize chooses all-zones and zero values, click Init
Close.
Menu/Solve Monitors Residual choose under Options Print and Plot, in
residual continuity set convergence criterion to 1e-4. click OK
Menu/Solve Iterate choose Number of iterations to 1000 click Iterate the
simulation starts and residuals are plotting
As you can see the mass residual (continuity) will stop after about 900 iterations, since the
convergence criteria is achieved, Fluent indicate a value of 1 E-3 is sufficient but 1 E-4
should at least be achieved in this case.
Menu/Display look at Contours and Vectors these plots show the results from the
simulations.