• No results found

MAT254 Flow in Porous Media

N/A
N/A
Protected

Academic year: 2022

Share "MAT254 Flow in Porous Media"

Copied!
48
0
0

Laster.... (Se fulltekst nå)

Fulltekst

(1)

MAT254

Flow in Porous Media

Florin A. Radu

Department of Mathematics, University of Bergen, P. O. Box 7800, N-5020 Bergen, Norway

mailto:[email protected]

(2)

Applications

• Water and soil pollution.

• Concrete carbonation.

• Collagen implants.

• CO2 capture and sequestration.

• Enhanced oil recovery.

• . . .

(3)

Motivation

(4)

Motivation

Concentration [mg/l] profiles after T = 5 [years]

Xylene Oxygen Biomass

(5)

Motivation

Physical Problem

System of ODE's and/or PDE's

Sequence of Nonlinear Systems

Sequence of Linear Systems

Visualization, Prognose

Mathematical Modeling

Domain Definition, BC, Upscaling

Discretization (time and space)

Linearization Scheme

Linear Solvers

A(x) = b

Jx = b

(6)

Motivation

What can go wrong?

• Mathematical Model

•• Wrong model

•• Wrong parameters (Upscalling)

(7)

Motivation

What can go wrong?

• Numerics

•• Wrong discretization: method, elements (higher order?)

•• Are the time step and the mesh size small enough? Too small?

•• The programm is too slowly? Wrong (linear or nonlinear) solvers?

•• No convergence? Why? What to do?

(8)

AIM of MAT 254

To give an overview on mathematical models and

numerical methods for flow and transport in porous media.

(9)

Content

• From modelling to prognose: one example:

•• Contaminant transport in porous media.

• Criteria to choose a simulation software.

• Lecture outgoing.

(10)

Solute transport in porous media

(11)

Solute transport in porous media

Film: A civil action, with John Travolta, 1988.

(12)

To describe

• Water flow, including the unsaturated zone near the subsurface.

• Advective and dispersive transport of multiple contaminants.

• Non-equilibrium and equilibrium sorption.

• Biodegradation.

(13)

(Un-)saturated Groundwater Flow

An appropiate model for the water flow in porous media is Richards’ equation (here in the pressure formulation):

tΘ(ψ) − ∇ · K(ψ)∇(ψ + z) = 0 in J × Ω

Water content: θ(ψ) [0,1]

Pressure head: ψ

Unsaturated hydraulic conductivity: K(ψ) Height against the gravitational direction: z Time interval: J = (0,T)

Domain: in Rd (d = 1,2 or 3)

(14)

(Un-)saturated Groundwater Flow

The equation results from

• mass conservation

tΘ(ψ) + ∇ · q = 0

• Darcy’s law

q = −K(ψ)∇(ψ + z)

(15)

(Un-)saturated Groundwater Flow

• the soil-water retention Θ(ψ),

• the unsaturated hydraulic conductivity K(Θ),

Gardner Θexp(ψ) = Θr + (Θs Θr)eαψ Kexp(ψ) = Kseαψ

Haverkamp ΘHav(ψ) = Θr + 1+(αψ)s−Θrn)

KHav(ψ) = 1+(βψ)Ks p

van Genuchten- ΘvG(ψ) = Θr + (Θs Θr)Φ(ψ) Mualem Φ(ψ) = (1+(αψ)1 n)m , m = 1 n1

KvG(ψ) = Ksp

Φ(ψ)(1 (1 Φ(ψ)m1 )m)2

(16)

(Un-)saturated Groundwater Flow

Discretization

• Space: mixed hybrid finite element method.

Lowest order finite elements of Raviart-Thomas type for flux approximation.

Piecewise constant elements on triangles for pressure.

Piecewise constant elements on edges for Lagrange multipliers.

• Time: backward Euler.

• Newton method for the nonlinear systems

• Multigrid for the linear systems

(17)

Solute transport

General model with multicomponent organic transport and biodegradation

N mobile species, M immobile species

t(Θci) + ρbtsi − ∇ · (Di∇ci qci) = −Ri ,

