Math 2.0

Numerical analysis Definition

Numerical diffusion

Builds on Transport equationFinite difference methodUpwind schemeLax–Friedrichs methodLax–Wendroff method

Definition

Let a∈ℝa \in \R, and consider a consistent linear finite difference scheme for the transport equation ut+aux=0u_t + a u_x = 0, with mesh sizes Δx\Delta x, Δt\Delta t and fixed ratio ν=aΔt/Δx\nu = a \Delta t / \Delta x. Its modified equation is the partial differential equation that the numerical solution satisfies to higher order in Δx\Delta x. It is found by Taylor expansion of the scheme, with time derivatives replaced by space derivatives. Suppose the modified equation has the form ut+aux=D uxx+∑k≥3ck ∂xku.u_t + a u_x = D\, u_{xx} + \sum_{k \ge 3} c_k\, \partial_x^k u. The coefficient DD is the numerical diffusion coefficient of the scheme. The scheme is said to have numerical diffusion when D>0D > 0.

Remarks

Example: for the upwind scheme ujn+1=ujn−ν(ujn−uj−1n)u_j^{n+1} = u_j^n - \nu (u_j^n - u_{j-1}^n) with a>0a > 0, Taylor expansion gives ut+Δt2utt+aux−aΔx2uxx=O(Δx2)u_t + \frac{\Delta t}{2} u_{tt} + a u_x - \frac{a \Delta x}{2} u_{xx} = O(\Delta x^2). Using utt=a2uxx+O(Δx)u_{tt} = a^2 u_{xx} + O(\Delta x) gives D=aΔx2(1−ν)D = \frac{a \Delta x}{2} (1 - \nu), which is positive for 0<ν<10 < \nu < 1. For the Lax–Friedrichs method the same computation gives D=Δx22Δt(1−ν2)D = \frac{\Delta x^2}{2 \Delta t} (1 - \nu^2), which is larger than for upwind when 0<ν<10 < \nu < 1. Non-example: for the Lax–Wendroff method the coefficient of uxxu_{xx} is zero to this order, so D=0D = 0. Its leading error is a third-derivative term, which is dispersive (wiggles), not diffusive (smearing). A negative DD means anti-diffusion, as for the downwind scheme ujn+1=ujn−ν(uj+1n−ujn)u_j^{n+1} = u_j^n - \nu (u_{j+1}^n - u_j^n) with a>0a > 0, which is unstable.

Reading path

To understand this page from the ground up, read these 6 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. Finite difference method concept
  2. Lax–Friedrichs method concept
  3. Lax–Wendroff method concept
  4. Transport equation concept
  5. Upwind scheme concept
  6. Numerical diffusion definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Numerical_diffusion
About this page
TagMM0YNN1MJA
URIm2://MM0YNN1MJA
Kinddefinition
WritingW0 stub
MSC65M06, 65M15
DefinesNumerical diffusion
UsesTransport equation, Finite difference method, Upwind scheme, Lax–Friedrichs method, Lax–Wendroff 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.