Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem Specification
1. Create Geometry in GAMBIT
2. Mesh Geometry in GAMBIT
3. Specify Boundary Types in GAMBIT
4. Set Up Problem in FLUENT
5. Solve
6. Analyze Results
7. Refine Mesh
Problem 1

Step 2: Mesh Geometry in GAMBIT

Launch GAMBIT

Create a folder called pipe2 at a convenient location to use as your working folder. Copy your pipe.dbs file containing the 100x5 mesh from the Laminar Pipe Flow tutorial to this folder. If you don't have this file, here's a copy (right-click and select Save As...). Rename this file as pipe100x30.dbs. We'll modify this file to obtain the mesh for the turbulent pipe flow simulation.

Start GAMBIT and load pipe100x30. (Refer to step 1 of the Laminar Pipe Flow tutorial if you've forgotten how to do this.) Recall that GAMBIT will use the id pipe100x30 as the default prefix for all files created during this session.

To make best use of screen real estate, resize the GAMBIT and browser windows so that you approximate this screen arrangement. This way you can read instructions in the browser window and implement them in GAMBIT.

...

Global Control > Fit to Window 

Delete Previous Face Mesh

The first step we have to do is remove the old face mesh. Recall that the face mesh is built on top of meshed edges, thereby forming the grid. In this case, we don't want to remove the underlying edge meshes. So to delete only the face mesh, select:

...

Check that the face mesh has been removed in the GAMBIT Graphics Window.

Remesh Edges

Since we are still going to use 100 divisions for the horizontal edges, we only need to remesh the vertical edges.

...

We want 30 divisions on each of the vertical edges; so select Interval Count from the drop down box under Spacing and enter 30 in the text box to its left.
Image Added
 
Click Apply.

If you zoom in on the right edge, you should see the following:


(Click picture for larger image)

Note that the mesh spacing is smaller near the wall as indicated by the blue circles on the edge.

Recreate Face Mesh

The next step is to recreate the face mesh on top of these edge meshes. This is the same procedure as in the previous tutorial:

...

Shift left-click on the face and click Apply. The meshed area should look like this after zooming in:

(Click picture for larger image)

Go to Step 3: Specify Boundary Types in GAMBIT