tsi = ki(φ(ci) si) or si = φ(ci), i 1, ..., N

tci + kdici =

1 γi ci cimax

Ri, i N + 1, ..., N + M.

ci concentration of the species, si concentration of the absorbed species , Di diffusion coefficient, ρb bulk density, Ri degradation rate, φ sorption isotherm, kdi death rate, cimax a maximal realistic concentration, γi ∈ {0,1}.

(18)

Solute transport

Boundary Conditions

ci = gDi on J × ΓDi,

−Di∇ci · n = gN i on J × ΓN i,

−Di∇ci · n + ciq · n

| {z }

qi·n

= gF i on J × ΓF i,

Remark. ΓDi,ΓN i,ΓF i are species depending.

(19)

Solute transport

Discretization

Space: mixed hybrid finite element method.

Lowest order finite elements of Raviart-Thomas type for the flux approximations.

Piecewise constant elements on triangles for the concentrations.

Piecewise constant elements on edges for the Lagrange multipliers.

Time: backward Euler.

Newton method for the nonlinear systems

Multigrid for the linear systems

(20)

Schematic of the solution algorithm at time t = tn

The Richards’

equation

Newton solver

Θnh, qnh

?

The equations for the species:

transport, sorption, biodegradation

fully coupled Newton solver

(21)

Multicomponent organic transport and biodegradation

Implementation

The algorithm is implemented in the software package:

UG, version 3.8

P. Bastian et al., UG-a flexible toolbox for solving partial differential equation, Comput. Visualization in Science 1, pp. 27-40, 1997.

(22)

Benzene Biodegradation

???

...

1

2 Γ1

(0,0) (2,0)

(0,3) (2,3)

•Water Flow : F3 days rain, 4 days dry

Fvan Genuchten-Mualem Model

•Biodegradation : F2 mobile species, 1 biomass

Fno sorption

FMonod Model

(23)

Benzene concentration at T = 30, 60, 90, 120, 150, 160 days

(24)

Oxygen concentration at T = 30, 60, 90, 120, 150, 160 days

(25)

Biomass concentration at T = 30, 60, 90, 120, 150, 160 days

(26)

Real case study: Xylene Degradation

•Water Flow : F stationary flow

F variable permeability

•Biodegradation : F 2 mobile species, 1 biomass

F without sorption

F Monod Model

(27)

Xylene degradation: variable permeability

Domain Pressure Profile Flux

(28)

Concentration [mg/l] profiles at T = 1 [year]

(without additional delivery of contaminant)

Xylene Oxygen Biomass

(29)

Concentration [mg/l] profiles at T = 3 [years]

(without additional delivery of contaminant)

Xylene Oxygen Biomass

(30)

Concentration [mg/l] profiles at T = 5 [years]

(without additional delivery of contaminant)

Xylene Oxygen Biomass

(31)

Are the results always correct?

• Wrong model (parameters)?

• Enough accuracy?

• Wrong discretization?

(32)

Wrong parameters?

A first example

∂tc + v · ∇c = D∆c in Ωp, D∇c · n = R(c) on Γs, c = c0 on Γif,

∇c · n = 0 on Γof .

where

R(c) = − kmax c Km + c

(33)

Wrong parameters?

Wrong parameters?

• Simulation of contaminant transport using local and upscaled parameters in a reaction limited regime (D >> R).

(34)

Wrong parameters?

Wrong parameters?

• Simulation of contaminant transport using local and upscaled parameters in a diffusion limited regime (D << R).

(35)

Example 2: not accurate enough?

Accuracy

• Example from M. Bause and P. Knabner, Numerical simulation of contaminant biodegradation by higher order methods and

(36)

Example 2: not accurate enough?

• Simulation performed with linear elements on an uniform grid (left) and quadratic elements on a pre-refined grid (right).

• Example from M. Bause and P. Knabner, Numerical simulation of contaminant biodegradation by higher order methods and

adaptive time stepping, Comput. Visualiz. Sci. 7 (2004).

(37)

