numerical simulations of flow around square … - numerical simulations of flow around...numerical...

12
Columbia International Publishing Journal of Advanced Computing (2013) 1: 59-70 doi:10.7726/jac.2013.1005 Research Article ______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1 Department of Marine Technology, Amirkabir University of Technology, Tehran, Iran 59 Numerical Simulations of Flow around Square Cylinder Using an Iterative High Order Difference Scheme Mahdi Yousefi Fard 1 , Parviz Ghadimi 1* , Rahim Zamanian 1 Received 13 April 2013; Published online 8 June 2013 © The author(s) 2013. Published with open access at www.uscip.org Abstract A time dependent two-dimensional numerical simulation of flow around a rectangular cylinder is conducted using a particular high order compact finite difference method. The current forth-order compact scheme is implemented for the simulation of flow around bluff bodies for the first time. This formulation offers a semi- explicit method for the solution of Navier-Stokes equations in stream function-vorticity form and based on a nine point difference scheme with uniform grid spacing. The main advantage of the suggested method is its fast convergence and high accuracy. The proposed numerical method combines the enhanced Fourni’e’s forth order scheme with a semi-explicit formulation. By this combination, very accurate results can be obtained with a relatively coarse mesh in a short time. Uniform grids are applied with this high performance algorithm, and the accuracy of the scheme is proved using the benchmark problem of incompressible laminar flow around a rectangular cylinder at medium and high Reynolds numbers. Current results have good agreement with other numerical and experimental values. Generally, it is shown that, using the high order finite difference method demonstrates fairly competitive results for the current problem. Keywords: Steady 2-D Navier-Stokes equations; Finite difference method; rectangular cylinder; Stream function-vorticity formulation 1. Introduction Study of bluff body wakes is important for many applications in the fluid engineering problems. Bluff body cross sections that are often employed are circular and rectangular, especially square. Flow details behind these geometries mainly depend on Reynolds number and blockage ratio. Flow around a square cylinder is similar in many ways to the flow around a circular cylinder. But the separation mechanism and the consequent dependence of lift, drag, and Strouhal number on the Reynolds number are significantly different. The flow field over a cylinder is symmetric at low

Upload: trinhthu

Post on 02-May-2018

244 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Columbia International Publishing Journal of Advanced Computing (2013) 1: 59-70 doi:10.7726/jac.2013.1005

Research Article

______________________________________________________________________________________________________________________________ *Corresponding e-mail: [email protected] 1 Department of Marine Technology, Amirkabir University of Technology, Tehran, Iran

59

Numerical Simulations of Flow around Square Cylinder Using an Iterative High Order Difference Scheme

Mahdi Yousefi Fard 1, Parviz Ghadimi 1*, Rahim Zamanian 1 Received 13 April 2013; Published online 8 June 2013 © The author(s) 2013. Published with open access at www.uscip.org

Abstract A time dependent two-dimensional numerical simulation of flow around a rectangular cylinder is conducted using a particular high order compact finite difference method. The current forth-order compact scheme is implemented for the simulation of flow around bluff bodies for the first time. This formulation offers a semi-explicit method for the solution of Navier-Stokes equations in stream function-vorticity form and based on a nine point difference scheme with uniform grid spacing. The main advantage of the suggested method is its fast convergence and high accuracy. The proposed numerical method combines the enhanced Fourni’e’s forth order scheme with a semi-explicit formulation. By this combination, very accurate results can be obtained with a relatively coarse mesh in a short time. Uniform grids are applied with this high performance algorithm, and the accuracy of the scheme is proved using the benchmark problem of incompressible laminar flow around a rectangular cylinder at medium and high Reynolds numbers. Current results have good agreement with other numerical and experimental values. Generally, it is shown that, using the high order finite difference method demonstrates fairly competitive results for the current problem. Keywords: Steady 2-D Navier-Stokes equations; Finite difference method; rectangular cylinder; Stream function-vorticity formulation

1. Introduction Study of bluff body wakes is important for many applications in the fluid engineering problems. Bluff body cross sections that are often employed are circular and rectangular, especially square. Flow details behind these geometries mainly depend on Reynolds number and blockage ratio. Flow around a square cylinder is similar in many ways to the flow around a circular cylinder. But the separation mechanism and the consequent dependence of lift, drag, and Strouhal number on the Reynolds number are significantly different. The flow field over a cylinder is symmetric at low

Page 2: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

60

