Advanced numerical methods for nonlinear advectiondiffusion-reaction. Peter Frolkovič, University of Heidelberg

Similar documents
Advanced numerical methods for transport and reaction in porous media. Peter Frolkovič University of Heidelberg

Finite Volume Schemes: an introduction

Semi-analytical solutions of contaminant transport equation with nonlinear sorption in 1D

Introduction to Partial Differential Equations

The RAMSES code and related techniques I. Hydro solvers

High-resolution finite volume methods for hyperbolic PDEs on manifolds

Finite Volume Method

Numerical Methods for Conservation Laws WPI, January 2006 C. Ringhofer C2 b 2

A Multi-Dimensional Limiter for Hybrid Grid

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Numerical Solutions for Hyperbolic Systems of Conservation Laws: from Godunov Method to Adaptive Mesh Refinement

Block-Structured Adaptive Mesh Refinement

High Order Accurate Runge Kutta Nodal Discontinuous Galerkin Method for Numerical Solution of Linear Convection Equation

Riemann Solvers and Numerical Methods for Fluid Dynamics

Finite volume method on unstructured grids

Conservation Laws and Finite Volume Methods

FDM for wave equations

Advection / Hyperbolic PDEs. PHY 604: Computational Methods in Physics and Astrophysics II

EVALUATION OF CRITICAL FRACTURE SKIN POROSITY FOR CONTAMINANT MIGRATION IN FRACTURED FORMATIONS

AN OPTIMALLY ACCURATE SPECTRAL VOLUME FORMULATION WITH SYMMETRY PRESERVATION

NUMERICAL SOLUTION OF TWO-REGION ADVECTION-DISPERSION TRANSPORT AND COMPARISON WITH ANALYTICAL SOLUTION ON EXAMPLE PROBLEMS

Algebraic flux correction and its application to convection-dominated flow. Matthias Möller

Introduction to Finite Volume projection methods. On Interfaces with non-zero mass flux

Finite volume method for two-phase flows using level set formulation

Math 660-Lecture 23: Gudonov s method and some theories for FVM schemes

Stable Semi-Discrete Schemes for the 2D Incompressible Euler Equations

Conservation Laws and Finite Volume Methods

Design of optimal Runge-Kutta methods

Mixed and Mixed Hybrid Finite Element Methods: Theory, Implementation and Applications

Palindromic Discontinuous Galerkin Method

Chapter 1. Introduction

Computational Fluid Dynamics-1(CFDI)

Wave propagation methods for hyperbolic problems on mapped grids

FEM-Level Set Techniques for Multiphase Flow --- Some recent results

The Center for Astrophysical Thermonuclear Flashes. FLASH Hydrodynamics

Numerical Solution I

Multigrid solvers for equations arising in implicit MHD simulations

Well-balanced DG scheme for Euler equations with gravity

Chapter 3. Finite Difference Methods for Hyperbolic Equations Introduction Linear convection 1-D wave equation

RESEARCH HIGHLIGHTS. WAF: Weighted Average Flux Method

ENO and WENO schemes. Further topics and time Integration

A Finite Volume Code for 1D Gas Dynamics

A numerical study of SSP time integration methods for hyperbolic conservation laws

High order, finite volume method, flux conservation, finite element method

The one-dimensional equations for the fluid dynamics of a gas can be written in conservation form as follows:

AA214B: NUMERICAL METHODS FOR COMPRESSIBLE FLOWS

Reactive transport in porous media: formulations, non-linear solvers and preconditioners

Semi-Lagrangian Formulations for Linear Advection Equations and Applications to Kinetic Equations

Divergence Formulation of Source Term

PDE Solvers for Fluid Flow

A Space-Time Expansion Discontinuous Galerkin Scheme with Local Time-Stepping for the Ideal and Viscous MHD Equations

arxiv: v2 [math.na] 23 Apr 2016

Numerical Solution Techniques in Mechanical and Aerospace Engineering

Positivity-preserving high order schemes for convection dominated equations

Hyperbolic Systems of Conservation Laws. in One Space Dimension. II - Solutions to the Cauchy problem. Alberto Bressan

Discretization of PDEs and Tools for the Parallel Solution of the Resulting Systems

INTERGRID OPERATORS FOR THE CELL CENTERED FINITE DIFFERENCE MULTIGRID ALGORITHM ON RECTANGULAR GRIDS. 1. Introduction

Modeling of two-phase flow in fractured porous media on unstructured non-uniform coarse grids

Numerical Simulation of Rarefied Gases using Hyperbolic Moment Equations in Partially-Conservative Form

On the design of higher-order FEM satisfying the discrete maximum principle

Space-Time Nonconforming Optimized Schwarz Waveform Relaxation for Heterogeneous Problems and General Geometries

