SlideShare a Scribd company logo
1 of 26
Emanuele Cordano
Double-grid 2D solver for
Bossinesq Equation
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
2
Boussinesq Equation for subsurface flow (theory)
s
∂η
∂t
= ∇ · [KS H(η, x, y) ∇η] + Q
2D Boussinesq Equation: water mass balance in a point + Darcy’s law
Symbol Dimension Definition
s, s(x,y) porosity
t [T] time
x,y [L] space (planimetric) coordinate
H,H(x, y, η) [L] water-table thickness
KS [L T -1
] saturated hydraulic conductivity
Q [L T -1
] source term (water-table discharge)
η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
3
Boussinesq Equation for subsurface flow (theory)
s
∂η
∂t
= ∇ · [KS H(η, x, y) ∇η] + Q
accumulation term: time derivative of water content
Symbol Dimension Definition
s, s(x,y) porosity
t [T] time
x,y [L] space (planimetric) coordinate
H,H(x, y, η) [L] water-table thickness
KS [L T -1
] saturated hydraulic conductivity
Q [L T -1
] source term (water-table discharge)
η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
4
Boussinesq Equation for subsurface flow (theory)
sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q
s
∂η
∂t
= ∇ · [KS H(η, x, y) ∇η] + Q
(-) divergence of water flux (vector) described by Darcy’law
Symbol Dimension Definition
s, s(x,y) porosity
t [T] time
x,y [L] space (planimetric) coordinate
H,H(x, y, η) [L] water-table thickness
KS [L T -1
] saturated hydraulic conductivity
Q [L T -1
] source term (water-table discharge)
η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
5
Boussinesq Equation for subsurface flow (theory)
sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q
s
∂η
∂t
= ∇ · [KS H(η, x, y) ∇η] + Q
source term (water-table dicharge due to rainfall or sinks, etc.
Symbol Dimension Definition
s, s(x,y) porosity
t [T] time
x,y [L] space (planimetric) coordinate
H,H(x, y, η) [L] water-table thickness
KS [L T -1
] saturated hydraulic conductivity
Q [L T -1
] source term (water-table discharge)
η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
6
Boussinesq Equation for subsurface flow (theory)
sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q
s
∂η
∂t
= ∇ · [KS H(η, x, y) ∇η] + Q
2D Boussinesq Equation: water mass balance in a point + Darcy’s law
Symbol Dimension Definition
s, s(x,y) porosity
t [T] time
x,y [L] space (planimetric) coordinate
H,H(x, y, η) [L] water-table thickness
KS [L T -1
] saturated hydraulic conductivity
Q [L T -1
] source term (water-table discharge)
η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
7
Vi(ηn+1
i ) − ∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
= Vi(ηn
i ) + ∆ tn
Qn+1
i pi
Discretized Boussinesq Equation (implicit)
water volume at the next time step (unknown)
Symbol Dimension Definition
l(j) index of the cell on the left-hand side of the j-th line segment
m(i,j) index of the cell that shares the j-th line segment with the i-th cell
pi [L2
] topographic area of the i-th cell
r(j) index of the cell on the right-hand side of the j-th line segment
Ai(ηr(j),l(j)) [L2
] Vertical area over the j-th line
Qn
i [L T -1
] source term (water-table discharge) at the i-th cell in the n-th time instant
Si * set of the edges of the i-th cell
Vi(ηi) [L3
] water volume stored in the i-th cell defined as a function of water surface elevation ηi
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface elevation η
δiq [L] euclidean distance between the centroids of the i-th and q-th cells
ηi [L] water surface elevation at the i-th cell
ηi,d [L] averaged water surface elevation between the i-th and d-th cells
ηn
i [L] water surface elevation at the i-th cell in the n-th time instant
∆tn
[T] time step between the n-th and the (n+1)-th time instants
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
8
Vi(ηn+1
i ) − ∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
= Vi(ηn
i ) + ∆ tn
Qn+1
i pi
Discretized Boussinesq Equation (implicit)
net out-going fluxes (unknown) derived by discretized Darcy’s Law
Symbol Dimension Definition
l(j) index of the cell on the left-hand side of the j-th line segment
m(i,j) index of the cell that shares the j-th line segment with the i-th cell
pi [L2
] topographic area of the i-th cell
r(j) index of the cell on the right-hand side of the j-th line segment
Ai(ηr(j),l(j)) [L2
] Vertical area over the j-th line
Qn
i [L T -1
] source term (water-table discharge) at the i-th cell in the n-th time instant
Si * set of the edges of the i-th cell
Vi(ηi) [L3
] water volume stored in the i-th cell defined as a function of water surface elevation ηi
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface elevation η
δiq [L] euclidean distance between the centroids of the i-th and q-th cells
ηi [L] water surface elevation at the i-th cell
ηi,d [L] averaged water surface elevation between the i-th and d-th cells
ηn
i [L] water surface elevation at the i-th cell in the n-th time instant
∆tn
[T] time step between the n-th and the (n+1)-th time instants
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
9
Vi(ηn+1
i ) − ∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
= Vi(ηn
i ) + ∆ tn
Qn+1
i pi
Discretized Boussinesq Equation (implicit)
water volume at the previous time step (known)
Symbol Dimension Definition
l(j) index of the cell on the left-hand side of the j-th line segment
m(i,j) index of the cell that shares the j-th line segment with the i-th cell
pi [L2
] topographic area of the i-th cell
r(j) index of the cell on the right-hand side of the j-th line segment
Ai(ηr(j),l(j)) [L2
] Vertical area over the j-th line
Qn
i [L T -1
] source term (water-table discharge) at the i-th cell in the n-th time instant
Si * set of the edges of the i-th cell
Vi(ηi) [L3
] water volume stored in the i-th cell defined as a function of water surface elevation ηi
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface elevation η
δiq [L] euclidean distance between the centroids of the i-th and q-th cells
ηi [L] water surface elevation at the i-th cell
ηi,d [L] averaged water surface elevation between the i-th and d-th cells
ηn
i [L] water surface elevation at the i-th cell in the n-th time instant
∆tn
[T] time step between the n-th and the (n+1)-th time instants
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
10
Vi(ηn+1
i ) − ∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
= Vi(ηn
i ) + ∆ tn
Qn+1
i pi
Discretized Boussinesq Equation (implicit)
source term (in-coming water volume during the time-step) (known)
Symbol Dimension Definition
l(j) index of the cell on the left-hand side of the j-th line segment
m(i,j) index of the cell that shares the j-th line segment with the i-th cell
pi [L2
] topographic area of the i-th cell
r(j) index of the cell on the right-hand side of the j-th line segment
Ai(ηr(j),l(j)) [L2
] Vertical area over the j-th line
Qn
i [L T -1
] source term (water-table discharge) at the i-th cell in the n-th time instant
Si * set of the edges of the i-th cell
Vi(ηi) [L3
] water volume stored in the i-th cell defined as a function of water surface elevation ηi
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface elevation η
δiq [L] euclidean distance between the centroids of the i-th and q-th cells
ηi [L] water surface elevation at the i-th cell
ηi,d [L] averaged water surface elevation between the i-th and d-th cells
ηn
i [L] water surface elevation at the i-th cell in the n-th time instant
∆tn
[T] time step between the n-th and the (n+1)-th time instants
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
11
Vi(ηn+1
i ) − ∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
= Vi(ηn
i ) + ∆ tn
Qn+1
i pi
Discretized Boussinesq Equation (implicit)
Water volume budget for each cell of the domain (algebaraic equation system)
Symbol Dimension Definition
l(j) index of the cell on the left-hand side of the j-th line segment
m(i,j) index of the cell that shares the j-th line segment with the i-th cell
pi [L2
] topographic area of the i-th cell
r(j) index of the cell on the right-hand side of the j-th line segment
Ai(ηr(j),l(j)) [L2
] Vertical area over the j-th line
Qn
i [L T -1
] source term (water-table discharge) at the i-th cell in the n-th time instant
Si * set of the edges of the i-th cell
Vi(ηi) [L3
] water volume stored in the i-th cell defined as a function of water surface elevation ηi
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface elevation η
δiq [L] euclidean distance between the centroids of the i-th and q-th cells
ηi [L] water surface elevation at the i-th cell
ηi,d [L] averaged water surface elevation between the i-th and d-th cells
ηn
i [L] water surface elevation at the i-th cell in the n-th time instant
∆tn
[T] time step between the n-th and the (n+1)-th time instants
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
12
V(ηn+1
) + T · ηn+1
= b3
b3i = Vi(ηn
i ) + ∆ tn
Qn+1
i pi

T · ηn+1

i
= −∆tn

j∈Si
KS Aj(ηn
i,m(i,j))
ηn+1
m(i,j) − ηn+1
i
δi,m(i,j)
Symbol Dimension Definition
b3 [L3
] vector of known terms
T [L2
] symmetric matrix introduced in the equation systems derived by Darcy’s law
V(η) [L3
] vectors of water volume stored each cell defined as a function of vector of water surface e
Nonlinear Algebraic Equation System
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
13
m+1
ηn+1
=m
ηn+1
−

Ws(m
ηn+1
) + T
−1 
V(m
ηn+1
) + T ·m
ηn+1
− b3

Wsi(ψi) =
dVi(ηi)
dηi
Nonlinear Algebraic Equation System (2)
•Resolution with a Newton-like iterative scheme (Casulli,2008):
Symmetric and Positive-Defined Matrix which is solved with
the Conjugate Gradient Method
where
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
14
Algorithm of the Conjugate Gradient Method from “ A
Introduction to the Conjugate Gradient Method Without the
Agonizing Pain” by Jonathan Richard Shewchuk, 1994
(http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
15
Boussinesq Equation for subsurface flow:
Results of two simulations of water drainege in a
mountain catchment
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
16
A “drying” study case: Matsch Valley,
(bottom elevation [m] at 20 m resolution
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
17
Initial Conditions and Parameters
(*) water table 1 m over the averaged elevation of the cell of the coarse
grid (in this case averaged on the 60 m resolution)
No rainfall, impermeable boundary condition
Index kS [m/s] Porosity Basin Code Cell Res. [m] ∆t [s] Initial Conditions
1 10−1
0.4 Matsch v2.1.4 60 104
1 m of w.th.(*)
2 10−1
0.4 Matsch v3.1 60 104
1 m of w.th.(*)
Code according to Brugnano  Casulli, 2008 (v2.1.4) , general case (v3.1)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
18
Water Table Thickness (case 1)
[cm]
time 10^4 s time 10^5 s time 10^6 s time 5 10^6 s
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
19
Water Table Thickness (case 2)
[cm]
time 10^4 s time 10^5 s time 10^6 s time 5 10^6 s
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
20
Resume
Index Stored Water Volume [m3
] Global Relative Error
1 3.94 · 107
10−7
2 3.94 · 107
10−7
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
21
Analysis of the number of iterations: CG and NP vs time
0e+00 1e+06 2e+06 3e+06 4e+06
050010001500200025003000
Max CG Iterations in a time step
time
0e+00 1e+06 2e+06 3e+06 4e+06
0246810
Newton/Picard Iteration in a time step
time
Newton-PicardIterationinatimestep
v2.1.4 (blue) , v3.1 (red)
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
22
0 500 1000 1500 2000 2500 3000
05001000150020002500
Max Iteration of Conjugate Gradient Method (v3.1 vs v2.1.4)
Max CG Iterations in v2.4.1
MaxCGIterationsinv3.1
Analysis of the number of CG iterations: v2.1.4 vs v3.1
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
23
Work in Progress: simulation with v3.1
Index kS [m/s] Porosity Basin FG Res.[m] CG Res. [m] Initial Conditions
3 10−1
0.4 Matsch 20 60 1 m of w.th. over CG (averaged)
Water thickness [cm] at 10^6 s
Too many CG iterations: more
than 2000 per each time step
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
24
Preconditioner from “ An Introduction to the Conjugate Gradient
Method Without the Agonizing Pain” by Jonathan Richard
Shewchuk, 1994
(http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf)
conditioning number
number of CG iteration
tollerance
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
25
Preconditioner (algorithm): http://www.cs.cmu.edu/~quake-
papers/painless-conjugate-gradient.pdf
Friday, June 7, 2013
Double-grid 2D solver for Boussinesq Equation
Emanuele Cordano
26
Major details about the numerical theory with newer applications are now
discussed by Cordano and Rigon, 2013
Other Numerical references:
Casulli, V. (2009), A high-resolution wetting and drying algorithm for freesurface
hydrodynamics, Int. J. Numer. Methods Fluids, 60(4), 391–408,
doi:10.1002/fld.1896.
Brugnano, L., and V. Casulli (2008), Iterative solution of piecewise linear
systems, J. Sci. Comput., 30(1), 463–472.
Friday, June 7, 2013

More Related Content

Viewers also liked

UPM toxicity of TMOF
UPM toxicity of TMOFUPM toxicity of TMOF
UPM toxicity of TMOFentogenex
 
Slide cast presentation
Slide cast presentationSlide cast presentation
Slide cast presentationVAJJ
 
Travelogue: On the trail of Adi Shankara Bhagavatpada
Travelogue: On the trail of Adi Shankara BhagavatpadaTravelogue: On the trail of Adi Shankara Bhagavatpada
Travelogue: On the trail of Adi Shankara BhagavatpadaNimal Namboodiripad
 
Your first day at westside high school
Your first day at westside high schoolYour first day at westside high school
Your first day at westside high schoolbportisp7
 
RED C End of year review 2013 & trends 2014
RED C End of year review 2013 & trends 2014RED C End of year review 2013 & trends 2014
RED C End of year review 2013 & trends 2014Richard Colwell
 
June 8 2012 1ID Weekly News Update
June 8 2012 1ID Weekly News UpdateJune 8 2012 1ID Weekly News Update
June 8 2012 1ID Weekly News UpdateNoel Waterman
 
Hanchate Property Solutions - NRIs
Hanchate Property Solutions - NRIsHanchate Property Solutions - NRIs
Hanchate Property Solutions - NRIsVinayak Hanchate
 

Viewers also liked (15)

UPM toxicity of TMOF
UPM toxicity of TMOFUPM toxicity of TMOF
UPM toxicity of TMOF
 
SEO in 2014
SEO in 2014SEO in 2014
SEO in 2014
 
Top Trends in Colorado Libraries 2011
Top Trends in Colorado Libraries 2011Top Trends in Colorado Libraries 2011
Top Trends in Colorado Libraries 2011
 
ASER 2010
ASER 2010ASER 2010
ASER 2010
 
Slide cast presentation
Slide cast presentationSlide cast presentation
Slide cast presentation
 
Cell
CellCell
Cell
 
notetaking_slides(goerzen 2011)
notetaking_slides(goerzen 2011)notetaking_slides(goerzen 2011)
notetaking_slides(goerzen 2011)
 
Travelogue: On the trail of Adi Shankara Bhagavatpada
Travelogue: On the trail of Adi Shankara BhagavatpadaTravelogue: On the trail of Adi Shankara Bhagavatpada
Travelogue: On the trail of Adi Shankara Bhagavatpada
 
Please
PleasePlease
Please
 
Your first day at westside high school
Your first day at westside high schoolYour first day at westside high school
Your first day at westside high school
 
Learning inandfor21stcentury kalmon
Learning inandfor21stcentury kalmonLearning inandfor21stcentury kalmon
Learning inandfor21stcentury kalmon
 
RED C End of year review 2013 & trends 2014
RED C End of year review 2013 & trends 2014RED C End of year review 2013 & trends 2014
RED C End of year review 2013 & trends 2014
 
Vuzportal2
Vuzportal2Vuzportal2
Vuzportal2
 
June 8 2012 1ID Weekly News Update
June 8 2012 1ID Weekly News UpdateJune 8 2012 1ID Weekly News Update
June 8 2012 1ID Weekly News Update
 
Hanchate Property Solutions - NRIs
Hanchate Property Solutions - NRIsHanchate Property Solutions - NRIs
Hanchate Property Solutions - NRIs
 

Similar to Double-grid 2D solver for Boussinesq Equation (BEq) ... Draft

Basics of Contaminant Transport in Aquifers (Lecture)
Basics of Contaminant Transport in Aquifers (Lecture)Basics of Contaminant Transport in Aquifers (Lecture)
Basics of Contaminant Transport in Aquifers (Lecture)Amro Elfeki
 
Geohydrology ii (2)
Geohydrology ii (2)Geohydrology ii (2)
Geohydrology ii (2)Amro Elfeki
 
New Mathematical Tools for the Financial Sector
New Mathematical Tools for the Financial SectorNew Mathematical Tools for the Financial Sector
New Mathematical Tools for the Financial SectorSSA KPI
 
Large variance and fat tail of damage by natural disaster
Large variance and fat tail of damage by natural disasterLarge variance and fat tail of damage by natural disaster
Large variance and fat tail of damage by natural disasterHang-Hyun Jo
 
FR2-T04-5_A_synergy_between_smos_and_aquarius.ppt
FR2-T04-5_A_synergy_between_smos_and_aquarius.pptFR2-T04-5_A_synergy_between_smos_and_aquarius.ppt
FR2-T04-5_A_synergy_between_smos_and_aquarius.pptgrssieee
 
A travel time model for estimating the water budget of complex catchments
A travel time model for estimating the water budget of complex catchmentsA travel time model for estimating the water budget of complex catchments
A travel time model for estimating the water budget of complex catchmentsRiccardo Rigon
 
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGEImplementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGERiccardo Rigon
 
The Phase Transition
The Phase TransitionThe Phase Transition
The Phase TransitionYandex
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD Editor
 
Gradually Varied Flow in Open Channel
Gradually Varied Flow in Open ChannelGradually Varied Flow in Open Channel
Gradually Varied Flow in Open ChannelAmro Elfeki
 
Fundamentals of Momentum, Heat and Mass Transfer | 6th Edition UnsteadyModel...
Fundamentals of Momentum, Heat and Mass Transfer | 6th  Edition UnsteadyModel...Fundamentals of Momentum, Heat and Mass Transfer | 6th  Edition UnsteadyModel...
Fundamentals of Momentum, Heat and Mass Transfer | 6th Edition UnsteadyModel...BalqeesMustafa
 
Stochastic hydroelastic analysis_of_pontoon-type_very_large_flo
Stochastic hydroelastic analysis_of_pontoon-type_very_large_floStochastic hydroelastic analysis_of_pontoon-type_very_large_flo
Stochastic hydroelastic analysis_of_pontoon-type_very_large_flomehdiman2008
 
Research on the concrete dam damage and failure rule under the action of flui...
Research on the concrete dam damage and failure rule under the action of flui...Research on the concrete dam damage and failure rule under the action of flui...
Research on the concrete dam damage and failure rule under the action of flui...Alexander Decker
 

Similar to Double-grid 2D solver for Boussinesq Equation (BEq) ... Draft (20)

3. UJRRA_22_04.pdf
3. UJRRA_22_04.pdf3. UJRRA_22_04.pdf
3. UJRRA_22_04.pdf
 
Basics of Contaminant Transport in Aquifers (Lecture)
Basics of Contaminant Transport in Aquifers (Lecture)Basics of Contaminant Transport in Aquifers (Lecture)
Basics of Contaminant Transport in Aquifers (Lecture)
 
Geohydrology ii (2)
Geohydrology ii (2)Geohydrology ii (2)
Geohydrology ii (2)
 
New Mathematical Tools for the Financial Sector
New Mathematical Tools for the Financial SectorNew Mathematical Tools for the Financial Sector
New Mathematical Tools for the Financial Sector
 
Large variance and fat tail of damage by natural disaster
Large variance and fat tail of damage by natural disasterLarge variance and fat tail of damage by natural disaster
Large variance and fat tail of damage by natural disaster
 
I027055062
I027055062I027055062
I027055062
 
FR2-T04-5_A_synergy_between_smos_and_aquarius.ppt
FR2-T04-5_A_synergy_between_smos_and_aquarius.pptFR2-T04-5_A_synergy_between_smos_and_aquarius.ppt
FR2-T04-5_A_synergy_between_smos_and_aquarius.ppt
 
A travel time model for estimating the water budget of complex catchments
A travel time model for estimating the water budget of complex catchmentsA travel time model for estimating the water budget of complex catchments
A travel time model for estimating the water budget of complex catchments
 
Vectors and Kinematics
Vectors and KinematicsVectors and Kinematics
Vectors and Kinematics
 
thesis_talk_aug3
thesis_talk_aug3thesis_talk_aug3
thesis_talk_aug3
 
Chap 02
Chap 02Chap 02
Chap 02
 
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGEImplementing a travel time model for the Adige River: the case of Jgrass-NewAGE
Implementing a travel time model for the Adige River: the case of Jgrass-NewAGE
 
3D Geometry Theory 7
3D Geometry Theory 73D Geometry Theory 7
3D Geometry Theory 7
 
The Phase Transition
The Phase TransitionThe Phase Transition
The Phase Transition
 
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
 
Gradually Varied Flow in Open Channel
Gradually Varied Flow in Open ChannelGradually Varied Flow in Open Channel
Gradually Varied Flow in Open Channel
 
Fundamentals of Momentum, Heat and Mass Transfer | 6th Edition UnsteadyModel...
Fundamentals of Momentum, Heat and Mass Transfer | 6th  Edition UnsteadyModel...Fundamentals of Momentum, Heat and Mass Transfer | 6th  Edition UnsteadyModel...
Fundamentals of Momentum, Heat and Mass Transfer | 6th Edition UnsteadyModel...
 
Stochastic hydroelastic analysis_of_pontoon-type_very_large_flo
Stochastic hydroelastic analysis_of_pontoon-type_very_large_floStochastic hydroelastic analysis_of_pontoon-type_very_large_flo
Stochastic hydroelastic analysis_of_pontoon-type_very_large_flo
 
OPEN CHANNEL FOLW BY AKASH V. MODI
OPEN CHANNEL FOLW BY AKASH V. MODIOPEN CHANNEL FOLW BY AKASH V. MODI
OPEN CHANNEL FOLW BY AKASH V. MODI
 
Research on the concrete dam damage and failure rule under the action of flui...
Research on the concrete dam damage and failure rule under the action of flui...Research on the concrete dam damage and failure rule under the action of flui...
Research on the concrete dam damage and failure rule under the action of flui...
 

More from Emanuele Cordano

IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...
IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...
IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...Emanuele Cordano
 
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...Emanuele Cordano
 
RMAWGEN: a software project for Daily Multi-Site Weather Generator
RMAWGEN: a software project for Daily Multi-Site Weather GeneratorRMAWGEN: a software project for Daily Multi-Site Weather Generator
RMAWGEN: a software project for Daily Multi-Site Weather GeneratorEmanuele Cordano
 
Use of a Weather Generator for analysis of projections of future daily temper...
Use of a Weather Generator for analysis of projections of future daily temper...Use of a Weather Generator for analysis of projections of future daily temper...
Use of a Weather Generator for analysis of projections of future daily temper...Emanuele Cordano
 

More from Emanuele Cordano (7)

IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...
IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...
IL CLIMA, IL CICLO DELLACQUA, UN MODELLO IDROLOGICO: L’INIZIO DI UNA APPLICAZ...
 
A seminar about RMAWGEN
A seminar about RMAWGENA seminar about RMAWGEN
A seminar about RMAWGEN
 
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...
RMAWGEN: A software project for a daily Multi-Site Weather Generator with R E...
 
RMAWGEN: a software project for Daily Multi-Site Weather Generator
RMAWGEN: a software project for Daily Multi-Site Weather GeneratorRMAWGEN: a software project for Daily Multi-Site Weather Generator
RMAWGEN: a software project for Daily Multi-Site Weather Generator
 
Egu 2012 cordano_eccel
Egu 2012 cordano_eccelEgu 2012 cordano_eccel
Egu 2012 cordano_eccel
 
Egu 2012 cordano_eccel
Egu 2012 cordano_eccelEgu 2012 cordano_eccel
Egu 2012 cordano_eccel
 
Use of a Weather Generator for analysis of projections of future daily temper...
Use of a Weather Generator for analysis of projections of future daily temper...Use of a Weather Generator for analysis of projections of future daily temper...
Use of a Weather Generator for analysis of projections of future daily temper...
 

Recently uploaded

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 

Recently uploaded (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Double-grid 2D solver for Boussinesq Equation (BEq) ... Draft

  • 1. Emanuele Cordano Double-grid 2D solver for Bossinesq Equation Friday, June 7, 2013
  • 2. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 2 Boussinesq Equation for subsurface flow (theory) s ∂η ∂t = ∇ · [KS H(η, x, y) ∇η] + Q 2D Boussinesq Equation: water mass balance in a point + Darcy’s law Symbol Dimension Definition s, s(x,y) porosity t [T] time x,y [L] space (planimetric) coordinate H,H(x, y, η) [L] water-table thickness KS [L T -1 ] saturated hydraulic conductivity Q [L T -1 ] source term (water-table discharge) η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t) Friday, June 7, 2013
  • 3. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 3 Boussinesq Equation for subsurface flow (theory) s ∂η ∂t = ∇ · [KS H(η, x, y) ∇η] + Q accumulation term: time derivative of water content Symbol Dimension Definition s, s(x,y) porosity t [T] time x,y [L] space (planimetric) coordinate H,H(x, y, η) [L] water-table thickness KS [L T -1 ] saturated hydraulic conductivity Q [L T -1 ] source term (water-table discharge) η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t) Friday, June 7, 2013
  • 4. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 4 Boussinesq Equation for subsurface flow (theory) sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q s ∂η ∂t = ∇ · [KS H(η, x, y) ∇η] + Q (-) divergence of water flux (vector) described by Darcy’law Symbol Dimension Definition s, s(x,y) porosity t [T] time x,y [L] space (planimetric) coordinate H,H(x, y, η) [L] water-table thickness KS [L T -1 ] saturated hydraulic conductivity Q [L T -1 ] source term (water-table discharge) η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t) Friday, June 7, 2013
  • 5. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 5 Boussinesq Equation for subsurface flow (theory) sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q s ∂η ∂t = ∇ · [KS H(η, x, y) ∇η] + Q source term (water-table dicharge due to rainfall or sinks, etc. Symbol Dimension Definition s, s(x,y) porosity t [T] time x,y [L] space (planimetric) coordinate H,H(x, y, η) [L] water-table thickness KS [L T -1 ] saturated hydraulic conductivity Q [L T -1 ] source term (water-table discharge) η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t) Friday, June 7, 2013
  • 6. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 6 Boussinesq Equation for subsurface flow (theory) sfrac {partial eta} {partial t} = nabla cdot left[ K_S , H (eta,x,y) , nabla eta right]+Q s ∂η ∂t = ∇ · [KS H(η, x, y) ∇η] + Q 2D Boussinesq Equation: water mass balance in a point + Darcy’s law Symbol Dimension Definition s, s(x,y) porosity t [T] time x,y [L] space (planimetric) coordinate H,H(x, y, η) [L] water-table thickness KS [L T -1 ] saturated hydraulic conductivity Q [L T -1 ] source term (water-table discharge) η, η(x, y, t) [L] water surface elevation in a generic point (x, y, t) Friday, June 7, 2013
  • 7. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 7 Vi(ηn+1 i ) − ∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) = Vi(ηn i ) + ∆ tn Qn+1 i pi Discretized Boussinesq Equation (implicit) water volume at the next time step (unknown) Symbol Dimension Definition l(j) index of the cell on the left-hand side of the j-th line segment m(i,j) index of the cell that shares the j-th line segment with the i-th cell pi [L2 ] topographic area of the i-th cell r(j) index of the cell on the right-hand side of the j-th line segment Ai(ηr(j),l(j)) [L2 ] Vertical area over the j-th line Qn i [L T -1 ] source term (water-table discharge) at the i-th cell in the n-th time instant Si * set of the edges of the i-th cell Vi(ηi) [L3 ] water volume stored in the i-th cell defined as a function of water surface elevation ηi V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface elevation η δiq [L] euclidean distance between the centroids of the i-th and q-th cells ηi [L] water surface elevation at the i-th cell ηi,d [L] averaged water surface elevation between the i-th and d-th cells ηn i [L] water surface elevation at the i-th cell in the n-th time instant ∆tn [T] time step between the n-th and the (n+1)-th time instants Friday, June 7, 2013
  • 8. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 8 Vi(ηn+1 i ) − ∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) = Vi(ηn i ) + ∆ tn Qn+1 i pi Discretized Boussinesq Equation (implicit) net out-going fluxes (unknown) derived by discretized Darcy’s Law Symbol Dimension Definition l(j) index of the cell on the left-hand side of the j-th line segment m(i,j) index of the cell that shares the j-th line segment with the i-th cell pi [L2 ] topographic area of the i-th cell r(j) index of the cell on the right-hand side of the j-th line segment Ai(ηr(j),l(j)) [L2 ] Vertical area over the j-th line Qn i [L T -1 ] source term (water-table discharge) at the i-th cell in the n-th time instant Si * set of the edges of the i-th cell Vi(ηi) [L3 ] water volume stored in the i-th cell defined as a function of water surface elevation ηi V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface elevation η δiq [L] euclidean distance between the centroids of the i-th and q-th cells ηi [L] water surface elevation at the i-th cell ηi,d [L] averaged water surface elevation between the i-th and d-th cells ηn i [L] water surface elevation at the i-th cell in the n-th time instant ∆tn [T] time step between the n-th and the (n+1)-th time instants Friday, June 7, 2013
  • 9. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 9 Vi(ηn+1 i ) − ∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) = Vi(ηn i ) + ∆ tn Qn+1 i pi Discretized Boussinesq Equation (implicit) water volume at the previous time step (known) Symbol Dimension Definition l(j) index of the cell on the left-hand side of the j-th line segment m(i,j) index of the cell that shares the j-th line segment with the i-th cell pi [L2 ] topographic area of the i-th cell r(j) index of the cell on the right-hand side of the j-th line segment Ai(ηr(j),l(j)) [L2 ] Vertical area over the j-th line Qn i [L T -1 ] source term (water-table discharge) at the i-th cell in the n-th time instant Si * set of the edges of the i-th cell Vi(ηi) [L3 ] water volume stored in the i-th cell defined as a function of water surface elevation ηi V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface elevation η δiq [L] euclidean distance between the centroids of the i-th and q-th cells ηi [L] water surface elevation at the i-th cell ηi,d [L] averaged water surface elevation between the i-th and d-th cells ηn i [L] water surface elevation at the i-th cell in the n-th time instant ∆tn [T] time step between the n-th and the (n+1)-th time instants Friday, June 7, 2013
  • 10. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 10 Vi(ηn+1 i ) − ∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) = Vi(ηn i ) + ∆ tn Qn+1 i pi Discretized Boussinesq Equation (implicit) source term (in-coming water volume during the time-step) (known) Symbol Dimension Definition l(j) index of the cell on the left-hand side of the j-th line segment m(i,j) index of the cell that shares the j-th line segment with the i-th cell pi [L2 ] topographic area of the i-th cell r(j) index of the cell on the right-hand side of the j-th line segment Ai(ηr(j),l(j)) [L2 ] Vertical area over the j-th line Qn i [L T -1 ] source term (water-table discharge) at the i-th cell in the n-th time instant Si * set of the edges of the i-th cell Vi(ηi) [L3 ] water volume stored in the i-th cell defined as a function of water surface elevation ηi V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface elevation η δiq [L] euclidean distance between the centroids of the i-th and q-th cells ηi [L] water surface elevation at the i-th cell ηi,d [L] averaged water surface elevation between the i-th and d-th cells ηn i [L] water surface elevation at the i-th cell in the n-th time instant ∆tn [T] time step between the n-th and the (n+1)-th time instants Friday, June 7, 2013
  • 11. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 11 Vi(ηn+1 i ) − ∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) = Vi(ηn i ) + ∆ tn Qn+1 i pi Discretized Boussinesq Equation (implicit) Water volume budget for each cell of the domain (algebaraic equation system) Symbol Dimension Definition l(j) index of the cell on the left-hand side of the j-th line segment m(i,j) index of the cell that shares the j-th line segment with the i-th cell pi [L2 ] topographic area of the i-th cell r(j) index of the cell on the right-hand side of the j-th line segment Ai(ηr(j),l(j)) [L2 ] Vertical area over the j-th line Qn i [L T -1 ] source term (water-table discharge) at the i-th cell in the n-th time instant Si * set of the edges of the i-th cell Vi(ηi) [L3 ] water volume stored in the i-th cell defined as a function of water surface elevation ηi V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface elevation η δiq [L] euclidean distance between the centroids of the i-th and q-th cells ηi [L] water surface elevation at the i-th cell ηi,d [L] averaged water surface elevation between the i-th and d-th cells ηn i [L] water surface elevation at the i-th cell in the n-th time instant ∆tn [T] time step between the n-th and the (n+1)-th time instants Friday, June 7, 2013
  • 12. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 12 V(ηn+1 ) + T · ηn+1 = b3 b3i = Vi(ηn i ) + ∆ tn Qn+1 i pi T · ηn+1 i = −∆tn j∈Si KS Aj(ηn i,m(i,j)) ηn+1 m(i,j) − ηn+1 i δi,m(i,j) Symbol Dimension Definition b3 [L3 ] vector of known terms T [L2 ] symmetric matrix introduced in the equation systems derived by Darcy’s law V(η) [L3 ] vectors of water volume stored each cell defined as a function of vector of water surface e Nonlinear Algebraic Equation System Friday, June 7, 2013
  • 13. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 13 m+1 ηn+1 =m ηn+1 − Ws(m ηn+1 ) + T −1 V(m ηn+1 ) + T ·m ηn+1 − b3 Wsi(ψi) = dVi(ηi) dηi Nonlinear Algebraic Equation System (2) •Resolution with a Newton-like iterative scheme (Casulli,2008): Symmetric and Positive-Defined Matrix which is solved with the Conjugate Gradient Method where Friday, June 7, 2013
  • 14. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 14 Algorithm of the Conjugate Gradient Method from “ A Introduction to the Conjugate Gradient Method Without the Agonizing Pain” by Jonathan Richard Shewchuk, 1994 (http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf) Friday, June 7, 2013
  • 15. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 15 Boussinesq Equation for subsurface flow: Results of two simulations of water drainege in a mountain catchment Friday, June 7, 2013
  • 16. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 16 A “drying” study case: Matsch Valley, (bottom elevation [m] at 20 m resolution Friday, June 7, 2013
  • 17. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 17 Initial Conditions and Parameters (*) water table 1 m over the averaged elevation of the cell of the coarse grid (in this case averaged on the 60 m resolution) No rainfall, impermeable boundary condition Index kS [m/s] Porosity Basin Code Cell Res. [m] ∆t [s] Initial Conditions 1 10−1 0.4 Matsch v2.1.4 60 104 1 m of w.th.(*) 2 10−1 0.4 Matsch v3.1 60 104 1 m of w.th.(*) Code according to Brugnano Casulli, 2008 (v2.1.4) , general case (v3.1) Friday, June 7, 2013
  • 18. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 18 Water Table Thickness (case 1) [cm] time 10^4 s time 10^5 s time 10^6 s time 5 10^6 s Friday, June 7, 2013
  • 19. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 19 Water Table Thickness (case 2) [cm] time 10^4 s time 10^5 s time 10^6 s time 5 10^6 s Friday, June 7, 2013
  • 20. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 20 Resume Index Stored Water Volume [m3 ] Global Relative Error 1 3.94 · 107 10−7 2 3.94 · 107 10−7 Friday, June 7, 2013
  • 21. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 21 Analysis of the number of iterations: CG and NP vs time 0e+00 1e+06 2e+06 3e+06 4e+06 050010001500200025003000 Max CG Iterations in a time step time 0e+00 1e+06 2e+06 3e+06 4e+06 0246810 Newton/Picard Iteration in a time step time Newton-PicardIterationinatimestep v2.1.4 (blue) , v3.1 (red) Friday, June 7, 2013
  • 22. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 22 0 500 1000 1500 2000 2500 3000 05001000150020002500 Max Iteration of Conjugate Gradient Method (v3.1 vs v2.1.4) Max CG Iterations in v2.4.1 MaxCGIterationsinv3.1 Analysis of the number of CG iterations: v2.1.4 vs v3.1 Friday, June 7, 2013
  • 23. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 23 Work in Progress: simulation with v3.1 Index kS [m/s] Porosity Basin FG Res.[m] CG Res. [m] Initial Conditions 3 10−1 0.4 Matsch 20 60 1 m of w.th. over CG (averaged) Water thickness [cm] at 10^6 s Too many CG iterations: more than 2000 per each time step Friday, June 7, 2013
  • 24. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 24 Preconditioner from “ An Introduction to the Conjugate Gradient Method Without the Agonizing Pain” by Jonathan Richard Shewchuk, 1994 (http://www.cs.cmu.edu/~quake-papers/painless-conjugate-gradient.pdf) conditioning number number of CG iteration tollerance Friday, June 7, 2013
  • 25. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 25 Preconditioner (algorithm): http://www.cs.cmu.edu/~quake- papers/painless-conjugate-gradient.pdf Friday, June 7, 2013
  • 26. Double-grid 2D solver for Boussinesq Equation Emanuele Cordano 26 Major details about the numerical theory with newer applications are now discussed by Cordano and Rigon, 2013 Other Numerical references: Casulli, V. (2009), A high-resolution wetting and drying algorithm for freesurface hydrodynamics, Int. J. Numer. Methods Fluids, 60(4), 391–408, doi:10.1002/fld.1896. Brugnano, L., and V. Casulli (2008), Iterative solution of piecewise linear systems, J. Sci. Comput., 30(1), 463–472. Friday, June 7, 2013