Introduction

Finite element method is a powerful numerical method for solving very complex differential equations. Finite difference method, finite volume method and boundary element method are especial forms of finite element method. Finite element method can consider complex boundaries and domains. Finite element method classifies to two types (calculus variation principles and weighted residual methods). Galerkin finite element method and least square finite element method are weighted residual methods.

Bateman (1915) developed Burgers’ equation and Burgers (1948) utilized this equation in turbulent model. Cole (1951) and Hopf (1950) solved this equation analytically by Fourier series. They considered simple initial conditions. Jiang and Carey (1988) applied least square finite element method for solution of Burgers’ equation. They discretized time domain by finite difference method. Öziş et al. (2003) used Galerkin finite element method for solving of Burgers’ equation. They utilized two-nodded elements. They considered initial and boundary conditions of Hopf and Cole problem and discretized time domain by forward differences. In addition, Dogan (2004) used Galerkin finite element method for solving Burgers’ equation but he approximated time domain by Crank–Nicolson method. De Maerschalck and Gerritsma (2005) utilized least-squares spectral element method for solving of one-dimensional and pure advection Burgers’ equation. Kumar and Mehra (2005) separated Burgers’ equation to advection and diffusion terms and solved it by wavelet-Taylor Galerkin method in two phases, while Roig (2007) applied third- and fourth-order Taylor–Galerkin schemes for this purpose. He developed two new Taylor–Galerkin schemes for maintaining the accuracy properties and improving the stability restrictions in convection–diffusion. In addition, Dag et al. (Dag et al. 2006) solved Burgers’ equation by least-square finite element method and quadratic B-spline finite element method. They showed that results of least-square finite element method are more accurate. Zhang et al. (2009) utilized element-free characteristic Galerkin method (EFCGM) for solving of one-dimensional and two-dimensional Burgers’ equation. They considered different viscosity and fully explicit scheme for discretization of time domain. They compared results of their method to results of analytic method. In addition, Zhang et al. (2010) developed a new numerical method, which is based on the coupling between variation multi-scale method and mesh-free methods for 2D Burgers’ equation with various values of Reynolds number. Their method was stable for high Reynolds number. In recent years, Mukundan and Awasthi (2015) presented new efficient numerical techniques for solving one-dimensional quasi-linear Burgers’ equation. They used a non-linear Cole–Hopf transformation, therefore, the Burgers’ equation is reduced to one-dimensional diffusion equation. The linearized diffusion equation is semi-discretized using method of lines (MOL) which leads to a system of ordinary differential equations in time. Resulting system of ordinary differential equations is solved by backward differentiation formulas (BDF) of order one, two and three. Comparison results with those of exact solution illustrate efficiency of proposed numerical methods, also Shi et al. (2013) applied a new low-order least squares nonconforming characteristics mixed finite element method (MFEM) for solving two-dimensional Burgers’ equation. They used two typical characters of the elements for approximating the velocity and flux variables. Dehghan and Abbaszadeh (2017) utilized proper orthogonal decomposition (POD) meshless and radial basis function generated finite differences (RBF-FD) technique to simulate the shallow water equations. New method reduced CPU time for solving of shallow water equations in comparison with discontinuous Galerkin and finite volume methods. Dehghan et al. (2007) used Adomian–Pade technique (ADM-PADE) and combination of modified Adomian decomposition method and Pade approximation (MADM–PADE) for solving Burgers’ equation. They showed that MADM–PADE is more accurate than ADM–PADE and has faster convergence rate.

Surana and Huels (1989) applied least-square finite element method in an aquifer for calculation of transitivity. They discretized domain to elements that have two, three or four nodes and solved Laplace’s equation. Results of elements with four nodes were more accurate than results of other elements. Thompson and Pinsky (1995) utilized Galerkin least-squares finite element method (GLS) for solving the two-dimensional Helmholtz equation. This equation is a form of Laplace’s equation and makes used of modeling of wave movement. They applied two-dimensional Fourier series. On the other hand, Amini and Nixon (2006) applied multi wavelet Galerkin boundary element for solution of Laplace’s equation. Fu and Jin (2009) developed a model for simulating the unsteady seepage flow through dam, with both saturation and water head as variables to describe the seepage domain. This model provided a relatively simple computing scheme, as compared with traditional methods. In recent years, Dosiyev (2014) developed the combined block–grid method for the highly accurate approximation of the pure second-order derivatives for the solution of Laplace’s equation on a staircase polygon. In addition, Ren et al. (2014) prepared a theoretical analysis of the moving least-squares (MLS) approximation, which belongs to the family of meshless methods. They establish the error estimates for interpolating element-free Galerkin (IEFG) method when it is used for solving Poisson’s equation. Tatari and Dehghan (2005) applied the Adomian decomposition method (ADM) to solve Laplace equation. This method is an accurate method for analytical solutions and numerical approximations of different equations.

