Watch thermally buoyant blobs rise when heated and sink when cooled — a hypnotic, physics-accurate simulation of Archimedes' principle, thermal expansion, and natural convection.
Buoyant force on an object in fluid:
When ρ_blob < ρ_fluid the net force is upward (blob rises). When ρ_blob > ρ_fluid it is downward (blob sinks). Thermal expansion drives this density difference.
Blob density at temperature T:
A larger thermal expansion coefficient α produces larger density changes per degree. Typical silicone oil has α ≈ 9×10⁻⁴ /K. The 'heat intensity' slider controls the effective temperature gradient that drives this effect.
Onset criterion for buoyancy-driven convection:
Above this critical Rayleigh number, organized convective cells spontaneously form. This phenomenon drives mantle convection, atmospheric circulation, solar convection zones, and electronics cooling.
Buoyancy-driven flow is governed by the Boussinesq Navier-Stokes equations. OpenFOAM's buoyantSimpleFoam and Ansys Fluent's natural convection model solve exactly this physics at engineering scale. Understanding the lava lamp builds the intuition to set up and interpret those simulations correctly.
The core principle is Archimedes' principle: the buoyant force on an object (or blob) is equal to the weight of the fluid it displaces. Whether the blob rises or sinks depends on the net force between buoyancy and its own weight.
$$F_{net}= F_b - W_{blob}= \rho_{fluid}V g - \rho_{blob}V g$$Where $F_b$ is the buoyant force, $W_{blob}$ is the blob's weight, $\rho$ is density, $V$ is volume, and $g$ is gravity. If $\rho_{blob}< \rho_{fluid}$, $F_{net}$ is positive and the blob accelerates upwards.
The density of the wax blob changes with temperature due to thermal expansion. A simple linear model describes this, linking the heater's effect to the buoyant force.
$$\rho_{blob}(T) = \rho_0 \left[1 - \beta (T - T_0)\right]$$Here, $\rho_0$ is the reference density at temperature $T_0$, and $\beta$ is the coefficient of thermal expansion. Heating the blob ($T > T_0$) decreases its density, triggering ascent. The simulator's "Thermal Expansion Coeff." slider directly controls $\beta$.
Atmospheric & Oceanic Circulation: The same buoyancy-driven convection you see in the lamp governs large-scale weather patterns and ocean currents. Warm air or water rises at the equator, cools at higher altitudes/latitudes, and sinks, creating global circulation cells that are simulated using similar principles.
Electronic Cooling Systems: Heat sinks and cooling designs for CPUs and power electronics often rely on "natural convection," where heated air rises away from components. Engineers use CAE software to model these convective flows, optimizing fin geometry and layout to prevent overheating.
Industrial Mixing & Chemical Reactors: In large tanks, controlled heating from below can induce convective currents to mix fluids without mechanical stirrers. This is crucial in food processing, pharmaceutical manufacturing, and chemical production where gentle, uniform mixing is needed.
Geophysical Phenomena: The movement of molten rock in the Earth's mantle (magma) is driven by thermal convection on a planetary scale. These slow, buoyant plumes are responsible for volcanic hotspots, continental drift, and the creation of new seafloor.
When you start using this simulator, there are a few common pitfalls to watch out for. The first is the tendency to think that maximum heating intensity will create the most vigorous motion. While the blob does heat up faster, if the intensity is too high, the blob quickly reaches the ceiling, disrupting the "relaxed cycle" of descending and cooling down. If you want to recreate the calm, realistic motion of a lava lamp, the trick is to start with a medium heating intensity and balance it with the other parameters.
The second point is confusing the effects of the "thermal expansion coefficient" and "fluid viscosity". The thermal expansion coefficient (α) is the parameter that determines how drastically the density changes with temperature. For example, doubling α means the density drops with twice the intensity for the same temperature rise, leading to stronger buoyancy and a more rapid ascent. Viscosity, on the other hand, is the strength of the brake on that motion. Even if you increase buoyancy by raising α, if you also increase viscosity too much, the blob will only move sluggishly as if crawling through heavy oil. When adjusting parameters, try to be conscious of "which effect you are changing."
Finally, this is a common trap in practical work too: don't just chase the "appearance" of the simulation. For instance, even if the blob's shape deviates slightly from a perfect sphere, the core principle—"convection driven by the balance between buoyancy and viscous drag"—remains unchanged. In numerical simulation, the first step is to extract and understand the essence of the phenomenon using such simplified models. Be careful not to get so caught up in realistic details that you lose sight of the core concept.
The physics handled by this lava lamp simulator actually forms the foundation for a surprisingly wide range of fields. The first to mention is numerical simulation in meteorology and oceanography. The Earth's atmosphere and oceans are also governed by large-scale convection caused by differential heating from the sun, which drives climate and ocean currents. Experimenting with changing the "heating position" in this simulator is the very principle of how temperature differences between the equator and the poles generate circulation.
Another important application is in metal casting processes. When molten metal (melt) is poured into a mold, natural convection occurs due to the temperature difference with the mold. This significantly affects the solidification rate and impurity segregation (separation). Producing high-quality castings requires controlling this convection, and the ideal teaching tool for learning this fundamental physics is precisely this "lava lamp" model.
Recently, it has also become important in the renewable energy field. For example, in "solar chimneys," a type of solar thermal power generation, or in "open-loop systems" utilizing geothermal energy, the rising thermal plume itself becomes the power source. Increasing the "thermal expansion coefficient" in this simulator directly relates to "fluid selection" and "temperature gradient design" for generating efficient upward flow.
Once you're comfortable with this simulator and want to learn more, try moving to the next step. First, try looking at the governing equations. Here we only showed the buoyancy equation, but in the actual simulation, the blob's motion is calculated using the "equation of motion." In other words, the net force of buoyancy $F_b$ and viscous drag $F_d$ (roughly proportional to velocity) determines the blob's mass and acceleration: $$m \frac{dv}{dt} = F_b - F_d$$ Looking at this equation, your intuition that "high viscosity makes acceleration difficult (sluggish motion)" and "strong buoyancy creates large acceleration (vigorous motion)" should connect clearly with the mathematics.
The next recommended topic is to look into Rayleigh-Bénard convection. This is the study of regular convection patterns that form in a thin fluid layer heated uniformly from below. It's a step beyond the motion of "a single blob" in a lava lamp, allowing you to learn the more universal phenomenon of how an entire fluid organizes into structured convection cells. Understanding this will make it easier to see the applications to the meteorological phenomena and industrial processes mentioned earlier.
At the final stage of learning, incorporate the concept of dimensionless numbers. In engineering fields, dimensionless numbers like the "Rayleigh number" and "Prandtl number" are used to fundamentally understand phenomena. For example, the Rayleigh number represents the ratio of buoyancy strength (thermal expansion coefficient and temperature difference) to the viscosity and thermal diffusivity that hinder motion. Adjusting the simulator's parameters is essentially changing these dimensionless numbers. With this perspective, you'll develop the ability to scale up small experimental results to think about large-scale real-world phenomena.