Example 3: Wrong Discretization?

Wrong Discretization?

Richy 1D (left) versus Feflow (right): pressure

(38)

Example 3: Wrong Discretization?

Wrong Discretization?

Richy 1D (left) versus Feflow (right): water flux

(39)

Summary

Numerical Simulation

• Mathematical Model

• Discretization (Time and Space)

• Solver for nonlinear systems

• Solver for linear systems

• Visualization tool

• Adaptivity

• Parallelization

(40)

Summary

Criteria to choose a software tool

• How comprehensive is the implemented mathematical model? How difficult is to implement a problem

(sophisticated geometry, boundary conditions,...)?

• How are the equations discretized?

• What solvers for the nonlinear systems are available?

• What solvers for the linear systems are available?

• Can I compute adaptively?

• Works on parallel computers (clusters)?

(41)

Lecture organization

• Lectures: Mo., 12:15 and Th., 8:15, Room: Audi Π i fjerde.

• Exam (oral): 21.11.2013 ?

• No lecture on 30.09.2013 (conference).

• At the beginning we have only lectures, after the first chapter we start also exercises (simulation problems).

(42)

Others

• Homepage: http://people.uib.no/fra001/Radu.html

• EMAIL: [email protected]

• Knowledge requirements: Vector Calculus, Linear Algebra.

• Software: Matlab or Octave.

(43)

Lecture structure

1. Single phase flow in porous media.

Darcy’s law. Hydraulic head. Hydraulic conductivity and permeability.

Conservation laws and governing equations.

Energy conservation.

Model simplifications. Analytical solutions. Reduction of dimensionality.

Numerical methods.

2. Two-phase flow in porous media.

Two-phase flow.

(44)

Richards’ equation.

Non-standard models.

Buckley-Leverett solution.

Numerical methods.

3. Solute transport in porous media.

One-component transport.

Multicomponent reactive transport.

Numerical methods.

4 Homogenization.

Formal derivation of Darcy’s law by homogenization.

(45)

Related lectures

• MAT 160, MAT 260

• Numerical methods for PDEs: FEM, FV, MPFA

• MAT 255

(46)

Bibliography

Nordbotten, J. M. and M. A. Celia, Geological Storage of CO2:

Modeling Approaches for Large-Scale Simulation, 2011, John Wiley and Sons, Inc.

Bear, J. F and Y. Bachmat. Introduction in Modeling of Transport Phenomena in Porous Media. Kluwer Academic Publishers,

Boston, 1991.

Helmig, R., Multiphase flow and transport processes in the subsurface. Springer.

Chen, Z., G. Huan and Y. Ma, Computational methods for

multiphase flow in porous media, SIAM, Computational science and engineering.

(47)

Master thesis

• Mathematical modeling

• Discretization schemes, implementation or/and analysis

• Topics from envirnomental sciences, biology, CO2 storage...

(48)

Hopefully you will enjoy it!!!

Referanser

RELATERTE DOKUMENTER

For the time-averaged flow, includ- ing the known junction and edge vortices, in total, four horseshoe vortices were observed to form above the step surface in front of the upper

Both the first order Backward Euler and second order Crank-Nicolson time discretization scheme is used in the structural equations, with significantly different results1.

We investigate creeping flow of a viscoelastic fluid through a three dimensional random porous medium using computational fluid dynamics.. The simulations are performed using a

Keywords: linearization, two-phase flow, mixed finite element method, convergence analysis, a priori error estimates, porous media, Richards’ equation, degenerate parabolic

In this thesis mathematical models with and without dynamic capillary effects are developed to model water flow and solute transport through a porous medium.. The system of

4 Conceptual Models for Representation of Fractured Porous Media The dynamics of flow within a single fracture and the interaction with the surrounding matrix is in itself complex

We use mixed finite elements for the flow equation, (continuous) Galerkin finite elements for the mechanics and discontinuous Galerkin for the time discretization.. We further use

In a first step, the surface, segmentation confidence and statistical partial volume are extracted.. Then, a mesh-based method is applied to determine a refined boundary of