fbpx
Wikipedia

Lax–Wendroff method

The Lax–Wendroff method, named after Peter Lax and Burton Wendroff,[1] is a numerical method for the solution of hyperbolic partial differential equations, based on finite differences. It is second-order accurate in both space and time. This method is an example of explicit time integration where the function that defines the governing equation is evaluated at the current time.

Definition

Suppose one has an equation of the following form:

 
where x and t are independent variables, and the initial state, u(x, 0) is given.

Linear case

In the linear case, where f(u) = Au, and A is a constant,[2]

 
Here   refers to the   dimension and   refers to the   dimension. This linear scheme can be extended to the general non-linear case in different ways. One of them is letting
 

Non-linear case

The conservative form of Lax-Wendroff for a general non-linear equation is then:

 
where   is the Jacobian matrix evaluated at  .

Jacobian free methods

To avoid the Jacobian evaluation, use a two-step procedure.

Richtmyer method

What follows is the Richtmyer two-step Lax–Wendroff method. The first step in the Richtmyer two-step Lax–Wendroff method calculates values for f(u(x, t)) at half time steps, tn + 1/2 and half grid points, xi + 1/2. In the second step values at tn + 1 are calculated using the data for tn and tn + 1/2.

First (Lax) steps:

 
 

Second step:

 

MacCormack method

Another method of this same type was proposed by MacCormack. MacCormack's method uses first forward differencing and then backward differencing:

First step:

 
Second step:
 

Alternatively, First step:

 
Second step:
 

References

  1. ^ P.D Lax; B. Wendroff (1960). "Systems of conservation laws" (PDF). Commun. Pure Appl. Math. 13 (2): 217–237. doi:10.1002/cpa.3160130205. from the original on September 25, 2017.
  2. ^ LeVeque, Randall J. (1992). Numerical Methods for Conservation Laws (PDF). Boston: Birkhäuser. p. 125. ISBN 0-8176-2723-5.
  • Michael J. Thompson, An Introduction to Astrophysical Fluid Dynamics, Imperial College Press, London, 2006.
  • Press, WH; Teukolsky, SA; Vetterling, WT; Flannery, BP (2007). "Section 20.1. Flux Conservative Initial Value Problems". Numerical Recipes: The Art of Scientific Computing (3rd ed.). New York: Cambridge University Press. p. 1040. ISBN 978-0-521-88068-8.

wendroff, method, named, after, peter, burton, wendroff, numerical, method, solution, hyperbolic, partial, differential, equations, based, finite, differences, second, order, accurate, both, space, time, this, method, example, explicit, time, integration, wher. The Lax Wendroff method named after Peter Lax and Burton Wendroff 1 is a numerical method for the solution of hyperbolic partial differential equations based on finite differences It is second order accurate in both space and time This method is an example of explicit time integration where the function that defines the governing equation is evaluated at the current time Contents 1 Definition 1 1 Linear case 1 2 Non linear case 2 Jacobian free methods 2 1 Richtmyer method 2 2 MacCormack method 3 ReferencesDefinition EditSuppose one has an equation of the following form u x t t f u x t x 0 displaystyle frac partial u x t partial t frac partial f u x t partial x 0 where x and t are independent variables and the initial state u x 0 is given Linear case Edit In the linear case where f u Au and A is a constant 2 u i n 1 u i n D t 2 D x A u i 1 n u i 1 n D t 2 2 D x 2 A 2 u i 1 n 2 u i n u i 1 n displaystyle u i n 1 u i n frac Delta t 2 Delta x A left u i 1 n u i 1 n right frac Delta t 2 2 Delta x 2 A 2 left u i 1 n 2u i n u i 1 n right Here n displaystyle n refers to the t displaystyle t dimension and i displaystyle i refers to the x displaystyle x dimension This linear scheme can be extended to the general non linear case in different ways One of them is letting A u f u f u displaystyle A u f u frac partial f partial u Non linear case Edit The conservative form of Lax Wendroff for a general non linear equation is then u i n 1 u i n D t 2 D x f u i 1 n f u i 1 n D t 2 2 D x 2 A i 1 2 f u i 1 n f u i n A i 1 2 f u i n f u i 1 n displaystyle u i n 1 u i n frac Delta t 2 Delta x left f u i 1 n f u i 1 n right frac Delta t 2 2 Delta x 2 left A i 1 2 left f u i 1 n f u i n right A i 1 2 left f u i n f u i 1 n right right where A i 1 2 displaystyle A i pm 1 2 is the Jacobian matrix evaluated at 1 2 u i n u i 1 n textstyle frac 1 2 u i n u i pm 1 n Jacobian free methods EditTo avoid the Jacobian evaluation use a two step procedure Richtmyer method Edit What follows is the Richtmyer two step Lax Wendroff method The first step in the Richtmyer two step Lax Wendroff method calculates values for f u x t at half time steps tn 1 2 and half grid points xi 1 2 In the second step values at tn 1 are calculated using the data for tn and tn 1 2 First Lax steps u i 1 2 n 1 2 1 2 u i 1 n u i n D t 2 D x f u i 1 n f u i n displaystyle u i 1 2 n 1 2 frac 1 2 u i 1 n u i n frac Delta t 2 Delta x f u i 1 n f u i n u i 1 2 n 1 2 1 2 u i n u i 1 n D t 2 D x f u i n f u i 1 n displaystyle u i 1 2 n 1 2 frac 1 2 u i n u i 1 n frac Delta t 2 Delta x f u i n f u i 1 n Second step u i n 1 u i n D t D x f u i 1 2 n 1 2 f u i 1 2 n 1 2 displaystyle u i n 1 u i n frac Delta t Delta x left f u i 1 2 n 1 2 f u i 1 2 n 1 2 right MacCormack method Edit Main article MacCormack method Another method of this same type was proposed by MacCormack MacCormack s method uses first forward differencing and then backward differencing First step u i u i n D t D x f u i 1 n f u i n displaystyle u i u i n frac Delta t Delta x f u i 1 n f u i n Second step u i n 1 1 2 u i n u i D t 2 D x f u i f u i 1 displaystyle u i n 1 frac 1 2 u i n u i frac Delta t 2 Delta x left f u i f u i 1 right Alternatively First step u i u i n D t D x f u i n f u i 1 n displaystyle u i u i n frac Delta t Delta x f u i n f u i 1 n Second step u i n 1 1 2 u i n u i D t 2 D x f u i 1 f u i displaystyle u i n 1 frac 1 2 u i n u i frac Delta t 2 Delta x left f u i 1 f u i right References Edit P D Lax B Wendroff 1960 Systems of conservation laws PDF Commun Pure Appl Math 13 2 217 237 doi 10 1002 cpa 3160130205 Archived from the original on September 25 2017 LeVeque Randall J 1992 Numerical Methods for Conservation Laws PDF Boston Birkhauser p 125 ISBN 0 8176 2723 5 Michael J Thompson An Introduction to Astrophysical Fluid Dynamics Imperial College Press London 2006 Press WH Teukolsky SA Vetterling WT Flannery BP 2007 Section 20 1 Flux Conservative Initial Value Problems Numerical Recipes The Art of Scientific Computing 3rd ed New York Cambridge University Press p 1040 ISBN 978 0 521 88068 8 Retrieved from https en wikipedia org w index php title Lax Wendroff method amp oldid 1131007243, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.