Some recent results on positivity-preserving discretisations for the convection-diffusion equation

Similar documents
A unified analysis of Algebraic Flux Correction schemes for convection-diffusion equations

NUMERICAL SOLUTION OF CONVECTION DIFFUSION EQUATIONS USING UPWINDING TECHNIQUES SATISFYING THE DISCRETE MAXIMUM PRINCIPLE

On discontinuity capturing methods for convection diffusion equations

Singularly Perturbed Partial Differential Equations

ALGEBRAIC FLUX CORRECTION FOR FINITE ELEMENT DISCRETIZATIONS OF COUPLED SYSTEMS

Universität des Saarlandes. Fachrichtung 6.1 Mathematik

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

On finite element methods for 3D time dependent convection diffusion reaction equations with small diffusion

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

On spurious oscillations at layers diminishing (SOLD) methods for convection-diffusion equations: Part II - Analysis for P1 and Q1 finite elements

On solving linear systems arising from Shishkin mesh discretizations

Multigrid Methods and their application in CFD

Finite difference method for elliptic problems: I

High-resolution finite element schemes for an idealized Z-pinch implosion model

[2] (a) Develop and describe the piecewise linear Galerkin finite element approximation of,

The CG1-DG2 method for conservation laws

Compressed Sensing and Neural Networks

RESIDUAL BASED ERROR ESTIMATES FOR THE SPACE-TIME DISCONTINUOUS GALERKIN METHOD APPLIED TO NONLINEAR HYPERBOLIC EQUATIONS

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

Remarks on the analysis of finite element methods on a Shishkin mesh: are Scott-Zhang interpolants applicable?

Basic Principles of Weak Galerkin Finite Element Methods for PDEs

Cholesky factorisations of linear systems coming from a finite difference method applied to singularly perturbed problems

DISCRETE MAXIMUM PRINCIPLES in THE FINITE ELEMENT SIMULATIONS

Weierstrass Institute for Applied Analysis and Stochastics, Mohrenstr. 39, Berlin, Germany,

Une méthode de pénalisation par face pour l approximation des équations de Navier-Stokes à nombre de Reynolds élevé

Universität des Saarlandes. Fachrichtung 6.1 Mathematik

On the relationship of local projection stabilization to other stabilized methods for one-dimensional advection-diffusion equations

WELL POSEDNESS OF PROBLEMS I

Algorithms for Scientific Computing

In Proc. of the V European Conf. on Computational Fluid Dynamics (ECFD), Preprint

Discontinuous Galerkin Methods

Kasetsart University Workshop. Multigrid methods: An introduction

Introduction to Partial Differential Equations

Explicit and implicit FEM-FCT algorithms with flux linearization

On the design of general-purpose flux limiters for finite element schemes. I. Scalar convection

On the impact of the scheme for solving the higher dimensional equation in coupled population balance systems

Solution Methods. Steady convection-diffusion equation. Lecture 05

A Hybrid Method for the Wave Equation. beilina

Finite Elements for Nonlinear Problems

Implicit FEM-FCT algorithms and discrete Newton methods for transient convection problems

Generalised Summation-by-Parts Operators and Variable Coefficients

Numerical Methods for Problems with Moving Fronts Orthogonal Collocation on Finite Elements

Convergence Behavior of a Two-Level Optimized Schwarz Preconditioner

Reduction of Finite Element Models of Complex Mechanical Components

AMS 529: Finite Element Methods: Fundamentals, Applications, and New Trends

Lecture 9 Approximations of Laplace s Equation, Finite Element Method. Mathématiques appliquées (MATH0504-1) B. Dewals, C.

Intrinsic products and factorizations of matrices

Unified A Posteriori Error Control for all Nonstandard Finite Elements 1

Comparative Analysis of Mesh Generators and MIC(0) Preconditioning of FEM Elasticity Systems

Parameter robust methods for second-order complex-valued reaction-diffusion equations

