1 Introduction

In [1] and [2], the finite element method was used to solve the water pollution models. In literature, several mathematical models need the data of water flow, while the velocity and elevation of water flow are provided by the hydrodynamic model. In [3], the finite difference method was used to solve the hydrodynamic model with constant coefficients in the closed uniform reservoir.

In [4], an analytical solution to the hydrodynamic model in a closed uniform reservoir was proposed. In [5], the Lax-Wendroff finite difference method was also proposed to approximate the water elevation and water flow velocity. However, the analytical solution to the hydrodynamic model in an open reservoir has not been considered.

An open uniform reservoir is supplied by the outer water wave as shown in Figure 1. In the former studies, the elevation of water wave (tidal elevation) can be found only by numerical approximations. The purpose of this research is to derive an analytical solution to a model. An analytical solution is needed for comparison with the approximated solutions of the flow. Hence, the analytical solution becomes a benchmark for any related numerical approximations.

Figure 1
figure 1

An open uniform reservoir is connected to an outer reservoir.

2 A nondimensional form of a hydrodynamic model

The continuity and momentum equations are governed by the hydrodynamic behavior on the reservoir. We average the equations over the depth, discarding the term due to Coriolis parameter, shearing stresses and surface wind. We introduce the well-known two-dimensional shallow water equations [2, 5] as follows:

$$\begin{aligned}& \frac{\partial\zeta}{\partial t} + \frac{\partial}{\partial x} \bigl[(h+ \zeta)u\bigr] + \frac{\partial}{\partial y} \bigl[(h+ \zeta)v\bigr] = 0, \end{aligned}$$
(1)
$$\begin{aligned}& \frac{\partial u}{\partial t} + g \frac{\partial\zeta}{\partial x} = 0, \end{aligned}$$
(2)
$$\begin{aligned}& \frac{\partial v}{\partial t} + g \frac{\partial\zeta}{\partial y} = 0, \end{aligned}$$
(3)

where \(h(x,y)\) is the depth measured from the mean water level to the bed of the reservoir, \(\zeta(x,y,t)\) is the elevation from the mean water level to the temporary water surface or the tidal elevation, g is the acceleration due to gravity, and \(u(x,y,t)\) and \(v(x,y,t)\) are the velocity components in x and y directions, respectively, for all \((x,y,t) \in[0,l]\times[0,l]\times[0, \mathcal{T}]\). We assume that h is a constant and \(\zeta\ll h\). Then Eqs. (1)-(3) lead to

$$\begin{aligned}& \frac{\partial\zeta}{\partial t} + h\frac{\partial u}{\partial x} + h\frac{\partial v}{\partial y} \doteq 0, \end{aligned}$$
(4)
$$\begin{aligned}& \frac{\partial u}{\partial t} + g \frac{\partial\zeta}{\partial x} = 0, \end{aligned}$$
(5)
$$\begin{aligned}& \frac{\partial v}{\partial t} + g \frac{\partial\zeta}{\partial y} = 0. \end{aligned}$$
(6)

We will consider the equation in a dimensionless problem by letting \(U=u / \sqrt{gh}\), \(V=v / \sqrt{gh}\), \(X=x/l\), \(Y=y/l\), \(Z=\zeta/ h\) and \(T=t \sqrt{gh}/l\). Substituting them into Eqs. (4)-(6) leads to

$$\begin{aligned}& \frac{\partial Z}{\partial T} + \frac{\partial U}{\partial X} + \frac {\partial V}{\partial Y} = 0 , \end{aligned}$$
(7)
$$\begin{aligned}& \frac{\partial U}{\partial T} + \frac{\partial Z}{\partial X} = 0, \end{aligned}$$
(8)
$$\begin{aligned}& \frac{\partial V}{\partial T} + \frac{\partial Z}{\partial Y} = 0. \end{aligned}$$
(9)

In order to solve Eqs. (7)-(9) in \(\Omega\times[0,T]\), where \(\Omega= (0,1)\times(0,1)\), for convenience using u, v, d for U, V and Z, respectively [5], we get