values of Reynolds number. As the Reynolds number increases, flow begins to separate behind the cylinder causing vortex shedding which is an unsteady phenomenon. Among the three mentioned bodies, flow around rectangular bodies has a majority of past research. As noted by Roshko (1954), the shedding frequency is related to the width of the wake. Durao et al. (1988) presented a detailed experimental inspection of flow around a square cylinder as quintessential bluff body, using laser doppler velocimetry at a Reynolds number of 14,000. Similar work has been done by Lyn et al. (1995) at higher Reynolds number. As previously mentioned, flow around the square cylinder is symmetric at low Reynolds numbers. Vortex shedding starts taking place when the Reynolds number increases and critical Reynolds number ( ) presented by many researchers. Okajima (1982) abserved vortex motion at low Reynolds number, and proposed that is below 70. Also, this critical value is suggested by Klekar and Patankar (1992). They determined the value of to be 54. The effect of blockage was investigated numerically by Stansby and Slaouti (1993), Anagnostopoulos et al. (1996), Behr et al. (1995) and Turki et al. (2003). It is shown that, increasing the blockage factor leads to high Strouhal number, drag coefficient and stagnation pressure. A significant amount of research has been published for numerical study of flow past a rectangular cylinder at high Reynolds numbers. Murakami et al. (1990) investigated the performance of the model on a square section. Similarly, Lubcke et al. (2001) tested both RANS an LES method in simulation of flow around rectangular cylinder at Reynolds number Re=22,000. Ghadimi et al. (2013) presented a new forth order finite difference scheme to solve the steady Navier-Stokes equation in the form of vorticity-streamfunction. They extended Fourni’e’s (2006) formulation and applied it to solve Navier-Stokes equation in the benchmark problem of flow in the driven cavity up to . This advanced method has been used in the current study to simulate steady and unsteady flow around square cylinder to examine the accuracy and performance of this scheme. In order to solve unsteady problems, the transient term has been inserted into the ordinary vorticity-stream function formulation.

2. Governing Equations The governing equations of viscous fluid flows in stream function (ψ) and vorticity (ω) formulation can be written as (Liggett and Caughey, 1994):

(1)

(2)

where x and y are the Cartesian coordinates and the parameter is the so-called dimensionless Reynolds number. The velocity components ( ) are defined as (3) (4) The nonlinear system is closed with suitable boundary conditions. The general form of these relations, could be written as an elliptic equation

Page 3: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

61

(

)

( ) ( )

(5)

which is accompanied by Dirichlet boundary conditions on , where is a smooth convex domain in consisting of a series of rectangular shapes. Parameters c, d, and β are assumed to be constant coefficients, while β satisfies the ellipticity condition . The forcing term ( ) as well as the solution ( ) of the problem are assumed to be sufficiently smooth in the computational domain. Discretization of Eq. (5) using the advanced nine point difference scheme (as shown in Fig.1) leads to accurate numerical results with reasonable computational cost. The base idea of forth order compact scheme has been demonstrated by Gupta et al. (1984). The truncation error of the scheme is of order ( ).

Fig 1. Labeling of the nine grid points

The fourth-order compact finite difference formula for the central point ( ) involves the nearest eight neighboring mesh points with mesh spacing h which is given by Fourni’e (2006) as in

(6)

where the coefficients , i=0,1,…,8, are given as (

),

( ),

( ),

( ),

( ),

( ),

( ),

( ),

( ).

Page 4: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

62

The coefficients , , are

,

( ),

( )

( ),

( ),

,

,

.

Eq. (1) is a Poisson type equation, and changes to fourth-order approximation with and . The vorticity Eq. (2) is a special case of the convection-diffusion equation, and the fourth-order approximation in this case may be obtained with , , and , in Eq. (5). Time marching algorithm is applied by a simple difference method. The velocity components u and v at a grid point ( )are computed from the discrete approximation of Eq. (5) with fourth-order approximation as follows (Gupta, 1991):

(7)

(8)

Stortkuhl et al. (1994) have also presented the following expression for computing the vorticity values on the wall:

[

]

[

]

(9)

where V is the speed of the wall which is equal to 1 for the moving top wall and is equal to 0 for the three stationary walls.

3. Solution Procedure An iterative scheme is used in the solution of the Navier-Stokes. Continuity and momentum equations are solved simultaneously. At the beginning, the initial data except the boundary values of the known functions is set equal to zero. Subsequently, an iterative procedure is implemented, as shown in Fig.2.

Page 5: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

63

Fig 2. Solution procedure

4. Flow past a square cylinder The capabilities of the proposed method are demonstrated by simulating the laminar steady and unsteady flow over a square cylinder. The flow around a square cylinder at different Reynolds

numbers (

) is computed to study the influence of several parameters, where is the free-

stream velocity, is the cylinder height, and is the kinematic viscosity.

Time=0

Apply boundary conditions

Calculate streamfunction values

Eq. (6)

Assign vorticity boundary condition

Eq. (9)

Calculate vorticity values

Eq. (6)

t=t+Δt

Check the

