- Practice · 6 marks
Upwind versus central scheme for convection
Short answer
Courant number C=uΔt/Δx=0.8. Upwind scheme (bounded, stable): φ₁=300, φ₂=304, φ₃=328, φ₄=368. Central difference (FTCS) gives unphysical undershoots: φ₁=292, φ₂=296, φ₃=328, φ₄=384. Upwind introduces numerical diffusion Γ_num=uΔx(1-C)/2=0.02 m²/s smearing gradients; central scheme is unconditionally unstable for pure convection.
For the linear convection equation with m/s, grid spacing m and time step s, find the Courant number. The values of at nodes 0 to 5 are 300, 300, 320, 360, 400, 400. Compute the new values at nodes 1 to 4 using (a) the first-order upwind scheme and (b) the central difference scheme in space with forward Euler in time. Comment on the results and on numerical diffusion.
Courant number
The physical shift in one step is m, i.e. 0.8 of a cell, so the exact solution moves the profile to the right by 0.8 cell.
(a) First-order upwind (flow in +x, use the upstream node)
(b) Central difference (FTCS)
| Node | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Old | 300 | 320 | 360 | 400 |
| Upwind | 300.0 | 304.0 | 328.0 | 368.0 |
| Central | 292.0 | 296.0 | 328.0 | 384.0 |
Comments
- Upwind results stay between the old minimum (300) and maximum (400): the scheme is bounded and stable for .
- The central scheme gives 292 and 296 at nodes 1 and 2, below the lowest old value of 300 (an unphysical undershoot). Forward Euler with central space differencing is unconditionally unstable for pure convection, so these oscillations grow with time.
- Upwind is first order. Its truncation error contains , which acts like an extra diffusion (numerical or false diffusion) with coefficient
that smears sharp gradients. For it vanishes and the scheme is exact in 1D.
- Remedies: finer grids, higher-order bounded schemes (QUICK, TVD, second-order upwind) with limiters.
Answer: ; upwind 300, 304, 328, 368; central 292, 296, 328, 384; numerical diffusion 0.02 m²/s.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Second derivative central difference scheme · Applied Computational Fluid Dynamics, chapter 3
- Explicit scheme for transient conduction · Applied Computational Fluid Dynamics, chapter 3
- Derive forward, backward, central differences · Applied Computational Fluid Dynamics, chapter 3
- Order of accuracy, consistency and stability · Applied Computational Fluid Dynamics, chapter 3
- Numerical check of difference schemes · Applied Computational Fluid Dynamics, chapter 3
- Second-order scheme, linear kinematic wave · Computational Techniques in Civil Engineering, chapter 5
- First-order implicit non-linear kinematic wave · Computational Techniques in Civil Engineering, chapter 5
- First-order system impulse and step response · Signals and Systems, chapter 5
- Laplace: 3x3 grid 200/300/400/500 · Numerical Method, chapter 7 · asked 5×
All Applied Computational Fluid Dynamics chapter 3 questions →