2D and 3D Rayleigh Benard thermal convection
The bottom is heated with a small pertubation at the center, at the top a constant lower temperature is applied and at the side the heatflow is assumed to be periodic.
![](https://www.openlb.net/wp-content/uploads/2013/11/rayleighBenard.gif)
You can find the source code as OpenLB example at “/examples/thermal2d/rayleighBenard2d.cpp” with parameters Rayleigh=1e+8, Prandtl=1, N=100 and dt=0.0001.
![](https://www.openlb.net/wp-content/uploads/2016/01/rayleighBenard3.jpg)
You can find the source code of the 3d version on the OpenLB website (www.openlb.net) as example at “/examples/thermal3d/rayleighBenard3d.cpp” in a very similar setup.
More information:
- Video on YouTube
- Lattice Boltzmann Research Group (LBRG)
Contributed by Peter Weisbrod, Orestis Malaspinas and Mathias J. Krause.