|
||
| 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 |
||
Step 1: Create Geometry in GAMBITStart GAMBIT & Select SolverSpecify that the mesh to be created is for use with FLUENT 6: Main Menu > Solver > FLUENT 5/6 Verify this has been done by looking in the Transcript Window where you should see:
The boundary types that you'll be able to select in the third step depends on the solver selected. Strategy for creating flow field geometryIn creating the geometry for our flow field we must consider what is necessary for our model to approximate real flow. A boundary layer grows along the plate, which must satisfy the no slip condition. The flow velocity at the plate must be zero. Continuity requires that this condition gives rise to a y-velocity. Although the y-velocity is significantly smaller in magnitude than the x-velocity, it can affect the solution significantly if not taken into consideration when creating the geometry of the flow field. ************************************************************* We will put the origin of the coordinate system at the lower left corner of the rectangle that defines our flow field. The coordinates of the corners are shown in the figure below:
We will first create four vertices at the four corners and join adjacent vertices to get the edges of the rectangle. We will then form a face that covers the area of the rectangle. Create Vertices We will treat this problem as a 2-dimensional problem by assuming that the plate is infinitely wide. Let's begin by creating the vertices that define our flow region. Operation Toolpad > Geometry Command Button Note that the Create Vertex button has already been selected by default. After you select a button under a sub-pad, it becomes the default when you go to a different sub-pad and then come back to the sub-pad. Create the vertex at the lower-left corner of the rectangle:
This creates the vertex (0,0,0) which is displayed in the graphics window.
In the Transcript window, GAMBIT reports that it "Created vertex: vertex.1". The vertices are numbered vertex.1, vertex.2 etc. in the order in which they are created. Repeat this process to create three more vertices: Vertex 2: (1,0,0) Note that for a 2D problem, the z-coordinate can always be left to the default value of 0. Operation Toolpad > Global Control > Fit to Window Button
This fits the four vertices of the rectangle we have created to the size of the Graphics Window. (click picture for larger image) Another useful button on the Operation Toolpad is the Orient Model button Create Edges An edge is created by selecting two vertices and creating a line between them. Operation Toolpad > Geometry Command Button Click the up arrow button
This brings up a list of vertices, from which vertices 1 and 2 can be selected. Select Vertex.1 and Vertex.2. Then push the right arrow button
Click Close. Then click Apply in the Create Straight Edge window to create this edge. Alternately, these vertices can be selected by holding down the Shift button and clicking on the corresponding vertices. As each vertex is picked, it will appear red in the Graphics Window. Then let go of the Shift button and click Apply in the Create Straight Edge window. Repeat this process to create edges between vertices 2 & 3, vertices 3 & 4, and vertices 4 & 1. (click picture for larger image) Create FaceOperation Toolpad > Geometry Command Button To form a face out of the area enclosed by the four lines, we need to select the four edges that enclose this area. This is done in much the same way as when we selected the vertices. Click the up arrow button
Click Close. Then click Apply in the Create Face From Wireframe window to create the face. The edges and vertices will become blue, indicating that they now form a face. (click picture for larger image)
Save Save your GAMBIT file in your working directory. Main Menu > File > Save As... > Browse... Find your working directory and save your GAMBIT file there. Make sure to enter the file name, plate.dbs, in the Selection box in addition to the path.
|
||