You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 53 Next »

Video Tutorials Available

If you are having trouble following written tutorial, detailed video tutorials are available here

Step 1: Create Geometry in GAMBIT

In an external flow such as the flow past a cylinder, we have to define farfield boundaries and mesh the region between the cylinder geometry and the boundaries. Farfield boundaries should be placed well away from the cylinder so that they are not under the influence of the flow around cylinder.


Figure above shows the geometry of such case.

Strategy for Creating Geometry

To model this flow, we need a cylinder and farfield boundaries. We need finer meshes around the cylinder to capture the active region (call this radius of influence). Downstream of the flow, there will be wake generated by the cylinder, which requires finer mesh to better capture this phenomena. To be able to specify such regions, we split the model into different faces as shown below.

 

We set the geometry upstream to be shorter because we have less activity before flow through cylinder. We set the geometry downstream of the cylinder to be relatively longer because we want to make sure that the downstream farfield boundary is not affected by the wake generated.

Create a Working Directory

Create a folder called cylinder in a convenient location. We'll use this as the working folder in which files created during the session will be stored.

Start GAMBIT

Create a new directory called cylinder and start GAMBIT from that directory by typing gambit -id cylinder at the command prompt.

Under Main Menu, select Solver > FLUENT 5/6 since the mesh to be created is to be used in FLUENT 6.0.

Create Cylinder

Create the cylinder using arc

Operation Toolpad > Geometry Command Button > Edge Command Button > Create Edge > Arc >

Input the following data and click Apply.

Radius

1

Start Angle

90

End Angle

450

After that, create a vertex at the bottom part of the cylinder by using split function.

Operation Toolpad > Geometry Command Button > Edge Command Button > Split Edge

Select the cylinder edges. Then change the coordinate Type to Cylindrical and create a vertex by entering the angle, t as -90.

Right click on Cartesian next to Type to see more options.

Create Radius of Influence

Now we can proceed to create the geometry for radius of influence. Since both the cylinder and radius of influence is of same shape. We can create the radius of influence by copying and scaling up the cylinder.

Operation Toolpad > Geometry Command Button > Edge Command Button > Move/Copy Edges
Select the cylinder edges. Make sure that the Copy is checked. Under Operation, select Scale. Next to Factor, enter a value of 4. This mean that the radius of influence we create will be 4 times the size of the cylinder.

The current geometry should look like this:


 

editor NOTE (duplicate vertices created...)



Create Farfield Boundaries

Create Upstream Boundary

We will first create the semi-cylinder upstream boundary. 

Operation Toolpad > Geometry Command Button > Edge Command Button > Create Edge > Arc >

Input the following data and click apply.

Radius

10

Start Angle

90

End Angle

-90

Create Downstream Boundaries

In creating downstream boundaries, we will use bottom up approach where we first create vertices and join the vertices to form edges.

Create vertices with following coordinates:

Label

x

y

z

1

40

10

0

2

40

-10

0

Operation Toolpad > Geometry Command Button > Vertex Command Button > Create Vertex

Create the vertices by entering the coordinates under Global.

Click the FIT TO WINDOW button to scale the display so that you can see all the vertices.

Connect AB, BC and CD to form three edges.

Operation Toolpad > Geometry Command Button > Edge Command Button > Create Edge  

"shift" + left click and drag to select

After this operation, you should see this geometry.


 

Split Edges

We would like to have more mesh elements at the downstream of the flow, to the right of the cylinder. To accomplish this, we would have to split some edges.

Split the edge according to the figure shown below:


First split the straight edges

Label

x

y

z

E

2.83

10

0

H

2.83

-10

0

I

40

2.83

0

J

40

-2.83

0


Operation Toolpad > Geometry Command Button > Edge Command Button > Split Edge

Then select the respective edges to split to for point E,H,I and J.

After that, split the curved edges

Label

r

t

z

F

4

45

0

G

4

-45

0


Operation Toolpad > Geometry Command Button > Edge Command Button > Split Edge

Change the coordinate Type to Cylindrical and create vertex point F and G according to the table.

Connect all Vertices

Finally, connect all the remaining vertices KL, LM, NO, OP, FI and GJ.

the newly created vertices to form two new edges. The current geometry in Gambit should look like this:


Create Faces

We can now join all the edges to form faces.

Operation Toolpad > Geometry Command Button > Face Command Button > Form Face

This brings up the Create Face From Wireframe menu. Recall that we had selected vertices in order to create edges. Similarly, we will select edges in order to form a face.

There will be total of six faces.


Create all the six faces by connecting appropriate edges.

We are now ready to mesh the geometry.

Go to Step 2: Mesh Geometry in GAMBIT

See and rate the complete Learning Module

Go to all FLUENT Learning Modules

  • No labels