Introduction

Spillways are one of the main structures used in the dam projects. Design of the spillway in all types of dams, specifically earthen dams is important because the inability of the spillway to remove probable maximum flood (PMF) discharge may cause overflow of water which ultimately leads to destruction of the dam (Das and Saikia et al. 2009; E 2013 and Novak et al. 2007). So study on the hydraulic characteristics of this structure is important. Hydraulic properties of spillway including flow pattern at the entrance of the guide walls and along the chute. Moreover, estimating the values of velocity and pressure parameters of flow along the chute is very important (Chanson 2004; Chatila and Tabbara 2004). The purpose of the study on the flow pattern is the effect of wall geometry on the creation transverse waves, flow instability, rotating and reciprocating flow through the inlet of spillway and its chute (Parsaie and Haghiabi 2015a, b; Parsaie et al. 2015; Wang and Jiang 2010). The purpose of study on the values of velocity and pressure is to calculate the potential of the structure to occurrence of phenomena such as cavitation (Fattor and Bacchiega 2009; Ma et al. 2010). Sometimes, it can be seen that the spillway design parameters of pressure and velocity are very suitable, but geometry is considered not suitable for conducting walls causing unstable flow pattern over the spillway, rotating flows at the beginning of the spillway and its design reduced the flood discharge capacity (Fattor and Bacchiega 2009). Study on spillway is usually conducted using physical models (Su et al. 2009; Suprapto 2013; Wang and Chen 2009; Wang and Jiang 2010). But recently, with advances in the field of computational fluid dynamics (CFD), study on hydraulic characterist-ics of this structure has been done with these techniques (Chatila and Tabbara 2004; Zhenwei et al. 2012). Using the CFD as a powerful technique for modeling the hydraulic structures can reduce the time and cost of experiments (Tabbara et al. 2005). In CFD field, the Navier–Stokes equation is solved by powerful numerical methods such as finite element method and finite volumes (Kim and Park 2005; Zhenwei et al. 2012). In order to obtain closed-form Navier–Stokes equations turbulence models, such k − ε and Re-Normalisation Group (RNG) models have been presented. To use the technique of computational fluid dynamics, software packages such as Fluent and Flow 3D, etc., are provided. Recently, these two software packages have been widely used in hydraulic engineering because the performance and their accuracy are very suitable (Gessler 2005; Kim 2007; Kim et al. 2012; Milési and Causse 2014; Montagna et al. 2011). In this paper, to assess the flow pattern at Kamal-Saleh guide wall, numerical method has been used. All the stages of numerical modeling were conducted in the Flow 3D software.

Materials and methods

Firstly, a three-dimensional model was constructed according to two-dimensional map that was prepared for designing the spillway. Then a small model was prepared with scale of 1:80 and entered into the Flow 3D software; all stages of the model construction was conducted in AutoCAD 3D. Flow 3D software numerically solved the Navier–Stokes equation by finite volume method. Below is a brief reference on the equations that used in the software. Figure 1 shows the 3D sketch of Kamal-Saleh spillway and Fig. 2 shows the uploading file of the Kamal-Saleh spillway in Flow 3D software.

Fig. 1
figure 1

Sketch of approach channel and spillway of the Kamal-Saleh dam

Fig. 2
figure 2

The 3D model of Kamal-Saleh dam in Flow 3D software

Review of the governing equations in software Flow 3D

Continuity equation at three-dimensional Cartesian coordinates is given as Eq (1).

$$v_{\text{f}} \frac{\partial \rho }{\partial t} + \frac{\partial }{\partial x}\left( {uA_{\text{x}} } \right) + \frac{\partial }{\partial x}\left( {vA_{\text{y}} } \right) + \frac{\partial }{\partial x}\left( {wA_{\text{z}} } \right) = \frac{\text{PSOR}}{\rho } ,$$
(1)

where u, v, z are velocity component in the x, y, z direction; A x, A y, A z cross-sectional area of the flow; ρ fluid density; PSOR the source term; v f is the volume fraction of the fluid and three-dimensional momentum equations given in Eq (2).

$$\begin{array}{*{20}c} {\frac{\partial u}{\partial t} + \frac{1}{{v_{\text{f}} }}\left( {uA_{\text{x}} \frac{\partial u}{\partial x} + vA_{\text{y}} \frac{\partial u}{\partial y} + wA_{\text{z}} \frac{\partial u}{\partial z}} \right) = - \frac{1}{\rho }\frac{\partial P}{\partial x} + G_{\text{x}} + f_{\text{x}} } \\ {\frac{\partial v}{\partial t} + \frac{1}{{v_{\text{f}} }}\left( {uA_{\text{x}} \frac{\partial v}{\partial x} + vA_{\text{y}} \frac{\partial v}{\partial y} + wA_{\text{z}} \frac{\partial v}{\partial z}} \right) = - \frac{1}{\rho }\frac{\partial P}{\partial y} + G_{\text{y}} + f_{\text{y}} } \\ {\frac{\partial w}{\partial t} + \frac{1}{{v_{\text{f}} }}\left( {uA_{\text{x}} \frac{\partial w}{\partial x} + vA_{\text{y}} \frac{\partial w}{\partial y} + wA_{\text{z}} \frac{\partial w}{\partial z}} \right) = - \frac{1}{\rho }\frac{\partial P}{\partial y} + G_{\text{z}} + f_{\text{z}} } \\ \end{array} ,$$
(2)

where P is the fluid pressure; G x, G y, G z the acceleration created by body fluids; f x, f y, f z viscosity acceleration in three dimensions and v f is related to the volume of fluid, defined by Eq. (3). For modeling of free surface profile the VOF technique based on the volume fraction of the computational cells has been used. Since the volume fraction F represents the amount of fluid in each cell, it takes value between 0 and 1.

$$\frac{\partial F}{\partial t} + \frac{1}{{v_{\text{f}} }}\left[ {\frac{\partial }{\partial x}\left( {FA_{\text{x}} u} \right) + \frac{\partial }{\partial y}\left( {FA_{\text{y}} v} \right) + \frac{\partial }{\partial y}\left( {FA_{\text{z}} w} \right)} \right] = 0$$
(3)

Turbulence models

Flow 3D offers five types of turbulence models: Prantl mixing length, k − ε equation, RNG models, Large eddy simulation model. Turbulence models that have been proposed recently are based on Reynolds-averaged Navier–Stokes equations. This approach involves statistical methods to extract an averaged equation related to the turbulence quantities.

Steps of solving a problem in Flow 3D software

(1) Preparing the 3D model of spillway by AutoCAD software. (2) Uploading the file of 3D model in Flow 3D software and defining the problem in the software and checking the final mesh. (3) Choosing the basic equations that should be solved. (4) Defining the characteristics of fluid. (5) Defining the boundary conditions; it is notable that this software has a wide range of boundary conditions. (6) Initializing the flow field. (7) Adjusting the output. (8) Adjusting the control parameters, choice of the calculation method and solution formula. (9) Start of calculation. Figure 1 shows the 3D model of the Kamal-Saleh spillway; in this figure, geometry of the left and right guide wall is shown.

Figure 2 shows the uploading of the 3D spillway dam in Flow 3D software. Moreover, in this figure the considered boundary condition in software is shown. At the entrance and end of spillway, the flow rate or fluid elevation and outflow was considered as BC. The bottom of spillway was considered as wall and left and right as symmetry.

Model calibration

Calibration of the Flow 3D for modeling the effect of geometry of guide wall on the flow pattern is included for comparing the results of Flow 3D with measured water surface profile. Calibration the Flow 3D software could be conducted in two ways: first, changing the value of upstream boundary conditions is continued until the results of water surface profile of the Flow 3D along the spillway successfully covered the measurement water surface profile; second is the assessment the mesh sensitivity. Analyzing the size of mesh is a trial-and-error process where the size of mesh is evaluated form the largest to the smallest. With fining the size of mesh the accuracy of model is increased; whereas, the cost of computation is increased. In this research, the value of upstream boundary condition was adjusted with measured data during the experimental studies on the scaled model and the mesh size was equal to 1 × 1 × 1 cm3.

Results and discussion

The behavior of water in spillway is strongly affected by the flow pattern at the entrance of the spillway, the flow pattern formation at the entrance is affected by the guide wall, and choice of an optimized form for the guide wall has a great effect on rising the ability of spillway for easy passing the PMF, so any nonuniformity in flow in the approach channel can cause reduction of spillway capacity, reduction in discharge coefficient of spillway, and even probability of cavitation. Optimizing the flow guiding walls (in terms of length, angle and radius) can cause the loss of turbulence and flow disturbances on spillway. For this purpose, initially geometry proposed for model for the discharge of spillway dam, Kamal-Saleh, 80, 100, and 120 (L/s) were surveyed. These discharges of flow were considered with regard to the flood return period, 5, 100 and 1000 years. Geometric properties of the conducting guidance wall are given in Table 1.