differences

of variables

between

steps

Relax

the

values

Set initial values as 0

Write the results

Page 6: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

64

The domain geometry is indicated in Fig.3. To minimize the effects of the upstream and downstream boundaries on the flow, these boundaries are located at distances sufficiently away from the cylinder. In this case, inlet boundary condition is specified at 10 square heights upstream of the body as a uniform velocity, and a simple second order finite difference scheme between two neighboring points is applied. Downstream boundary is located at 50 cylinder heights from the step and direction and uniform velocity profile are specified to achieve a developed flow at the outlet. In the present study, the domain has a width and the blockage( ) is . These dimensions were chosen in order to minimize the boundary effects on the flow development.

Fig 3. Configuration of the test case.

5. Results and Discussion An iterative scheme is used in the solution of the Navier-Stokes. Continuity and momentum equations are solved simultaneously. At the beginning, the initial data except the boundary values of the known functions is set zero. For every Reynolds number, iterations are continued until both the maximum residual of mass and momentum equations are less than 10-5 in the computational domain. Figure 4 shows the streamlines contours along the domain for Re=10, 20 and 50. At these Reynolds numbers, the flow is laminar and steady. Also, reattachment length is presented for each of the Reynolds numbers and compared with Yoon et al. (2010) results. Here, is defined as the distance between the cylinder center and the near-wake saddle point as mentioned by Perry et al. (1982).

Re=10 Re=20

Page 7: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

65

Re=50

Fig 4. Streamline contour for Re=10, 20 and 50.

Fig 5. Variation of the length of recirculation region against Re for Re=10, 20 and 50.

At moderate Reynolds numbers, the flow is laminar and unsteady. In the current study, numerical simulation is presented at a series of extra Reynolds numbers above 100 with unsteady flow pattern. A time marching approach is performed to simulate the unsteady flow in every time step. Figures 6 and 7 show the time-dependent streamline contour for both Re=100 and 200. The periodicity of unsteady flow field has been displayed in both contours.

T=100 T=101

1

1.5

2

2.5

3

3.5

4

0 10 20 30 40 50 60

L r

Re

Yoon et al.

Current Study

Page 8: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

66

T=102 T=103

T=104 T=105

T=106 T=107

T=108 T=109

T=110

Fig 6. Streamline contour for Re=100

Page 9: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

67

Downstream flow oscillated and streamline contours were found in 10 seconds period of time. This period is about 7.0 seconds for Re=200.

T=100 T=101

T=102 T=103

T=104 T=105

T=106 T=107

T=108 T=109

Page 10: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

68

T=110

Fig 7. Streamline contour for Re=200.

Reference Strouhal numbers (

) for Re=100, 200 were derived by Robichaux et al. (1999),

where is the period of vortex shedding. Table 1 shows Strouhal numbers for Re=100, 200 and the current results are compared against those calculated by Robichaux et al. (1999). Comparison indicates good agreement. Table 1 Comparison of Strouhal numbers

Reynolds Number Current study Strouhal number Robichaux et al. (1999) Strouhal number

100 0.145 0.150

150 0.155 0.165

200 0.160 0.168

6. Conclusion

High order finite difference simulation has been carried out to study the vortex shedding downstream of two-dimensional square cylinder. In this method, a nine point finite difference scheme with uniform grid spacing has been implemented to solve Navier-Stokes equations in vorticity-streamfunction formulation. According to this scheme, a time marching method is used to simulate unsteady flow and find the Strouhal number for medium Reynolds numbers. Main advantage of the present numerical method is simplicity and fast convergence. Different flow simulations were performed at various Reynolds numbers. Results indicate that the suggested numerical scheme is proved to work for Reynolds numbers up to 200 for this problem. The robustness and accuracy of the present solution is proved by comparison of the pressure distribution over the cylinder for three low Reynolds numbers. Stream function pattern for these low Reynolds numbers have been presented and the reattachment length was compared with experimental data. Furthermore, for the medium Reynolds number, unsteady flow has been reviewed to find Strouhal number. Strouhal numbers are the same as experimental and other numerical data. This means that the proposed time dependent high order scheme is comparable with other solutions in efficiency, simplicity and accuracy and could be used for unsteady flow and high Reynolds numbers.

Page 11: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

69

References Anagnostopoulos P., Iliadis G., Richardson S., 1996. Numerical study of the blockage effects on viscous flow

past a circular cylinder. International Journal for Numerical Methods in Fluids 22 (11), 1061-1074. http://dx.doi.org/10.1002/(SICI)1097-0363(19960615)22:11<1061::AID-FLD393>3.0.CO;2-Q