Numerical modelling of phase change processes in clouds. Challenges and Approaches. Martin Reitzle Bernard Weigand

Order of Convergence of Second Order Schemes Based on the Minmod Limiter

Notes: Outline. Shock formation. Notes: Notes: Shocks in traffic flow

Krylov single-step implicit integration factor WENO methods for advection-diffusion-reaction equations

NUMERICAL TREATMENT OF TWO-PHASE FLOW IN CAPILLARY HETEROGENEOUS POROUS MEDIA BY FINITE-VOLUME APPROXIMATIONS

Basics on Numerical Methods for Hyperbolic Equations

All-regime Lagrangian-Remap numerical schemes for the gas dynamics equations. Applications to the large friction and low Mach coefficients

EQUADIFF 9. Mária Lukáčová-Medviďová Numerical solution of compressible flow. Terms of use:

Sunday September 28th. Time. 06:00 pm 09:00 pm Registration (CAAS) IP: Invited Presentation (IS or SP) 55 mn. CP: Contributed Presentation 25 mn

Adaptive C1 Macroelements for Fourth Order and Divergence-Free Problems

Numerical Analysis and Methods for PDE I

Info. No lecture on Thursday in a week (March 17) PSet back tonight

Numerical Oscillations and how to avoid them

Francis X. Giraldo,

NUMERICAL METHODS IN ASTROPHYSICS An Introduction

A general well-balanced finite volume scheme for Euler equations with gravity

5. FVM discretization and Solution Procedure

Adaptive algorithm for saddle point problem for Phase Field model

Sung-Ik Sohn and Jun Yong Shin

Comparison of cell-centered and node-centered formulations of a high-resolution well-balanced finite volume scheme: application to shallow water flows

Past, present and space-time

Applied Mathematics 205. Unit III: Numerical Calculus. Lecturer: Dr. David Knezevic

Math 7824 Spring 2010 Numerical solution of partial differential equations Classroom notes and homework

Calculation of Sound Fields in Flowing Media Using CAPA and Diffpack

On efficient implicit upwind schemes

An Introduction to the Discontinuous Galerkin Method

Index. C 2 ( ), 447 C k [a,b], 37 C0 ( ), 618 ( ), 447 CD 2 CN 2

Well-Balanced Schemes for the Euler Equations with Gravity

A New Fourth-Order Non-Oscillatory Central Scheme For Hyperbolic Conservation Laws

Spatial discretization scheme for incompressible viscous flows

X i t react. ~min i max i. R ij smallest. X j. Physical processes by characteristic timescale. largest. t diff ~ L2 D. t sound. ~ L a. t flow.

Computational Analysis of an Imploding Gas:

Numerical resolution of a two-component compressible fluid model with interfaces

Well-balanced DG scheme for Euler equations with gravity

3.4. Monotonicity of Advection Schemes

Scalable Non-Linear Compact Schemes

Numerical schemes for short wave long wave interaction equations

A FRONT-TRACKING METHOD FOR HYPERBOLIC THREE-PHASE MODELS

HIGH ORDER NUMERICAL METHODS FOR TIME DEPENDENT HAMILTON-JACOBI EQUATIONS

Transcription:

Advanced numerical methods for nonlinear advectiondiffusion-reaction equations Peter Frolkovič, University of Heidelberg

Content Motivation and background R 3 T Numerical modelling advection advection + retardation + reaction advection + nonlinear retardation advective level set equation 2

Motivation and Background UG software toolbox - Unstructured Grids... to simplify the implementation of parallel adaptive multigrid method on unstructured grid for complex engineering applications. P. Bastian et. al. 997 3

Motivation and Background Locally adapted multilevel grid conforming multilevel grid structure coarsening possible 4

Motivation and Background D 3 F application based on UG (995-998) Distributed Density Driven Flow numerical modelling of gravity induced flows near saltdomes Frolkovic, De Schepper: Numerical modeling of convection dominated transport coupled with density driven flow in porous media; Advances in Water Resources, 2 5

Motivation and Background R 3 T application based on UG(999-24) Reaction Retardation Radionuclides Transport numerical modelling of radioactive contaminant transport F., Lampe, Wittum: r3t - software package for numerical simulations of radioactive contaminant transport in groundwater; WiR 25 6

R 3 T RRRT - Radionuclides Reactions (Decay) 238 238 238 Np U Pu U 233 U 234 decay chains of up to 4 nuclides t C i = k λki C k λ ij C i 7

R 3 T RRRT - Transport Nuclides in flowing groundwater 238 238 238 Np U Pu U 233 234 U convection-dispersion-diffusion PDEs (up to 4) t C i + V C i D i ( V ) C i =... 8

R 3 T RRRT - Retardation of transport sorption Nuclides in flowing groundwater immobilization 238 238 238 Np U Pu U 233 234 U up to 2 additional ordinary differential equations t ( R i C i) + k i ( K i C i C i ad) +... 9

