Home▸Articles▸Everyday Physics

Lava Lamp Fluid Dynamics: Rayleigh–Bénard Convection (2D)

Understanding the fascinating dance of heat and fluid motion in a simple yet complex system.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Is Rayleigh–Bénard Convection

Rayleigh–Bénard convection is a phenomenon observed when a fluid layer is heated from below and cooled from above. This setup creates a temperature gradient that drives the fluid motion, leading to patterns of rising hot fluid and sinking cooler fluid. The process is named after Lord Rayleigh and Emile Bénard who independently discovered it in the early 20th century.

This convection mechanism can be seen in everyday objects like lava lamps, where colored wax blobs rise and fall due to temperature differences, creating mesmerizing patterns.

How It Works

The key factor governing Rayleigh–Bénard convection is the Rayleigh number (Ra), which quantifies the balance between buoyancy forces and viscous forces. When Ra exceeds a critical value, fluid motion becomes unstable, leading to convective cells forming in the fluid layer.

In the lava lamp simulation, you can observe how changes in temperature and density differences drive these convection currents. The Boussinesq approximation simplifies the equations by assuming that fluid properties change only due to temperature variations.

live demo · related simulation● LIVE

Why It Matters

Rayleigh–Bénard convection is crucial in understanding a wide range of natural and industrial processes. From atmospheric circulation patterns to heat transfer in electronic devices, this phenomenon plays a significant role.

Moreover, the study of Rayleigh–Bénard convection has led to advancements in fluid dynamics modeling and has applications in fields such as meteorology, geophysics, and even in designing more efficient cooling systems for computers.

Real-World Examples

The most iconic example of Rayleigh–Bénard convection is the lava lamp. The colored wax blobs rise when heated at the bottom and sink when cooled, creating a visually appealing display.

In nature, this phenomenon can be observed in the ocean's thermohaline circulation, where differences in temperature and salinity drive large-scale fluid motion.

Frequently asked questions

What is the Rayleigh number?

The Rayleigh number (Ra) is a dimensionless quantity that characterizes the ratio of buoyancy forces to viscous forces in a fluid. It helps determine whether convection will occur in a fluid layer.

How does temperature affect Rayleigh–Bénard convection?

Temperature plays a critical role by creating density differences within the fluid, which drive buoyancy and thus convection currents. Higher temperatures increase the likelihood of convection as they enhance these density differences.

Can Rayleigh–Bénard convection occur in 3D?

Yes, Rayleigh–Bénard convection can be observed in three dimensions, although it is often studied and visualized in two-dimensional simulations for simplicity and clarity.

What are some practical applications of understanding Rayleigh–Bénard convection?

Understanding this phenomenon helps in designing more efficient cooling systems, predicting weather patterns, and optimizing fluid flow in industrial processes such as heat exchangers and nuclear reactors.

Try it live

Everything above runs in your browser — open Lava Lamp Fluid Dynamics: Rayleigh–Bénard Convection (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Lava Lamp Fluid Dynamics: Rayleigh–Bénard Convection (2D) simulation

What did you find?

Add reproduction steps (optional)