Professional Documents
Culture Documents
(12107613-GEM 602) Libradilla
(12107613-GEM 602) Libradilla
This technical report will test your ability to formulate, solve and interpret model systems described by boundary
value problems using numerical methods. The rating to be given for this report will be based on the ‘Rubric GEM602-
3’ as provided in the course syllabus.
Formatting 0.1 ×
OVERALL RATING
Technical Report
Finite Difference Method in Solving Distribution of Discharge
Velocity of Water Flow through the Porous Media
Glerey Fe Fabillan Libradilla
1 Affiliation 1; 12107613@usc.edu.com.ph
Numerical Methods Instructor: Dr. Ian Dominic F. Tabañag
Date Submitted: Dec. 9, 2019
1. Problem Statement
𝑑ℎ
The velocity of water flow through the porous media can be related to head by D’Arcy’s law 𝑞𝑛 = −𝐾 where
𝑑𝑛
K is the hydraulic conductivity and 𝑞𝑛 is the discharge velocity in the n direction. If K = 5 𝑥 10−4 cm/s, compute the
velocities of water flows through
porous media that can be
described by the Laplace equation
𝜕2 ℎ 𝜕2 ℎ
2
+ =0
𝜕𝑥 𝜕𝑦 2
Where h is head.
1.1 Given
K = 5 𝑥 10−4 cm/s, hydraulic conductivity
h = 20 cm, head
1.2 Required
𝑞𝒏 = discharge velocity in the n direction
2. Mathematical Modelling
The flow through porous media can be described by the Laplace equation:
𝝏𝟐 𝒉 𝝏𝟐 𝒉
Governing Partial Differential Equation: 𝟐
+ =𝟎
𝝏𝒙 𝝏𝒚𝟐
Boundary Conditions:
h ( 3, y ) = 20 1≤y≤2
𝝏𝒉
| =𝟎 0≤x≤3
𝝏𝒚 𝒚=𝟐
𝝏𝒉
| =𝟎 0≤x≤2
𝝏𝒚 𝟎
𝝏𝒉
| =𝟏 1≤y≤2
𝝏𝒙 𝟎
𝝏𝒉
=𝟎 1≤x≤3 Figure A.1. Boundary Conditions
𝝏𝒏
0≤y≤1
Assumptions
1. This methodology models two-dimensional steady state flow, where head is independent of depth,
therefore the flow is horizontal.
Apply central difference approximation for the second derivative in above Laplace equation to
determine the equation of the node
𝜕2ℎ ℎ𝑖+1, 𝑗 − 2ℎ𝑖,𝑗 + ℎ𝑖−1,𝑗 𝜕2ℎ ℎ𝑖,𝑗+1 − 2ℎ𝑖,𝑗 + ℎ𝑖,𝑗−1
= =
𝜕2𝑥 ∆𝑥 2 𝜕2𝑦 ∆𝑦 2
= 2 ∆y∗0
=0
Thus,
ℎ0,1 = ℎ0,−1 (2)
approximate the external nodes with central finite difference
𝑑ℎ ℎ1,0 − ℎ−1,0
=
𝑑𝑥 2∆𝑥
𝑑ℎ
ℎ0,1 − ℎ1,0 = 2 ∆x
𝑑𝑥
= ℎ1,0 - 2 ∆*1*1
Thus,
= h1,0 -2 (3)
The systems of linear equations (distribution head) can be solve using excel array.
𝑑ℎ
Next is to consider the tabulated data obtained from distribution head to find the value of and
𝑑𝑥
𝑑ℎ
for each corresponding node. In the D’Arcy implementation here, it is this seepage velocity that is
𝑑𝑦
calculated on a cell-by-cell basis. For cell i,j the aquifer flux is calculated through each of the four cell walls
𝑑ℎ
using the difference in heads between the two adjacent cells. Therefore, for the x component of ∆h, for
𝑑𝑥
𝜕ℎ ℎ𝑖+1 − ℎ𝑖 𝑑ℎ
each node can be solve using = . The same way for the y component of ∆h, for each node
𝜕𝑥 ∆x 𝑑𝑦
𝜕ℎ ℎ𝑖+1 − ℎ𝑖
can be solve using =
𝜕𝑦 ∆y
𝑑ℎ 𝑑ℎ 𝑑ℎ2 𝑑ℎ2
Now, the value of will be calculated by the following ways =√ + . After
𝑑𝑛 𝑑𝑛𝑛 𝑑𝑥𝑛 𝑑𝑦𝑛
𝑑ℎ
calculating the values, apply the D’Arcy law to find the discharge velocity in the n direction: 𝑞𝑛 = −𝐾
𝑑𝑛
Where K = 5 𝑥 10−4 cm/s.
GEM602, First Semester, A.Y. 2019-2020 Page 6 of 12
3.2. Flowchart
Figure B. Flowchart
GEM602, First Semester, A.Y. 2019-2020 Page 7 of 12
The main goal of this study is to determine the discharge rate distribution and describe the velocity
flow in a porous medium. The system is divided in cells in the medium contains one inclusion. The equations
for the velocity is solved as an interior flow problem in each cell and the boundary conditions are passed
from cell to cell.
Observing the tabulated data in Table 1.a., it is easy to notice that the velocity field increases as
the hydraulic head (Table 1.b.) increases, this will suffice as stated in Darcy’s law where it states that the
discharge rate q is proportional to the gradient in hydraulic head and the hydraulic conductivity
dh
(qn = −K )
dn
4. Insights
Numerical method is an art of simplifying things. But you’ll have to understand its complexity to
appreciate it’s beauty.
For this type of problem, it is convenient to use central finite difference method because it is elliptic
and it converts PDE into system of equations that can be solved by matrix algebra. Thus, making it great
stride in computer technology while it avoids intense mathematical detail.
In real-world, it is important that we know how to solve the discharge velocity of any aquifer or any
underground water so that we can identify the flow rate of water in the area which is significant in designing
the water requirement.
5. References
1 Steven C. Chapra, Berger Chair in Computing and Engineering Tufts University & Raymond P. Canale
Professor Emeritus of Civil Engineering University of Michigan Numerical Methods for Engineers. (7th
Edition, 2015).
GEM602, First Semester, A.Y. 2019-2020 Page 8 of 12
Appendices
SOLUTIONS
Governing PDE
Apply central difference approximation for the second derivative in above Laplace equation to
determine the equation of the node [1]
𝜕2ℎ ℎ𝑖+1, 𝑗 − 2ℎ𝑖,𝑗 + ℎ𝑖−1,𝑗 𝜕2ℎ ℎ𝑖,𝑗+1 − 2ℎ𝑖,𝑗 + ℎ𝑖,𝑗−1
= =
𝜕2𝑥 ∆𝑥 2 𝜕2𝑦 ∆𝑦 2
= 2 ∆y∗0
=0
Thus,
ℎ0,1 = ℎ0,−1 (2)
GEM602, First Semester, A.Y. 2019-2020 Page 9 of 12
FORMULA USED
9x9 matrix
inverse matrix A
𝜕ℎ ℎ −ℎ
( ) = 1,2 0,2
𝜕𝑥 0,2 1
= 17.33748-16.3372
= 1.04029
𝜕ℎ ℎ −ℎ
( ) = 2,1 0,1
𝜕𝑥 0,1 1
= 17.31126-16.29691
= 1.01435
𝜕ℎ
In the same way all the value of can be calculated
𝜕𝑥
𝜕ℎ
After calculating all the values of the following table will be obtained:
𝜕𝑥
ALONG X-DIRECTION
1.04029 1.10651 1.31126 1.44978
1.01435 1.05740 1.34437 1.58830
0.93102 0.77870 0.62638
𝜕ℎ
Table 3.1. 𝑣𝑎𝑙𝑢𝑒𝑠
𝜕𝑥
𝑑ℎ
The value of for each node can be solve using
𝑑𝑦
𝜕ℎ ℎ𝑖+1 − ℎ𝑖
=
𝜕𝑦 ∆y
𝜕ℎ ℎ0,2 − ℎ0,1
( ) =
𝜕𝑦 0,2 1
= 16.3372-16.29691
= 0.04029
𝜕ℎ
In the same way all the value of can be calculated
𝜕𝑦
𝜕ℎ
After calculating all the values of the following table will be obtained:
𝜕𝑦
ALONG Y-DIRECTION
0.04029 0.06623 0.13852 0.00000
0.05464 0.10927 0.38245 0.00000
0.06898 0.15232 0.62638
𝜕ℎ
Table 3.2. 𝑣𝑎𝑙𝑢𝑒𝑠
𝜕𝑦
GEM602, First Semester, A.Y. 2019-2020 Page 12 of 12
𝑑ℎ
Now, the value of will be calculated by the following ways
𝑑𝑛
𝑑ℎ 𝑑ℎ2 𝑑ℎ2
=√ +
𝑑𝑛𝑛 𝑑𝑥𝑛 𝑑𝑦𝑛
𝑑ℎ
for ( )
𝑑𝑛 0,2
𝑑ℎ 𝑑ℎ 2 𝑑ℎ 2
( ) = √( ) +( )
𝑑𝑛 0,2 𝑑𝑥 0,2 𝑑𝑦 0,2
= √(1.04029)2 + (0.04029)2
= 1.04107
𝑑ℎ
In the same way, for every node the value of will be calculated.
𝑑𝑛
After calculating the values the following table will be obtained:
RESULTANT
1.04107 1.10849 1.31855 1.44978
1.01582 1.06303 1.39771 1.58830
0.93357 0.79345 0.88583
𝜕ℎ
Table 3.3. 𝑣𝑎𝑙𝑢𝑒𝑠
𝜕𝑛
Now apply the following D’arcy law to find the discharge velocity in the n direction:
𝑑ℎ
𝑞𝑛 = −𝐾
𝑑𝑛
In the same way, the velocity for each nodes will be calculated and the following table shows the resultant values for
every nodes:
Final answer
VELOCITY (DISTRIBUTION TABULATION OF WATER
FLOW IN POROUS MEDIA