R 3 T Illustrative example (see video on my homepage) t ( R i C i) + k i ( K i C i C i ad) +...

R 3 T Linear case sorption Nuclides in flowing groundwater immobilization 238 238 238 Np U Pu U 233 234 U t ( R i C i) + k i ( K i C i C i ad) +...

R 3 T Nonlinear case sorption Nuclides in flowing groundwater immobilization 238 238 Np U Pu 238 U 233 234 U t ( R i (C)C i) + k i ( K i (C)C i C i ad) +... 2

R 3 T Sparsity of differential equations U 238 238 Pu tu 238 t P 238 t U 234 + U 234 T T T U 238 P 238 U 234 + T := u D U 238 P 238 U 234 = 3

R 3 T Sparsity of discrete equations T ii T ij T ik T ji T jj T jk T ki T kj T kk T ii T ij T ik T ji T jj T jk T ki T kj T kk T ii T ij T ik T ji T jj T jk T ki T kj T kk U 238 i U 238 j U 238 k P 238 i P 238 j P 238 k U 234 i U 234 j U 234 k local stiff matrix for a triangle finite element 4

R 3 T Sparse matrix storage method (Neuss, 999) Jsparse:Daa=" * * ***"; Jsparse:Taa=" a a a"; U U 238 238 234 Pu 5

R 3 T - numerical modelling Finite volume methods x j " ij! i T e x i " e ik x k Grid - unstructured numerical solution given pointwise gradient easily obtained from FE interpolation vertex-centred finite volume method (FVM) finite volume mesh dual to finite elements 6

R 3 T - numerical modelling Numerical solution piecewise linear, continuous c(t n, x) = c n i + T e c n (x x i ), x T e piecewise constant, discontinuous c(t n, x) = c n i, x Ω i piecewise linear reconstruction, discontinuous c(t n, x) = c n i + Ω i c n (x x i ), x Ω i 7

Motivation and Background Numerical modelling numerical algorithms fit analytical model preserving physical properties,... stable, consistent,... available, simple and good in general: unstructured grids robust for rough data,... (st order schemes) precise for smooth parts,... (2nd order schemes) 8

Advection-Diffusion-Dispersion Model equation t c + J =, J = V c D c 9

Advection-Diffusion-Dispersion Model equation t c + J =, J = V c D c FVM Ω i c n+ i = Ω i c n i t n J n+/2 ij exact integral formulation: t n+ Ω i c(t n+ ) = Ω i c(t n ) t n Ω i Ω j n J 2

Advection-Diffusion-Dispersion Model equation t c + J =, J = V c D c FVM Ω i c n+ i = Ω i c n i t n J n+/2 ij physical property - mass Ω i c n i : Ω i c(t n, x) dx 2

Advection-Diffusion-Dispersion Model equation t c + J =, J = V c D c FVM Ω i c n+ i = Ω i c n i t n J n+/2 ij physical property - conservation law J n+/2 ij = J n+/2 ji 22

Advection-Diffusion-Dispersion Model equation t c + J =, J = V c D c FVM Ω i c n+ i = Ω i c n i t n J n+/2 ij fully coupled implicit discretization J n+/2 ij = J ij (c n+ i, c n+ j, ) multigrid linear solver,... 23

Advection Model equation ( V c ) t c + = 24

Advection Motivation - exact simulation (see video on my homepage) 25

Advection Model equation ( V c ) t c + = 26

Advection Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij 27

Advection Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - mass Ω i c n i : Ω i c(t n, x) dx 28

Advection Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - conservation law V ij = V ji, c n+/2 ij = c n+/2 ji 29

Advection Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - characteristic curves c n+/2 ij :=? 3

