Third Creating Geometry and Generating Mesh For A Mixing Elbow (2-D)
Third Creating Geometry and Generating Mesh For A Mixing Elbow (2-D)
Third Creating Geometry and Generating Mesh For A Mixing Elbow (2-D)
2
Problem Description
The problem to be considered is shown schematically. A cold fluid enters through the
large pipe and a warmer fluid enters through the small pipe. The two fluids mix in the
elbow.
3
Step 2: Create the Initial Vertices
Start GAMBIT.
Step 1: Select a Solver
Choose the solver you will use to run your CFD calculation by selecting the following
from the main menu bar:
Solver —> FLUENT 5/6
4
Step 2: Create the Initial Vertices
k) Ctrl-right-click the nine grid points shown in Figure.
l) Unselect the Visibility check box in the Display Grid form and click Apply.
5
Step 3: Create Arcs for the Bend of the Mixing Elbow
This command sequence opens the Create Real Circular Arc form.
7
Step 5: Create the Small Pipe for the Mixing Elbow
1. Create vertices on the outer radius of the bend, and split the large arc into three
sections.
GEOMETRY —> EDGE —> SPLIT/MERGE EDGES
8
Step 5: Create the Small Pipe for the Mixing Elbow
d) Select Cylindrical from the Type option menu. You can now use cylindrical coordinates to
specify where GAMBIT should split the edge.
e) Input a value of -39.93 degrees next to t under Local. This is the angle between the
horizontal direction and the position of the right-hand side of the opening of the small pipe
on the bend of the mixing elbow
f) Click Apply.
The large arc is split into two smaller arcs and a vertex is created. g) Use the Edge List
form (or Shift-left-click in the graphics window) to select the larger of the two arcs just
created (edge.9).
h) Input a value of -50.07 degrees next to t under Local.
9
Step 5: Create the Small Pipe for the Mixing Elbow
10
Step 6: Create Faces from Edges
11
Step 7: Specify the Node Distribution
1. Specify the node density on the inlet and outlet of the large pipe.
MESH —> EDGE —> MESH EDGES
12
Step 7: Specify the Node Distribution
1. Specify the node density on the inlet and outlet of the large pipe.
MESH —> EDGE —> MESH EDGES
14
Step 8: Create Structured Meshes on Faces
MESH —> FACE —> MESH FACES
15
Step 8: Create Structured Meshes on Faces
2. Mesh the small pipe of the mixing elbow.
This is an example of "enforced mapping", where GAMBIT automatically modifies the face
vertex type on the face to satisfy the chosen meshing scheme. See the GAMBIT Modeling
Guide for more information on face vertex types.
c) Retain the default Interval size of 1 under Spacing and click the Apply button at
the bottom of the form.
16
Step 9: Set Boundary Types
ZONES —> SPECIFY BOUNDARY TYPES
17
Step 10: Export the Mesh and Save the Session
1. Export a mesh file for the mixing elbow.
File —> Export —> Mesh ...
18
2.5 Summary
This tutorial shows you how to generate a 2-D mesh using the "bottom-up"
approach. Since the mesh is to be used in FLUENT 6, it was generated in a single
block, structured fashion. Several other features that are commonly used for 2-D
mesh generation were also demonstrated, including entering vertices using a
background grid, creating straight edges and arcs, and specifying node
distributions on individual edges. As compared to Tutorial 1, which omitted some
details, all steps required to create a mesh ready to read into the solver were
covered, including how to set boundary types, choose a specific Fluent solver, and
finally write out the mesh file.
19
The End
By: Ehsan Saadati
Pardad Petrodanesh Co
[email protected]
Find out more at:
www.petrodanesh.ir
www.petrodanesh.com