Beruflich Dokumente
Kultur Dokumente
(Remember that you are modelling the fluid-filled region, not the solid structure round it.)
GAMBIT, like similar programs such as ANSYS, constructs its geometry by references to a hierarchy of
geometric "Entities". Entities have to be set up in the order:
Vertices - Edges - Faces - Volumes
Vertices are points defined by three coordinates. Edges (straight lines, circles, curves, etc.) are constructed by
reference to Vertices. Faces (flat and curved) are constructed from Edges. Volumes are formed by stitching
Faces together (but only Faces that share common Edges).
Two-dimensional modelling only goes as far as a set of planar Faces.
You must start with good design sketch, showing in particular the Vertices (with their coordinates) and the
Edges. You also need to decide how you will split your model into Volumes, because the best meshing schemes
will need special attention to the Volume structure.
There is some scope for 3D modelling by Boolean operations on "primitives" built in to GAMBIT. But it may
be better to design 3D problems in CAD (e.g. Solid Edge, Rhino) and SaveAs an IGES (name.igs) file. When
imported into GAMBIT, it gives the Vertices, Edges and Faces. However, some cleaning up of the IGES
products may be needed before the Faces can be stitched together to make Volumes. Sometimes IGES produces
spurious Faces that can be easily deleted. Sometimes you may have to grapple with "Virtual Entites". You will
probably have to add faces, in order to get your optimum Volume structure.
bold means select a menu item {..} means select an icon <..> means stuff to type.
italics give further information
GAMBIT: starting up
<gambit -id channel>
1.
8.
{Mesh} - {Face}
Pick the face; Apply,
9.
File - Save
Page 1 of 3
File - Save
File-Exit
13.
FLUENT: getting started
<fluent>;
<2> when asked for version
14.
File - Read - Case channel.msh
15.
16.
Grid - Scale
Make sure the grid is the size you
expected, and apply scale factors
17.
18.
19.
20.
22.
23.
24.
25.
26.
27.
21.
28.
29.
30.
31.
32.
Plot - Velocity
Mesh Density
Now return to GAMBIT and produce two higher density meshes, doubling the number of mesh points in each
case (ie 100, 10 and 50, 20). Run these simulations in Fluent and look at the output as vector plots and contour
Introduction to gambit example.doc 23/09/13
Page 2 of 3
Mesh Grading
Now return to GAMBIT and produce a further mesh at 50, 10 but grade the 10 points at the inlet and outlet to
improve the mesh density at the walls. Simulate in Fluent and compare the results from this simulation with
those from the previous simulations.
A note on files and directories
When you have finished, check your directory (ls). You will find that, even for this simple set of examples, the
number of files is large and the space taken up by these files is growing rapidly. You will have many fluent
examples by the time you finish this course. You should structure your files in order to be able to keep track of
these. In order to carry out good housekeeping, you will need to learn a few basic unix/linux commands. I
suggest the following protocol for your future work.
Before you run gambit or fluent
<mkdir CFD5> (makes a directory called CFD5 within your home directory - you only need to do this once.)
<cd CFD5> (change directory into CFD5)
<mkdir channel> (each time you start a new example, give it an easily recognisable name, such as channel)
<cd channel>
Only now should you run gambit or fluent. This will be your working directory by default and all files generated
will be saved here.
In future, when you start up, you will be able to go straight to the working directory if you have already created
it.
<cd CFD5> (you have changed directory and if you ls, you will see the directory channel)
<cd channel> (now you will be able to see your files from the last time)
shrish shukla
Page 3 of 3