Math 2.0

Numerical analysis Definition

Lax–Wendroff method

Builds on Transport equationFinite difference methodConservation lawLax–Friedrichs method

Definition

Fix Δx>0\Delta x > 0 and Δt>0\Delta t > 0, put λ=Δt/Δx\lambda = \Delta t / \Delta x, and let ujnu_j^n approximate u(jΔx,nΔt)u(j \Delta x, n \Delta t).

  1. For the transport equation ut+aux=0u_t + a u_x = 0 with a∈ℝa \in \R and ν=aλ\nu = a \lambda, the Lax–Wendroff method is the explicit finite difference scheme ujn+1=ujn−ν2(uj+1n−uj−1n)+ν22(uj+1n−2ujn+uj−1n).u_j^{n+1} = u_j^n - \frac{\nu}{2} \left( u_{j+1}^n - u_{j-1}^n \right) + \frac{\nu^2}{2} \left( u_{j+1}^n - 2 u_j^n + u_{j-1}^n \right).
  2. For a conservation law ut+f(u)x=0u_t + f(u)_x = 0 with a smooth flux ff, its two-step (Richtmyer) form is uj+1/2n+1/2=ujn+uj+1n2−λ2(f(uj+1n)−f(ujn)),ujn+1=ujn−λ(f(uj+1/2n+1/2)−f(uj−1/2n+1/2)).u_{j+1/2}^{n+1/2} = \frac{u_j^n + u_{j+1}^n}{2} - \frac{\lambda}{2} \left( f(u_{j+1}^n) - f(u_j^n) \right), \qquad u_j^{n+1} = u_j^n - \lambda \left( f(u_{j+1/2}^{n+1/2}) - f(u_{j-1/2}^{n+1/2}) \right).

Remarks

For f(u)=auf(u) = a u, the two-step form reduces to the scheme of clause 1. The first step is a Lax–Friedrichs step over half a time step on the staggered grid. Example: for clause 1, the Fourier mode eijξe^{i j \xi} is multiplied by g=1−iνsin⁡ξ−ν2(1−cos⁡ξ)g = 1 - i \nu \sin \xi - \nu^2 (1 - \cos \xi), and a short computation gives ∣g∣2=1−4ν2(1−ν2)sin⁡4(ξ/2)\abs{g}^2 = 1 - 4 \nu^2 (1 - \nu^2) \sin^4 (\xi / 2). So ∣g∣≤1\abs{g} \le 1 for all ξ\xi exactly when ∣ν∣≤1\abs{\nu} \le 1, and the scheme is stable under this condition. Taylor expansion shows that the local truncation error is O(Δx3)O(\Delta x^3) for fixed ν\nu, so the method is second-order accurate. Non-example: dropping the last term gives the forward-time centred-space scheme, which is only first order in time and has ∣g∣2=1+ν2sin⁡2ξ>1\abs{g}^2 = 1 + \nu^2 \sin^2 \xi > 1 for sin⁡ξ≠0\sin \xi \ne 0, so it is unstable.

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Conservation law concept
  2. Finite difference method concept
  3. Lax–Friedrichs method concept
  4. Transport equation concept
  5. Lax–Wendroff method definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Lax%E2%80%93Wendroff_method
About this page
TagJ8ZRM7KFJH
URIm2://J8ZRM7KFJH
Kinddefinition
WritingW0 stub
MSC65M06, 35L65
DefinesLax–Wendroff method
UsesTransport equation, Finite difference method, Conservation law, Lax–Friedrichs method

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.