A method of Lagrange Galerkin of second order in time. Une méthode de Lagrange Galerkin d ordre deux en temps

Similar documents
New Streamfunction Approach for Magnetohydrodynamics

Order of Accuracy. ũ h u Ch p, (1)

Jian-Guo Liu 1 and Chi-Wang Shu 2

Dedicated to the 70th birthday of Professor Lin Qun

Finite Difference Method

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

Numerical Differentiation

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER*

Finite Difference Methods Assignments

MODIFIED DIFFERENTIAL EQUATIONS. Dedicated to Prof. Michel Crouzeix

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

Combining functions: algebraic methods

LECTURE 14 NUMERICAL INTEGRATION. Find

FEM solution of the ψ-ω equations with explicit viscous diffusion 1

Chapter 5 FINITE DIFFERENCE METHOD (FDM)

Physically Based Modeling: Principles and Practice Implicit Methods for Differential Equations

MATH745 Fall MATH745 Fall

DELFT UNIVERSITY OF TECHNOLOGY Faculty of Electrical Engineering, Mathematics and Computer Science

A First-Order System Approach for Diffusion Equation. I. Second-Order Residual-Distribution Schemes

MAT 145. Type of Calculator Used TI-89 Titanium 100 points Score 100 possible points

HOMEWORK HELP 2 FOR MATH 151

A proof in the finite-difference spirit of the superconvergence of the gradient for the Shortley-Weller method.

Differential Calculus (The basics) Prepared by Mr. C. Hull

How to Find the Derivative of a Function: Calculus 1

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016

Entropy and the numerical integration of conservation laws

The Verlet Algorithm for Molecular Dynamics Simulations

Implicit-explicit variational integration of highly oscillatory problems

Superconvergence of energy-conserving discontinuous Galerkin methods for. linear hyperbolic equations. Abstract

Numerical Experiments Using MATLAB: Superconvergence of Nonconforming Finite Element Approximation for Second-Order Elliptic Problems

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY

Math 31A Discussion Notes Week 4 October 20 and October 22, 2015

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)

ON A PROBLEM OF SHALLOW WATER TYPE

ETNA Kent State University

A finite element approximation for the quasi-static Maxwell Landau Lifshitz Gilbert equations

1 Upwind scheme for advection equation with variable. 2 Modified equations: numerical dissipation and dispersion

lecture 26: Richardson extrapolation

Fourier Type Super Convergence Study on DDGIC and Symmetric DDG Methods

Parameter Fitted Scheme for Singularly Perturbed Delay Differential Equations

The derivative function

A Hybrid Mixed Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds.

Differentiation in higher dimensions

2.11 That s So Derivative

Section 2.7 Derivatives and Rates of Change Part II Section 2.8 The Derivative as a Function. at the point a, to be. = at time t = a is

Mass Lumping for Constant Density Acoustics

APPROXIMATION OF CRYSTALLINE DENDRITE GROWTH IN TWO SPACE DIMENSIONS. Introduction

232 Calculus and Structures

(4.2) -Richardson Extrapolation

1. Introduction. Consider a semilinear parabolic equation in the form

Solution. Solution. f (x) = (cos x)2 cos(2x) 2 sin(2x) 2 cos x ( sin x) (cos x) 4. f (π/4) = ( 2/2) ( 2/2) ( 2/2) ( 2/2) 4.

1. Questions (a) through (e) refer to the graph of the function f given below. (A) 0 (B) 1 (C) 2 (D) 4 (E) does not exist

Differential equations. Differential equations

Definition of the Derivative

LEAST-SQUARES FINITE ELEMENT APPROXIMATIONS TO SOLUTIONS OF INTERFACE PROBLEMS

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

Logarithmic functions

THE IDEA OF DIFFERENTIABILITY FOR FUNCTIONS OF SEVERAL VARIABLES Math 225

Robotic manipulation project

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods

Numerical Solution of One Dimensional Nonlinear Longitudinal Oscillations in a Class of Generalized Functions

Reflection Symmetries of q-bernoulli Polynomials

Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS

AMS 147 Computational Methods and Applications Lecture 09 Copyright by Hongyun Wang, UCSC. Exact value. Effect of round-off error.

1.72, Groundwater Hydrology Prof. Charles Harvey Lecture Packet #9: Numerical Modeling of Groundwater Flow

On the accuracy of the rotation form in simulations of the Navier-Stokes equations

A Finite Element Primer

4. The slope of the line 2x 7y = 8 is (a) 2/7 (b) 7/2 (c) 2 (d) 2/7 (e) None of these.

