Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Phase 3 — Chaos and Predictability: the Lorenz Systems

Authors
Affiliations
University of Valencia

Before tackling the full fluid models, it is worth meeting deterministic chaos in its smallest form. Edward Lorenz’s two systems — a three-variable convection caricature and an NN-variable atmospheric ring — distil the property that makes weather and ocean forecasting hard: a perfectly known, perfectly deterministic system whose trajectories nonetheless become unpredictable because minuscule differences in the initial state grow exponentially Lorenz (1963)Lorenz (1996). somax ships both as first-class models, and they are the standard test-beds for the data-assimilation machinery in later tutorials.

What you will learn

  • How the Lorenz-63 system traces out its butterfly attractor

  • What “sensitive dependence on initial conditions” looks like quantitatively

  • How the Lorenz-96 ring produces travelling spatiotemporal chaos

1. Lorenz-63 — the butterfly attractor

The Lorenz-63 system is three coupled ODEs distilled from Rayleigh–Bénard convection,

x˙=σ (y−x),y˙=x (ρ−z)−y,z˙=x y−β z,\begin{aligned} \dot{x} &= \sigma\,(y - x), \\ \dot{y} &= x\,(\rho - z) - y, \\ \dot{z} &= x\,y - \beta\,z, \end{aligned}

with the classical parameters (σ,ρ,β)=(10, 28, 8/3)(\sigma,\rho,\beta) = (10,\ 28,\ 8/3) at which the flow is chaotic Lorenz (1963). Trajectories are drawn onto a bounded, fractal strange attractor — the two-lobed “butterfly” — never repeating yet never escaping.

watermark extension not installed; skipping reproducibility readout.
L63 trajectory: 5000 samples

Figure 1 projects the trajectory onto the (x,z)(x,z) plane, tracing the two wings of the attractor between which the state irregularly switches.

<Figure size 1200x500 with 1 Axes>
The Lorenz-63 strange attractor , projected onto the (x,z) plane. The trajectory winds around two lobes, switching between them aperiodically — the signature of low-dimensional chaos.

Figure 1:The Lorenz-63 strange attractor (1), projected onto the (x,z)(x,z) plane. The trajectory winds around two lobes, switching between them aperiodically — the signature of low-dimensional chaos.

2. Sensitive dependence on initial conditions

Chaos is quantified by the exponential separation of nearby trajectories. Two states that start a tiny distance δ0\delta_0 apart diverge, on average, as

δ(t)  ∼  δ0 eλt,\delta(t) \;\sim\; \delta_0\,e^{\lambda t},

where λ>0\lambda > 0 is the leading Lyapunov exponent (λ≈0.9\lambda \approx 0.9 for Lorenz-63). The finite growth horizon this implies — not any model deficiency — is the fundamental limit on forecast skill Lorenz (1963). We integrate two trajectories whose initial conditions differ by 10-6 and watch the gap. (We use 10-6 rather than a smaller value because somax runs in single precision by default, where perturbations below ∼ ⁣10−7\sim\!10^{-7} vanish into round-off.)

initial separation 1e-06 → final separation 17.68

Figure 2 plots the separation on a log axis. The early near-straight ramp is the exponential growth of (2); its slope is the leading Lyapunov exponent. Growth saturates once the gap reaches the size of the attractor itself — at which point the two forecasts are effectively independent.

<Figure size 1200x500 with 1 Axes>
Separation between two Lorenz-63 trajectories whose initial states differ by 10^{-6}. The log-linear ramp is the exponential divergence ; saturation occurs when the separation reaches the attractor’s own scale.

Figure 2:Separation between two Lorenz-63 trajectories whose initial states differ by 10-6. The log-linear ramp is the exponential divergence (2); saturation occurs when the separation reaches the attractor’s own scale.

3. Lorenz-96 — spatiotemporal chaos on a ring

Lorenz-96 extends the idea to KK variables arranged on a periodic ring, each representing an atmospheric quantity at one longitude,

x˙k=(xk+1−xk−2) xk−1−xk+F,k=1,…,K,\dot{x}_k = (x_{k+1} - x_{k-2})\,x_{k-1} - x_k + F, \qquad k = 1,\dots,K,

with cyclic indices and a constant forcing FF Lorenz (1996). The quadratic term advects, the linear term damps, and FF injects energy; at F=8F=8 the balance produces travelling waves that break into sustained spatiotemporal chaos. Because it is high-dimensional yet cheap, Lorenz-96 is the standard proving ground for data-assimilation schemes.

L96 Hovmoller: (2000, 40) (time, longitude)

Figure 3 is a Hovmöller diagram — longitude on the horizontal axis, time on the vertical — of the 40-variable ring. The slanted bands are westward-propagating waves; their irregular merging and splitting is the spatiotemporal chaos that makes the system a faithful, low-cost atmosphere surrogate.

<Figure size 1200x500 with 2 Axes>
Hovmöller diagram of the Lorenz-96 ring  at F=8. Slanted stripes are propagating waves; their continual reorganisation is sustained spatiotemporal chaos.

Figure 3:Hovmöller diagram of the Lorenz-96 ring (3) at F=8F=8. Slanted stripes are propagating waves; their continual reorganisation is sustained spatiotemporal chaos.

Summary

  • Lorenz-63 (1) traces a bounded strange attractor; the flow is deterministic yet never repeats.

  • Sensitive dependence — exponential separation (2) of nearby states at the positive Lyapunov rate — is the intrinsic limit on predictability, not a numerical artifact.

  • Lorenz-96 (3) lifts chaos onto a ring, giving high-dimensional spatiotemporal chaos at trivial cost — the canonical data-assimilation test-bed used in the ETKF and 4DVar tutorials.

The final chapter brings the staggered grids, operators, and elliptic solvers of Phases 0–2 together into the geophysical shallow-water and quasi-geostrophic models.

References
  1. Lorenz, E. N. (1963). Deterministic nonperiodic flow. Journal of the Atmospheric Sciences, 20(2), 130–141. https://doi.org/10.1175/1520-0469(1963)020<;0130:DNF>2.0.CO;2
  2. Lorenz, E. N. (1996). Predictability: A problem partly solved. Proceedings of the Seminar on Predictability, 1, 1–18.