ECE 695 Numerical Simulations Lecture 12: Thermomechanical FEM. Prof. Peter Bermel February 6, 2017

SECOND ORDER TIME DISCONTINUOUS GALERKIN METHOD FOR NONLINEAR CONVECTION-DIFFUSION PROBLEMS

Discretization of Convection Diffusion type equation

Lecture 4.2 Finite Difference Approximation

ON THE CONSERVATION OF MASS AND ENERGY IN HYGROTHERMAL NUMERICAL SIMULATION WITH COMSOL MULTIPHYSICS

Consistent Positive Directional Splitting of Anisotropic Diffusion

PREPRINT 2010:25. Fictitious domain finite element methods using cut elements: II. A stabilized Nitsche method ERIK BURMAN PETER HANSBO

Relevant self-assessment exercises: [LIST SELF-ASSESSMENT EXERCISES HERE]

March 2002, December Introduction. We investigate the facial structure of the convex hull of the mixed integer knapsack set

RANK AND PERIMETER PRESERVER OF RANK-1 MATRICES OVER MAX ALGEBRA

Linearization at equilibrium points

MAT 1332: CALCULUS FOR LIFE SCIENCES. Contents. 1. Review: Linear Algebra II Vectors and matrices Definition. 1.2.

arxiv: v1 [math.na] 22 Nov 2018

Residual Distribution. basics, recents developments, relations with other techniques

On angle conditions in the finite element method. Institute of Mathematics, Academy of Sciences Prague, Czech Republic

On the diminishing of spurious oscillations in explicit finite element analysis of linear and non-linear wave propagation and contact problems

LINEAR INTERVAL INEQUALITIES

Chapter 5 HIGH ACCURACY CUBIC SPLINE APPROXIMATION FOR TWO DIMENSIONAL QUASI-LINEAR ELLIPTIC BOUNDARY VALUE PROBLEMS

Adaptive WENO Schemes for Singular in Space and Time Solutions of Nonlinear Degenerate Reaction-Diffusion Problems

Weierstraß-Institut. für Angewandte Analysis und Stochastik. Leibniz-Institut im Forschungsverbund Berlin e. V. Preprint ISSN

A parameter-free smoothness indicator for high-resolution finite element schemes

Discrete Maximum Principle for a 1D Problem with Piecewise-Constant Coefficients Solved by hp-fem

Moments, Model Reduction and Nonlinearity in Solving Linear Algebraic Problems

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department of Mathematics and Computer Science. CASA-Report March2008

A Multiscale DG Method for Convection Diffusion Problems

On several aspects of finite element approximations of laminar/turbulent transition models

Electronic Transactions on Numerical Analysis Volume 32, 2008

SUPG Reduced Order Models for Convection-Dominated Convection-Diffusion-Reaction Equations

Stabilization Techniques for Finite Element Analysis of Convection-Diffusion Problems

An Introduction to Variational Inequalities

Matching moments and matrix computations

NUMERICAL ASPECTS OF A BACTERIA GROWTH MODEL

An Introduction to Algebraic Multigrid (AMG) Algorithms Derrick Cerwinsky and Craig C. Douglas 1/84

First-order overdetermined systems. for elliptic problems. John Strain Mathematics Department UC Berkeley July 2012

Bounds on the radius of nonsingularity

Numerical Solution I

30 crete maximum principle, which all imply the bound-preserving property. But most

Aspects of Multigrid

Failsafe FCT algorithms for strongly time-dependent flows with application to an idealized Z-pinch implosion model

arxiv: v1 [physics.comp-ph] 10 Aug 2015

On the interplay between discretization and preconditioning of Krylov subspace methods

Numerical Programming I (for CSE)

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

JACOBI S ITERATION METHOD

Suboptimal feedback control of PDEs by solving Hamilton-Jacobi Bellman equations on sparse grids

Time-dependent variational forms

On Multigrid for Phase Field