Department of Mathematical Sciences University of South Carolina Aiken Aiken, SC 29801

Approximation of the Viability Kernel

LIMITATIONS OF EULER S METHOD FOR NUMERICAL INTEGRATION

Exercises for numerical differentiation. Øyvind Ryan

Math 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006

Higher Derivatives. Differentiable Functions

Copyright c 2008 Kevin Long

The Laplace equation, cylindrically or spherically symmetric case

Some Applications of Fractional Step Runge-Kutta Methods

Solutions to the Multivariable Calculus and Linear Algebra problems on the Comprehensive Examination of January 31, 2014

arxiv: v1 [math.na] 12 Mar 2018

Efficient algorithms for for clone items detection

Practice Problem Solutions: Exam 1

MVT and Rolle s Theorem

Material for Difference Quotient

arxiv: v2 [math.na] 5 Jul 2017

arxiv: v3 [math.na] 15 Dec 2009

Excursions in Computing Science: Week v Milli-micro-nano-..math Part II

Numerical Solution to Parabolic PDE Using Implicit Finite Difference Approach

Mathematics 5 Worksheet 11 Geometry, Tangency, and the Derivative

A = h w (1) Error Analysis Physics 141

Numerical analysis of a free piston problem

1. Introduction. We consider the model problem: seeking an unknown function u satisfying

f a h f a h h lim lim

Application of Quintic B-splines Collocation Method on Some Rosenau Type Nonlinear Higher Order Evolution Equations.

3.4 Worksheet: Proof of the Chain Rule NAME

An Adaptive Model Switching and Discretization Algorithm for Gas Flow on Networks

Investigating Euler s Method and Differential Equations to Approximate π. Lindsay Crowl August 2, 2001

arxiv: v1 [math.na] 9 Sep 2015

Poisson Equation in Sobolev Spaces

A Mixed-Hybrid-Discontinuous Galerkin Finite Element Method for Convection-Diffusion Problems

Transcription:

A metod of Lagrange Galerkin of second order in time Une métode de Lagrange Galerkin d ordre deux en temps Jocelyn Étienne a a DAMTP, University of Cambridge, Wilberforce Road, Cambridge CB3 0WA, Great-Britain. Tel.: +44 3 337 877, Fax : +44 3 765 900. Abstract Te Lagrange Galerkin metod is te coupling of a finite element metod for space discretisation wit te metod of caracteristics for te discretisation of te material derivative in some parabolic problems. We propose a new sceme of second-order accuracy in time, wic in contrast wit previous metods does not require a correction term. Numerical examples, including Burgers equation, illustrate te convergence rate and low computational cost of te metod. To cite tis article: J. Étienne, C. R. Acad. Sci. Paris, Ser. I 336 (003). Résumé La métode de Lagrange Galerkin consiste à coupler une discrétisation aux éléments finis en espace avec la métode des caractéristiques pour la discrétisation de la dérivée matérielle dans certains problèmes paraboliques. Nous proposons un nouveau scéma, d ordre deux en temps, ne faisant pas intervenir de terme de correction comme les métodes précédentes. Des exemples numériques, dont l équation de Burgers, illustrent le taux de convergence et l efficacité en temps de calcul de la métode. Pour citer cet article : J. Étienne, C. R. Acad. Sci. Paris, Ser. I 336 (003).. Introduction Te metod of caracteristics consists in using te caracteritic curves of an advection field a in order to rewrite te transport operator ( t + a ) in terms of a partial derivative in time. Indeed, if one introduces te caracteristics X defined for any (x, s) Ω [0, T] by: dx {x, s; t} = a(x{x, s; t}, t) dt for t [0, T], () X{x, s; s} = x Email address: J.Etienne@damtp.cam.ac.uk (Jocelyn Étienne). Preprint submitted to Elsevier Science 5t October 005

