Lab Manual Pipe Flow Prof Rahul Goyal
Lab Manual Pipe Flow Prof Rahul Goyal
ANSYS FLUENT
Fluid flow through pipes is a critical aspect of numerous engineering applications, playing a
fundamental role in the transportation of liquids, gases, and various industrial processes.
Understanding the principles of pipe flow is essential for engineers across disciplines as it
forms the backbone of diverse systems, ranging from water distribution networks to oil and gas
pipelines. Advancements in technology have introduced computational tools like ANSYS,
Fluent, and others, enabling engineers to simulate and analyse pipe flow through
Computational Fluid Dynamics (CFD). These simulations provide valuable insights into flow
patterns, pressure distributions, and performance characteristics, aiding in the design and
optimization of complex pipe systems.
Reynolds number: The Reynolds number is a dimensionless parameter that represents the
ratio of inertial forces to viscous forces in the fluid. For pipe flow with velocity (v) and
diameter(D) with fluid properties density (𝜌) and dynamic viscosity (𝜇),the Reynolds number
can be calculated using eqn 1.
𝜌𝑣𝐷 (1)
𝑅𝑒 =
𝜇
Boundary layer: The velocity grows from zero at the surface to a maximum at height δ. In
theory, the value of δ is infinity but in practice it is taken as the height needed to obtain 99%
of the mainstream velocity. This layer is called the boundary layer and δ is the boundary layer
thickness.
Laminar Flow: In laminar flow, the fluid moves in smooth, orderly layers with little or no
mixing between adjacent layers. The flow is characterized by well-defined streamlines, and the
fluid particles follow predictable paths.
Characteristics:
Reynolds Number (Re): Laminar flow typically occurs at low Reynolds numbers. For pipe
flow, laminar flow is generally observed at Re values below a critical threshold (e.g., Re <
2,300 for flow in a pipe).
Velocity Profile: In laminar flow, the velocity profile across the cross-section of the flow is
parabolic for pipe flow.
Turbulent Flow: Turbulent flow is characterized by chaotic, irregular fluid motion with high
levels of mixing and eddy formation. The fluid particles exhibit random movement, and the
flow patterns are less predictable compared to laminar flow.
Characteristics:
Reynolds Number (Re): Turbulent flow typically occurs at higher Reynolds numbers. The
transition from laminar to turbulent flow is influenced by factors such as flow velocity, pipe
diameter, and fluid properties.
Velocity Profile: In turbulent flow, the velocity profile is flatter across the cross-section
compared to the parabolic profile of laminar flow. The core region of the flow experiences
higher velocities, and the flow near the walls is reduced.
Entrance length
The entrance length is the distance a flow travels after entering a pipe before the flow becomes
fully developed. Entrance length refers to the length of the entry region, the area following the
pipe entrance where effects originating from the interior wall of the pipe propagate into the
flow as an expanding boundary layer. When the boundary layer expands to fill the entire pipe,
the developing flow becomes a fully developed flow, where flow characteristics no longer
change with increased distance along the pipe (Fig. 1). Hydrodynamic entrance length
describes the formation of a velocity profile caused by viscous forces propagating from the
pipe wall. Thermal entrance length describes the formation of a temperature profile. Awareness
of entrance length may be necessary for the effective placement of instrumentation, such as
fluid flowmeters. For laminar flow the entrance length is calculated as per eqn 2.
𝐿 (2)
= 0.0575𝑅𝑒𝐷
𝐷
The analytical solution for fully developed laminar flow is given as per eqn 3.
𝑟 2 (3)
𝑢 = 𝑢𝑚𝑎𝑥 (1 − ( ) )
𝑅
Governing equations
The governing equation for pipe flow is derived from the fundamental principles of fluid
dynamics and plays a central role in understanding and predicting the behaviour of fluid within
a pipe. Commonly referred to as the Navier-Stokes equations, these partial differential
equations describe the motion of fluid by accounting for the effects of acceleration, pressure,
and viscosity. For pipe flow, the simplified form of the Navier-Stokes equations includes the
continuity equation (eqn 4) and the conservation of momentum equations in both the axial(eqn
5) and radial directions(eqn 6). In CFD analysis we discretise these equations and convert those
into algebraic equations and solve through numerical techniques.
𝜕𝑢 𝜕𝑣 (4)
+ =0
𝜕𝑥 𝜕𝑦
𝜕𝑢 𝜕𝑢 𝜕𝑝 𝜕 2𝑢 𝜕 2𝑢 (5)
𝜌 (𝑢 +𝑣 )=− + 𝜇 ( 2 + 2)
𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑥 𝜕𝑦
𝜕𝑣 𝜕𝑣 𝜕𝑝 𝜕 2𝑣 𝜕 2𝑣 (6)
𝜌 (𝑢 +𝑣 )=− + 𝜇 ( 2 + 2)
𝜕𝑦 𝜕𝑦 𝜕𝑦 𝜕𝑥 𝜕𝑦
For the present case we will create a computational domain of 2D pipe with radius 20 mm and
length 200 mm keeping L/D = 10 (Fig.2).
Boundary conditions
Procedure
1. Start ANSYS Workbench:
• Launch ANSYS Workbench and open fluid flow fluent.
2. Geometry:
• Open DesignModeler by right clicking on geometry.
• Before starting to create the geometry, it's essential to set the working units for
the project set it to mm for current case.
• Click on the “modelling’’ tab and select XY plane and then click on Z-axis to
set front on view of the XY plane.
• Click on the "Sketching" tab in the DesignModeler toolbar.
• Select rectangle and click on origin of the XY plane and drag the rectangle to
first quadrant.
• Go to concept and generate a plane by selecting the sketch from plane option.
• Then click on any edge of the rectangle to select the rectangle body for plane
creation.
• Then on base object click apply.
• Again click on modelling tab and expand the 1 part,1 body option and click on
surface body and make it fluid so that fluent can recognise the fluid domain for
meshing.
3. Meshing:
• Go back to workbench and open Meshing.
• Set units to mm from the metric option on the bottom right of the screen.
• Select mesh in the model list.
• Specify mesh element size as 5mm in the details of mesh.
• Click on generate.
• Create boundaries using the named selection option.
• First select the edge control which will activate only selection of edges.
• Then right click on any edge and create named selection option will appear.
• Click on this and enter the name of the boundary as described in manual.
4. Case Setup
• Go back to workbench and open setup.
• Select the double precision and click start to open the setup.
• Go to materials and click add new define the fluid material properties by
selecting water as fluid from fluent material database.
• Go to cell zone conditions and Define the cell zone as fluid water to specify that
water is inside the domain.
5. Solution:
• Go to Run calculation.
• Set the no. of iterations to 1000.
• Click on calculate to run the calculation.
6. Post-Processing:
• Once the simulation is complete, post-process the results using Fluent's post-
processing tools.
• Generate plots, contours, and vectors to visualize flow patterns and key
variables.
7. Analysis:
• Analyze the results to draw conclusions about your simulation.
• Ensure that the results make physical sense.
Finally repeat the procedure by changing grid size to 1 mm and 0.1 mm.
Terminology
• Coarse grid- 5mm
• Medium grid – 1mm
• Fine grid – 0.1 mm
Observations:
1) Pressure contours at Re=100 for coarse, medium, and fine grid
4) Velocity profiles at Re=100 for coarse medium and fine grid at x/L=0.1
5) Velocity profiles at Re=100 for coarse medium and fine grid at x/L = 0.5
6) Velocity profiles at Re=100 for coarse medium and fine grid at x/L = 0.6
Remarks: