Numerical Simulation of 2D Hydraulic Jumps using SPH MethodJ. Lin, S. Jin, C. Ai and W. Ding 1 / 5 Numerical simulation of 2D hydraulic jumps using SPH method Jinbo Lin*, Sheng Jin†, Congfang Ai† and Weiye Ding† * State Key Laboratory of Coastal and Offshore Engineering Dalian University of Technology Dalian 116024, China e-mail:
[email protected] † State Key Laboratory of Coastal and Offshore Engineering Dalian University of Technology Dalian 116024, China e-mail: ting[email protected] ABSTRACT A hydraulic jump that generally occurs in river or spillway is a rapid transition from supercritical to subcritical flow characterized by the development of large-scale turbulence, surface waves, energy dissipation and considerable air entrainment. The hydraulic jump is widely used as energy dissipaters in hydraulic engineering due to the high energy dissipation rate. In this study, a weakly compressible smoothed particle hydrodynamics model (WCSPH) is established to simulate the 2D hydraulic jump in open channel. To test the model, two hydraulic jump cases with different inflow Froude number are simulated. The comparison between numerical conjugate depths in the subcritical section with theoretical results show generally good agreement with theory. In addition, an aeration at the jump toe can be clearly observed in numerical results with only Single-phase flow. It is proved that SPH method has unique advantages dealing with the hydraulic jumps. Keywords: Hydraulic jumps; SPH; Aeration. 1. INTRODUCTION The hydraulic jumps are a common way to dissipate energy in hydraulic engineering. A hydraulic jump will occur when the supercritical flow discharged from sluice or overflow dam is lifted by the subcritical flow in downstream channel. The turbulence in a jump zone is intense and the energy loss is great. The energy dissipation rate can generally reach 60%-70%. In addition, the stilling basins installed downstream of discharge structures are often adopted to form hydraulic jumps behind gates in the design and construction of hydraulic projects. The stilling basins have the advantages of simple structure, convenient design and construction, and large energy dissipation rate. Therefore, the hydraulic jumps are widely used in large, medium and small hydraulic projects. The hydraulic jumps have been widely investigated by researchers. López et al. [1] used a similar tank to obtain several jump shapes with different upstream Froude numbers. Then, the experimental data was adopted to check the SPH outcomes. The SPH model provided good average pressures values at the boundaries, but large dispersion was observed for instantaneous water depth. Federico et al. [2] developed a 2D SPH model with a new scheme to enforce different inlet and outlet flow conditions. The proposed treatment could correctly represent the boundary conditions without the generation of spurious pressure shock waves caused by a direct creation or deletion of fluid particles. The model has been successfully validated through several test cases of free-surface channel flows and hydraulic jumps. Babaali et al. [3] studied the hydraulic jump in a convergence stilling basin by a commercially software Flow-3D. The Navier-Stokes equations with standard k-ε and RNG model were solved by finite volume model. The comparison of the pressure, velocity, flow rate, kinetics energy, kinetics energy dissipation, and Froude number between numerical results and experimental data shown that this finite volume model could predict the hydraulic jump in a convergence stilling basin, accurately. Jonsson et al. [4] focused on the general behavior of the hydraulic jumps using the SPH methods. Four hydraulic jump cases with different particles resolution were set up and investigated by comparing the conjugate depth with the theoretical results. All of the numerical results shown good agreement with the analytical solution. Their work has shown the possibility to reproduce the internal velocity field 763
2 / 5 and its impact on the free surface in the hydraulic jumps by a relative simple and coarse SPH model. Azimi et al. [5] used a finite volume model with the volume of fluid scheme to study a hydraulic jump in U-shaped channel. A comparison between the numerical and experimental results shown that the numerical model simulated the flow field characteristics with good accuracy. The present study uses the discretized governing equations proposed by Federico et al. [2] to simulate two test cases of undular and full hydraulic jumps. The integration of the discretized SPH equations in time is achieved by a two-stage Symplectic method [6]. The time step is a variable value updated in each step. The accuracy of the model is validated by comparing conjugate water depth with the analytical solution. Meanwhile, the evolution of the flow field for the two types of the hydraulic jumps is analyzed and compared. 2. NUMERICAL METHOD 2.1 Governing equations The governing equations are viscous, weakly compressible Navier-Stokes equations. It is discretized by the SPH method, following Lagrangian form Navier–Stokes equations are obtained [2] 2 2 00 8 ( ) () () () () a ba ba a a b aba b aa aba b bb ab a a ba a b a b b aa a a DppWV WV Dt DWV Dt pc D Dt =− + + + =− = − = u ur rg r r ur ru (1) where represents the density; u is the velocity vector; p represents the pressure; r represents the position of a generic material point; g = (0, 0, -9.81) m/s2; 0 is the reference density (1000 kg/m3 for water); 0 c represents the reference speed of sound which usually adopts ten times of the maximum wave speed. Γ is the viscous stress tensor; and t is the time. The sub-index is the a-th and b-th particles. More specifically, ba b a = −u uu ; is the dynamic viscosity (1.0 10-3 N s/m2 for water. For ideal fluid, there is no viscosity in fluid. An artificial viscosity is adopted to maintain computational stability. Here a formula 00 /8hc = is adopted. Following Federico et al. [2], 0.02 = is taken.); V is the particle volume, /Vm = , where m represents the particle mass; () ba Wr refers to the kernel function at b-th particle induced by a-th particle. In this paper, a renormalized Gaussian kernel [7] is adopted with the smoothing length 4 /3hx= . A two-stage Symplectic method [6] is selected to integrate the discretized SPH equations in time. Meanwhile, the time step is a variable value updated in each step. The symplectic integration scheme is time reversible when there is no friction or viscous effects. The governing equations of N-S and motion can be rewritten as: ; ; a aa aa d dd dt dt dt = = vr Fv (2) At the predictor stage, the acceleration and density are updated: 1/2 1/2 ; 22 n nn n n n a aa a a a tt D ++ =+=+r rv (3) where the superscript n represents the time step. At the corrector stage, half-time step values are used to calculate the next time step values of velocity and position. 1 1/2 1/2 1 1/2 1 ; 22 nn n nn n aa a aa a tt ++ + ++ + =+=+vv F rr v (4) 764
3 / 5 2.2 Boundary conditions For SPH model, the free surface can be captured naturally without additional special treatment. As for the wall boundaries, a fixed ghost particle technique is adopted to construct the wall boundary with four-layer fixed wall particles. The wall particles are fixed at its position while the density, velocity, and pressure of wall particles are determined by the mirror particles in the fluid domain. In this work, a slip boundary condition is selected to reproduce the inviscid condition. The inflow and outflow condition are treated by two buffer zone. Four-layer inflow and outflow particles are initially contained in the inflow and outflow buffer zone. Particles in buffer zone carry specific values of density, velocity, and pressure. The detail of boundary conditions can be found in [2]. 3. NUMERICAL TEST CASES An undular and full hydraulic jump test cases [2] are simulated to validate this model by comparing the numerical conjugate water depth with the analytical solution. Fig. 1. Velocity (left) and density (right) magnitude field of case 1: (a) t = 0.04 s; (b) t = 0.66 s; (c) t = 6.14 s; (d) t = 8.52 s; (e) t = 9.60 s; (f) t = 11.80 s; (g) t = 13.42 s; (h) t = 15.96 s. For ideal fluid, the conjugate water depth can be calculated as follow: 2 1 21 ( 1 8 1) 2 h h Fr= +− (5) where 1 h is the upstream water depth; 2 h is the downstream water depth; 1 Fr is the upstream Froude number 11 1 /Fr U gh= , 1 U is the upstream velocity. The 1 Fr of case 1 and case 2 are 1.15 and 1.88, respectively. The upstream boundary condition sets to 1 0.01 mh= and 1 0.36 m/sU= for case 1. The corresponding downstream boundary condition is 2 0.3 m/sU= . For case 2, 1 0.01 mh= and 765
4 / 5 10.589 m/sU= are the upstream boundary condition. 2 0.268 m/sU= is the downstream boundary condition. The length of numerical flume is 1 40Lh= .The initial density and pressure are set according to the distribution of hydrostatic pressure. The space between particles is 1/ 50hl= . Fig. 2. Velocity (left) and density (right) magnitude field of case 1: (a) t = 0.04 s; (b) t = 0.12 s; (c) t = 0.56 s; (d) t = 0.80 s; (e) t = 1.68 s; (f) t = 1.96 s; (g) t = 11.90 s; (h) t = 15.96 s. The velocity and density magnitude field of case 1 are shown in Fig. 1. Inflow particles interact with in-domain fluid particles and form a undular jump propagating to downstream at t = 0.04 s. Until t = 0.66 s, the jump reaches outflow boundary. Meanwhile, a series of weak wave are generated. Then, these waves move downstream until propagate upstream, firstly, at t = 8.52 s. Now, there is only one crest in the computational domain. The crest continually propagates upstream at t =9.60 s and t = 11.80 s At t = 13.42 s, a new crest downstream of the first crest appears. Finally, the two crests move upstream for a little distance and basically reach quasi-constant state at t = 15.96 s. It can be seen that both of the velocity and density field are quite smooth in Fig. 1. In addition, the downstream water depth shows a good agreement with the analytical conjugate while the two crests are relatively higher than the analytical data. The maximum errors of the two crests are 0.002 and 0.0025, respectively. Fig. 2 shows the velocity and density magnitude field of case 2. The evolution of the flow field can be described as follows. At t = 0.04 s, the inflow particles with large velocity interact with the slowly in-domain particles and generate a high jump. Two shock waves appear and move downstream at t = 0.12 s. Until t = 0.56 s, the shock wave arrives the outflow boundary. At t = 0.80 s, the shock wave reflects to upstream upstream until the upward shock wave merges with the slower shock wave 766
5 / 5 at t = 1.96 s. An aeration at the jump toe can be clearly observed at this time. Then, the merged jump continually moves upstream and basically reaches quasi-constant state at t = 15.96 s. Similar to Fig. 1, the velocity field in Fig. 2 is very smooth. However, the density magnitude field is a little noisy in Fig. 2. The numerical conjugate water depth agrees very well with the analytical conjugate water depth. 4. CONCLUSIONS Two types of 2D hydraulic jump, undular hydraulic jump and full hydraulic jump, are simulated by a WCSPH model. In this model, an artificial viscosity is adopted to stabilize the calculation due to the ideal fluid condition. Comparing the numerical conjugate depth with the analytical solution, the model can accurately reproduce the undular and full hydraulic jump. In addition, the numerical flow field shows that the aeration in the hydraulic jumps can be captured with this Single-phase model. In one word, the WCSPH model is a very power tool to investigate the hydraulic jumps. 5. FUTURE WORK Though this model calculates the conjugate water depth with a good accuracy, the density field with large inflow Froude number is a little noisy. To eliminate the noise in density field will be our next step work. Besides, the time consumption of SPH model is very large. Therefore, a parallel version of the model is necessary to reduce the time consumption. REFERENCE [1] D. López, R. Marivela, L. Garrote, Smoothed particle hydrodynamics model applied to hydraulic structures: A hydraulic jump test case, J. Hydraul. Res. 48, 142–158 (2010). [2] I. Federico, S. Marrone, A. Colagrossi, F. Aristodemo, M. Antuono, Simulating 2D openchannel flows through an SPH model, Eur. J. Mech. B/Fluids. 34, 35–46 (2012). [3] H. Babaali, A. Shamsai, H. Vosoughifar, Computational Modeling of the Hydraulic Jump in the Stilling Basin with Convergence Walls Using CFD Codes, Arab. J. Sci. Eng. 40, 381–395 (2015). [4] P. Jonsson, P. Jonsén, P. Andreasson, T.S. Lundström, J.G.I. Hellström, Smoothed Particle Hydrodynamic Modelling of Hydraulic Jumps: Bulk Parameters and Free Surface Fluctuations, Engineering. 08, 386–402 (2016). [5] H. Azimi, S. Shabanlou, S. Kardar, Characteristics of Hydraulic Jump in U-Shaped Channels, Arab. J. Sci. Eng. 42, 3751–3760 (2017). [6] C. Altomare, A.J.C. Crespo, J.M. Domínguez, M. Gómez-Gesteira, T. Suzuki, T. Verwaest, Applicability of Smoothed Particle Hydrodynamics for estimation of sea wave impact on coastal structures, Coast. Eng. 96, 1–12 (2015). [7] D. Molteni, A. Colagrossi, A simple procedure to improve the pressure evaluation in hydrodynamic context using the SPH, Comput. Phys. Commun. 180, 861–872 (2009). 767