In this research, two finite element methods (Galerkin and least square) will apply to solve Burgers’ and Laplace’s equations and the best solution method will be selected for each equation. Reason of selection of these methods is similarity of these methods. Galerkin method is simpler than least-square method but it may not be suitable for solving some equations. In these cases, least-square method can be applied and this research will find these cases. The FORTRAN codes of these methods were written by authors. Because of access to source code of these methods, authors can cause their considered changes for solving of different equations easily. These changes can be related to initial conditions, boundary conditions, parameters of model and size of elements. Other advantages of developed method over other methods (as different finite difference, finite volume and other finite element schemes) are high accuracy and little runtime of developed method. In addition, authors utilized a Pentium IV, 2400 MHz CPU machine.

The research methodology

Burgers’ equation:

The global form of one-dimensional Burgers’ equation is:

$$\frac{{{\text{d}}u}}{{{\text{d}}t}}\; + \;\bar{u}\frac{{{\text{d}}u}}{{{\text{d}}x}}\; = \;r\frac{{{\text{d}}^{2} u}}{{{\text{d}}x^{2} }}\;\;\;a\; < \;x\; < \;b,\;\; \, t\; > \;0,$$
(1)

where u is velocity, \(\overline{u}\) is average of velocity, x is space, t is time, a is left boundary of space, b is right boundary of space and r is diffusion coefficient. Because of using \(\overline{u}\), the form of this equation becomes linear. In this research, r is considered equal to zero and Burgers’ equation is converted to a pure advection equation and it can show shock wave movement. For model space, a two-nodded element (linear element) is used. For discretizing time and space, four methods are applied:

  1. 1.

    Discretizing space by Galerkin finite element method and discretizing time by forward difference.

  2. 2.

    Discretizing space and time by Galerkin finite element method.

  3. 3.

    Discretizing space by least-square finite element method and discretizing time by forward difference.

  4. 4.

    Discretizing space and time by least-square finite element method.

After calculation of value of residual, it multiplies to weight function and below integral must be solved.

$$\int_{0}^{\Delta x} {\int_{0}^{\Delta t} {R \times N_{i} {\text{d}t\text{d}x}\; = \;0} } \;\;\;i = 1,\; 2 ,$$
(2)

where R is residual, N is weight function, Δx is space step and Δt is time step. By calculating Eq. 2 at each node, the equilibrium equations are derived.

$$KX\; = \;F,$$
(3)

where K is stiffness matrix, X is unknown parameters vector and F is force vector.

Matrix K and vectors X and F are shown for four methods below.

Method 1 Discretizing space by Galerkin finite element method and discretizing time by forward difference:

$$[K] = \left[ {\begin{array}{*{20}c} {\frac{\Delta x}{3} - \frac{{(\Delta t)(\overline{U} )}}{2}} & {\frac{\Delta x}{6} + \frac{{(\Delta t)(\overline{U} )}}{2}} \\ {\frac{\Delta x}{6} - \frac{{(\Delta t)(\overline{U} )}}{2}} & {\frac{\Delta x}{3} + \frac{{(\Delta t)(\overline{U} )}}{2}} \\ \end{array} } \right],$$
(4)
$$[X] = \left[ {\begin{array}{*{20}c} {U_{i}^{n + 1} } \\ {U_{i + 1}^{n + 1} } \\ \end{array} } \right],$$
(5)
$$[F] = \left[ {\begin{array}{*{20}c} {\left( {\frac{\Delta x}{3}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{6}} \right)U_{i + 1}^{n} } \\ {\left( {\frac{\Delta x}{6}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{3}} \right)U_{i + 1}^{n} } \\ \end{array} } \right].$$
(6)

