Professional Documents
Culture Documents
Contents
1.
2.
3.
4.
Guidelines ........................................................................................................................... 4
4.1 Geometry Creation ........................................................................................................... 4
4.2 Mesh Generation ............................................................................................................ 10
4.3 FLUENT Setup .............................................................................................................. 13
Assessment ....................................................................................................................... 17
Re
DV
where D is the diameter of the cylinder, V is the flow velocity and is the kinematic viscosity.
The flow undergoes tremendous changes as the Reynolds number is increased from zero. For
a smooth circular cylinder, the flow regimes it may experience with increasing Re is
summarised in Fig. 1.
Page 1 of 17
2. Problem Description
In the following sections, we are going to look at a simple but classic hydrodynamic problem,
namely, unsteady flow past a circular cylinder. It is expected that you can get a general idea
on how a CFD simulation can be carried out through this problem. But first, let us look at the
description of the problem.
Table 1 gives the basic parameters which define the problem and will also be used in our
CFD simulation. Suppose that we are looking at a rigid circular cylinder placed in sea current,
which is a hydrodynamic problem. From Part 1, the Reynolds number is calculated as follows:
Re
DV
0.02 0.01
200
1106
D = 2 cm = 0.02 m
According to Fig. 1, we know that a laminar vortex street is likely to appear like the one
shown in Fig. 2. Then the problem is laminar and the flow type is unsteady flow. We are also
expecting flow separation and periodic vortex shedding to happen.
3. Problem Modelling
3.1 Domain Size
The computational domain should be reasonably large to capture all effects induced by the
presence of the cylinder. Thus, the following domain size is chosen and shown in Fig. 3:
Upstream (left) = 10D = 20 cm
Downstream (right) = 20D = 40 cm
Page 2 of 17
Type
Wall
Velocity-inlet
Pressure-outlet
Symmetry
Why
no particle allowed to slide or cross
velocity given
no imposed pressure
undisturbed flow, if far enough
D
0.02
T T
Time-step size should satisfy t , 0.22, 0.55 Choose t 0.5s
50 20
From past experience, the duration of run for such a problem is given by
4. Guidelines
4.1 Geometry Creation
Note: In this section we will create the geometry and computational domain for later use.
b. Analysis Type
(Right Click) Geometry > Properties
Set Analysis Type to 2D
c. Launch DesignModeler
(Double Click) Geometry to open the DesignModeler software
Select Centimeter as the desired length unit
Page 4 of 17
e. Turn on 2D Grids
(Click) Settings > Grid > (Tick) Show in 2D (Keep the default settings for other options)
Page 5 of 17
Switch back to the Sketching Toolboxes and create a Rectangle from the Draw section
Note: Do not worry about the location of the rectangle. We will deal with it right away.
(Click) Dimensions > Horizontal/Vertical to define the position and size of the rectangle (4
dimensions are needed, see the figure below)
Page 6 of 17
Set the values for these dimensions from Details View panel (here H2=60, H4=20, V3=40,
V5=20)
Note: You can use Zoom to Fit feature
(Click) Generate
Page 7 of 17
Select the circle surface body and apply to make it the Tool Body
Note: Tool Body is the body which you want to subtract from another body. It will be removed in this case.
Note: You can always use the Tree Outline panel to select the right body you want.
(Click) Generate
Note: At this point if you zoom into the centre of the circle you should see the 1m diameter hole, as show below.
a. Draw lines
(Click) XY Plane and it should high light blue
(Click) on the New Sketch button
Draw a rectangle using Rectangle in Draw and apply Equal Length and Symmetry in
Constrains to it to define a square centred at the origin
(Click) Dimensions > Horizontal to set the side length of the square to 12cm as shown in
the figure below
Page 8 of 17
Draw the rest lines and apply the constraints and dimension to them as shown below
Note: When you draw lines, notice the letter appearing besides your mouse. (P for Point, C for Cross, H for
Horizontal and V for Vertical)
Vertical
Symmetry
Horizontal
Horizontal
Vertical
Symmetry
(Click) Trim in Modify to trim the line segments that lay inside of the inner circle
Page 9 of 17
c. Projection
(Select) Tools > Projection from the menu
Select the lines you created earlier and apply them to Edges
Note: Hold down the Ctrl button to select multiple lines.
in the toolbar, you can now select parts of rectangle surface body as shown
in the figure below. What we just did actually has divided the whole region into several small regions.
a. Launch Mesher
(Double Click) Mesh from the Workbench to open the Mesher
Page 10 of 17
(Click) Update
c. Edge Sizing
Note: In this step we will define the number of the cells for every edge so as to determine the mesh of the whole
domain.
Set Type to Number of Divisions, set Number of Divisions to 30 as shown in the table
below
Set Behavior to Hard and set Bias Type and Bias Factor according to the table below
Note: Bias Type defines the way the mesh is distributed. The type used for edge sizing #1 means that the mesh
will be finer along the edge direction.
Note: Bias Factor is defined as the ratio of the last to first cell size in one edge.
in the
toolbar. Unfortunately, there does not seem to be a way to reverse the direction in Workbench 14.0.
(Click) Update to generate new mesh after all operations are done and the created mesh
looks like the following figure
Edge Sizing #
1
2
3
4
5
6
7
8
9
Edges Included
2
2
12
3
1
3
1
6
2
Bias Type
No Bias
Page 11 of 17
Bias Factor
4
4
N/A
1.2
1.2
2
2
2
2
No. of Divisions
30
30
25
30
30
60
60
20
20
6
4
3
1
1
3
3
2
4
2
3
6
Page 12 of 17
Left
velocity_inlet
Right
pressure_outlet
Circle
wall
a. Launch FLUENT
Select Setup from the Workbench
Set Precision in the right side Properties panel to Double Precision
(Double Click) Setup from the Workbench to open FLUENT
(Click) OK for the FLUENT Launcher while keeping all parameters unchanged and you
should see the following image
b. Configure General
Change Steady in Time to Transient while keeping other settings unchanged
Page 13 of 17
(Click) FLUENT Database and select water-liquid (h2o<l>) from the list then click Copy and
close both windows
Page 14 of 17
Page 15 of 17
g. Configure Monitors
(Click) CreateDrag and open the Drag Monitor window
(Tick) Plot and Write then choose wall from Wall Zones and click OK
Repeat the process for Lift
Page 16 of 17
Page 17 of 17