Professional Documents
Culture Documents
CIVL 7720
H. Holländer
hartmut.hollaender@umanitoba.ca
Objectives
2
Hydraulic head
surface
The energy of water at a certain position is
Groundwater table
called hydraulic head h:
sum of potential energy, pressure, kinetic
Water molecule
energy
𝑃𝑃 𝑣𝑣 2
ℎ = 𝑧𝑧 + ℎ𝑝𝑝 + ℎ𝑣𝑣 = 𝑧𝑧 + +
𝜌𝜌 × 𝑔𝑔 2 × 𝑔𝑔
Aquifer base
Always based on a datum! (normally mean
sea level)
4
Source: Hendriks (2010)
Gradient of hydraulic head
5
Source: Fetter (2001)
Horizontal and vertical hydraulic conductivity
6
Source: Fetter (2001)
Storage coefficient
𝜕𝜕
𝑛𝑛 × 𝑢𝑢𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 𝑛𝑛 × 𝑢𝑢 + × 𝑛𝑛 × 𝑢𝑢 𝑑𝑑𝑑𝑑 𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑
𝜕𝜕𝜕𝜕
n = porosity [-]
u, v, w = flow velocity in x, y, z directions [L/T] 8
Source: Delleur (1999)
Laplace’s equation
12
Abstraction? – Project aim & scales!
13
Why groundwater models?
14
What is a model?
15
What is a model?
16
What is modelling?
17
Work flow during numerical modeling
18
Work flow during numerical modeling
3) Model design
– Discretization of the study area (for 3D also vertical)
– Definition of the inner and outer boundary conditions
– Development of data for recharge, boundary conditions,
hydraulic parameter, initial conditions
– First model runs
4) Model validation
– Calibration: adjustment of the model by variation of the
parameter
– Validation: simulation other test days or different time periods for
testing of the ability to prognosis
– Sensitivity analysis: Identification of uncertainties by variation of
the model parameter
19
Work flow during numerical modeling
20
Conceptual model
21
Conceptual model
22
Numerical models
• Mass conversation
𝜕𝜕 𝜕𝜕 𝜕𝜕
div 𝑞𝑞 = 𝑣𝑣 × 𝑚𝑚 + 𝑣𝑣 × 𝑚𝑚 + 𝑣𝑣 × 𝑚𝑚 = 0
𝜕𝜕𝜕𝜕 𝑥𝑥 𝜕𝜕𝑦𝑦 𝑦𝑦 𝜕𝜕𝑧𝑧 𝑧𝑧
Top of aquifer
head
hn
∆h
hn-1
∆t
tn-1 tn time 26
Difference approximation of derivates
27
Difference approximation of derivates
• In the y-direction:
• For the backwards difference time derivative (note: all left hand
side values of h are for time = n-1):
10
11 10 9
hi,j-1
y
10
30
x
Finite Difference (FD): Spatial discretization
Explicit solver
• Advantages
– Simple solution, per time step only low computing time
• Disadvantages
– Stability problems since an error (numerical inaccuracy) can get
larger from time step to time step ⇒ very restrictive time step
constraints
Implicit solver
• Advantages
– Unrestricted stability so that larger time steps are possible
• Disadvantages
– Solution of the system of equations is only possible by time- and
computing intensive iterations for every time step
33
Finite Difference (FD): Temporal discretization
q unknown
q known
34
Box scheme (Preissmann scheme)
• For w = 0: explicit
• For w = 1: implicit
• Stabile at w > 0.5
• Best value (empirical):
q known w ≈ 0.55 – 0.60
q interpolated
• Larger values generate
q unknown numerical attenuation
𝑞𝑞𝑛𝑛+1 − 𝑞𝑞𝑛𝑛
= 𝑤𝑤 × 𝐴𝐴𝐴𝐴𝑛𝑛+1 + 1 − 𝑤𝑤 × 𝐴𝐴𝐴𝐴 𝑛𝑛
∆𝑡𝑡
q = flow density [L/T]
n = time index [-]
j = space index [-] 35
Differential equation
36
Source: McDonald and Harbaugh (1988)
Iterations and time steps
Time step m
37
Source: McDonald and Harbaugh (1988)
Time constraints: Courant (Cu) condition
Flow length that a water particle travels within ∆t
𝑢𝑢 × ∆𝑡𝑡
• Courant number 𝐶𝐶𝐶𝐶 = <1
∆𝑥𝑥
Spatial distance between two adjacent nodes
• Cu = 1
– Water particle reaches starting from one node within one time
step the adjacent node (no numerical diffusion)
• Cu > 1
– At least one cell will be skipped during ∆t (stability problems!)
– Information (result) is located generally in the interspace
between two notes which is addressed by interpolation (to
located it on the note again) (numerical diffusion!)
• Cu < 1 (empirical best value to minimize numerical diffusion: Cu ≈ 1)
– Information (result) is located generally in the interspace
between two nodes which is addressed by interpolation (to
located it on the node again) (numerical diffusion!)
Time [min] 40
Numerical oscillation
41
Time [min]
FD-model: MODFLOW by USGS
42
Source: http://water.usgs.gov/ogw/modflow/
FD-model: MODFLOW by USGS
• Several extensions
– Subregional water budgets (Zonebudget)
– Flow lines (MODPATH, actual version 6.01)
– Density-driven flow (SEAWAT, actual version 4.00)
– Inverse Calibration (PEST - Parameter ESTimation)
43
Source: http://water.usgs.gov/ogw/modflow/
Free programs: links
44
Other programs: links
45
Possibilities and limitations
• Possibilities
– Calculation of groundwater flow
– porous media or equivalent rocks (e.g. hard rock aquifer in
regional scales)
• Limitations
– No density or temperature depended flow
– No multi phase flow (e.g. air-water-mixture)
– Hard rock aquifers (locale flow problems)
46
Sizes: investigation area, model area, and conclusion area
48
Source: McDonald and Harbaugh (1988)
Discretization (MODFLOW-USG)
50
Source: SWS Technology, http://www.swstechnology.com
Numerical solver
Historical solver
• SSOR (Slice Successive Over-Relaxation, variant of Gauss-Seidel
method)
– High memory consumption
– Rather slow solution
– Numerical instable especially for complex problems
– Favorably when flow lines directly along the grid
51
Numerical solver
Newer solver
• PCG2 (Preconditioned Conjugate-Gradient 2)
– Same memory consumption as SIP
– Faster than SIP and SSOR
– Numerical robust but problems at some complex systems
52
Boundary conditions
53
Boundary conditions
Physical boundaries
• Model boundaries correspond with actual physical boundaries.
• Faults, facies changes, surface water bodies
Hydraulic boundaries
• Model boundaries corresponding with hydrologic conditions.
• Ground-water divides
– At recharge or discharge areas
– Topographically high or low areas
• Streamlines
– If steady-state, separate the aquifer
– If transient, need to simulate how boundary changes position
– Can represent Toth's concepts of local, intermediate or regional
flow systems
54
Boundary condition: constant head (Dirichlet condition)
Q
hB > hi
hi > hB
∆h
hB > hi
Pumping or infiltration
58
Boundary condition: specified flow (Neumann condition)
Recharge
59
Boundary condition: specified flow (Neumann condition)
Recharge
60
Source: McDonald and Harbaugh (1988)
Boundary condition: specified flow (Neumann condition)
Evapotranspiration
PET
Surface
AET
AET
AET = 0
before MODFLOW-2000
MODFLOW-2000 and later
Depth
PET = potential evapotranspiration [L3/T] 61
AET = actual evapotranspiration [L3/T]
Boundary condition: Head-dependent flow (Cauchy or mixed condition)
D
Kc Kc D
ho hi ho hi
63
Boundary condition: Head-dependent flow (Cauchy condition)
∆h
ho < hi
Q
c
ho > hi
∆h
ho < hi
Constant head
Drainage
Q
ho > hi
∆h
ho < hi
Special conductivity (≠ hydraulic conductivity of layer)
Drainage
river
Drainage
Out of the model As input for another
region in the model
68
Designing boundaries
70
Initial condition
Trial solution
𝑛𝑛
patch
74
Finite element method (FE)
h Node 1 Node 2
(x1, y1) Element (x2, y2)
y
75
Triangular elements and linear interpolation
1 𝑥𝑥1 𝑦𝑦1
𝑤𝑤𝑤𝑤𝑤𝑤𝑤 𝐷𝐷 = 1 𝑥𝑥2 𝑦𝑦2 = 2𝐹𝐹∆
1 𝑥𝑥3 𝑦𝑦3
A1 = x2y3 – y2x3 B1 = y2 – y3 C1 = x3 – x2
A2 = x3y1 – y3x1 B1 = y3 – y1 C1 = x1 – x3
A3 = x1y2 – y1x2 B1 = y1 – y2 C1 = x2 – x1
76
Calculation of Darcy velocity
1
𝑣𝑣𝑥𝑥 = −𝐾𝐾 𝐵𝐵1 ℎ1 + 𝐵𝐵2 ℎ2 + 𝐵𝐵3 ℎ3
𝐷𝐷
1
𝑣𝑣𝑦𝑦 = −𝐾𝐾 𝐶𝐶1 ℎ1 + 𝐶𝐶2 ℎ2 + 𝐶𝐶3 ℎ3
𝐷𝐷
2
x
Continuity requires:
78
Concept of nodal fluxes
𝑇𝑇
𝑊𝑊1 = ℎ1 𝐵𝐵1 𝐵𝐵1 + 𝐶𝐶1 𝐶𝐶1 + ℎ2 𝐵𝐵2 𝐵𝐵1 + 𝐶𝐶2 𝐶𝐶1 + ℎ3 𝐵𝐵3 𝐵𝐵1 + 𝐶𝐶3 𝐶𝐶1
2𝐷𝐷
𝑇𝑇
𝑊𝑊2 = ℎ1 𝐵𝐵2 𝐵𝐵1 + 𝐶𝐶2 𝐶𝐶1 + ℎ2 𝐵𝐵2 𝐵𝐵2 + 𝐶𝐶2 𝐶𝐶2 + ℎ3 𝐵𝐵3 𝐵𝐵2 + 𝐶𝐶3 𝐶𝐶2
2𝐷𝐷
𝑇𝑇
𝑊𝑊3 = ℎ1 𝐵𝐵3 𝐵𝐵1 + 𝐶𝐶3 𝐶𝐶1 + ℎ2 𝐵𝐵3 𝐵𝐵2 + 𝐶𝐶3 𝐶𝐶2 + ℎ3 𝐵𝐵3 𝐵𝐵3 + 𝐶𝐶3 𝐶𝐶3
2𝐷𝐷
79
Concept of nodal fluxes
0.5
0.5
Same from all other elements in the patch. Summation leads to water
balance. But before we can do that, a unique notation is required….
80
Simplified notation
Transformation using…
𝐾𝐾 = 𝑛𝑛 𝑒𝑒, 𝑖𝑖 𝑖𝑖 = 1,2,3; 𝑒𝑒 = 1, … , 𝑀𝑀
Incidence matrix
81
Embedding of 3 x 3 element matrix into global matrix
0 ⋮ 0 ⋮ 0 ⋮ 0
𝑛𝑛 𝑒𝑒, 1 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯
0 ⋮ 0 ⋮ 0 ⋮ 0
𝑛𝑛 𝑒𝑒, 2 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯ N
0 ⋮ 0 ⋮ 0 ⋮ 0
𝑛𝑛 𝑒𝑒, 3 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯ 𝐸𝐸 ⋯
0 ⋮ 0 ⋮ 0 ⋮ 0
𝑛𝑛 𝑒𝑒, 1 𝑛𝑛 𝑒𝑒, 2 𝑛𝑛 𝑒𝑒, 3
82
Water balance through adding up of nodal fluxes in global form
Example: M = 5 e1
e2 Node k
e5
e3
e4
𝑀𝑀 𝑀𝑀
83
Procedure at boundaries
Boundary flux
84
Procedure for areal recharge
Areal flux (e.g. recharge) is divided into three parts and added to nodal
fluxes
85
Water balance through adding up of nodal fluxes in global form
86
Finally: Equation system
𝐴𝐴 ℎ = 𝑏𝑏
• Differences to FD:
– larger bandwidth,
– more non-zero coefficients,
– different weights in matrix A
• Advantages:
– local refinement feasible,
– flexible adaptation to complex aquifer geometry,
– easy implementation of anisotropy
87
Transient case
FD FE
∆h
∆h
88
Transient case
𝑁𝑁 𝑁𝑁
𝜕𝜕ℎ𝑗𝑗
� 𝑅𝑅𝑖𝑖,𝑗𝑗 + � 𝐴𝐴𝑖𝑖,𝑗𝑗 ℎ𝑗𝑗 = 𝐵𝐵𝑖𝑖
𝜕𝜕𝑡𝑡
𝑗𝑗=1 𝑗𝑗=1
∆ℎ𝑖𝑖3
89
Fe = element area [L2]
FE: Galerkin Method
90
Example: steady state flow in 1D
1
𝑛𝑛
� 𝜀𝜀 𝑥𝑥 𝑤𝑤𝑖𝑖 𝑥𝑥 𝑑𝑑𝑑𝑑 = 0 𝑖𝑖 = 1, … , 𝑛𝑛
91
Example: steady state flow in 1D
𝜕𝜕 2
� 𝑇𝑇 � ℎ𝑗𝑗 𝑤𝑤𝑗𝑗 − 𝑞𝑞 𝑤𝑤𝑖𝑖 𝑥𝑥 𝑑𝑑𝑑𝑑 = 0 𝑖𝑖 = 1, … , 𝑛𝑛
𝜕𝜕𝑥𝑥 2
𝜕𝜕 𝜕𝜕
� 𝑇𝑇 � ℎ𝑗𝑗 𝑤𝑤𝑗𝑗 𝑤𝑤𝑖𝑖 𝑥𝑥 𝑑𝑑𝑑𝑑 − � 𝑞𝑞𝑤𝑤𝑖𝑖 𝑥𝑥 𝑑𝑑𝑑𝑑 = 0 𝑖𝑖 = 1, … , 𝑛𝑛
𝜕𝜕𝑥𝑥 𝜕𝜕𝜕𝜕
92
Example: FEFLOW (FE)
94
Other programs: links
95
HydroGeoSphere (FE)
∂θ S
− ∇ × ωm q + ∑ Γex ± Q = s w q = −K × k r (ψ + z )
∂t
Γex: Exchange surface water / groundwater
∂θsS wRC
ωm
∂t
[
]
+ θsS wRλC = −∇ × ωm qC − θsD∇C + [RλC]par ± Qc + Ω o
Example: HydroGeoSphere (FE)
98
Finite Volume (FV)
• Finite-Volume
– Program: PCGEOFIM
ρ0 ∂h ρ0 h−z
S0 + div k f grad(h) + = Vv
ρG0 ∂t ρG0 ρ0 grad(ρ )
101
PCGEOFIM (FV)
• Ground water flow modelling, optimized for the use with surface
water bodies
• Transport (max. 15 solutes), only Front-Limitation-algorithm and
Random-Walk
102
Model calibration
• Hydraulic conductivity K
• (specific) storage (Sy) S
• Layer thickness
• Boundary conditions
– Recharge
– (pumping rates/volumes)
• Porosity neff and n (transport problems)
• Decay rates, diffusion and dispersion coefficients (transport
problems)
Inverse calibration - PEST
hsim
K1
K2
108
Literature
110