Method 2 Discretizing space and time by Galerkin finite element method:

$$[K] = \left[ {\begin{array}{*{20}c} {\frac{\Delta x}{3} - \frac{{(\Delta t)(\overline{U} )}}{4}} & {\frac{\Delta x}{6} + \frac{{(\Delta t)(\overline{U} )}}{4}} \\ {\frac{\Delta x}{6} - \frac{{(\Delta t)(\overline{U} )}}{4}} & {\frac{\Delta x}{3} + \frac{{(\Delta t)(\overline{U} )}}{4}} \\ \end{array} } \right],$$
(7)
$$[X] = \left[ {\begin{array}{*{20}c} {U_{i}^{n + 1} } \\ {U_{i + 1}^{n + 1} } \\ \end{array} } \right],$$
(8)
$$[F] = \left[ {\begin{array}{*{20}c} {\left( {\frac{\Delta x}{3} + \frac{{\overline{U} \Delta t}}{4}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{6} - \frac{{\overline{U} \Delta t}}{4}} \right)U_{i + 1}^{n} } \\ {\left( {\frac{\Delta x}{6} + \frac{{\overline{U} \Delta t}}{4}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{3} - \frac{{\overline{U} \Delta t}}{4}} \right)U_{i + 1}^{n} } \\ \end{array} } \right].$$
(9)

Method 3 Discretizing space by least-square finite element method and discretizing time by forward difference:

$$[K] = \left[ {\begin{array}{*{20}l} {\frac{\Delta x}{3\Delta t} - \overline{U} + \frac{{(\Delta t)(\overline{U} )^{2} }}{\Delta x}} \hfill & {\frac{\Delta x}{6\Delta t} - \frac{{(\Delta t)(\overline{U} )^{2} }}{\Delta x}} \hfill \\ {\frac{\Delta x}{6\Delta t} - \frac{{(\Delta t)(\overline{U} )^{2} }}{\Delta x}} \hfill & {\frac{\Delta x}{3\Delta t} - \overline{U} + \frac{{\Delta t(\overline{U} )^{2} }}{\Delta x}} \hfill \\ \end{array} } \right],$$
(10)
$$[X] = \left[ {\begin{array}{*{20}c} {U_{i}^{n + 1} } \\ {U_{i + 1}^{n + 1} } \\ \end{array} } \right],$$
(11)
$$[F] = \left[ {\begin{array}{*{20}c} {\left( {\frac{\Delta x}{3\Delta t} - \frac{{\overline{U} }}{2}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{6\Delta t} - \frac{{\overline{U} }}{2}} \right)U_{i + 1}^{n} } \\ {\left( {\frac{\Delta x}{6\Delta t} + \frac{{\overline{U} }}{2}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{3\Delta t} + \frac{{\overline{U} }}{2}} \right)U_{i + 1}^{n} } \\ \end{array} } \right].$$
(12)

Method 4 Discretizing space and time by least-square finite element method

$$[K] = \left[ {\begin{array}{*{20}l} {\frac{\Delta x}{3\Delta t} - \frac{{\overline{U} }}{2} + \frac{{(\Delta t)(\overline{U} )^{2} }}{3\Delta x}} \hfill & {\frac{\Delta x}{6\Delta t} - \frac{{(\Delta t)(\overline{U} )^{2} }}{3\Delta x}} \hfill \\ {\frac{\Delta x}{6\Delta t} - \frac{{(\Delta t)(\overline{U} )^{2} }}{3\Delta x}} \hfill & {\frac{\Delta x}{3\Delta t} - \frac{{\overline{U} }}{2} + \frac{{\Delta t(\overline{U} )^{2} }}{3\Delta x}} \hfill \\ \end{array} } \right],$$
(13)
$$[X] = \left[ {\begin{array}{*{20}c} {U_{i}^{n + 1} } \\ {U_{i + 1}^{n + 1} } \\ \end{array} } \right]$$
(14)
$$[F] = \left[ {\begin{array}{*{20}c} {\left( {\frac{\Delta x}{3\Delta t} - \frac{{\overline{U}^{2} \Delta t}}{6\Delta x}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{6\Delta t} - \frac{{\overline{U} }}{2} + \frac{{\overline{U}^{2} \Delta t}}{6\Delta x}} \right)U_{i + 1}^{n} } \\ {\left( {\frac{\Delta x}{6\Delta t} + \frac{{\overline{U} }}{2} + \frac{{\overline{U}^{2} \Delta t}}{6\Delta x}} \right)U_{i}^{n} + \left( {\frac{\Delta x}{3\Delta t} - \frac{{\overline{U}^{2} \Delta t}}{6\Delta x}} \right)U_{i + 1}^{n} } \\ \end{array} } \right].$$
(15)