$$\begin{aligned}& \frac{\partial d}{\partial t} + \frac{\partial u}{\partial x} + \frac {\partial v}{\partial y} = 0, \end{aligned}$$
(10)
$$\begin{aligned}& \frac{\partial u}{\partial t} + \frac{\partial d}{\partial x} = 0, \end{aligned}$$
(11)
$$\begin{aligned}& \frac{\partial v}{\partial t} + \frac{\partial d}{\partial y} = 0. \end{aligned}$$
(12)

2.1 Initial and boundary conditions for an open uniform reservoir

The initial conditions of Eqs. (10)-(12) are assumed to be \(u=0\), \(v=0\), \(d=f_{1}(x,y)\) and \(\frac{\partial d}{\partial t}=f_{2}(x,y)\). The boundary conditions of the model in an open uniform reservoir are assumed to be \(v=0\), \(\frac{\partial u}{\partial x}=0\) at the planes \(x=0\) and \(x=1\). \(u=0\), \(\frac{\partial v}{\partial y}=0\) at the planes \(y=0\). \(u=0\), \(\frac{\partial v}{\partial y}=0\), \(d(x,1,t)=g(x,t)\) and \(\frac{\partial{d}}{\partial{y}}=0\) at the planes \(y=1\). \(d=0\) on \(\partial\Omega\setminus\{(x,y)\in\partial\Omega:y=1\}\).

3 An analytical solution

Eqs. (10)-(12) can be written as a non-conservation form of equation, as a single equation,

$$ \frac{\partial^{2} d}{\partial t^{2}} = \frac{\partial^{2} d}{\partial x^{2}} + \frac{\partial^{2} d}{\partial y^{2}}, $$
(13)

subject to the initial conditions \(d(x,y,0)=f_{1}(x,y)\) and \(\frac{\partial d}{\partial t}=f_{2}(x,y)\). The boundary conditions are \(d=0\) at \(\partial\Omega\setminus\{(x,y)\in\partial\Omega:y=1\}\), \(d(x,1,t)=g(x,t)\) and \(\frac{\partial{d}}{\partial{y}}=0\) at the plane \(y=1\). It is readily verified that the general solution can be written by the separation of variables technique

$$ d(x,y,t) = X(x)Y(y)T(t) $$
(14)