Entropy-stable discontinuous Galerkin nite element method with streamline diusion and shock-capturing

PREPRINT 2010:23. A nonconforming rotated Q 1 approximation on tetrahedra PETER HANSBO

Transcription:

Some recent results on positivity-preserving discretisations for the convection-diffusion equation Gabriel R. Barrenechea 1, Volker John 2 & Petr Knobloch 3 1 Department of Mathematics and Statistics, University of Strathclyde, Scotland 2 WIAS Institute, Berlin, Germany 3 Charles University, Prague, Czech Republic Recent advances in Discontinuous Galerkin Methods, University of Reading, Reading, September 11-12, 2014

Introduction: The discrete maximum principle The continuous maximum principle : Theorem Let u be the solution of the problem ε u + b u = f in Ω, and u = 0 on Ω. Then, if f 0 in Ω, then u 0 in Ω, and attains its minimum at the boundary. G.R. Barrenechea (Strathclyde) Reading, September 2014 2 / 24

The convection-diffusion equation The DMP : Theorem Let u h P 1 (Ω) be the solution of the problem ε ( u h, v h ) Ω + (b u h, v h ) Ω = (f, v h ) Ω v h P 1 (Ω). Then, if f 0 in Ω, the mesh is acute, and b h 2ε < 1, then u h 0 in Ω, and attains its minimum at the boundary. Remark : Under these hypothesis, the matrix [ε( λ j, λ i ) Ω + (b λ j, λ i ) Ω ] is an M-matrix. This is, it is invertible, all the diagonal elements are positive, and the off-diagonal ones are non-positive. G.R. Barrenechea (Strathclyde) Reading, September 2014 3 / 24

The convection-diffusion equation The DMP : Theorem Let u h P 1 (Ω) be the solution of the problem ε ( u h, v h ) Ω + (b u h, v h ) Ω = (f, v h ) Ω v h P 1 (Ω). Then, if f 0 in Ω, the mesh is acute, and b h 2ε < 1, then u h 0 in Ω, and attains its minimum at the boundary. Remark : Under these hypothesis, the matrix [ε( λ j, λ i ) Ω + (b λ j, λ i ) Ω ] is an M-matrix. This is, it is invertible, all the diagonal elements are positive, and the off-diagonal ones are non-positive. G.R. Barrenechea (Strathclyde) Reading, September 2014 3 / 24

Some early solutions Artificial diffusion : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + s(u h, v h ) = (f, v h ) Ω v h P 1 (Ω). Bad news : The linear schemes, such as the artificial diffusion, have two main drawbacks: - their consistency error leads to a convergence of O( h); - they produce results which are extremely diffusive. G.R. Barrenechea (Strathclyde) Reading, September 2014 4 / 24

Some early solutions Artificial diffusion : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + α h ( u h, v h ) Ω = (f, v h ) Ω v h P 1 (Ω). Bad news : The linear schemes, such as the artificial diffusion, have two main drawbacks: - their consistency error leads to a convergence of O( h); - they produce results which are extremely diffusive. G.R. Barrenechea (Strathclyde) Reading, September 2014 4 / 24

Some early solutions Artificial diffusion : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + α h ( u h, v h ) Ω = (f, v h ) Ω v h P 1 (Ω). Bad news : The linear schemes, such as the artificial diffusion, have two main drawbacks: - their consistency error leads to a convergence of O( h); - they produce results which are extremely diffusive. G.R. Barrenechea (Strathclyde) Reading, September 2014 4 / 24

Some early solutions Artificial diffusion : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + α h ( u h, v h ) Ω = (f, v h ) Ω v h P 1 (Ω). Bad news : The linear schemes, such as the artificial diffusion, have two main drawbacks: - their consistency error leads to a convergence of O( h); - they produce results which are extremely diffusive. G.R. Barrenechea (Strathclyde) Reading, September 2014 4 / 24