Laplace’s equation:

The global form of two-dimensional steady Laplace’s equation (seepage equation) is:

$$k_{x} \frac{{\partial^{2} h}}{{\partial x^{2} }} + k_{y} \frac{{\partial^{2} h}}{{\partial y^{2} }} + Q = 0,$$
(16)

where k x , k y are hydraulic conductivity coefficients in directions x, y, respectively, while h represents head pressure and Q is source or sink term. For discretization of space domain, linear triangular elements (with three nodes) are used. To discretize space, two methods are applied:

  1. 1.

    Discretizing space by Galerkin finite element method.

  2. 2.

    Discretizing space by least-square finite element method.

Matrix K and vectors X and F are shown for two methods below.

Method 1 Discretizing space by Galerkin finite element method

$$[K] = k_{x} A\left[ {\begin{array}{*{20}c} {\beta_{i}^{2} } & {\beta_{i} \beta_{j} } & {\beta_{i} \beta_{k} } \\ {\beta_{i} \beta_{j} } & {\beta_{j}^{2} } & {\beta_{j} \beta_{k} } \\ {\beta_{i} \beta_{k} } & {\beta_{j} \beta_{k} } & {\beta_{k}^{2} } \\ \end{array} } \right] + k_{y} A\left[ {\begin{array}{*{20}c} {\gamma_{i}^{2} } & {\gamma_{i} \gamma_{j} } & {\gamma_{i} \gamma_{k} } \\ {\gamma_{i} \gamma_{j} } & {\gamma_{j}^{2} } & {\gamma_{j} \gamma_{k} } \\ {\gamma_{i} \gamma_{k} } & {\gamma_{j} \gamma_{k} } & {\gamma_{k}^{2} } \\ \end{array} } \right],$$
(17)

where A is the area of element.

$$A = \frac{1}{2}\left( {x_{i} y_{j} + x_{j} y_{k} + x_{k} y_{i} - x_{i} y_{k} - x_{j} y_{i} - x_{k} y_{j} } \right),$$
(18)
$$\begin{aligned} \beta_{i} = (y_{j} - y_{k} )/2A \hfill \\ \beta_{j} = (y_{k} - y_{i} )/2A \hfill \\ \beta_{k} = (y_{i} - y_{j} )/2A, \hfill \\ \end{aligned}$$
(19)
$$\begin{aligned} \gamma_{i} = (x_{k} - x_{j} )/2A \hfill \\ \gamma_{j} = (x_{i} - x_{k} )/2A \hfill \\ \gamma_{k} = (x_{j} - x_{i} )/2A, \hfill \\ \end{aligned}$$
(20)
$$\begin{aligned} \alpha_{i} = (x_{j} *y_{k} - x_{k} *y_{j} )/2A \hfill \\ \alpha_{j} = (x_{k} *y_{i} - x_{i} *y_{k} )/2A \hfill \\ \alpha_{k} = (x_{i} *y_{j} - x_{j} *y_{i} )/2A \hfill \\ \end{aligned}$$
(21)
$$[X] = \left[ {\begin{array}{*{20}c} {h_{i} } \\ {h_{j} } \\ {h_{k} } \\ \end{array} } \right],$$
(22)
$$[F] = \left[ {\begin{array}{*{20}c} Q \\ 0 \\ 0 \\ \end{array} } \right].$$
(23)

Method 2 Discretizing space by least square finite element method

Because order of Laplace’s equation is 2 for using linear triangular elements in the least-square finite element method, this equation must be converted to two first-order equations. These equations are shown below:

$$q_{x} = - k_{x} \frac{\partial h}{\partial x}$$
(24)
$$q_{y} = - k_{y} \frac{\partial h}{\partial y}$$
(25)

By substituting Eqs. 24 and 25 in Eq. 16, the following equation system is derived:

