K U S E D: Athmandu Niversity
K U S E D: Athmandu Niversity
SCHOOL OF ENGINEERING
REPORT ON
SUBMITTED BY : SUBMITTED TO :
Prithivi Gurung [41160] Sailesh chitrkar, Phd
Samman Singh Pradhan [41170] DOME, TTL
Sujan Adhikari [41174]
3. Literature Review
3.1 Meshing
A mesh partitions space into elements (or cells or zones) over which the equations can be
solved, which then approximates the solution over the larger domain. The mesh influences the
accuracy, convergence and speed of the solution.
Structured mesh: Grids that have a network of curvilinear gridlines which conform to the
boundaries, surface or both. The structured grid generation techniques are based on algebraic
interpolation methods and partial differential equations involving elliptic systems. Grid
adaption for structured grids prefer redistribution approach and is treated as a two-step process:
(1) an adaptation to the geometry of the body
Unstructured mesh: Grids that are composed of triangles (2-D) and tetrahedrons (3-D). The
grid information is provided by a set of nodes (coordinates) and the connectivity between the
nodes. This technique enables the generation of elements of variable size with desired
stretching. The unstructured grids offer a substantially greater geometric flexibility compared
with that of structured grids.
3.2 Mesh generation using ICEM
ICEM allows interactive editing of the mesh it is actually manipulating the mesh interactively
(or with automatic routines) to improve quality or physics capture. Common operations include
moving and merging nodes, splitting edges or nodes, adjusting element normals, creating
elements, refining or coarsening mesh, etc. There are also more automated operations such as
merging or smoothing meshes. An advantage of AIE (now just called ANSYS ICEM CFD) is
that the node projection is maintained (keeps the geometry shape much better). Curve projected
nodes stay on curves, surface projected nodes stay on the surface, etc.
……………………………(1)
Due to the turbulence caused by the secondary flow we can use the concept of hydraulic
diameter which is defined by the equation
4×𝐴
𝐷ℎ = ………………………..(2)
𝑃
Where,
A= cross section area
P = perimeter
4. Geometry of Pipes
The first step to CFD analysis of internal flow in pipes is to create the geometry of the pipes for fluid
domain.
Figure 4: The pipe geometry with 0.5 m internal diameter and 8m length
Figure 5: The rectangular pipe or duct geometry with dimension (0.1m *0.2m) and length 8 m .
Figure 6: The 90 degree bend pipe with 0.5m internal diameter, 4m length on each sides and bend with radius of
0.5m.
5. MESH GENERATION
For the circular pipes and rectangular pipes structured meshing was used. For circular pipes the
number of nodes to form the O-grid mesh in lines of both cross-section (inlet and outlet) was set to
20 for coarse mesh generation and 30 for the medium mesh generation. Similarly, along the length
number of nodes was set to 50 for coarse mesh generation and 80 for medium mesh generation. For
rectangular pipes no O-grid mesh were used, the number of nodes was set to 40 for 0.2m edges and
20 for 0.1m edges. Similarly, the number of nodes was set to 100 along the length. For 90 degree bend
pipe simply ANSYS meshing was used. The element size was kept 0.05 m. The total number of nodes
formed was 406809 and element was 391300.
Figure 7: Structured Coarse mesh generation in the cross-section of 0.5m internal diameter circular-pipe.
Figure 8: Structured medium mesh generation for 0.5m internal diameter circular pipe.
Figure 9: Structured coarse mesh generation along the length for circular pipe of 0.5m diameter and 8m length.
Figure 10: Structured medium mesh generation for circular pipe of 0.5m diameter and 8m length
Figure 11: Structured mesh generation along the cross section (inlet and outlet) for rectangular pipe (0.1m
*0.2m).
Figure 12: structured mesh generation along the length of the rectangular pipe. The mesh shown here is only a
portion along the length.
1.5
0.5
0
-0.15 -0.1 -0.05 0 0.05 0.1 0.15
Graph 1: The graph shows the analytical result for the velocity profile for a fully developed flow. Y-axis
represents velocity and X-axis represents the points along the diameter of pipe.
We can see how a curved profile is developed at edges of the wall in both figures due to the no
slip condition . This no slip condition creates a entrance region where the velocity
increses as the boundary layers converge towards the middle. In figure 3 and 4 we can
see velocity is increasing as the flow continues through the pipe and the boundary layer
converges Thought We can see a huge difference between the analytical solution and
the simulated results of hydrodynamically fully developed flows at the core region of
the velocity profile. Figure 3 shows that the analytical solution has parabolic shaped
profile which is how it is idealized and figure 4 shows a flat profile even after the flow
is fully developed. This shows that the flow is not laminar like in the ideal case and
turbulence induced to various factors like high velocity , large diameter of pipe.
Velocity profile curves for 0.2 m dia(1m/s)
1.20
1.10
1.00
INLET
Velocity
0.60
0.00 5.00 10.00 15.00 20.00
Position
6.2 At 6 meters from the inlet, comparison between result between the coarse and the
medium sized mesh generated in ICEM
Boundary conditions:
Velocity of fluid = 3 m/s
Diameter of pipe = 0.5 m
Length of pipe = 8 m
It is noticed that there is not much difference between the velocity profiles at 6 m from the
inlet, simulated using coarse and medium sized mesh. Comparing both profiles with the one
obtained theoretically we observe that the boundary layer in the medium sized mess slightly
more well defined then in the coarse mesh. Though meshing is vital to the accuracy of results,
figure shows that the flat prolife at the core of the flow is not because of the difference in
meshing and because of other physical phenomena. So, we can use the coarse mesh to simulate
the pipe flow at these boundary conditions without detailing the mesh further saving time and
cost.
Hydrodynamically developed velocity profile
7.00
6.00
5.00
4.00
velocity 3.00
2.00
1.00
0.00
-0.30 -0.20 -0.10 0.00 0.10 0.20 0.30
Positon
3.30
3.10
2.90
2.70
Velocity
2.50
6 from inlet (fine)
2.30 6 from inlet (coarse)
2.10
1.90
1.70
1.50
0.00 5.00 10.00 15.00 20.00
Position
Graph 4: Velocity profiles of the circular pipe at 6 m from inlet. The small difference can be seen between the
fine mesh and coarse mesh result
6.3 Discussion of the deviation in the results when V increases from 1 m/s to 3 m/s keeping
other parameters the same.
The boundary condition are as follows:
Diameter = 0.5 m
Length of pipe = 8m
Graph 5: The above two graphs show the velocity profile at inlet and 6m from inlet for circular pipe (1m/s and
3m/s).
Graph 6: The below two graphs show the velocity profile contour for circular pipe with flow velocity of 1 m/s
and 3m/s.
Velocity profile at 6m form inlet (1m/s Vs 3m/s)
3.50
3.00
2.50
2.00
Velocity
0.50
0.00
0.00 5.00 10.00 15.00 20.00
Position
Graph 7: the velocity profiles for flow velocity of 1m/s and 3 m/s keeping other parameters
same.
These simulations show that the flow having the higher velocity when the diameter is equal.
has more well-defined parabolic velocity profile than one with the lower velocity when
observed at the same length. As both velocity profiles are observed at 6 m from the inlet, it can
be concluded that higher the inlet velocity shorter the entrance region as the flow with higher
velocity is fully developed before the lower velocity one.
6.4 Discussion of the deviation in the results when D increases from 0.2 m to 0.5 m
keeping other parameters the same
Boundary conditions:
Velocity of fluid = 3 m/s
Diameter = 0.5 m and 0.2 m
Figure 14: The velocity contour image for outlet of 0.5m (left) and 0.2m (right) internal diameter circular pipes.
Velocity profile at 6 m from inlet (0.2 Vs 0.5) at 3m/s
4.00
3.50
Velocity
2.50
6 from inlet
(Coarse)
2.00
1.50
0.00 5.00 10.00 15.00 20.00
Position
Graph 8: Velocity profile for 0.2m (blue curve) and 0.5m (orange curve) at 6m from inlet.
From the graph 8, we observe that when we have same velocity the small diameter pipe has a
more well-defined parabolic velocity profile. The pipe with the bigger diameter has flatter
velocity profile because the turbulence increases as the diameter increases. The bigger diameter
has a longer entrance region than the one with the smaller diameter. The velocity of the fluid
at the outlet of the small diameter pipe is higher than that of the bigger diameter one as seen in
velocity contour image at outlet (fig.14).
6.5 Discussion on the deviation in the results when the circular profile is replaced with a
rectangular profile (0.1 m x 0.2 m).
Boundary conditions:
Velocity of fluid = 3 m/s
Cross section = 0.1 m x 0.2
Hydraulic diameter = 0.104 m (from equation .2)
.
Figure 15: Velocity contour plot for outlet of rectangular pipe.
3.5
2.5
1.5
0 5 10 15 20
Graph 9: Velocity profile difference between 0.2m diameter circular pipe and rectangular pipe at 6m distance
from inlet.
Figure 16: Velocity profile vector image at inlet and 6 m distance from inlet for rectangular pipe
The first thing that can be observed here is the parabolic shape of the velocity profile at 6 m
from inlet in the rectangular pipe as seen in graph 9 and fig.16 and when compared to the
velocity profile of the circular pipe the parabolic profile is little incomplete though the avg
velocity is same of the circular pipe. The reason may be because when fluid through the same
sections, the shear is nearly constant along the sides, dropping off sharply to zero in the corners.
This is because of the phenomenon of turbulent secondary flow, in which there are nonzero
mean velocities v and w, in the plane of the cross section as shown in figure 15.
6.6 Discussion of deviation in the results when the straight pipe is replaced with a bend
of 90 degree and the velocity profiles at different locations of the bend section
Boundary condition:
Diameter = 0.5 m
Each side length = 4 m
Bend radius = 0.5 m
Flow velocity = 3 m/s
2.95
2.9
2.85
2.8
2.75
0 5 10 15 20
inlet-pipe inlet-bendpipe
Graph 10: Inlet velocity profile of 0.5m diameter circular pipe and 0.5m 90 degree bend pipe.
mid-section velocity profile
5
4.5
3.5
2.5
1.5
0.5
0
0 5 10 15 20
Graph 12: velocity profile at 0.5 m diameter circular pipe mid-section and bend part
at 90 degree bend-pipe.
3.5
2.5
1.5
0.5
0
0 5 10 15 20
6m-from-inlet 2m-back-from-outlet
Graph 11: velocity profile at 6m from inlet for circular pipe and 90 degree bend pipe.
Figure 17: The velocity profile at different section of the 90 degree bend pipe.
7. Conclusion
In this report we have a taken a numerical approach to see how fluid flows through pipes in
various cases. CFD is a tool Governed by the Navier’s stokes equations which is always applied
to predict fluid motion through a pipe. Discretization of geometrical figures using meshing
should be done according to the boundary conditions given to us to get the best results. We can
conclude from the results that a ideal velocity profile cannot be observed in the pipe flow as it
is dependent on various factors like diameter, velocity, surface condition of pipe which all lead
to turbulence and as turbulence increase it disturbs the development of the velocity profile.
THANK YOU !!!