subject to the boundary conditions \(X(0)=X(1)=0\), \(Y(0)=Y'(1)=0\) and \(Y(1)=g(x,t)\). Due to the eigenvalue needing to be a negative real number, say \(-\lambda^{2}\), we can now obtain that Eq. (13) becomes

$$\begin{aligned}& \frac{X''(x)}{X(x)} = -\lambda^{2}, \end{aligned}$$
(15)
$$\begin{aligned}& -\frac{Y''(y)}{Y(y)}+\frac{T''(t)}{T(t)} = -\lambda^{2}. \end{aligned}$$
(16)

We get the solution of Eq. (15) as \(X(x)=C_{1}\cos(\lambda x) + C_{2}\sin(\lambda x)\), where \(C_{1}\), \(C_{2}\) are arbitrary constants. According to the boundary condition \(X(0)=0\), we have \(C_{1}=0\). Then \(X(x)= C_{2}\sin(\lambda x)\). The boundary condition \(X(1)=0\) gives \(\lambda=n\pi\), we then have

$$ X_{n}(x) = C_{2}\sin(n\pi x), $$
(17)

where \(n=1,2,3,\ldots\) . Since the eigenvalue of Eq. (16) is a negative real number, say \(-\mu^{2}\), we have

$$\begin{aligned}& \frac{Y''(y)}{Y(y)} = -\mu^{2}, \end{aligned}$$
(18)
$$\begin{aligned}& \frac{T''(t)}{T(t)} + \lambda^{2} = -\mu^{2}. \end{aligned}$$
(19)

We then have the solutions \(Y(y)=C_{3}\cos(\mu y) +C_{4}\sin(\mu y)\) and \(T(t)=C_{5}\cos(t\sqrt{\lambda^{2}+\mu^{2}}) + C_{6}\sin(t\sqrt{\lambda^{2}+\mu^{2}})\), where \(C_{3}\), \(C_{4}\), \(C_{5}\), \(C_{6}\) are arbitrary constants. According to the boundary conditions \(Y(0)=0\) and \(Y'(1)=0\), we have \(C_{3}=0\) and \(\mu= (2m-1)\frac{\pi}{2}\). Thus,

$$ Y_{m}(y) = C_{4}\sin\biggl((2m-1)\frac{\pi}{2}y \biggr), $$
(20)

where \(m=1,2,3, \ldots\) . Then \(Y(1)=g(x,t) = C_{4}\sin((2m-1)\frac{\pi}{2})\), we obtain \(C_{4} = (-1)^{-m-1}g(x,t)\). We get

$$ Y_{m}(y) = (-1)^{-m-1}g(x,t)\sin\biggl((2m-1) \frac{\pi}{2}y\biggr). $$
(21)

Since \(\lambda= n\pi\) and \(\mu= (2m-1)\frac{\pi}{2}\), we then have

$$ T_{mn}(t) = C_{5}\cos\biggl(\pi t \sqrt{n^{2}+ \biggl(\frac{2m-1}{2}\biggr)^{2}}\biggr)+C_{6}\sin\biggl( \pi t \sqrt{n^{2}+\biggl(\frac{2m-1}{2}\biggr)^{2}} \biggr). $$
(22)

According to Eqs. (17), (21) and (22), the solution of our problem can be written in the form

$$\begin{aligned} d_{mn}(x,y,t) =& X_{n}(x)Y_{m}(y)T_{mn}(t) \end{aligned}$$
(23)
$$\begin{aligned} =& \sin(n\pi x) (-1)^{-m-1}g(x,t)\sin\biggl((2m-1)\frac{\pi}{2}y \biggr) \\ &{} \times\biggl(A_{mn}\cos\biggl(\pi t \sqrt{n^{2}+ \biggl(\frac{2m-1}{2}\biggr)^{2}} \biggr) \\ &{} + B_{mn}\sin\biggl(\pi t \sqrt{n^{2}+\biggl( \frac{2m-1}{2}\biggr)^{2}}\biggr)\biggr), \end{aligned}$$
(24)

where \(A_{mn}=C_{2}C_{5}\) and \(B_{mn}=C_{2}C_{6}\) are arbitrary constants and for all \(m,n =1,2,3,\ldots\) . By using the superposition principle, Eq. (24) becomes

$$\begin{aligned} d(x,y,t) =& \sum_{m=1}^{\infty}\sum _{n=1}^{\infty} d_{mn}(x,y,t) \end{aligned}$$
(25)
$$\begin{aligned} =& \sum_{m=1}^{\infty}\sum _{n=1}^{\infty} \sin(n\pi x) (-1)^{-m-1}g(x,t)\sin \biggl((2m-1)\frac{\pi}{2}y\biggr) \\ &{} \times\biggl(A_{mn}\cos\biggl(\pi t \sqrt{n^{2}+\biggl( \frac{2m-1}{2}\biggr)^{2}}\biggr) \\ &{} + B_{mn}\sin\biggl(\pi t \sqrt{n^{2}+\biggl( \frac{2m-1}{2}\biggr)^{2}}\biggr)\biggr), \end{aligned}$$
(26)

where \(A_{mn}\) and \(B_{mn}\) are fixed by the value of \(d(x,y,0)=f_{1}(x,y)\) and \(\frac{\partial d}{\partial t}(x,y,0)=f_{2}(x,y)\), respectively.

4 Application to open uniform reservoir

We consider an open uniform reservoir with dimension \(3.2\times3.2~\mbox{km}\) (\(l = 3.2~\mbox{km}\)) and the constant depth \(h=1~\mbox{m}\). Initially, the water in the reservoir is assumed to be motionless \(u=0\), \(v=0\) and the water elevation is specified by \(\zeta(x,y,0)=2\sin(\pi x)\sin(\frac{\pi}{2}y)\) and \(\frac{\partial\zeta}{\partial t}(x,y,0)=-\sin(2\pi x)\sin(\frac{\pi}{2}y)\). The elevation of water along the northern boundary is distributed by \(\zeta(x,l,t)=2\sin(\pi x)\cos(t)\). The open boundary condition is assumed to be \(d(x,1,t)=g(x,t)=2\sin(\pi x)\cos(t)\). Eq. (26) becomes

$$\begin{aligned} d(x,y,t) =& \sum_{m=1}^{\infty}\sum _{n=1}^{\infty}\sin(n\pi x)2(-1)^{-m-1}\sin(\pi x) \cos(t)\sin\biggl((2m-1)\frac{\pi}{2}y\biggr) \\ &{} \times\biggl(A_{mn}\cos\biggl(\pi t \sqrt{n^{2}+\biggl( \frac{2m-1}{2}\biggr)^{2}}\biggr) \\ &{} + B_{mn}\sin\biggl(\pi t \sqrt{n^{2}+\biggl( \frac{2m-1}{2}\biggr)^{2}}\biggr)\biggr) . \end{aligned}$$
(27)

The initial conditions are assumed to be \(d(x,y,0)=f_{1}(x,y)=2\sin(\pi x)\sin(\frac{\pi}{2}y)\), \(\frac{\partial d}{\partial t}=f_{2}(x,y)=-\sin(2\pi x)\sin(\frac{\pi}{2}y)\). Thus Eq. (27) becomes

$$\begin{aligned}& \sum_{m=1}^{\infty}\sum _{n=1}^{\infty}A_{mn} \sin(n\pi x) 2(-1)^{-m-1}\sin(\pi x) \sin\biggl((2m-1)\frac{\pi}{2}y\biggr) \\& \quad = 2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr), \end{aligned}$$
(28)

and

$$\begin{aligned}& \sum_{m=1}^{\infty}\sum _{n=1}^{\infty}B_{mn} \biggl(\pi \sqrt{n^{2}+\biggl(\frac{2m-1}{2}\biggr)^{2} }\biggr) \sin(n\pi x)2(-1)^{-m-1}\sin(\pi x)\sin\biggl((2m-1)\frac{\pi}{2}y \biggr) \\& \quad =-\sin(2\pi x)\sin\biggl(\frac{\pi}{2}y\biggr). \end{aligned}$$
(29)

We will consider the coefficients \(A_{mn}\) by comparing coefficients and using the mathematical induction on the finite sum of Eq. (28) as follows:

$$ 2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \simeq\sum _{m=1}^{M} \sum_{n=1}^{N} A_{mn} \sin(n\pi x) 2(-1)^{-m-1}\sin(\pi x) \sin\biggl((2m-1) \frac{\pi}{2}y\biggr). $$
(30)

By comparing their coefficients in Eq. (30), we can see that if \(M=1\) and \(N=1\),

$$ A_{11} = \frac{1}{\sin(\pi x)}, $$
(31)

where \(\sin(\pi x)\neq0\). Assume that \(A_{11}= \frac{1}{\sin(\pi x)}\), where \(M,N =k\) and \(\sin(\pi x)\neq0\). If \(M =k+1\) and \(N =k+1\), then

$$\begin{aligned}& 2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\& \quad = A_{11}\sin(\pi x) 2\sin(\pi x) \sin\biggl(\frac{\pi}{2}y\biggr) + A_{12}\sin(2\pi x) 2\sin(\pi x) \sin\biggl(\frac{\pi}{2}y\biggr) \\& \qquad {}+\cdots+ A_{1k}\sin(k\pi x) 2\sin(\pi x) \sin\biggl( \frac{\pi}{2}y\biggr) \\& \qquad {} + A_{1(k+1)}\sin\bigl((k+1)\pi x\bigr) 2\sin(\pi x) \sin\biggl( \frac{\pi }{2}y\biggr) \\& \qquad {}+ A_{21}\sin(\pi x) 2(-1)\sin(\pi x) \sin\biggl( \frac{3\pi}{2}y\biggr) \\& \qquad {} + A_{22}\sin(2\pi x) 2(-1)\sin(\pi x) \sin\biggl( \frac{3\pi}{2}y\biggr) \\& \qquad {} + \cdots+ A_{2k}\sin(k\pi x) 2(-1)\sin(\pi x) \sin\biggl( \frac{3\pi}{2}y\biggr) \\& \qquad {} + A_{2(k+1)}\sin\bigl((k+1)\pi x\bigr) 2(-1)\sin(\pi x) \sin\biggl( \frac{3\pi}{2}y\biggr) \\& \qquad {} + \cdots+ A_{(k+1)1}\sin(\pi x) 2(-1)^{-k-2}\sin(\pi x) \sin \biggl(\frac {(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + A_{(k+1)2}\sin(2\pi x) 2(-1)^{-k-2}\sin(\pi x) \sin\biggl( \frac {(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + \cdots+ A_{(k+1)k}\sin(k\pi x) 2(-1)^{-k-2}\sin(\pi x) \sin \biggl(\frac{(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + A_{(k+1)(k+1)}\sin\bigl((k+1)\pi x\bigr) 2(-1)^{-k-2}\sin(\pi x) \sin\biggl(\frac{(2(k+1)-1)\pi}{2}y\biggr). \end{aligned}$$
(32)

Since \(\sin(n\pi x)\neq0\) and \(\sin(\frac{(2m-1)\pi}{2}y) \neq0\) for all \(x,y \in(0,1)\), substituting Eq. (31) into Eq. (32) and comparing the coefficients in Eq. (32), we can see that \(A_{12},A_{13},\ldots, A_{1(k+1)} = 0\), \(A_{21},A_{22},\ldots, A_{2(k+1)} = 0\), …, \(A_{(k+1)1}, A_{(k+1)2},\ldots, A_{(k+1)(k+1)} = 0\), except \(A_{11}\neq0\). We get

$$ A_{11} = \frac{1}{\sin(\pi x)}. $$
(33)

Thus, Eq. (30) holds for \(M =k+1\) and \(N =k+1\), the proof of the induction step is completed. Similarly, we also consider the coefficients \(B_{mn}\) by comparing coefficients and the mathematical induction on the finite sum of Eq. (29) as follows:

$$\begin{aligned} -\sin(2\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \simeq& \sum _{m=1}^{M} \sum_{n=1}^{N} B_{mn} \biggl(\pi\sqrt{n^{2}+\biggl(\frac{2m-1}{2} \biggr)^{2} }\biggr)\sin(n\pi x)2(-1)^{-m-1} \\ &{} \times\sin (\pi x)\sin\biggl((2m-1)\frac{\pi}{2}y\biggr) . \end{aligned}$$
(34)

If \(M=1\) and \(N=2\), then

$$\begin{aligned} -\sin(2\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) =& B_{11}\biggl( \pi\sqrt{1^{2} +\biggl(\frac {1}{2}\biggr)^{2}}\biggr) \sin(\pi x)2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\ &{}+ B_{12}\biggl(\pi\sqrt{2^{2}+\biggl(\frac{1}{2} \biggr)^{2}}\biggr)\sin(2\pi x)2\sin(\pi x)\sin \biggl( \frac{\pi}{2}y\biggr). \end{aligned}$$
(35)

By comparing their coefficients in Eq. (35), we get

$$ B_{12} = -\frac{1}{2\pi\sqrt{4.25}\sin(\pi x)}, $$
(36)

where \(B_{11}=0\) and \(\sin(\pi x)\neq0\). Assume that \(B_{12}= -\frac{1}{2\pi\sqrt{4.25}\sin(\pi x)}\), where \(M,N =k\) and \(\sin(\pi x)\neq0\). If \(M, N =k+1\), then

$$\begin{aligned}& -\sin(2\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\& \quad = B_{11}(\pi \sqrt{1.25})\sin(\pi x)2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\& \qquad {} + B_{12}(\pi\sqrt{4.25})\sin(2\pi x)2\sin(\pi x)\sin\biggl( \frac{\pi}{2}y\biggr) \\& \qquad {} + \cdots+ B_{1k}\bigl(\pi\sqrt{k^{2} + 0.25}\bigr) \sin(k\pi x)2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\& \qquad {} + B_{1(k+1)}\bigl(\pi\sqrt{(k+1)^{2} + 0.25}\bigr)\sin \bigl((k+1)\pi x\bigr)2\sin(\pi x)\sin\biggl(\frac{\pi}{2}y\biggr) \\& \qquad {} + B_{21}(\pi\sqrt{1+2.25})\sin(\pi x)2(-1)\sin(\pi x)\sin\biggl( \frac{3\pi}{2}y\biggr) \\& \qquad {}+ B_{22}\bigl(\pi\sqrt{2^{2}+2.25}\bigr)\sin(2\pi x)2(-1)\sin(\pi x)\sin\biggl(\frac{3\pi}{2}y\biggr) \\& \qquad {}+ \cdots+ B_{2k}\bigl(\pi\sqrt{k^{2}+2.25}\bigr)\sin(k \pi x)2(-1)\sin(\pi x)\sin\biggl(\frac{3\pi}{2}y\biggr) \\& \qquad {}+ B_{2(k+1)}\bigl(\pi\sqrt{(k+1)^{2}+2.25}\bigr)\sin \bigl((k+1)\pi x\bigr)2(-1)\sin(\pi x)\sin\biggl(\frac{3\pi}{2}y\biggr) \\& \qquad {}+ \cdots+ B_{(k+1)1}\biggl(\pi\sqrt{1+\biggl(\frac{2(k+1)-1}{2} \biggr)^{2}}\biggr)\sin(\pi x)2(-1)^{-k-2} \\& \qquad {}\times\sin(\pi x)\sin\biggl( \frac{(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + \cdots+ B_{(k+1)1}\biggl(\pi\sqrt{1+\biggl(\frac{2(k+1)-1}{2} \biggr)^{2}}\biggr)\sin(\pi x)2(-1)^{-k-2} \\& \qquad {}\times\sin(\pi x)\sin\biggl( \frac{(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + B_{(k+1)2}\biggl(\pi\sqrt{2^{2}+\biggl(\frac{2(k+1)-1}{2} \biggr)^{2}}\biggr)\sin(2\pi x)2(-1)^{-k-2} \\& \qquad {}\times\sin(\pi x)\sin\biggl( \frac{(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {} + \cdots+ B_{(k+1)k}\biggl(\pi\sqrt{k^{2}+\biggl( \frac{2(k+1)-1}{2}\biggr)^{2}}\biggr)\sin(k\pi x)2(-1)^{-k-2} \\& \qquad {}\times\sin(\pi x)\sin\biggl(\frac{(2(k+1)-1)\pi}{2}y\biggr) \\& \qquad {}+ B_{(k+1)(k+1)}\biggl(\pi\sqrt{(k+1)^{2}+\biggl( \frac{2(k+1)-1}{2}\biggr)^{2}}\biggr)\sin \bigl((k+1)\pi x \bigr)2(-1)^{-k-2} \\& \qquad {} \times\sin(\pi x)\sin\biggl(\frac{(2(k+1)-1)\pi}{2}y\biggr). \end{aligned}$$
(37)

Since \(\sin(n\pi x)\neq0\) and \(\sin(\frac{(2m-1)\pi}{2}y) \neq0\) for all \(x,y \in(0,1)\), we can see that \(B_{11},B_{13},B_{14},\ldots, B_{1(k+1)}=0\), \(B_{21},B_{22},\ldots,B_{2(k+1)} =0\), …,\(B_{(k+1)1}, B_{(k+1)2},\ldots, B_{(k+1)(k+1)} = 0\), except \(B_{12}\neq0\). We get

$$ B_{12} = \frac{1}{2\pi\sqrt{4.25}\sin(\pi x)}. $$
(38)

Thus, Eq. (34) holds for \(M =k+1\) and \(N =k+1\), the proof of the induction step is completed. Therefore, an analytical solution \(d(x,y,t)\) of Eq. (27) with given initial and boundary conditions becomes

$$\begin{aligned} d(x,y,t) =& 2\sin(\pi x)\cos(t) \sin\biggl({\frac{\pi}{2}y}\biggr)\cos(\pi t \sqrt {1.25}) \\ &{}-\frac{1}{\pi\sqrt{4.25}}\sin(2\pi x)\cos(t)\sin\biggl(\frac{\pi}{2}y\biggr) \sin(\pi t\sqrt{4.25}) \end{aligned}$$
(39)

for all \((x,y,t) \in\Omega\times[0,T]\). The solution of water wave elevations (tidal elevation) by using Eq. (39) is shown in Table 1 and Figures 2-3.

Figure 2
figure 2

Water elevation \(\pmb{\zeta(x,y,t)}\) , where \(\pmb{0\leq t\leq 170}\) (min) at the center point of an open uniform reservoir.

Figure 3
figure 3

Surface plot of water elevation \(\pmb{\zeta(x,y,t)}\) at t = 170 (min) over an open uniform reservoir.

Table 1 Water elevation \(\pmb{\zeta(x,y,t)}\) (m) at \(\pmb{t=2}\) hrs 50 min

5 Conclusions

A two-dimensional hydrodynamic model for describing the elevation of water wave in an open uniform reservoir is derived and presented. The separation of variables method is employed to find an analytical solution to the model.