{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "MM0YNN1MJA"
    }
  ],
  "body": "\n## Summary\n\nNumerical diffusion is the smearing of a computed solution caused by the discretisation itself.\nIt acts like an extra diffusion term that the original equation does not have.\nIt is most visible in advection problems: a sharp front that should move without change of shape spreads out more and more.\nIt is measured by the coefficient of the second-derivative term in the modified equation of the scheme.\nIt is typical of first-order schemes such as the [[upwind scheme|MTCRZC5QKT]].\nSome numerical diffusion is often needed for stability, but too much of it destroys the resolution of fine features.\n\n## Explanations\n\n### L1 human\n\nImagine a square pulse of dye carried by a steady current.\nThe exact pulse keeps its shape, but a simple computer simulation shows its edges blurring, as if the dye were also spreading by diffusion.\nThis blur is not physics; it is an error of the method, and it behaves like a diffusion whose strength shrinks with the grid size.\nFor the upwind scheme, the extra diffusion coefficient is $\\frac{a \\Delta x}{2}(1 - \\nu)$, where $a$ is the speed and $\\nu = a \\Delta t / \\Delta x$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65M06",
      "65M15"
    ],
    "name": "Numerical diffusion",
    "same_as": {
      "wikidata": "Q7069655",
      "wikipedia": "Numerical diffusion"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Numerical_diffusion"
      }
    ],
    "tag": "55GVVJTF24"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/55GVVJTF24/",
  "links": null,
  "markdown": "https://tamnd.github.io/math2/node/55GVVJTF24.md",
  "msc": [
    "65M06",
    "65M15"
  ],
  "name": "Numerical diffusion",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/55G/55GVVJTF24.md",
  "status": null,
  "tag": "55GVVJTF24",
  "uri": "m2://55GVVJTF24",
  "url": "https://tamnd.github.io/math2/wiki/numerical-diffusion/",
  "writing": {
    "tag": "55GVVJTF24",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