Solution: nonlinear schemes Idea : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + N(u h ; u h, v h ) = (f, v h ) Ω v h P 1 (Ω). Main features : - N is a continuous form, may depend on the residual, or not. - In some cases (not that many!), the maximum principle can be proved (cf. Burman & Ern). - Optimal convergence can be proved in most cases. A more recent alternative (D. Kuzmin) : Algebraic Flux Correction schemes. These work at the matrix level, and have provided very convincing numerical results. G.R. Barrenechea (Strathclyde) Reading, September 2014 5 / 24

Solution: nonlinear schemes Idea : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + N(u h ; u h, v h ) = (f, v h ) Ω v h P 1 (Ω). Main features : - N is a continuous form, may depend on the residual, or not. - In some cases (not that many!), the maximum principle can be proved (cf. Burman & Ern). - Optimal convergence can be proved in most cases. A more recent alternative (D. Kuzmin) : Algebraic Flux Correction schemes. These work at the matrix level, and have provided very convincing numerical results. G.R. Barrenechea (Strathclyde) Reading, September 2014 5 / 24

Solution: nonlinear schemes Idea : Find u h P 1 (Ω) such that ε ( u h, v h ) Ω + (b u h, v h ) Ω + N(u h ; u h, v h ) = (f, v h ) Ω v h P 1 (Ω). Main features : - N is a continuous form, may depend on the residual, or not. - In some cases (not that many!), the maximum principle can be proved (cf. Burman & Ern). - Optimal convergence can be proved in most cases. A more recent alternative (D. Kuzmin) : Algebraic Flux Correction schemes. These work at the matrix level, and have provided very convincing numerical results. G.R. Barrenechea (Strathclyde) Reading, September 2014 5 / 24

Goals and Outline 1 Goals: Understand the method, and its main features. Give the first steps towards a numerical analysis of it. Study its numerical behaviour. 2 The method for the 1D problem. 3 The discrete maximum principle. 4 Solvability of the linear problems, and the nonlinear one. 5 Concluding remarks. G.R. Barrenechea (Strathclyde) Reading, September 2014 6 / 24

Goals and Outline 1 Goals: Understand the method, and its main features. Give the first steps towards a numerical analysis of it. Study its numerical behaviour. 2 The method for the 1D problem. 3 The discrete maximum principle. 4 Solvability of the linear problems, and the nonlinear one. 5 Concluding remarks. G.R. Barrenechea (Strathclyde) Reading, September 2014 6 / 24

Algebraic flux correction schemes Starting point : A finite element discretisation of our problem of the form: AU = G. Define: D := (d ij ) where d ij := max{a ij, 0, a ji } for i j, d ii = j i d ij. Remark: The matrix à is an M-matrix. Then, it preserves positivity. G.R. Barrenechea (Strathclyde) Reading, September 2014 7 / 24

Algebraic flux correction schemes Starting point : A finite element discretisation of our problem of the form: AU = G. Define: D := (d ij ) where d ij := max{a ij, 0, a ji } for i j, d ii = j i d ij. Remark: The matrix à is an M-matrix. Then, it preserves positivity. G.R. Barrenechea (Strathclyde) Reading, September 2014 7 / 24

Algebraic flux correction schemes Starting point : A finite element discretisation of our problem of the form: ( A + D)U = G + DU. Define: D := (d ij ) where d ij := max{a ij, 0, a ji } for i j, d ii = j i d ij. Remark: The matrix à is an M-matrix. Then, it preserves positivity. G.R. Barrenechea (Strathclyde) Reading, September 2014 7 / 24