Behr M., Hastretier D., Mittal S., Tezduyar T., 1995. Incompressible flow past a circular cylinder: dependence of the computed flow field on the location of the lateral boundaries. Computer Methods in Applied Mechanics and Engineering 123, 309-316. http://dx.doi.org/10.1016/0045-7825(94)00736-7

Durao, D. G., Heitor M. V., Pereira J. F., 1988. Measurement of turbulent and periodic flows around a square cylinder. Experiments in Fluids 6, 298-304. http://dx.doi.org/10.1007/BF00538820

Fourni’e, M., and Karaa, S., 2006. Iterative methods and high-order difference schemes for 2D elliptic problems with mixed derivative. Journal of Applied Mathematics and Computing 22(3), 349-363. http://dx.doi.org/10.1007/BF02832060

Ghadimi P., Yousefifard M., Dashtimanesh A., 2013. Application of an Iterative High Order Difference Scheme Along With an Explicit System Solver for Solution of Stream Function-Vorticity Form of NavierStokes Equations", Journal of Fluids Engineering 135.

Gupta, M. M., Manohar, R. P., and Stephenson, J. W., 1984. A Single Cell High Order Scheme For the Convection-Diffusion Equation With Variable Coefficients. International Journal for Numerical Methods in Fluids 4(7), 641-651. http://dx.doi.org/10.1002/fld.1650040704

Gupta, M. M., 1991. High accuracy solutions of incompressible Navier-Stokes equations. Journal of Computational Physics 93, 343-359. http://dx.doi.org/10.1016/0021-9991(91)90188-Q

Klekar, K. M., Patankar, S. V., 1992. Numerical prediction of vortex shedding behind square cylinders. International Journal for Numerical Methods in Fluids. 14, 327-341. http://dx.doi.org/10.1002/fld.1650140306

Liggett, J. A., and Caughey, D., 1994. Fluid Mechanics. McGraw-Hill Inc., New York. PMCid:45190

Lubcke H., Schmidt St., Rung T., Thiele F., 2001. Comparison of LES and RANS in bluff body flows. Journal of Wind Engineering and Industrial Aerodynamics 89, 1471-1485. http://dx.doi.org/10.1016/S0167-6105(01)00134-9

Lyn D., Rodi W., Park J., 1995. A laser doppler velocimetry study of ensemble-averaged characteristics of the turbulent near wake of a square cylinder. Journal of Fluid Mechanics 304, 285-319. http://dx.doi.org/10.1017/S0022112095004435

Murakami S., Mochida A., Hayashi Y., 1990. Examining the k-epsilon model by means of wind tunnel test and large eddy simulation of the turbulence structure around a cube. Journal of Wind Engineering and Industrial Aerosynamics 35, 87-100. http://dx.doi.org/10.1016/0167-6105(90)90211-T

Okajima A., 1982. Strouhal number of rectangular cylinders. Journal of Fluid Mechanics 123, 379-398. http://dx.doi.org/10.1017/S0022112082003115

Perry A. E., Chong M. S., Lim T. T., 1982. The vortex-shedding process behind two-dimensional bluff bodies. Journal of Fluid Mechanics 116, 77-90. http://dx.doi.org/10.1017/S0022112082000378

Robichaux J., Balachandar S.,Vanka S. P., 1999. Two-dimensional Floquet Instability of the Wake of Square Cylinder. Physics of Fluids 11, 560-578. http://dx.doi.org/10.1063/1.869930

Roshko, A., 1954. On the drag and shedding frequency of two-dimensional bluff bodies. NACA Tech. Note no. 3169.

Page 12: Numerical Simulations of Flow around Square … - Numerical Simulations of Flow around...Numerical Simulations of Flow around Square Cylinder ... with a relatively coarse mesh in

Mahdi Yousefi Fard, Parviz Ghadimi, and Rahim Zamanian / Journal of Advanced Computing (2013) 1: 59-70

70

Stansby P. K., Slaouti A., 1993. Simulation of vortex shedding including blockage by the random-vortex and other methods. International Journal for Numerical Methods in Fluids 17 (11), 1003-1013. http://dx.doi.org/10.1002/fld.1650171107

Stortkuhl, T., Zenger, C., and Zimmer, S., 1994. An asymptotic solution for the singularity at the angular point of the lid driven-cavity. International Journal of Numerical Methods for Heat & Fluid Flow 4(1), 47-59. http://dx.doi.org/10.1108/EUM0000000004030

Turki S., Abbassi H., Nasrallah S. B., 2003. Effect of the blockage ratio on the flow in a channel with a built-in square cylinder. Computational Mechanics 33, 22-29. http://dx.doi.org/10.1007/s00466-003-0496-2

Yoon D. H., Yang K. S., Choi C. B., 2010. Flow past a square cylinder with an angle of incidence", PHYSICS OF FLUIDS 22.