$$\begin{aligned} \frac{{\partial q_{x} }}{\partial x} + \frac{{\partial q_{y} }}{\partial y} - Q = & 0 \\ q_{x} + k_{x} \frac{\partial h}{\partial x} = & 0 \\ q_{y} + k_{y} \frac{\partial h}{\partial y} = & 0, \\ \end{aligned}$$
(26)
$$[K] = \left[ {\begin{array}{*{20}c} {k_{11} } & {k_{12} } & . & . & . & . & . & . & {k_{19} } \\ {k_{21} } & {k_{22} } & . & . & . & . & . & . & {k_{29} } \\ . & . & . & . & . & . & . & . & . \\ . & . & . & . & . & . & . & . & . \\ . & . & . & . & . & . & . & . & . \\ . & . & . & . & . & . & . & . & . \\ . & . & . & . & . & . & . & . & . \\ . & . & . & . & . & . & . & . & . \\ {k_{{91_{{}} }} } & {k_{92} } & . & . & . & . & . & . & {k_{99} } \\ \end{array} } \right],$$
(27)
$$k_{11} = \left( {k_{x}^{2} \beta_{i}^{2} + k_{y}^{2} \gamma_{i}^{2} } \right)*A,$$
(28)
$$k_{12} = k_{21} = k_{x} \beta_{i} A/3,$$
(29)
$$k_{13} = k_{31} = k_{y} \gamma_{i} A/3,$$
(30)
$$k_{22} = (\beta_{i}^{2} + 1/6)*A,$$
(31)
$$k_{23} = k_{32} = \beta_{i} \gamma_{i} A,$$
(32)
$$k_{33} = (\gamma_{i}^{2} + 1/6)*A,$$
(33)
$$[X] = \left[ {\begin{array}{*{20}c} {h_{i} } \\ {q_{xi} } \\ {q_{yi} } \\ {h_{j} } \\ {q_{xj} } \\ {q_{yj} } \\ {h_{k} } \\ {q_{xk} } \\ {q_{yk} } \\ \end{array} } \right],$$
(34)
$$[F] = \left[ {\begin{array}{*{20}c} {f_{1} } \\ {f_{2} } \\ {f_{3} } \\ {f_{4} } \\ {f_{5} } \\ {f_{6} } \\ {f_{7} } \\ {f_{8} } \\ {f_{9} } \\ \end{array} } \right],$$
(35)
$$f_{1} = \frac{1}{3}QA,$$
(36)
$$f_{2} = f_{3} = 0.$$
(37)

The flowchart of research methodology is Fig. 1

Fig. 1
figure 1

The flowchart of research methodology

Results and discussion

Burgers’ equation:

By applying four methods for solving a typical example, it is observed that results of space discretization by least-square finite element method and time discretization by forward difference scheme are more accurate than those of other methods. Results of this method have the most fitness to results of analytic method. The characteristics of this problem are: 0 < X<2 m, Δt = 0.01 s, the number of elements = 100 (Δx = 0.02 m), velocity of downstream boundary = 2 m/s and velocity of upstream boundary = 5 m/s. The results of four methods at t = 0.01 s are shown in Fig. 2.

Fig. 2
figure 2

The results of four numerical methods for typical example versus analytic method

The used CPU times of full system are 2 and 3 s for Galerkin and least-square finite element methods, respectively (discrete time by forward difference did not increase the used CPU time).

Root mean square error (RMSE) between results of discrete space and time by Galerkin finite element method, discrete space and time by least-square finite element method, discrete space by Galerkin finite element method and discrete time by forward difference, discrete space by least-square finite element method and discrete time by forward difference and results of analytic method are 0.0794, 0.0789, 0.0676 and 0.0376 m, respectively.

Example 1

0 < X<10 m, Δt = 1 s, the number of elements = 100 (Δx = 0.1 m), velocity of downstream (x = 3) = 0.1 m/s and velocity of upstream (x = 3) = 0.3 m/s. The results of discrete space by least-square finite element method and discrete time by forward difference are shown below for different times (Fig. 3).

Fig. 3
figure 3

Movement shock wave in different times

The execution time of full system is 4 s.

Example 2

This example shows effects of size of elements. Characteristics of this problem are similar to example 1 but the number of elements is 50 (Δx = 0.2 m). Comparison between results of two states is shown in Fig. 4.

Fig. 4
figure 4