one notes tat by te cain rule, u(x{x, s; t}, t) t = [( ) ] t + a u (X{x, s; t}, t) () If te advection field is interpreted as te velocity of a continuous medium, tis transform is te passage from a Eulerian frame to te Lagrangian frame. Tis metod was employed in te context of finite elements by Bercovier and Pironneau [] as a particular upwinding metod, were te left and side derivative of () is discretised by a backward Euler finite difference and te instant s is cosen as te current time step t n, so tat X{, s; t n } is te identity. For a parabolic problem of te type ( ) t + a u + Au = f in Ω, u(, t 0 ) = u 0, u Ω [0,T] = 0, a time-step by te metod of caracteristics is: u n u n X{, t n ; t n } + Au n = f(, t n ), (3) and allows to calculate an approximation u n of u(, t n ) if te caracteristic mapping X{, t n ; t n } and an approximation u n of u(, t n ) are known, wit a first order accuracy (see e.g. []). Te transport problem in Eq. (3) is idden in te term u n X{, t n ; t n }. Te calculation of tis term cannot be considered separately from te discretisation in space employed, and tus we now introduce our finite elements discretisation. First we write a variational problem to solve, Given u n V, find u n V suc tat (un, v) + a(u n, v) = f(, t n ) + ( u n X{, t n ; t n }, v ) v V (4) were V is an appropriate subspace of H0(Ω), and a(v, v ) = (Av, v ) for all v, v V. Let V V be a finite element space of degree k based on a triangulation T, equiped wit a projection operator Π suc tat for f V, s = 0 or, f Π f s,ω C k s+ f k+,ω Ten te discrete problem is, Given u n V, find u n V suc tat (un, v ) + a(u n, v ) = Π f(, t n ) + ( ) u n X{, t n ; t n }, v v V (5) were Π is a projection operator from V onto V. Te advected field transfer, tat is, te calculation of te term ( u n ) X{, t n ; t n }, v is not standard, because in general u n X{, t n ; t n } V, and can be done in two main different ways [3], tat we will briefly describe. In one approac, u n X{, t n ; t n } is treated as a function analytically known at every point of te domain, and quadrature formulae are used eiter directly, or after interpolating u n X{, t n ; t n } by a function in V. Alternatively, advantage can be taken of te fact tat u n belongs to V by calculating a triangulation T = (T X {, t n ; t n }) T, were X {, t n ; t n } is an approximation of X{, t n ; t n }, and te projection ũ V can be calculated suc tat: (ũ, v ) = v u n (X {, t n ; t n }) dx v V. (6) K T K because bot v and u n (X {, t n ; t n }) are polynomial on K T. Te caracteristic feet X{, t n ; t n } (for te first approac of te advected field transfer) or X{, t n ; t n } (for te second) are not known exactly in general, and need to be numerically integrated from Problem (). For a first order sceme, a Euler meod is enoug to obtain te desired accuracy, wit:

X{x, t n ; t n } = x + a(x, t n ) + O( ), X{x, t n ; t n } = x a(x, t n ) + O( ). (7) Te space discretisation as to be done in a finite element space of degree larger tan k. Tus, if k, isoparametric elements elements of degree k are needed if one wants to calculate T. In te case of nonlinear transport (a = u), te approximation u n of a(, t n) is not known by te time wen we need to approximate X{, t n ; t n }, but one notes tat using u n instead does not affect te order of accuracy in Eq. (7). Tis will not be te case anymore wen considering a second order sceme. It is ten easy to ceck formally tat (un ũ ) is a discretisation of ( t + a ) u to te first order in time, and it is possible to prove an error estimate in k+s + as is done in [] for te incompressible Navier Stokes equations. We will now consider te extension of tis sceme to second-order time accuracy.. Second order scemes Te difficulty of extending te Lagrange Galerkin sceme to second-order time accuracy was pointed out in [4]. Indeed, a time-sceme suc as: u n u n X{, t n ; t n } + (Aun + Au n ) = (f(, t n ) + f(, t n )) (8) is not second order accurate, because we ave: t + a u(x{, t n ; t n / }, t n / ) = (un u n X{, t n ; t n }) + O( ), but te point X{, t n ; t n / } is at a distance of order of x, and we ave only: t + a u(x, t n / ) = (un u n X{, t n ; t n }) + O(). Tus a correct second order sceme writes, u n u n X{, t n ; t n } + (Aun X{, t n ; t n } + Au n ) = (f(x{, t n; t n }, t n ) + f(, t n )) were Au n X{, t n ; t n } is understood as (Au n ) X{, t n ; t n }. Te problem is tat, if one wants to apply te Green formula to te variational form of Eq. (9), te cange of variable X{, t n ; t n } produces an additional correction term. If A is te Laplace operator, tis term is ( J n u n X{, t n ; t n }, v ), were J n is te Jacobian matrix of a(, t n ). Altoug calculations are possible wit tis discretisation [4], we sow in tis Note tat a two-step time discretisation allows to write a simpler sceme, wic as te advantage to be independent of te form of operator A, and can be naturally extended to te nonlinear transport case a = u. Let us consider te two-step sceme, u u n = Au n + f(, t n ), (0a) u n u X{, t n ; t n } + Au n = f(, t n ). (0b) No Au n X{, t n ; t n } appears in Eqs. (0a) and (0b), so te Green formula can be applied as usual to teir variational form, witout te Jacobian of te transform X{, t n ; t n } appearing. On te oter and, if we compose te first equation by X{, t n ; t n } and sum te two, we obtain exactly Eq. (9), wic implies tat u n constructed in tis way is a second-order accurate approximation of u(, t n ). 3 (9)

