How does an upwind scheme move a moisture pulse?
An explicit upwind step replaces part of a cell’s old value with the upstream cell’s value. With positive flow, the upstream cell lies to its left.
Start with Central-difference practice using a storm pressure field.
| Local value | Upstream value | C | Updated value |
|---|---|---|---|
| 8 g/kg | 12 g/kg | 0.25 | 9 g/kg |
Worked example
Set qnew = qhere − C(qhere−qupwind), where C = UΔt/Δx for positive U. If C = 0.25, qhere = 8 and qupwind = 12 g/kg, the new value is 8−0.25(8−12) = 9 g/kg. The update is a weighted average for 0≤C≤1 and can blur sharp gradients.
Practice questions
- What if C becomes 0.5?
- If the upstream cell is 4 g/kg at C = 0.25, what happens?
Worked answers
Answer 1
The update gives the mean of the two original values, 10 g/kg.
Answer 2
The local value falls to 8−0.25(8−4) = 7 g/kg.
- The update gives the mean of the two original values, 10 g/kg.
- The local value falls to 8−0.25(8−4) = 7 g/kg.