Advection - st order scheme Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij Piecewise constant numerical solution { c n i V ij > c n+/2 ij = c n j V ij < 3

Advection - st order scheme Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - residence time = Ω i τ i max{, Vij } 32

Advection - st order scheme Model equation ( V c ) t c + = FVM Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - CFL condition t n τ i 33

Advection - st order scheme Courant number = Courant number > Courant number < 34

Advection - st order scheme Flux-based method of characteristics } DistributeMass(j, t, ˆτ, q) { t = t + τ j ; if (t t n+ ) then { } b j = b j + ˆτ q ; return; if (t + ˆτ > t n+ ) then { } j m = j ; b j = b j + (ˆτ (t n+ t )) q ; ˆτ = t n+ t ; for (j m 2 Λ out j m ) DistributeMass(j m 2, t, ˆτ, v j m j m 2 v jm q) ; return ; F.: Flux-based method of characteristics for transport in porous media; CVS, 22 35

Advection and Reaction and Retardation Courant number 5 Computation time 2.5 hours 36

Advection and Reaction and Retardation Courant number 5 Computation time.7 hours 37

Advection and Reaction and Retardation Example of 3 radionuclides R=, R2=3, R3=9, small physical dispersion V = (,), small dispersion, linear decay chain initially only st component non-zero 38

Advection and Reaction and Retardation Example of 3 radionuclides R=, R2=3, R3=9, small physical dispersion 2nd order Godunov method with many time steps 39

Advection and Reaction and Retardation Example of 3 radionuclides R=, R2=3, R3=9, small physical dispersion standard operator splitting method, 2 time steps 2nd order Godunov method with many time steps 4

Advection and Reaction and Retardation Example of 3 radionuclides R=, R2=3, R3=9, small physical dispersion flux-based method of characteristics F.: Flux-based method of characteristics for coupled system of transport equations in in porous media; CVS, 22 4

Advection Godunov method use exact solution of related simpler problem D Riemann s problem justified by numerical hyperbolic equations e.g., D advection => st order upwind m. High-resolution FVM piecewise linear numerical solution structured grid - Leveque 22 unstructured grid? (e.g., Sonar 993) 42

Advection and retardation Model equation ( V c ) t (Rφc) + = Fast sorption (equilibrium) R := + φ φ ρk linear case R = R(x) 43

Advection and retardation Example - Henry isotherm (see video on my homepage) R = 2 44

Advection and retardation Model equation ( V c ) t (Rφc) + = Fast sorption R := + φ φ ρk nonlinear case R = R(x, c) 45

Advection and retardation Example - Freundlich isotherm (see video on my homepage) R = + u p 46

Advection and retardation Nonlinear hyperbolic equation ( ) V c t θ + = θ = θ(c), c = θ (c) shocks.8 correct speed sharp also with diffusion rarefaction waves.6.4.2 F., Kačur: Semi-analytical solutions of contaminant transport equation with nonlinear sorption in D; Comp. Geosciences, 26, to appear.5.5 2 2.5 3 3.5 x 47

Advection and retardation Implementation (see video on my homepage) linear sorption 48 nonlinear sorption

Advection - st order method Trivial example t c + V c =, V c(, x) const c n+ i = c n i t n const 49

Advection - st order method Consistent for structured grid? t c + V c =, V c(, x) const Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij 5

Advection - st order method Consistent for structured grid! t c + V c =, V c(, x) const Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij 5

Advection - st order method Nonconsistent for unstructured grid! t c + V c =, V c(, x) const Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij 52

Advection - st order method (2x2) t = t =.9635 t =.3927.5.5.5.5.5.5 t =.5895 t =.7854 t =.9875.5.5.5.5 t =.78.5 t =.3744.5 t =.578.5.5.5.5.5.5 53

Advection Level set equation t c + V c =, V = 54

Advection Level set equation FVM t c + V c =, V = Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij 55

Advection Level set equation FVM t c + V c =, V = Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - value c n i : c(t n, x i ) 56

Advection Level set equation FVM t c + V c =, V = Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - characteristic curves c n+/2 ij := c(t n, X ij (t n )) 57

Advection - 2nd order scheme Level set equation FVM t c + V c =, V = Ω i c n+ i = Ω i c n i t n V ij c n+/2 ij physical property - characteristic curves c n+/2 ij := c(t n, X ij (t n )) c n+/2 ij := c n ij tn 2 V i c n i 58

Advection - st versus 2nd order method.9 t =.8.7,8.6,6.5 Y.4,4.3.2,2...2.3.4.5.6.7.8.9,2,4,6,8 X 59

Advection - st order method (2x2) t = t =.9635 t =.3927.5.5.5.5.5.5 t =.5895 t =.7854 t =.9875.5.5.5.5 t =.78.5 t =.3744.5 t =.578.5.5.5.5.5.5 6

Advection - 2nd order method (2x2) t = t =.9635 t =.3927.5.5.5.5.5.5 t =.5895 t =.7854 t =.9875.5.5.5.5 t =.78.5 t =.3744.5 t =.578.5.5.5.5.5.5 6

Advection - 2nd order method (2x2) t = t =.3927 t =.7854.5.5.5.5.5.5 t =.78 t =.578 t =.9635.5.5.5.5 t = 2.3562.5 t = 2.7489.5 t = 3.46.5.5.5.5.5.5 62

Advection Flux-based level set method (see video on my homepage) F., Mikula: High resolution flux-based level set method; 25 63

Nonlinear advective level set equation Example with topological changes (see video on my homepage) F., Mikula: Flux-based level set method: finite volume emthod for evolving interfaces; 22 64

Conclusions Numerical modelling numerical algorithms fit analytical model preserving physical properties,... stable, consistent,... available, simple and good in general unstructured grids robust for rough data,... (st order schemes) precise for smooth parts,... (2nd order schemes) 65