0 0 0 4 0 4 0 6 0 6 0 (a) 8 0 3 0 0 Figure. Error max n u n u(, t n) 0 (b) 8 0 3 0 0 versus for (a), problem () and (b), problem (). +, algoritm (3), and 0 - -, algoritm (0). Te triangles ave a ratio of and, respectively. Note tat te first step of tis sceme is only te explicit calculation of some auxiliary variable u, and( is computationally very ceap. Tis auxiliary variable can be interpreted as u = u(, t n ) + t + a ) u(, t n ) + O(). Tis is interesting, because an approximation of appropriate order of te mapping X{, t n ; t n } writes: X{x, t n ; t n } = x + a(x, t n ) + t + a u(, t n ) + O( 3 ), and tus in te nonlinear transport case a = u, we can calculate te carateristic mapping very easily wit: X{x, t n ; t n } = x + u + O( 3 ). 3. Numerical examples We present numerical examples for one-dimensional test problems and compare te result to teir analytical solution. Te finite element space V cosen is piecewise linear (k = ) on a 000-elements regular mes and te advected field transfer is done by projection. Te first problem is linear, wit te rigt-and-side f cosen suc tat te exact solution is u(x, t) = x( x)( + cost) V : u (x, t) + x( x)sin(t) u t x (x, t) + u (x, t) = f(x, t) (x, t) (0, ) [0, ] () x u(x, 0) = x( x), u(0, t) = u(, t) = 0 Te convergence of algoritms (3) and (0) is sown in Fig. (a). Tis is te case only for te advected field transfer by projection, for te quadrature metod, it is necessary to obtain a second-order approximation X {x, tn; t n } of X{x, t n; t n }, for instance wit Eq. (7), and ten to calculate X{x, t n; t n } = x + u X {x, tn; t n } + O( 3 ). 4

Te second problem is known as Burger s viscous equation, wic involves a nonlinear transport term, and tis time te rigt-and-side f is suc tat te exact solution is u(x, t) = x( x)t: u (x, t) + u(x, t) u t x (x, t) + u (x, t) = f(x, t) (x, t) (0, ) [0, ] () x wit te same initial and boundary conditions. Te convergence of algoritms (3) and (0) is sown in Fig. (b). For te same timestep, te CPU time is found to be only around 30% more wit te second order accurate metod. Tis overcost sould be even lower in dimensions iger tan one, as te resolution of te linear system in te implicit step increases faster tan te one of oter operations. 4. Perspectives Tis novel metod of second-order in time for Lagrange Galerkin discretisation of parabolic problems does not require to introduce a correction term but only te explicit calculation of an auxilliary variable. Te case of nonlinear transport is treated, and a metod making use of te same auxilliary variable is introduced to approximate te caracteristic curves in tat case. Numerical results confirm te order of convergence of te metod. Tis metod can be directly applied to muc more complicated problems, suc as te Navier Stokes equations. It can also be used for free-boundary flow problems, since te application of tis tecnique in te context of te Arbitrary Lagrangian Eulerian metod (ALE) is staigtforward. A detailed analysis of te second-order ALE metod will be presented in a fortcoming paper [5]. References [] M. Bercovier and O. Pironneau. Caracteristics and te finite elements metod. In Tadaiko Kawai, editor, Finite element flow analysis, proceedings of te 4t Int. Symp. on Finite Elements Metods in Flow Problems, Tokyo, pages 67 73. Nort-Holland, 6 9 July 98. [] E. Süli. Convergence and nonlinear stability of te Lagrange-Galerkin metod for te Navier-Stokes equation. Numer. Mat., 53:459 483, 988. [3] A. Priestley. Exact projections and te Lagrange-Galerkin metod: A realistic alternative to quadrature. J. Comput. Pys., :36 333, 993. [4] H. Rui and M. Tabata. A second order caracteristic finite element sceme for convection-diffusion problems. Numer. Mat., 9:6 77, 00. [5] J. Étienne. Te second order Lagrange Galerkin metod for free surface flows. in preparation. 5