Table 1 Characteristics and dimensions of the guidance walls tested

Results of the CFD simulation for passing the flow rate 80 (L/s) are shown in Fig. 3. Figure 3 shows the secondary flow and vortex at the left guide wall.

Fig. 3
figure 3

Flow pattern in the approach channel for the flow rate 80 (L/s)

For giving more information about flow pattern at the left and right guide wall, Fig. 4 shows the flow pattern at the right side guide wall and Fig. 5 shows the flow pattern at the left side guide wall.

Fig. 4
figure 4

Flow pattern trough the right side guide wall

Fig. 5
figure 5

Flow pattern trough the left side guide wall

With regard to Figs. 4 and 5 and observing the streamlines, at discharge equal to 80 (L/s), the right wall has suitable performance but the left wall has no suitable performance and the left wall of the geometric design creates a secondary and circular flow, and vortex motion in the beginning of the entrance of spillway that creates cross waves at the beginning of spillway. By increasing the flow rate (Q = 100 L/s), at the inlet spillway secondary flows and vortex were removed, but the streamline is severely distorted. Results of the guide wall performances at the Q = 100 (L/s) are shown in Fig. 6.

Fig. 6
figure 6

Proposed model for the flow rate of 100 (L/s)

Also more information about the performance of each guide wall can be derived from Figs. 7 and 8. These figures uphold that the secondary and vortex flows were removed, but the streamlines were fully diverted specifically near the left side guide wall.

Fig. 7
figure 7

Flow pattern down the right wall

Fig. 8
figure 8

Pattern of flow through the sidewall of the left

As mentioned in the past, these secondary and vortex flows and diversion in streamline cause nonuniformity and create cross wave through the spillway. Figure 9 shows the cross waves at the crest of the spillway.

Fig. 9
figure 9

Two-dimensional flow pattern on the spillway crest

The performance of guide walls at the Q = 120 (L/s) also was assessed. The result of simulation is shown in Fig. 10. Figures 11 and 12 show a more clear view of the streamlines near to right and left side guide wall, respectively. As seen in Fig. 12, the left side wall still causes vortex flow and creation of and diversion in streamline.

Fig. 10
figure 10

Flow pattern in the design flow of 120 (L/s)

Fig. 11
figure 11

Flow pattern near the wall in right direction

Fig. 12
figure 12

Flow pattern near the left wall

The results of the affected left side guide wall shape on the cross wave creation are shown in Fig. 13. As seen from Fig. 3, the left side guide wall also causes cross wave at the spillway crest.

Fig. 13
figure 13

Two-dimensional flow pattern on the wall of the spillway crest guidance

As can be seen clearly in Figs. 9 and 13, by moving from the left side to the right side of the spillway, the cross waves and the nonuniformity in flow is removed. By reviewing Figs. 9 and 13, it is found that the right side guide wall removes the cross waves and nonuniformity. With this point as aim, a geometry similar to the right side guide wall was considered instead of the left side guide wall. The result of simulation for Q = 120 (L/s) is shown in Fig. 14. As seen from this figure, the proposed geometry for the left side wall has suitable performance smoothly passing the flow through the approach channel and spillway.

Fig. 14
figure 14

Proposed a model for the flow rate of 120 (L/s)

More information about the proposed shape for the left guide wall is shown in Fig. 15. As seen from this figure, this shape has suitable performance for removing the cross waves and vortex flows.

Fig. 15
figure 15

To guide the flow pattern near the wall

Figure 16 shows the cross section of flow at the crest of spillway. As seen in this figure, the proposed shape for the left side guide wall is suitable for removing the cross waves and secondary flows.

Fig. 16
figure 16

Two-dimensional flow pattern on the wall of the spillway crest

Conclusion

Analysis of behavior and hydraulic properties of flow over the spillway dam is a complicated task which is cost and time intensive. Several techniques suitable to the purposes of study have been undertaken in this research. Physical modeling, usage of expert experience, usage of mathematical models on simulation flow in one-dimensional, two-dimensional and three-dimensional techniques, are some of the techniques utilized to study this phenomenon. The results of the modeling show that the CFD technique is a suitable tool for simulating the flow pattern in the guide wall. Using this tools helps the designer for developing the optimal shape for hydraulic structure which the flow pattern through them are important.