All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
Abstract:- Flow past a cylinder is one of the classical problems of fluid mechanics & the primary objective of this simulation is to perform external flow analysis for various Reynolds no (Re) over a 2-dimensional cylinder using both steady-state & transient solver. The flow is assumed to be 2D therefore…
Pratik Ghosh
updated on 19 Jan 2021
Abstract:- Flow past a cylinder is one of the classical problems of fluid mechanics & the primary objective of this simulation is to perform external flow analysis for various Reynolds no (Re) over a 2-dimensional cylinder using both steady-state & transient solver. The flow is assumed to be 2D therefore the cylinder can be represented by a circle. For lower values of Reynolds number, the flow is steady and symmetric but as the Reynolds number is increased, the disturbance at the upstream flow can not be damped. This leads to a very important periodic phenomenon downstream of the cylinder, known as ‘vortex shedding’. CFD Software Ansys Fluent (Student version) has been selected for solving the governing equations using a finite volume method (FVM). A schematic representation of the computational domain has been shown below. The project is divided into two parts. For Part 1, we will be performing 3 case study for simulating flow over a cylinder using Steady state & transient solver & calculate Strouhal number for Reynolds no of 100. The next part of the project i.e. Part 2, is based on calculating the lift & drag coefficients (CL & CD) for Reynolds number of 10, 100, 1000, 10000, 100000 using a steady-state solver, plot the velocity contours, residual plots, CL & CDplots & discuss the effects of Reynolds no on CD.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1. Introduction
Two-dimensional computations of flow around a circular cylinder were carried out by integrating the incompressible Navier-Stokes equations. The Finite-Volume Method was utilized to discretize the fundamental equations. The flow was kept laminar & no explicit turbulence model was used. From the fluid mechanics, hydraulics and wind engineering points of view, the flow past a circular cylinder have been the subject of numerous experimental and numerical studies because:(i) this type of flow exhibits fundamental mechanisms, and (ii) it's numerous industrial applications; for example, when designing the shape of an aerodynamic body, it is of great importance to understand how the dynamic force is generated. To achieve the goal of obtaining detailed information on the flow field being investigated, computational fluid dynamics(CFD) has emerged as an attractive, powerful tool in many design processes. In fluid mechanics, vortex shedding is an oscillating flow pattern that takes place when a fluid such as air or water flows past a bluff (as opposed to streamlined) body at certain velocities, depending on the size and shape of the body. During such flows, vortices are created at the back of the body and detach periodically from either side of the body forming a Von Kármán vortex street. The fluid flow past the object creates alternating low-pressure vortices on the downstream side of the object. The object will tend to move toward the low-pressure zone. Von Kármán vortex street is a repeating pattern of swirling vortices, caused by a process known as a vortex shedding, which is responsible for the unsteady flow separation of a fluid around blunt bodies as shown in Fig 1.1.
Fig 1.1:- Animation of vortex street created by a cylindrical object; the flow on opposite sides of the object is given different colors, showing that the vortices are shed from alternating sides of the object.
2. Formulas Used
A. L=12ρV2SCL Where, CL: lift coefficient, L: lift force, S: relevant surface, q: fluid dynamic pressure, ⍴: fluid density, u: flow speed.
B. D=12ρV2ACD Where, D: drag force, ρ: density of the air, V: velocity of the air, A: body area, and CDis the drag coefficient.
C. Re=ρVLμ Where, ρ: density of the air, V: velocity of the air, L: length, μ: viscosity, Re: Reynolds number.
D. St=fdV Where, f: vortex shedding frequency, d: diameter of the cylinder, V: velocity of the air, St: Strrouhal number.
3. Designing The Computational Domain
Ansys geometry editing software "Spaceclaim" was used to design the computational domain. Fig 2.1 shows the various dimensions of the computational domain using cylinder diameter (D) as the characteristic length scale. We start by designing the 2-D cylinder which is essentially a circle with a diameter of 2m or radius of 1m with the center located on the origin of the plane. The upstream and downstream lengths of the domain are 10D and 20D respectively & this distance is computed from the center of the circle. the downstream distance has been kept longer to capture the flow physics, in our case we are interested in capturing the vortex formation. Once the design is done we use the "Pull-tool" feature to convert the design into a solid surface. Once done, we move to the next part, which is generating the mesh & assigning boundaries.
Fig 2.1:- Dimensions of the Computational domain & converting it into a solid surface.
4. Mesh Generation & Assigning Boundaries
In the Ansys mesh module, we start by generating a base mesh upon which we will use different mesh refinement strategies at different locations of the geometric model to capture the flow physics accurately. Fig 4.1 shows the base mesh that's automatically generated by Ansys. We can observe that the automated mesh generated is quad-dominated i.e. the entire geometry surface is discretized using quadrilateral mesh. A domain dominated by quad based mesh occupies a fewer number of cells compared to the triangular meshes which simply means the reduced memory usage. Hence, we convert the domain from quad dominated to triangular mesh as shown in the fig below.
Mesh -> Insert -> Method -> Select face -> Method (Triangles) -> Generate Mesh
Fig 4.1:- Transforming domain from Quad-dominated mesh to Triangular mesh.
After transforming the mesh type we generate the mesh again & observed a total cell count of just 824 cells & 449 nodes. This can be considered as a "coarse mesh". Although a coarse mesh requires less computational resources to solve but gives a very inaccurate solution. Hence, we will be converting it into a "Fine mesh". But before doing so we need to edit the circle edge, if looked closely we can observe the edges of the circle have sharp corners & depicts the shape of a polygon rather than a circle as shown in Fig 4.2. These sharp corners can disturb the flow physics around the cylinder.
Sizing -> Select Edge of cylinder -> Type (Number of Divivsions) -> 36 divisions -> Generate Mesh
Fig 4.2:- Transforming sharp edges or corners into smooth edges
The next phase of the mesh generation process is to add "inflation layers" near the circle as shown in Fig 4.3 where the fluid entering the domain will interact. Inflation layers are used in certain areas of the geometry to correctly capture the velocity and temperature gradients near no-slip walls. For our case, we used 8 inflation layers with a growth rate of 1.2 & the first layer height is 5e-3 or 5 mm. These parameters indicate that the first layer near the cylinder will have the smallest size of 0.05 & the subsequent layers will keep increasing at a rate of 15% [ (1.28)⋅100].
Fig 4.3:- Adding Inflation Layers
The final few steps in the meshing module involve specifying the boundaries & refining the mesh. For our geometry, we have 4 boundaries, inlet, outlet, symmetric walls & stationary walls as shown in Fig 4.4. Initially, our geometry had just 824 cells which is extremely low, hence for our final mesh, we used an element size of 0.12m which generated 0.14 million cells.
Fig 4.4:- Specifying the boundaries & final mesh after refinement.
5. setting up the Flow Physics
In Ansys Fluent after creating the mesh & assigning the boundaries, the next stage of the process is to set up the simulation parameters. This step involves specifying certain properties to capture the physics of the problem perfectly, such as materials used, simulation time parameters, solver parameters, initial & boundary conditions to solve the Navier Stokes equation which are PDEs, defining body forces, type of fluid flow & species involved. We start by setting up the Domain, here we will be using both pressure-based steady-state & transient solver with absolute velocity formation. We can justify using a pressure-based solver since the velocity or Mach number or Reynold's no at the inlet from the inlet is extremely small. The next parameter that we need to set up is the Flow Physics, here we will be navigating to the viscous feature & use a Laminar flow since our velocity at inlet is small. In the flow physics parameters itself, we will be defining the materials, our choice of fluid for the experiment is a user-defined fluid with properties such as density (ρ) = 1 & viscosity (μ) varies as we vary the Reynolds no. We then navigate to the boundary zone, these are user-defined parameters where we assign the inlet velocity & we define the pressure near the outlet area. The walls of the pipe are stationary walls with a "no-slip" condition. These parameters will vary for all 3 cases as shown below. The final step includes performing a hybrid initialization & running the simulation for 1200 iterations till the solutions converge.
[Part 1 ] | Density (ρ) | Velocity (V) | Characteristic Length (L) | Viscosity (μ) | Reynolds No (computed) | Solver | Vortex Shedding |
Case 1 | 1 | 1 | 2 | 0.05 | 40 | Steady-state | X |
Case 2 | 1 | 1 | 2 | 0.02 | 100 | Steady-state | ✓ |
Case 3 | 1 | 1 | 2 | 0.02 | 100 | Transient | ✓ |
[Part 2 ] | Density (ρ) |
Velocity (V)[computed] |
Characteristic Length (L) | Viscosity (μ) | Reynolds No | CL | CD | Vortex Shedding |
Case 1 | 1.225 | 0.004 | 2 | 0.001 | 10 | -9.7141 | 0.0055 | X |
Case 2 | 1.225 | 0.04 | 2 | 0.001 | 100 | -8.1232 | 0.0087 | ✓ |
Case 3 | 1.225 | 0.4 | 2 | 0.001 | 1000 | 0.0432 | 0.3554 | ✓ |
Case 4 | 1.225 | 4 | 2 | 0.001 | 10000 | -18.79 | 33.16 | ✓ |
Case 5 | 1.225 | 40.8 | 2 | 0.001 | 100000 | 1385.5 | 2835 | ✓ |
6. Results & Observations for Part 1
A. Case 1
B. Case 2
C. Case 3
7. Results & Observations for Part 2
A. Velocity Contours For Varying Reynolds Number
B. Velocity Contour Animations For Varying Reynolds Number
C. CL Plots For Varying Reynolds Number
D. CD Plots For Varying Reynolds Number
E. Residual Plots For Varying Reynolds Number
8. Conclusion
After simulating the flow over a 2D cylinder for varying Reynolds number (Re) using a Steady-state solver with no turbulence model, the data collected gives us the relationship between Reynolds number & Lift & Drag Coefficient (CL & CD) near the wall of the cylinder. Since the solutions have been run for several iterations, we observed oscillatory behavior for all cases above Re=10, this is caused due to vortex shedding downstream of the cylinder. The values for CL & CDhave been averaged for all cases to obtain a single value. From the simulation results, we can observe that with an increase in Reynolds number the CL & CDalso increases & is maximum for Re=100000. For the smaller values of Re we observe a negative `C_L' value which indicates downforce i.e. the lift force is acting downwards. In each of the cases, we can also observe a boundary layer separation region also known as the wake region. The pressure value in these wake regions can reach negative values.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Leave a comment
Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.
Other comments...
Visualize 2D Flow Simulation Through A Backward Facing Step For 3 Distinct Mesh Grid Size Using openFOAM & ParaView
Abstract:- The work is focused on simulating fluid flow through a backward-facing step channel that would be subjected to a sudden increase in the cross-sectional area, this would result in flow separation & reattachment zones. The geometry will be designed by creating vertices & then joining them to form blocks.…
19 Jan 2021 06:26 AM IST
Week 12 - Symmetry vs Wedge vs HP equation
Objective:- The work is focused on performing a CFD simulation for a flow through a cylindrical pipe with reference to Hagen Poiseuille's principle that refers to the laminar flow formation inside a smooth cylindrical tube. Since the computation will be carried out on a laptop, we will not be able to consider the entire…
19 Jan 2021 06:26 AM IST
Writing A MATLAB/Octave Code To Perform A 1D Super-Sonic Nozzle Flow Simulation Using Macormack Method.
Abstract:- The work is focused on writing a MATLAB/Octave code to simulate the isentropic flow through a quasi 1D supersonic nozzle using both the conservation and non-conservation forms of the governing equations and solving them using MacCormack's technique and compare their solutions by performing a grid dependency…
19 Jan 2021 06:24 AM IST
Writing A MATLAB/Octave Program To Solve the 2D Heat Conduction Equation For Both Steady & Transient State Using Jacobi, Gauss-Seidel & Successive Over Relaxation (SOR) Schemes.
Problem Statement:- 1. Steady-state analysis & Transient State Analysis Solve the 2D heat conduction equation by using the point iterative techniques that were taught in the class. The Boundary conditions for the problem are as follows; Top Boundary = 600 K Bottom Boundary = 900 K Left Boundary = 400 K Right Boundary…
19 Jan 2021 06:23 AM IST
Related Courses
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.