# Rayleigh–Bénard Convection Cells

Interactive Rayleigh–Bénard convection visualization. Watch regular convection rolls form when the temperature difference exceeds the critical Rayleigh number Ra_c ≈ 1708.

> Canonical page: https://elysiatools.com/en/visualizations/rayleigh-benard-convection

- **Category:** Physics

## Overview

Interactive Rayleigh-Bénard convection visualization with dual side and top views. When a horizontal fluid layer is heated from below, buoyancy drives hot light fluid upward and cold dense fluid downward; distinct from the existing Rayleigh-Taylor instability (a vertical-density-gradient, inertia-dominated interface overturn) this case is a horizontal thin layer where thermal diffusion, viscosity and buoyancy compete under the Boussinesq approximation, and is the textbook example of a dissipative structure — order emerging far from thermodynamic equilibrium (Prigogine), in the same family as the Belousov-Zhabotinsky oscillating reaction and Turing reaction-diffusion patterns. The side-view governing equations are the dimensionless incompressible Navier-Stokes coupled to a temperature equation with a buoyancy term +Ra·Pr·T ĵ, or equivalently the vorticity-streamfunction form: a vorticity transport equation ∂ω/∂t + (u·∇)ω = Pr∇²ω + Ra·Pr·∂T/∂x, a temperature advection-diffusion equation ∂T/∂t + (u·∇)T = ∇²T, and a Poisson equation ∇²ψ = −ω for the streamfunction. The top-view planform is modeled by the Swift-Hohenberg pattern-formation equation ∂u/∂t = r·u − (1+∇²)²·u + α·u² − u³ (r = Ra/Ra_c − 1 the control parameter, α the quadratic term breaking up-down symmetry that enables hexagons), solved with the ETD1 spectral method (exact integration of the stiff biharmonic operator, φ₁ function). Linear stability analysis (Rayleigh 1916, Chandrasekhar 1961) gives the critical Rayleigh number Ra_c ≈ 1707.76 for rigid no-slip plates at critical wavenumber k_c ≈ 3.117 (preferred wavelength ≈ 2 layer depths); below Ra_c heat travels by conduction alone (Nusselt Nu=1), above it regular convection rolls appear and enhance heat transfer (Nu>1), and the hexagon-to-roll transition occurs at r* = α²/3 (Cross-Hohenberg amplitude-equation result). Four visualization panels: (1) Side-view convection cross-section rendered as a temperature colormap (blue cold → red hot) into an offscreen grid-resolution ImageData scaled to display size, with overlaid velocity-vector arrows scaled by local speed. (2) Top-view Bénard planform showing the classic hexagonal cell pattern from above, the Swift-Hohenberg order-parameter field rendered as a diverging colormap (rising fluid red, sinking fluid blue), self-organizing from three seeded 120°-spaced wavevectors plus noise. (3) Temperature profile plot showing the horizontally-averaged T(y) bending from a straight conductive line into the characteristic S-shaped convective profile, against the dashed conduction reference. (4) Nusselt-over-time plot tracking heat-transfer enhancement with the Nu=1 conduction reference line. Adjustable parameters: temperature difference ΔT (1–50 °C), fluid type (air/water/glycerin/silicone oil switching α/ν/κ), aspect ratio W/H (1–3), Prandtl number Pr (0.5–10), hexagon bias α (0–3, where α=0 forces stripes), and a velocity-arrow toggle. Four scenario presets: Stable (Ra<Ra_c pure conduction), Onset (just past critical), Regular (steady textbook Bénard rolls ~9·Ra_c), Turbulent (time-dependent roll merging ~25·Ra_c). Real-time statistics: regime (Stable/Onset/Regular rolls/Unsteady/Turbulent), Rayleigh number Ra, Ra/Ra_c ratio, Nusselt number Nu, peak velocity, hexagon order (asymmetry-based pattern classifier), and the hexagon-to-roll threshold r* = α²/3. Educational content covers the instability mechanism (buoyancy vs viscous and diffusive damping), the Rayleigh number and its critical value, the Boussinesq governing equations, dissipative structures and self-organization (Prigogine, BZ reaction, Turing patterns), geophysical/astrophysical applications (Earth mantle, ocean circulation, atmospheric cloud streets, solar convection zone), and engineering applications (heat exchangers, electronics cooling, solar collectors, double glazing). Multi-language support (zh, en, es, fr, de, ru, pt).

## Related content

- [Zero-Order Reaction - Interactive Visualization](https://elysiatools.com/en/visualizations/zero-order-reaction): Interactive visualization of zero-order reaction kinetics and concentration changes over time
- [First-Order Reaction - Interactive Visualization](https://elysiatools.com/en/visualizations/first-order-reaction): Interactive visualization of first-order reaction kinetics and exponential concentration decay
- [Second-Order Reaction - Interactive Visualization](https://elysiatools.com/en/visualizations/second-order-reaction): Interactive visualization of second-order reaction kinetics and bimolecular collision dynamics
- [Arrhenius Equation](https://elysiatools.com/en/visualizations/arrhenius-equation): Interactive visualization of temperature effect on reaction rate - Explore activation energy, pre-exponential factor, and rate constant relationship
- [Reversible Reaction](https://elysiatools.com/en/visualizations/reversible-reaction): Interactive visualization of A ⇌ B reversible reaction kinetics - Explore forward and reverse reaction rates, equilibrium constant, and concentration changes over time
- [Consecutive Reaction](https://elysiatools.com/en/visualizations/consecutive-reaction): Interactive visualization of A → B → C consecutive reaction kinetics - Explore intermediate concentration peaks, rate-determining steps, and complete evolution of all species
- [Chain Reaction](https://elysiatools.com/en/visualizations/chain-reaction): Interactive visualization of free radical chain reaction polymerization - Explore initiation, propagation, termination steps, chain growth animation, and molecular weight distribution
- [Le Chatelier's Principle](https://elysiatools.com/en/visualizations/le-chateliers-principle): Interactive visualization of Le Chatelier's Principle - Explore how changes in concentration, pressure, and temperature affect chemical equilibrium with animated molecular dynamics
