Professional Documents
Culture Documents
Fluenthomework20130113 130211010524 Phpapp02 PDF
Fluenthomework20130113 130211010524 Phpapp02 PDF
BY:
ANDI FIRDAUS SUDARMA
(432107963)
LECTURER:
DR. JAMEL ALI ORFI
SIMULATION PROJECT
NUMERICAL METHODS IN THERMOFLUIDS (ME 578)
MAGISTER PROGRAM OF MECHANICAL ENGINEERING
COLLEGE OF ENGINEERING
KING SAUD UNIVERSITY
RIYADH - KSA
FIRST SEMESTER 1433/1434 H
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
ABSTRACT
The steady-state three-dimensional water flows inside a pipe are investigated by the
numerical simulation using Fluent. Both problems, laminar and turbulent, are simulated
under the same model. The solutions are compared with experimental results. The results are
illustrated in form of velocity profile and maximum velocity along the pipe.
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
TABLE OF CONTENT
Abstract ...................................................................................................................................... 2
Table of Content ........................................................................................................................ 3
Nomenclature ............................................................................................................................. 4
I. Introduction ........................................................................................................................... 5
II. Theoritical Analysis ............................................................................................................. 6
III. Numerical Simulation ....................................................................................................... 11
IV. Result and Discussion ....................................................................................................... 17
V. Conclusions. ....................................................................................................................... 21
References ................................................................................................................................ 22
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
NOMENCLATURE
A
D
L
P
R
r
Re
u
V
x
Area .
Diameter of tube
Channel length ..
Pressure .
Radius of tube
Radial coordinate
Reynolds number,
Axial temperature
Volume
Axial coordinate ...
m2
m
m
Pa
m
Dynamic viscosity
Kinematic viscosity ..
Density .
Kg / ms
m2 / s
Kg / m3
m/s
m3
m
Greek symbols
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
I. INTRODUCTION
Flows completely bounded by solid surfaces are called internal ows. Thus internal ows
include many important and practical ows such as those through pipes, ducts, nozzles,
diffusers, sudden contractions and expansions, valves, and ttings. The pipe networks are
common in any engineering industry. It is important to know the development of a flow at the
pipe entrance and pressure drop taking place along the pipe length. The flow of fluids in a
pipe is widely studied fluid mechanics problem. The correlations for entry length and
pressure drop are available in terms of flow Reynolds number.
Internal ows may be laminar or turbulent. Some laminar ow cases may be solved
analytically. In the case of turbulent ow, analytical solutions are not possible, and we must
rely heavily on semi-empirical theories and on experimental data. For internal ows, the ow
regime (laminar or turbulent) is primarily a function of the Reynolds number. In this project
we will only consider incompressible ows; hence we will study the ow of water inside a
smooth surface pipe.
1.1. Problem Description
The purpose of this project is to illustrate the setup and solution of a 3D turbulent and laminar
fluid flow in a pipe using Fluent. This project will consider the flow inside a pipe of diameter
1 m and a length of 20 m (Figure 1). The geometry is symmetric therefore this project will
model only half portion of the pipe. Water enters from the inlet boundary with a various
velocity (depend on Reynolds number). The flow Reynolds number is 8500 and 300 to
illustrate the turbulent and laminar flow respectively.
Outlet
Inlet
Pipe
The objectives of this study are examining the results, such as velocity profile and entrance
length, compare them with experimental data and visualize the flow using animation tool.
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
Steady flow
Constant transport properties of fluid
Incompressible fluid flow
Newtonian fluid
Continuum fluid
D
V 0
Dt
(2.1)
ux
1 P
V ux
g x 2u x
t
x
(2.2)
(Continuity equation)
Begin by formulating two dimensional continuity equation (2.1) for conditions mentioned
above which can be written with respect to cylindrical coordinate as;
1
1
r ur
u ux 0
r r
r
x
Since is constant, we will obtain V
(2.3)
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
component is everywhere zero. And from the assumption, there is no velocity in the r and
directions, i.e, ur u 0 , which gives
u
0
x
(2.4)
The next step is momentum equation formulation. The flow is in the x-direction u x , so
ur u 0 . Where g x 0 , ux ux (r ) , ux t 0 (steady).
We can write momentum equation (2.2) as;
V ux
1 P
2u x
x
(2.5)
ux
r
2
2
2
r
r
x
x
x
r r r r
Using continuity equation (2.5) and assumption (iii), where ux u , we can write above
equation as follows;
1 u 1 P
r
r r r x
(2.6)
The momentum equation can be solved analytically to be used in the energy equation.
Multiplying energy equation (2.7) by r and integrating it twice with respect to r,
u r 2 P
r
c1
r 2 x
(2.7)
r 2 P
u
c1 ln r c2
4 x
(2.8)
u
r
r 0
(2.9)
And for ur R us 0 (no slip flow condition), will give the result
c2
R 2 P
4 x
(2.10)
Substituting equation (2.9) and (2.10) into equation (2.8) will gives
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
1 P 2
r R2
4 x
(2.11)
The initial and boundary conditions for constant wall temperature problem are;
Boundary Condition 1
at
r 0 , u r 0
Boundary Condition 2
at
r R , T Ts
(2.12)
for all
x0
(2.13)
um Q A and
Q u dA u (2 r ) dr
(2.14)
1 P 2
r R 2 dr
4 x
0
(2.15)
um Q A
R 2 P
um U
4 x
(2.16)
u
r
1
um
R
(2.17)
Equation (2.17) can be used to obtain laminar velocity profile inside the pipe.
2.2. Turbulent Velocity Profile
Except for ows of very viscous uids in small diameter ducts, internal ows generally are
turbulent. As noted in the relation of shear stress distribution in fully developed pipe ow, in
turbulent ow there is no universal relationship between the stress eld and the mean velocity
eld. Thus, for turbulent ows we are forced to rely on experimental data.
The velocity prole for turbulent ow through a smooth pipe may also be approximated by
the empirical power-law equation
u
r
1
U R
(2.18)
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
Where the exponent (n) is varies with the Reynolds number. Data from Hinze suggest that the
variation of power-law exponent n with Reynolds number (based on pipe diameter, D, and
centerline velocity, U) for fully developed ow in smooth pipes is given by,
(2.19)
Velocity proles for n = 6 and n = 10 are shown in Figure 3. The parabolic prole for fully
developed laminar ow is included for comparison. It is clear that the turbulent prole has a
much steeper slope near the wall.
Re
UD
(2.20)
At low ow rates (low Reynolds numbers) the ow is laminar and at high rates the flow is
transition into or turbulent. Laminar flow in a pipe may be only for Reynolds numbers less
than 2300.
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
The length of the tube between the start and the point where the fully developed flow begins
is called the Entrance Length, denoted by Le. The entrance length is a function of the
Reynolds Number Re of the flow.
LeLa min ar
0.06 Re D
(2.21)
LeTurbulent
4.4D Re1/ 6
(2.22)
10
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
11
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
12
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
The fluid that flow inside the pipe is water. The properties of water are obtained from Fluent
database.
The models are made with boundary conditions at inlet (at X = 0 m) and outlet (at X = 20 m)
is Inlet and Outlet respectively. The boundary condition for surface and axis of the pipe is
Wall and Axis respectively. Axis boundary condition acts like Symmetry boundary
condition but it is used for axisymmetric problem such as flow in a pipe.
The velocity inlet is obtained by using equation (2.20). The velocity is 0.0003 and 0.0085 m/s
for model A and model B, respectively. Where Turbulent Intensity can be calculated as;
T .I . 0.16 Re1/8
(2.23)
13
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
The CFD calculation is carried out using the SIMPLE algorithm for pressure-velocity
coupling and the second order upwind differencing scheme for momentum equation and
turbulent term. These settings are shown in solution controls window figure (8).
Model B
Model A
The convergence data are plotted to represent the fully developed velocity profile at outlet
and maximum velocity at centerline.
14
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
Model A
0.5
Model A
0.4
0.3
Radius (m)
0.2
0.1
0.0
0
0.0001
0.0002
0.0003
0.0004
0.0005
0.0006
-0.1
-0.2
-0.3
-0.4
-0.5
Velocity (m/s)
15
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
Model B
0.5
Model B
0.4
0.3
Radius (m)
0.2
0.1
0.0
0
0.002
0.004
0.006
0.008
0.01
0.012
-0.1
-0.2
-0.3
-0.4
-0.5
Velocity (m/s)
16
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
0.0006
0.00055
0.0005
0.00045
0.0004
0.00035
0.0003
0
10
12
14
16
18
20
The entrance length of laminar flow can be calculated using equation (2.21). For Re=300, the
entrance length may as long as 18 m. Comparing with the result obtained from simulation
(figure 11), at length of the pipe above 18 m there velocity is still developing with margin of
increment 0.052 percent.
17
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
0.0105
0.01
0.0095
0.009
0.0085
0.008
0
10
12
14
16
18
20
18
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
1.0
0.9
0.8
0.7
r\R
0.6
0.5
Numerical
Experimental
0.4
0.3
0.2
0.1
0.0
0
0.2
0.4
0.6
0.8
u/U
r\R
0.6
0.5
Numerical
Experimental
0.4
0.3
0.2
0.1
0.0
0
0.2
0.4
0.6
0.8
u/U
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
The velocity profile comparison for laminar flow shows that the velocities obtained from the
simulation are similar with the theoretical data. But the turbulent flow chart shows that there
is unmatched data between experimental and simulations. This result happen when the
problem not simulated correctly. After evaluating the turbulent model, we found that the
turbulent intensity value was 4.8%, where it should be 0.052% base on equation (2.23).
20
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
V. CONCLUSIONS.
In general, for the above three-dimensional with two boundary conditions stated, Reynolds
number affects the velocity profile. When Reynolds number is increasing, the entrance length
will also increased. This situation is valid for both cases, laminar and turbulent.
The velocity profile of laminar flow is similar with parabolic curve, and at turbulent flow
there is extreme different between internal flow with the flow near the wall.
21
Simulation Project
Numerical Methods in Thermo-Fluids (ME 578)
REFERENCES
22