Algebraic flux correction schemes Starting point : A finite element discretisation of our problem of the form: ( A + D )U = G + DU. }{{} =:à Define: D := (d ij ) where d ij := max{a ij, 0, a ji } for i j, d ii = j i d ij. Remark: The matrix à is an M-matrix. Then, it preserves positivity. G.R. Barrenechea (Strathclyde) Reading, September 2014 7 / 24

Algebraic flux correction schemes Starting point : A finite element discretisation of our problem of the form: ( A + D )U = G + DU. }{{} =:à Define: D := (d ij ) where d ij := max{a ij, 0, a ji } for i j, d ii = j i d ij. Remark: The matrix à is an M-matrix. Then, it preserves positivity. G.R. Barrenechea (Strathclyde) Reading, September 2014 7 / 24

Algebraic flux correction schemes Equivalent system : Ã U = G + DU. From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Algebraic flux correction schemes Equivalent system : Ã U = G + DU. From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Algebraic flux correction schemes Equivalent system : (Ã U)i = g i + From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i j i f ij Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Algebraic flux correction schemes Equivalent system : (Ã U)i = g i + From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i j i f ij Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Algebraic flux correction schemes Equivalent system : (Ã U)i = g i + α ij (U)f ij From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i j i Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Algebraic flux correction schemes Equivalent system : (Ã U)i = g i + α ij (U)f ij From the properties of D it follows that ( ) DU i = f ij where f ij = d ij (u j u i ) are the fluxes. j i j i Goal : To limit the fluxes f ij which are responsible for spurious oscillations. The limiters α ij should satisfy the following: - α ij [0, 1]; - α ij should be as close to 1 as possible; - α ij 1 where the Galerkin solution is smooth. G.R. Barrenechea (Strathclyde) Reading, September 2014 8 / 24

Definition of the limiters 1 Compute P + i, P i, Q+ i, Q i in such a way that, for each pair of neighbouring nodes x i, x j with indices such that a ji a ij one performs the updates P + i := P + i + max{0, f ij }, P i := P i max{0, f ji }, Q + i := Q + i + max{0, f ji }, Q i := Q i max{0, f ij }, Q + j := Q+ j + max{0, f ij}, Q j := Q j max{0, f ji}, 2 Set R + i { := min 1, Q+ i P + i } {, R i := min 1, Q i P i }. 3 Finally, α ij = { R + i if f ij > 0, R i if f ij < 0, i, j = 1,..., N. G.R. Barrenechea (Strathclyde) Reading, September 2014 9 / 24

The 1D convection-diffusion equation Model problem : ε u + bu = g in (0, 1) u(0) = u(1) = 0, with positive constants ε and b. Galerkin FEM : Equidistant nodes x i = ih, with h = 1/N. Find u h P 1 (0, 1) such that u h (0) = u h (1) = 0 and ε(u h, v h) + (bu h, v h ) = (g, v h ) v h P 1 (0, 1). Difference equation form : Setting u i = u h (x i ), this problem is rewritten as ε u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i i = 1,..., N 1. Assume: P e := bh 2ε > 1. G.R. Barrenechea (Strathclyde) Reading, September 2014 10 / 24

The 1D convection-diffusion equation Model problem : ε u + bu = g in (0, 1) u(0) = u(1) = 0, with positive constants ε and b. Galerkin FEM : Equidistant nodes x i = ih, with h = 1/N. Find u h P 1 (0, 1) such that u h (0) = u h (1) = 0 and ε(u h, v h) + (bu h, v h ) = (g, v h ) v h P 1 (0, 1). Difference equation form : Setting u i = u h (x i ), this problem is rewritten as ε u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i i = 1,..., N 1. Assume: P e := bh 2ε > 1. G.R. Barrenechea (Strathclyde) Reading, September 2014 10 / 24

The 1D convection-diffusion equation Model problem : ε u + bu = g in (0, 1) u(0) = u(1) = 0, with positive constants ε and b. Galerkin FEM : Equidistant nodes x i = ih, with h = 1/N. Find u h P 1 (0, 1) such that u h (0) = u h (1) = 0 and ε(u h, v h) + (bu h, v h ) = (g, v h ) v h P 1 (0, 1). Difference equation form : Setting u i = u h (x i ), this problem is rewritten as ε u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i i = 1,..., N 1. Assume: P e := bh 2ε > 1. G.R. Barrenechea (Strathclyde) Reading, September 2014 10 / 24

The 1D convection-diffusion equation Model problem : ε u + bu = g in (0, 1) u(0) = u(1) = 0, with positive constants ε and b. Galerkin FEM : Equidistant nodes x i = ih, with h = 1/N. Find u h P 1 (0, 1) such that u h (0) = u h (1) = 0 and ε(u h, v h) + (bu h, v h ) = (g, v h ) v h P 1 (0, 1). Difference equation form : Setting u i = u h (x i ), this problem is rewritten as ε u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i i = 1,..., N 1. Assume: P e := bh 2ε > 1. G.R. Barrenechea (Strathclyde) Reading, September 2014 10 / 24

The 1D convection-diffusion equation Algebraic problem with limited fluxes: ( AU ) i + j i (1 α ij )f ij = g i with f ij = d ij (u j u i ). For the 1D problem: the system reduces to u 0 = u N = 0, and (ε + β i ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i, i = 1,..., N 1, where 1 if u i+1 u i and β i = 0 otherwise, u i u i 1 u i+1 u i < 1, and ε = b h 2 ε = ε (P e 1). G.R. Barrenechea (Strathclyde) Reading, September 2014 11 / 24

The Discrete Maximum Principle Theorem Consider any ε b h/2 ε. Then any solution of the nonlinear problem satisfies the discrete maximum principle, i.e., for any i {1,..., N}, one has g i 0 u i min{u i 1, u i+1 }. Moreover, for any k, l {0, 1,..., N + 1} with k + 1 < l, one has g i 0, i = k + 1,..., l 1 u i min{u k, u l }, i = k,..., l. G.R. Barrenechea (Strathclyde) Reading, September 2014 12 / 24

Some numerics and the choice of ε Other possible choices: The artificial diffusion matrix D can be defined using different combinations of the diffusion and convection matrices. For example: (F) ε = b h 2 (C) ε = b h 2. ε = ε(p e 1). ( coth P e 1 P e). (P) ε = b h 2 Data: b = f = 1, N = 16, ε = 0.03, i.e., we solve and u(0) = u(1) = 0. 0.03u + u = 1 in (0, 1), G.R. Barrenechea (Strathclyde) Reading, September 2014 13 / 24

Some numerics and the choice of ε Figure 1 : from (P). Comparison of the exact solution (green) and discrete solution with ε G.R. Barrenechea (Strathclyde) Reading, September 2014 14 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics - Computations very sensitive to rounding errors. Idea : replace the condition u i < min{u i 1, u i+1 } by u i < min{u i 1, u i+1 } τ. - Not a remedy! Conclusion: The nonlinear problem is not solvable in general! Example: N = 4, ε = 0.03, b = 1, f 1 = 6, f 2 = 6, f 3 = 3, f 4 = 2, and ε from (F). Reminder of the problem: (ε + β i (u) ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i. G.R. Barrenechea (Strathclyde) Reading, September 2014 15 / 24

Bad news from the numerics 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 1 1 0 1 0 0 0 0 1 1 0 1 G.R. Barrenechea (Strathclyde) Reading, September 2014 16 / 24

Solvability of the linear subproblems Theorem For every choice of ε [ b h 2 ε, ] b h 2, and every possible βi [0, 1], the problem has a unique solution. (ε + β i ε) u i 1 2 u i + u i+1 h 2 + b u i+1 u i 1 2 h = g i, G.R. Barrenechea (Strathclyde) Reading, September 2014 17 / 24

Solvability of the nonlinear problem Main remark : The lack of solvability is due to the discontinuity of the coefficients β i Theorem Let us suppose that the functions β i : R N+1 [0, 1], i = 1,..., N 1, are continuous, and let ε be any of the previous choices. Then, the nonlinear FCT scheme has a solution. Proof: Write the method as the fixed point equation M(β(u)) u = g, apply the fact that the determinant is a continuous function of the entries of a matrix, and Brouwer s fixed point Theorem. G.R. Barrenechea (Strathclyde) Reading, September 2014 18 / 24

Solvability of the nonlinear problem Main remark : The lack of solvability is due to the discontinuity of the coefficients β i Theorem Let us suppose that the functions β i : R N+1 [0, 1], i = 1,..., N 1, are continuous, and let ε be any of the previous choices. Then, the nonlinear FCT scheme has a solution. Proof: Write the method as the fixed point equation M(β(u)) u = g, apply the fact that the determinant is a continuous function of the entries of a matrix, and Brouwer s fixed point Theorem. G.R. Barrenechea (Strathclyde) Reading, September 2014 18 / 24

Graphical representation of the regularisation G.R. Barrenechea (Strathclyde) Reading, September 2014 19 / 24

The price to pay: A weak version of the DMP Theorem Let u 0,..., u N+1 be a solution of the modified FCT scheme with any functions β 1,..., β N [0, 1] as described before. Then g i 0 u i min{u i 1, u i+1 } or u i max{u i 1, u i+1 } δ h, for i = 1,..., N. G.R. Barrenechea (Strathclyde) Reading, September 2014 20 / 24

Numerical evidence on the violation of the DMP The problem : εu + u = 0 subject to u(0) = 1 and u(1) = 0. We measured MAX := u max h 1; RMAX := max{(u max h 1)/h}; P e RMAX the value of P e for which the maximum RMAX is attained. Table 1 : Violation of the discrete maximum principle for the continuous β i. P e [1, 20) P e [20, ) ε MAX RMAX P e RMAX MAX RMAX P e RMAX 10 1 6.62 3 2.65 2 1.25 no P e 20 10 2 3.55 3 9.27 2 1.85 no P e 20 10 3 7.14 4 1.28 1 2.79 4.88 15 4.88 14 25.0 10 4 1.06 4 1.40 1 3.77 5.60 14 9.23 13 21.6 10 5 1.41 5 1.47 1 4.80 4.81 13 5.59 10 21.6 10 6 1.77 6 1.51 1 5.84 6.06 12 6.92 8 22.9 G.R. Barrenechea (Strathclyde) Reading, September 2014 21 / 24

Some preliminary numerics in 2D: The Hemker problem Data: ε = 10 4, 12, 000 Q 1 elements, discontinuous α ij as before, continuous as follows { R + i = R min{q + i i = min 1,, Q i } } max{p + i, P i, τ}. Figure 2 : Discontinuous α ij, non-symmetric G.R. Barrenechea (Strathclyde) Reading, September 2014 22 / 24

Some preliminary numerics in 2D: The Hemker problem Figure 3 : Continuous α ij, non-symmetric G.R. Barrenechea (Strathclyde) Reading, September 2014 23 / 24

Conclusions and perspectives 1 Some further insight on FCT schemes. 2 Analysis of a wider class of schemes. 3 Counter-examples of existence of solutions for the original method. 4 A modification that is proved to possess solutions, but satisfies only a weak version of the DMP. Future extensions: Deeper study of the symmetric version in higher dimensions. Maximum principle on general meshes. (Order of) convergence. Time-dependent problems. Coupled nonlinear problems in chemical reactions. G.R. Barrenechea (Strathclyde) Reading, September 2014 24 / 24

Conclusions and perspectives 1 Some further insight on FCT schemes. 2 Analysis of a wider class of schemes. 3 Counter-examples of existence of solutions for the original method. 4 A modification that is proved to possess solutions, but satisfies only a weak version of the DMP. Future extensions: Deeper study of the symmetric version in higher dimensions. Maximum principle on general meshes. (Order of) convergence. Time-dependent problems. Coupled nonlinear problems in chemical reactions. G.R. Barrenechea (Strathclyde) Reading, September 2014 24 / 24