Finite Difference Method of Modelling Groundwater Flow
Finite Difference Method of Modelling Groundwater Flow
Finite Difference Method of Modelling Groundwater Flow
Abstract
In this study, finite difference method is used to solve the equations that govern groundwater flow to obtain
flow rates, flow direction and hydraulic heads through an aquifer. The aim therefore is to discuss the princi-
ples of Finite Difference Method and its applications in groundwater modelling. To achieve this, a rectangu-
lar grid is overlain an aquifer in order to obtain an exact solution. Initial and boundary conditions are then
determined. By discretizing the system into grids and cells that are small compared to the entire aquifer, ex-
act solutions are obtained. A flow chart of the computational algorithm for particle tracking is also developed.
Results show that under a steady-state flow with no recharge, pathlines coincide with streamlines. It is also
found that the accuracy of the numerical solution by Finite Difference Method is largely dependent on initial
particle distribution and number of particles assigned to a cell. It is therefore concluded that Finite Difference
Method can be used to predict the future direction of flow and particle location within a simulation domain.
Keywords: Finite Difference Method, Groundwater Modelling, Particle Tracking, Algorithm, Discretization,
Flow Rates, Hydraulic Heads
version of the real system is called model of the system tion is the change in flow condition from one steady-state
or a mathematical model [3]. to another. The steady-state flow is described by a form
Numerical modelling of groundwater is a relatively of Laplace equation. It is a flow in which all conditions
new field. It was not extensively pursued until the (velocity, pressure, etc) remain constant with respect to
mid-1960s when digital computers with adequate capac- time. The groundwater flow equation is often derived for
ity became generally available. Since then, significant a small representative elemental volume where the prop-
progress has been made in the development and applica- erties of the medium are assumed to be effectively con-
tion of such techniques to groundwater flow. stant. A mass balance is obtained on the water flowing in
Numerical models are used in groundwater modelling and out of this small volume along with Darcys law to
because it yields approximate solutions to the governing arrive at the transient groundwater flow equation.
equations through the discretization of space and time. It The flow equation is based on the continuity equation
helps in assessing the impact of pollution on an aquifer. [10]:
Groundwater models generally require the solution of Inflow Outflow = change of storage. (1)
partial differential equations. The equations describing For a small portion of an aquifer it can be restated as:
the groundwater flows are second order partial differen- Subsurface sum + net flow= change in storage (2)
tial equations which can be classified on the basis of Combining Darcys law with this continuity equation
their mathematical properties. There are basically three yields the general form of the equation describing the
types of second order partial differential equations: pa- transient flow
rabolic, hyperbolic and elliptic equations [4,5]. h
Ss q G (3)
The two main types of numerical models that are ac- t
cepted for solving the groundwater equations are the where Ss = specific storage
Finite Difference Method and the Finite Element Method q = flux
presented by [6,7]. Both of these numerical approaches h = Hydraulic head
require that the aquifer be sub-divided into a grid and t = time
analyzing the flows associated within a single zone of the The statement indicates that the change in hydraulic
aquifer or nodal grid. head with time equals the negative divergence of the flux
The equation describing the groundwater flow is a (q) and the source (G).
Partial Differential Equation. It can be solved mathe- Here the head and flux are unknown but Darcys law
matically by analytic or numerical solutions. But analytic relates the flux to the head by substituting it in the flux,
solutions are very difficult to apply because it requires that is
that parameter and boundaries should be highly idealized. h
Ss K h G (4)
The advantages of analytical solution, if it is possible to t
apply, are that it yields an exact solution to the equation
where G = external flow
and it is simple and efficient to obtain. Many of them
K = hydraulic conductivity
have been developed for the flow equations, but most of
Simplifying this we have
them are limited to well hydraulics problems [8]. The
h
continuous variable is replaced by discrete variables that Ss K 2 h G (5)
are defined at grid blocks. Also the continuous differen- t
tial equations which define the hydraulic head in the if K is replaced by its equivalent T, Equation (5) can be
system, is replaced by a finite number of head at differ- written as
ent grids [9]. h h h
t x x y y
Ss Txx Tyy
A common method for solution of this equation in civ-
il engineering and soil mechanics is to use the graphical (6)
techniques of drawing flow nets, where contours of hy- h
Tzz G
draulic head and the stream function make a curvilinear z z
grid, allowing complex geometries to be solved ap- where: T = transmissivity
proximately. A steady-state may be reached if the aquifer has re-
The groundwater flow equation is the mathematical charging boundary conditions (or it may be used as an
relationship which is used to describe the flow of approximation in many cases). The equation describing
groundwater through an aquifer [6]. In the study of this flow is a form of the Laplacian equation given as
groundwater flow equation, one may discuss about tran-
2 h 0 (7)
sient flows and steady state flows. The transient flow
which is described by a form of diffusion equation simi- This equation states that hydraulic head is a harmonic
lar to that used in heat transfer to describe heat conduc- function and has many analogs in other fields. The equa-
tion above can be rewritten as zone of the aquifer [12]. It utilizes a time distance grid of
nodes and a truncated Taylor series approach to deter-
h h h
2 2 2
0 (8) mine the condition of flow at any particular node. A brief
x2 y 2 z 2 coverage of the application of Taylor Series and nodal
The above groundwater flow equations are valid for grid will illustrate several points fundamental to flow
three dimensional flow. simulation.
We also have two dimensional groundwater flow and The flow at time t, the profile of variable y with x may
the general governing equation is given by be described by a truncated Taylor Series given as
h h h Y x0 x y x0 y1 x0 x
K x b K y b G Ss (9)
x x y y t x 2 x 3 (15)
y11 x0 y111 x0
where k = hydraulic conductivity 2! 3!
b = saturated thickness The value at x of node i is x0 and the + notation in eq-
But, Kb = T, therefore: uation 15 allows it to be used in forward or backward
h h h difference approach.
Tx Ty G S s (10) The forward difference first order is
x x y y t
Y 1 x0 y x0 x y x0 (16)
In finite difference form, eqn.10 can be expressed as:
W AB S B J +I The backward difference first order is
LiB TiB hBJ +I hBJ +I AB GBJ +I
t
hB hBJ (11)
Y 1 x0 y x0 x y x0 (17)
iB
where Wi and Li are boundary width and flow path The summation of forward or backward difference
length. also yields a central difference expression for the first
A = Area of a single zone. order derivative of variable y at x0.
Groundwater velocity is based on hydraulic conduc- The central difference first order
tivity (k), as well as the hydraulic gradient (I). Therefore x
the equation determined by Darcy to describe the basic Y 1 x0 y x0 i, j y x0 x (18)
2 x
relationship between sub-surface material and the
movement of water through them is In computer notation, these equations (16-18) can be
Q = KIA (12) re-written as
where Q = volumetric flow rate (Discharge) u u
u1 xi i+1 i
K = Hydraulic conductivity h
A = Area that the groundwater is flowing through u 1 ui
This relationship is known as Darcys law [11]. u1 xi i
h
Rearranging Equation (12) we obtain the flux (V)
u u 1
which is known as the apparent velocity. u1 xi i 1
That is: 2h
Q
KI V (13)
A
where V = Apparent velocity, m / sec
The actual groundwater velocity which is called the
Darcys flux (Vx) is given by
Q KI
Vx (14)
A n
where Vx = Actual velocity m / sec
n = Porosity
This is the actual velocity of groundwater and does
account for tortuosity of flow paths by including porosity
in its calculation.
The Finite Difference Method is a computational pro-
cedure based on dividing an aquifer into a grid (see Fig-
ure 1) and analysing the flows associated within a single Figure 1. Computer notation for finite difference grid.
2. Methods
A hypothetical site such as the one shown below (Figure Figure 3. Discretized domain of a hypothetical site showing
3) is chosen. The domain is discretized into an irregular wells and river source.
geneous and anisotropic. nodal components of the Darcys flux qx and qy are ob-
A finite difference grid is laid over an aquifer. It is a tained by differentiation of the calculated hydraulic
block centred finite difference grid where the node points heads.
fall in the centre of the grid. The grid parameters are:
Number of the grid columns 43 qxi 1 2, j K xxi 1 2, j
hi 1, j hij
Number of grid rows 65 xi, j 1 2
(26)
Minimum i coordinate 0
q yi 1 2, j K yyi 1 2, j
hi 1, j hij
yi , j 1 2
Minimum j coordinate 0
The basic grid is regular, with the rows and columns
being normal to each other. The rows and columns may where, xi+ ,j, yi,j + = distance between nodes i, j and i +1,
be varied so that there are more node points in certain j and nodes i, j and i, j +1 respectively Kxxi + ,j, Kyyi + , j =
parts of the aquifer than others. But this is desirable in Hydraulic conductivities between i + i, j at x direction
the area around a well field. and nodes i, j and i, j +1 at y direction respectively These
For unconfined aquifers the saturated thickness bij is a values are taken as the weighted harmonic mean between
function of the hydraulic heads. A priori both the hy- the hydraulic conductivities.
draulic heads and the saturated thickness are unknown.
Mathematically, this leads to non-linear behaviour. An K xxi ,+ j +1 2, =
x + xi +1, j K xxi , j K xxi +1, j
i, j
initial guess for the saturated thickness is required in K xxi , j xi , j + K xxi + I , j xi +1, j
(27)
order to estimate the aquifer transmissivities Txxi,j and
K yyi , j +1 2 =
yi , j + yi +1, j K yyi , j K yyi , j +1
Tyyi,j. An iterative scheme must be used to calculate the
K yyi , j yi , j + K yyi , j +1yi , j +1
hydraulic head distribution, update the transmissivities
and check if the discrepancy between the previously es- From the Darcys fluxes the pore velocities are calcu-
timated saturated thickness and the updated one is great- lated as:
er than a specific tolerance i.e.
qxi 1 2, j
New old Vxxi 1 2, j
ni 1 2, j
hi , j h j ,i (28)
max min
> toleranc (23) qyi 1 2, j
h h Vyyi , j 1 2
ni , j 1 2
The directional transmissivities between adjacent
nodes: Txxi + j, Tyyi, j + are calculated by multiplying where
harmonic mean of hydraulic conductivities and geomet- ni + ,j, ni,j + = effective porosities between nodes i, j and
ric mean of saturated thickness [14]. i+1, j; and nodes i, j and i, j + 1 respectively. These
values are taken as the weighted arithmetic mean be-
Txxi 1 2 j K xxi 1 2 j h i 1, j BTi 1, j hi, j BTijj tween the porosities of adjacent blocks.
(24) nij xi, j ni 1, j xi+1, j
Tyy 1 2 j K yyi 1 2 j h i, j 1 BTi, j 1 hi, j BTijj
ni+1 2 , j
x i, j xi+1, j
(29)
where BTi, j = aquifer bottom elevation at node i, j nij yi, j ni+1, j yi+1, j
Kxxi + j, Kyyi + j = Hydraulic conductivities between ni, j+1 2
yi, j yi+1, j
blocks i, j and i+1, j .
Particle tracking provides a clearer description of
K xxi 1
x i, j xi 1, j K xxi i , j K xxi , j groundwater flow within an aquifer. In steady-state flow
2
j
K xxi 1, j xi 1, j K xxi , j xi , j field with no recharge, pathline (particle trace) coincides
(25) with streamlines. The two dimensional equation of path-
K yyi 1
y i, j yi 1, j K yyi 1, j K yyi , j lines is given by:
2
j
K yyi 1, j yi 1, j K yyi , j yi , j P x, y P x0 , y0 vdt (30)
There are two different types of velocity vectors where
(a) Nodal velocities P = Vector containing the x, y coordinates of the path-
(b) Boundary velocities line.
Boundary velocities are calculated directly from Darcys P(xo,yo) = The starting point of the pathline (initial con-
law using the hydraulic head difference and material dition).
properties between two nodes, whereas the nodal veloci- V = Average linear velocity
ties are interpolated values at the grid nodes. The inter- t = Time
Equation 30 is written in discretized form as an explicit velocity component at particle location is obtained from
time stepping scheme iterative schemes.
X t + t = X t Vxt t It is also found that the accuracy of the numerical so-
lution by Finite Difference Method is largely dependent
Yt + t = Yt Vyt t on initial particle distribution and number of particles
where assigned to a cell. This scheme provides improved accu-
t = time increment, Vxt, Vyt, are the upstream compo- racy over interpolation scheme especially for block het-
nents of the average linear velocity of the current particle erogeneous aquifer but with increased computational
locations at time t. efforts.
In this scheme, a set of uniformly distributed particles
is assigned to each calculation cell. With each time step, 4. Conclusions
every particle is moved to a new location based on ve- Numerical modelling has found interesting application in
locity of the particle in the x and y directions. The veloc- groundwater flow and transport since the mid-1960 s,
ity component at particle location is to be obtained from when digital computers with adequate capacity became
iterative scheme. In this scheme the particle representa- generally available. The need for a numerical model
tive area is assigned to each particle by dividing the cell cannot be over emphasized since analytical models as-
into a set of equal number of squared sub cells with each sume a homogenous aquifer.
particle at its centre.
The temporal weighted velocity is to be obtained by
fourth order classical Runge Kutta method [15].
A weighted velocity is based on its values evaluated at
four points in time, and then it is used to move the parti-
cle to a new direction.
Figure 4 shows the particle tracking algorithm. The
aquifer is discretized using equally sized calculation cells.
In the particle tracking scheme, one particle per cell is
used.