Comparison between results of discretization to 50 elements and 100 elements

The used CPU time of full system is 1 s for 50 elements.

Laplace’s equation:

Methods of solution of this equation (Galerkin and least-square finite element methods) are suitable and their results are similar. Their results have no numerical oscillations. This subject is shown by several examples.

Example 1

This example shows effects of size of elements. Information of this problem is: upstream head = 10.5 m, downstream head = 1.5 m, k x  = k y  = 0.00001 m/s and Q = 0. Results of numerical method are shown in Figs 5, 6, 7 and Table 1.

Fig. 5
figure 5

Calculated water table by numerical method (coarse meshes)

Fig. 6
figure 6

Calculated water table by numerical method (fine meshes)

Fig. 7
figure 7

Comparison between calculated water table by numerical method (fine elements and coarse elements)

Table 1 Comparison between calculated water table by numerical method (fine elements and coarse elements)

The execution times of full system are 4 and 7 s for coarse and fine elements, respectively. For Galerkin and least-square finite element methods, this time is equal (because this problem is steady state).

Example 2

This example shows effects of non-homogenous of material of dam (k x  ≠ k y ). Characteristics of this problem are: upstream head = 8 m, downstream head = 2 m, k x  = 0.001 m/s, k y  = 10−8 m/s and Q = 0. Results of numerical method are shown at Fig. 8.

Fig. 8
figure 8

Calculated water table by numerical method (k x  ≫ k y )

The used CPU times of full system are 7 s. For Galerkin and least-square finite element methods, this time is equal.

Example 3

This example shows effects of an impenetrable core in earth dam. Characteristics of this problem are: upstream head = 10.5 m, downstream head = 1.5 m, k x  = k y  = 0.001 m/s, k x  = k y  = 10−8 m/s for impenetrable core and Q = 0. Results of numerical method are shown in Fig. 9.

Fig. 9
figure 9

Calculated water table by numerical method (earth dam with impenetrable core)

The used CPU times of full system are 9 s. For Galerkin and least-square finite element methods, this time is equal.

Example 4

This example compares results of two methods (Galerkin and least-square finite element methods) with those of Wang and Anderson (1982). They solved this example by finite difference and finite element methods. Characteristics of this problem are: upstream head = 4 m, downstream head = 3 m, k x  = k y  = 0.0001 m/s and Q = 0. Results of two methods and those of Wang and Anderson (1982) are shown in the Fig. 10 and Table 2. The execution time of full system is 2 s. For Galerkin and least-square finite element methods, this time is equal.

Fig. 10
figure 10

Considered earth dam by Wang and Anderson (1982) for determination of head at different nodes (nodes 5, 9 and 13 are free nodes)

Table 2 Comparison between results of two developed methods and results of Wang and Anderson (1982)

RMSE between results of Galerkin finite element method and results of Wang and Anderson (1982) is 0.0094 m and RMSE between results of least-square finite element method and results of Wang and Anderson (1982) is 0.0025 m. Therefore, least-square finite element method is slightly more accurate than Galerkin finite element method.

Conclusion

The least-square finite element method is a powerful tool for solution of hyperbolic and elliptic equations, while the Galerkin method can not solve hyperbolic equations because developed stiffness matrix by Galerkin method is non-symmetric. In addition, it is observed that discretizing time by forward difference method can improve results of finite element method. By attention to Figs. 4 and 7, accuracy of results of numerical models increases using fine elements. Using fine meshes, the front of wave becomes near to a vertical line (actual state) in solution of Burgers’ equation and water tables of upstream and downstream of dam become near to upstream and downstream head (non-continuity does not occur between water tables of upstream and downstream of dam in point of contact water and dam) in solution of Laplace’s equation. Figure 8 shows that by increasing hydraulic conductivity in a direction water table is converted to a straight line (seepage occurs in direction that hydraulic conductivity is very high).

Figure 9 shows the ability of model for consideration of impenetrable core in earth dam. Impenetrable core lowers water table and decreases the value of seepage.

Although numerical models are suitable tools for solution of differential equations but they can not show actual states very exactly. For example, front shock wave is a vertical line and numerical models cannot show it. For overcoming this problem, new methods must be applied for solution of differential equations. Artificial neural network and optimization models such as genetic algorithm are suitable tools for this purpose.