Jump to content

User:SergJim/sandbox

From Wikipedia, the free encyclopedia

This is the current revision of this page, as edited by SergJim (talk | contribs) at 22:57, 9 March 2023 (I added an image I uploaded about the stability of the upwind numerical scheme and then I added a paragraph about the image in greater detail.). The present address (URL) is a permanent link to this version.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
This figure shows the effects of the courant number on the stability of the numerical scheme.

First-order upwind scheme stability[edit]

When the first-order upwind scheme is applied to the one-dimensional time-dependent advection equation, the courant number is formed to indicate the scheme's stability. The scheme is stable if the courant number is less than or equal to one. When the courant number is one, the exact solution is formed. In the figure above, the exact solution is a square pulse with no diffusion. If the courant number is less than one, numerical diffusion will occur, not the actual diffusion that the solution experiences. The figure above shows that the two graphs on the left have some spreading when the actual solution is a square pulse. When the courant number is larger than one, the scheme will create large oscillations and grow unstable, as seen with the graph on the far right.