Study of Water Wave in The Intermediate Depth of Water Using Second-Order Stokes Wave Equation: A Numerical Simulation Approach
Study of Water Wave in The Intermediate Depth of Water Using Second-Order Stokes Wave Equation: A Numerical Simulation Approach
[Link]
Sadhana(0123456789().,-volV)FT3](012345
6789().,-volV)
Abstract. The paper presented for simulating the complete physics of the second-order Stokes wave equation
using CFD code ANSYS-FLUENT software and volume of fluid (VOF) method in a 2-D numerical wave tank
(NWT). The main objective of this work is to study the effect of wave steepness on ocean waves in the
intermediate depth of water at low Ursell numbers (Ur \ 18). The inlet velocity method generates the second-
order water wave in the numerical model for achieving this objective. Generally, three methods are used to
generate the wave in a numerical wave tank: (1) inlet velocity method; (2) flap-type method; and (3) piston type
method. I have used the inlet velocity method to generate the second-order water wave in the simulation. In this
study, the simulation results of the model are compared with the analytical results. It shows that the accuracy of
the numerical results is in good agreement with the analytical results. The MATLAB code solves the second-
order Stokes wave equation. Six tests under different wave heights have been conducted at two regions in an
NWT to analyze the wave theory. It also shows that high energy flow is concentrated near the free surface. It
also shows that the nonlinearity effect increases with the increase of wave steepness and found horizontal and
vertical velocity increases with wave steepness. This water wave study improves the coastal engineering
application for further investigation and extracts wave energy from the ocean.
Keywords. CFD; second-order stokes wave theory; surface elevation; horizontal and vertical velocities;
velocity vector.
higher-order wave theory is highly complicated to explain development of three-dimensional viscous wave flume. The
analytically. Therefore, higher-order wave theories need to other researchers also used this method (Huang and Dong
study numerically. [22]; Karim et al [29]) in various coastal applications.
The nonlinear wave theory of higher-order was first The second category of the VOF models is the internal
introduced numerically by Chappelear [10] and then further wave generation method; the mass source function is
developed by (Dean [11]; Chaplin [12]). Other numerical introduced in a particular region inside the computational
methods based on internal wave generation models devel- domain (Lin and Liu [30]). In this method, the fluid is
oped for generating waves. These models have some alternatively injected or sucked into the computational
advantages for avoiding interference with the boundary domain such that it produces the same physical effect as the
conditions. The source line method with the Boussinesq desired wave. Various types of waves were generated using
equations was used by Larsen and Dancy [13] to make short this method through the proper definition of the source
waves. Several researchers developed this approach to function, such as linear and nonlinear; irregular, Stokes
generate linear and nonlinear waves for regular waves, second and higher orders, solitary and cnoidal waves (Lin
irregular waves, and multi-directional waves (Brorsen and and Liu [30]). This model has been successfully used by
Larsen [14]; Li et al [15]). Kawasaki [31] to study breaking wave over the submerged
Inviscid fluid and irrotational flow are applicable in non- breakwater by Hieu and Tanimoto [32] to simulate wave-
viscous flow, and it is not acceptable in the studies structure interactions, and by Hur and Mizutani [33] to
mentioned above. Therefore, viscous fluid assumptions are determine the transverse wave forces that act on 3D
inevitable in numerical models. Marker and Cell (MAC) asymmetric structures on a submerged permeable break-
method is a modified version used by Harlow and Welch water. Zhi and Zhan [34] investigated numerical modeling
[16] and Park et al [17] on the free-surface flows to study of wave evolution, breaking, and run-up in shallow water
the solitary wave in shallow water. Anbarsooz et al [18] by the VOF method. After modification, Hafsia et al [35]
and Wu and Hsiao [19] also developed nonlinear viscous introduced this method in the one-dimensional region by
waves numerically to study the solitary waves in a two- reducing the source domain.
dimensional numerical wave tank in the intermediate depth The two categories mentioned above are producing
of water under low and high steepness conditions. After artificial free surface wave profiles, and they are different
that, a modified version of the accurate technique, called from the natural physical wave generation phenomenon. In
the Stanford University Modified MAC (SUMMAC), was the first category, the velocity components at the inflow
used to determine the velocity components at the free boundary are set according to an analytical solution of the
surface cells. Tang et al [20] used a mathematical expres- desired wave. Therefore, the velocity profile at this
sion that becomes more accurate than previous for the boundary is a function of the vertical direction. For
dynamic boundary conditions on a free surface, including example, a piston-type wavemaker moves horizontally with
the viscosity and surface tension effects. The SUMMAC a velocity that has no vertical variation. The added mass
method and exact mathematical expression simultaneously source term is computed according to a prescribed free
were also used by Huang et al [21] to investigate the surface profile in the other category. It shows that the flow
nonlinear viscous wavefields generated by a piston-type pattern close to the source region is different from the flow
wavemaker. Huang and Dong [22] and Dong and Huang pattern around an actual physical wave generator paddle.
[23] used this dual numerical scheme to generate small and It shows from the literature that the resultant wavelength
finite-amplitude waves and solitary waves in a two-di- in a natural wave generation mechanism is a function of
mensional wave flume. Wang et al [24] also applied the wavemaker period, stroke, and still water depth. Predicting
same method for simulating a three-dimensional numerical the wavelength is performed using wavemaker theories
viscous wave tank equipped with a piston-type wavemaker. (Dean and Dalrymple [7], Madsen [36]). The theories are
The Volume of Fluid (VOF) method was first introduced linear wavemaker theory and the second-order wavemaker
by Hirt and Nichols [25] in 1981 for treating the flows with theory. However, the wavelength is obtained, either by the
a free surface and then developed many numerical wave wave speed or by the mean velocity at a point in the fluid. If
tanks based on this method. The literature study shows the none of these are known, then Fenton [9] stated that the
VOF method is mainly classified into two categories for theory is irrational and likely to be in error at first order.
wave generation. The first category is the VOF-inflow That is why, for the steeper waves, the discrepancy between
method; here, the boundary conditions of the desired wave the experimental results and those of the wavemaker theory
are set based on the free surface elevation and the velocity becomes more pronounced (Ursell et al [37]).
components obtained from the analytical solution of the Therefore, developing a numerical wave tank that sim-
desired wave. This technique was first used by Lin and Liu ulates the real physical process of wave generation is of
[26] for the wave generation in a 2D wave flume and then great interest. This goal is achieved by suitable modeling
used by Troch and De Rouck [27] to develop an active the motion of the fluid in the tank. In this case, the wave
wave generating-absorbing boundary condition. Li and period, the wavelength, and the wave height calculated
Fleming [28] used the VOF-inflow technique for the through the complete solution of the Navier–Stokes
Sådhanå (2022)47:45 Page 3 of 15 45
equations. Wood et al [38] used the Fluent software for the based on Neumann type and Dirichlet type boundary con-
piston-type wavemaker, and Finnegan and Goggins [39] ditions. Figure 1 represents the geometry of the numerical
used the Ansys CFX commercial software for the flap-type wave tank with its dimensions and boundaries.
wavemaker. Dao et al [40] used Open FOAM software to The rectangular grid has been constructed for computa-
investigate the ocean’s wave characteristics by modeling a tional domain discretization. Grid with approximately
physical wave tank with a flap paddle and porous beach. 200901 nodes has been tested for investigating the
The other researchers were also using ANSYS, Fluent numerical results (figure 2). To analyze the free surface
software (Zhao et al [41]; Prasad et al [42]). more accurately, mesh refinement has needed near the
The past literature shows the different numerical meth- vicinity of the mean water level, as shown in figure 3. The
ods used to solve the higher-order problem in an NWT, and mesh refinement in a numerical simulation performed on
the simulation results validated with the mathematical the Mesh 3 system supports the grid convergence test. The
model. It also shows from the past literature that most finer meshes are observed near the free surface at the
researchers have not mentioned the importance of Ursell working zone, while coarser meshes have been found
numbers in higher-order problems and the effect of wave towards the right wall of the domain. The mesh size
steepness on the ocean wave. Velocity contour and the increased gradually towards the end of the NWT to provide
velocity vector of water particles are the essential factors in a numerical damping effect. Nonlinear waves of wave
the coastal engineering sciences not mentioned in their heights H = 0.1 m, 0.15 m, and 0.2 m generated in an
study. However, a numerical method is applied in the NWT for T = 3.23 s.
present study, which simulates the wave generation phe- The specification of the system at which simulation has
nomenon in an NWT using CFD code ANSYS-FLUENT run is an Intel(R) Xeon(R) [email protected] GHz
software. The VOF method is implemented accurately in 3.31 GHz processor and a 64.0GB RAM. A simulation was
the model for the wave generation performed by the inlet performed based on RANSE with the viscous model. A first-
velocity method. This study mainly discussed the effect of order implicit scheme and a second-order upwind
wave steepness on ocean waves at low Ursell numbers scheme are used here to discretize. The time step size has
(Ur \ 18) and plot velocity contour and the velocity vector been set at 0.01 s. The number of time steps has been set at
of water particles, which are the essential factors in the 4000. The maximum iteration has been considered 20 to
coastal engineering sciences. The presented model is cap- complete the solution. The Courant number has been set at
able of producing a second-order Stokes wave equation. 0.25 for stability. Based on these parameters and the com-
The accuracy of the proposed numerical model was verified putational capabilities, the simulation took 12 hrs to solve.
by comparing the results of the analytical data. MATLAB
code is used to obtain the analytical data.
2.1 Geometry of damping
2. Numerical model Dissipate the wave energy and avoid secondary wave
reflection; a numerical damping zone is conducted in lx2, as
The Numerical Simulation in the computational domain is a shown in figure 1. Different authors propose different
rectangle of size (lx and lz). Where lx is the length of the tank, methods in their literature for the elimination of wave
and lz is the height of the tank. One end of the tank is a wave reflections, namely:
generating zone (lx1), and the other is the damping zone (lx2).
• controlling the total time of simulation to ensure that
Calm water depth (d) is 1 m. Cartesian coordinates are
the first wave generated does not reach the end of the
employed in the x-z plane, vertical to the fluid surface. The
tank (Silva et al [43]; Finnegan and Goggins [39]).
z-axis is directed vertically upward from the still water level
• mesh size increases at the end of the tank to dissipate
(SWL), which is positive. The x-axis is along the direction
wave energy (Kim et al [44]; Silva et al [43]).
of the propagation of waves. The inlet velocity method
• implementing a beach (Elangovan [45]; Saincher and
generates the wave at a constant velocity at the inlet (x = 0)
Banerjee [46]).
of the NWT and flows in the x-direction. Consider the free
• size of the tank length increase for reducing the wave
surface is oscillating in the z-direction. The effect of flow in
reflection from the affecting area. (Morgan et al [47];
the y-direction, is not considered. The top portion of the
Prasad et al [42]).
NWT is open to the atmosphere and is assumed to be zero
• creating a damping zone (Koo and Kim [48];
pressure. The bottom and right walls of the numerical wave
Westphalen et al [49]).
tank (NWT) are solid walls where the no-slip boundary
conditions are applied. The no-slip boundary condition In this study, some of the above methods are imple-
means that the velocity component normal to the solid mented to dissipate the wave energy: (1) mesh size grad-
boundary will have zero velocity relative to the wall. The ually increases at the damping zone, (2) length of the
tangential component is unaffected by the boundary con- numerical wave tank increase, and (3) the simulation time
dition. Therefore the present numerical model is solved is controlled to prevent the waves from reaching the end of
45 Page 4 of 15 Sådhanå (2022)47:45
Where qw is the water density, and qa is the air density. In ag cosh kðz þ dÞ sinðk x x tÞ
u ðx; z; tÞ ¼
the present work, the density of air and water is defined as x coshðk dÞ
qa = 1.225 kg/m3, qw = 998.2 kg/m3, respectively. 3 x a2
þ coshð2kðz þ dÞÞ sinð2ðk x x tÞÞ
8 sinh4 ðk dÞ
ð12Þ
3. Theoretical formulation
k a2 coshðk dÞ
The governing equation is the Laplace equation for irrota- g ¼ a cosðk x x tÞ þ ð2
4 sinh3 ðk dÞ
tional wave motion: þ cosh 2k dÞ cos 2ðk x x tÞ ð13Þ
r u¼0
2
0 x lx ; 0 z d ð7Þ Where ’a’ is the wave amplitude and xð¼ 2p=TÞ is the
angular frequency of the wave, and the wavenumber
To solve the governing equations, it is necessary to
kð¼ 2p=LÞ satisfies the dispersion relation given in
specify appropriate boundary conditions at all domain
Eq. (14). The dispersion relation is obtained by expanding
boundaries. The boundary conditions which should be
the KFSBC through the Taylor series expansion (Dean and
satisfied are as follows: (1) kinematic boundary conditions
Dalrymple [7]) by considering the linear terms at z = 0.
and dynamic boundary conditions at the free surface. The
free surface opened to the atmosphere is the top boundary
x2 ¼ kg tanhðkdÞ ð14Þ
of the NWT (2) No-slip boundary condition at the tank base
of the computational domain. The no-slip means that the Eq. (15) and Eq. (16) give the local velocity in the lon-
velocity component normal to the wall equals 0, and the gitudinal and vertical directions, respectively, and these
tangential component is unaffected by the boundary velocities are obtained by partially differentiating the
45 Page 6 of 15 Sådhanå (2022)47:45
potential function / (Eq. 12) with respect to x and z, theories by an Ursell number (Ur = 40). The theory is
respectively. applicable at intermediate depths (0.05Bd/LB0.5) and
deep water depths (d/L C 0.5). The wave must be steep
ag 1
u¼ k coshðkðz þ dÞÞ cosðk x x tÞ
x coshðk dÞ
3 x a2 Table 2. Mesh size parameters.
þ 2k coshð2kðz þ dÞÞ cosð2ðk x x tÞÞ
8 sinh4 ðk dÞ
Mesh Dx (m) Dz (m) Nodes
ð15Þ
1 0.20000 0.00666 90601
ag 1 2 0.15789 0.00526 145161
w¼ k sinh ðkðz þ dÞÞ sinðk x x tÞ
x coshðk dÞ 3 0.12000 0.00500 200901
3 x a2 4 0.10909 0.00444 248501
þ 2k sinh ð2kðz þ dÞÞ sin ð2ðk x x tÞÞ
8 sinh4 ðk dÞ
ð16Þ
Figure 4. Region of possible Stokes wave theory (Fenton [50]). Figure 5. Limits of validity for various wave theories (B. Le
Méhauté [53]).
Table 1. Wave parameters were used in this study for the six tests.
Figure 6. Comparison of horizontal velocity (u) between analytical and numerical results under different wave steepness (H/L) at z = 0
and z = -1 m.
Figure 7. Comparison of vertical velocity (w) between analytical and numerical results under different wave steepness (H/L) at z = 0.
9.4826), (0.15, 9.4826), and (0.20, 9.4826) respectively for gradually. The node numbers of four different mesh
the water depth d = 1 m. systems are 90601, 145161, 200901, and 248501. For the
convergence test, surface elevation (g) at the wave steep-
ness (H/L = 0.0210) from the four different meshes were
5. Convergence test compared, shown in figure 2. It is observed from the con-
vergent results that there is no difference between Mesh 3
Four different meshes shown in table 2 are used for the and Mesh 4 as the size of the meshes decreases from Mesh
convergence test. ‘Mesh 1’ is the coarse mesh system, and 3 to Mesh 4. Therefore, all numerical simulations were
the size of the mesh decreases from ‘Mesh 1’ to ‘Mesh 4’ performed on Mesh 3 system.
Sådhanå (2022)47:45 Page 9 of 15 45
Figure 8. Velocity contour in the (a) x-direction and (b) the z-direction.
6. Results and discussions vector of the water particle. Different parameters were used to
solve the problem: depth of water d = 1 m, wave heights
This section mainly discusses the flow behavior of the second- H = 0.1 m, 0.15 m, and 0.2 m, wavelength L = 9.4826 m, and
order Stokes wave theory in the intermediate depth of water the time period T = 3.23 s are shown in table 1. These
and the effect of wave steepness on ocean waves at low Ursell parameters are more appropriate for the test zone according to
numbers numerically. The study parameters are horizontal the limit of Ursell number Ur \ 18. According to the wave-
velocity, vertical velocity, surface elevation, and the velocity length of the ocean wave, tank length is considered 60 m.
45 Page 10 of 15 Sådhanå (2022)47:45
Figure 10. Comparison of surface elevation (g) between analytical and numerical at different wave steepness (H/L).
The diagram of B. Le Méhauté [53], represented in figure 5, steepness, which is a function of the relative depth. Corre-
shows approximately the ranges of validity and the test of the sponding coordinates of the red closed area where the test has
zone of the domain of the second-order Stokes wave theory by been conducted are d/gT2 = 0.01 and H/gT2 = 0.0010, 0.0015,
a red closed area in the intermediate water. The graph is and 0.0020. These coordinates shown in table 1 are considered
established for two-dimensional periodic waves, but it indi- within the domain for analyzing the present wave theory. It
cates any water waves. The graph is limited by breaking observed, as the values of H/gT2 increase, the nonlinearity
waves, which implies a maximum value for the wave effect of the wave increase.
Sådhanå (2022)47:45 Page 11 of 15 45
Figure 11. Evolution of the numerical free surface profile in an NWT at different time-step t for H = 0.1 m.
Figure 6 shows that the horizontal velocity (u) plotted Figure 6(c) shows that the velocity curve is more flatter in
against the time (t) at the free surface z = 0 and at the bottom trough shown by the black circle for the wave steepness
z = -1 m for T = 3.23 s and d/L = 0.105. The figures show H/L = 0.0210, and d/gT2 = 0.01, H/gT2 = 0.002 (refer to
the continuous line and the dotted line for analytical results figure 5) compared to figure 6(a), indicating that the nonlin-
and numerical results, respectively. The figures also show earity effect increases with the increase of wave steepness.
that the horizontal velocity depends on the wave steepness, The results obtained from the numerical simulation are in
and the velocity increases with H/L = 0.0105 to 0.0210. excellent agreement with the analytical solution.
45 Page 12 of 15 Sådhanå (2022)47:45
Figure 13. Evolution of the numerical free surface profile in an NWT at different time-step t for H = 0.2 m.
[29] Karim M F, Tanimoto K and Hieu P D 2009 Modelling and Numerical simulation of monochromatic wave generated in
simulation of wave transformation in porous structures using laboratory: validation of a cfd code. In: 23 Congresso
VOF based two-phase flow model. Appl. Math. Model. 33: Nacional de Transport Aquaviario Construcao Naval Off-
343–360 shore, pp. 1–12
[30] Lin P and Liu P L F 1999 Internal wave-maker for Navier- [44] Kim S Y, Kim K M, Park J C, Jeon G M and Chun H H 2016
Stokes equations models. J. Waterw. Port Coast. Ocean Eng. Numerical simulation of wave and current interaction with a
125: 207–215 fixed offshore substructure. Int. J. Nav. Archit. Ocean Eng. 8:
[31] Kawasaki K 1999 Numerical simulation of breaking and 188–197
post-breaking wave deformation process around a sub- [45] Elangovan M 2011 Simulation of irregular waves by CFD.
merged breakwater. Coast. Eng. J. 41: 201–223 World Acad. Sci. Eng. Technol. 5: 1379–1383
[32] Hieu P D and Tanimoto K 2006 Verification of a VOF-based [46] Saincher S and Banerjee J 2015 Design of a numerical wave
two-phase flow model for wave breaking and wave–structure tank and wave flume for low steepness waves in deep and
interactions. Ocean Eng. 33: 1565–1588 intermediate water. Procedia Eng. 116: 221–228
[33] Hur D S and Mizutani N 2003 Numerical estimation of the [47] Morgan G C J, Zang J, Greaves D, Heath A, Whitlow C D
wave forces acting on a three-dimensional body on sub- and Young J R 2010 Using the rasinterFoam CFD model for
merged breakwater. Coast. Eng. 47: 329–345 wave transformation and coastal modeling. Coast. Eng.
[34] Zhi D O N G and Zhan J M 2009 Numerical modeling of Proc. 1: 1–9
wave evolution and run-up in shallow water. J. Hydrodyn. [48] Koo W C and Kim M H 2007 Fully nonlinear wave-body
21: 731–738 interactions with surface- piercing bodies. Ocean Eng. 34:
[35] Hafsia Z, Hadj M B, Lamloumi H and Maalel K 2009 1000–1012
Internal inlet for wave generation and absorption treatment. [49] Westphalen J, Greaves D M, Williams C J K, Hunt-Raby A
Coast. Eng. 9: 951–959 C and Zang J 2012 Focused waves and wave-structure
[36] Madsen O S 1971 On the generation of long waves. J. interaction in a numerical wave tank. Ocean Eng. 45: 9–21
Geophys. Res. 76: 8672–8683 [50] Fenton J D 1990 Nonlinear wave theories. The Sea Ocean
[37] Ursell F, Dean R G and Yu Y S 1960 Forced small- Eng. Sci. 9: 1–18
amplitude water waves: a comparison of theory and exper- [51] Hedges T S and Ursell, 1995 Regions of validity of
iment. J. Fluid Mech. 7: 33–52 analytical wave theories. Proc. Inst. Civ. Eng. Water Marit.
[38] Wood D J, Pedersen G K and Jensen A 2003 Modelling of Energy 112: 111–114
run up of steep non-breaking waves. Ocean Eng. 30: [52] Ursell F 1953 The long-wave paradox in the theory of
625–644 gravity waves. Math. Proc. Camb. Philos. Soc. 49: 685–694
[39] Finnegan W and Goggins J 2012 Numerical simulation of [53] Le Méhauté B 1976 An Introduction to Hydrodynamics and
linear water waves and wave-structure interaction. Ocean Water Waves, vol. 22, pp. 974–975. Springer-Verlag, New York
Eng. 43: 23–31 [54] Çelik A and Altunkaynak A 2019 Experimental investiga-
[40] Dao M H, Chew L W and Zhang Y 2018 Modeling physical tions on the performance of a fixed-oscillating water column
wave tank with flap paddle and porous beach in OpenFOAM. type wave energy converter. Energy 188: 116071
Ocean Eng. 154: 204–215 [55] Senol K and Raessi M 2019 Enhancing power extraction in
[41] Zhao X Z, Hu C H and Sun Z C 2010 Numerical simulation bottom-hinged flap-type wave energy converters through
of extreme wave generation using VOF method. J. Hydro- advanced power take-off techniques. Ocean Eng. 182: 248–258
dyn. 22: 466–477 [56] Goulart M M, Martins J C, Junior I C A, Gomes M D N,
[42] Prasad D D, Ahmed M R, Lee Y H and Sharma R N 2017 Souza J A, Rocha L A O, Isoldi L A and Santos E D D 2015
Validation of a piston-type wave-maker using Numerical Constructal design of an onshore overtopping device in real
Wave Tank. Ocean Eng. 131: 57–67 scale for two different depths. Mar. Syst. Ocean Technol. 10:
[43] Silva M C, Vitola M de A, Pinto W T and Levi C A 2010 120–129