This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)(Learn how and when to remove this template message)
Granular convection, or granular segregation, is a phenomenon where granular material subjected to shaking or vibration will exhibit circulation patterns similar to types of fluid convection. It is sometimes described as the Brazil nut effect  when the largest particles end up on the surface of a granular material containing a mixture of variously sized objects; this derives from the example of a typical container of mixed nuts, where the largest will be Brazil nuts. The phenomenon is also known as the muesli effect since it is seen in packets of breakfast cereal containing particles of different sizes but similar density, such as muesli mix.
Under experimental conditions, granular convection of variously sized particles has been observed forming convection cells similar to fluid motion. The convection of granular flows is becoming a well-understood phenomenon.
It may be counterintuitive to find that the largest and (presumably) heaviest particles rise to the top, but several explanations are possible:
- The center of mass of the whole system (containing the mixed nuts) in an arbitrary state is not optimally low; it has the tendency to be higher due to there being more empty space around the larger Brazil nuts than around smaller nuts. When the nuts are shaken, the system has the tendency to move to a lower energy state, which means moving the center of mass down by moving the smaller nuts down and thereby the Brazil nuts up.
- Including the effects of air in spaces between particles, larger particles may become buoyant or sink. Smaller particles can fall into the spaces underneath a larger particle after each shake. Over time, the larger particle rises in the mixture. (According to Heinrich Jaeger, "[this] explanation for size separation might work in situations in which there is no granular convection, for example for containers with completely frictionless side walls or deep below the surface of tall containers (where convection is strongly suppressed). On the other hand, when friction with the side walls or other mechanisms set up a convection roll pattern inside the vibrated container, we found that the convective motion immediately takes over as the dominant mechanism for size separation.")
- The same explanation without buoyancy or center of mass arguments: As a larger particle moves upward, any motion of smaller particles into the spaces underneath blocks the larger particle from settling back in its previous position. Repetitive motion results in more smaller particles slipping beneath larger particles. A greater density of the larger particles has no effect on this process. Shaking is not necessary; any process which raises particles and then lets them settle would have this effect. The process of raising the particles imparts potential energy into the system. The result of all the particles settling in a different order may be an increase in the potential energy—a raising of the center of mass.
- When shaken, the particles move in vibration-induced convection flow; individual particles move up through the middle, across the surface, and down the sides. If a large particle is involved, it will be moved up to the top by convection flow. Once at the top, the large particle will stay there because the convection currents are too narrow to sweep it down along the wall.
The effect is of serious interest for some manufacturing operations; once a homogeneous mixture of granular materials has been produced, it is usually undesirable for the different particle types to segregate. Several factors determine the severity of the Brazil nut effect, including the sizes and densities of the particles, the pressure of any gas between the particles, and the shape of the container. A rectangular box (such as a box of breakfast cereal) or cylinder (such as a can of nuts) works well to favour the effect, while a cone-shaped[clarification needed] container results in what is known as the reverse Brazil nut effect.
In geology, the effect is common in formerly glaciated areas such as New England and areas in regions of permafrost where the landscape is shaped into hummocks by frost heave — new stones appear in the fields every year from deeper underground. Horace Greeley noted "Picking stones is a never-ending labor on one of those New England farms. Pick as closely as you may, the next plowing turns up a fresh eruption of boulders and pebbles, from the size of a hickory nut to that of a tea-kettle."  A hint to the cause appears in his further description that "this work is mainly to be done in March or April, when the earth is saturated with ice-cold water". Underground water freezes, lifting all particles above it. As the water starts to melt, smaller particles can settle into the opening spaces while larger particles are still raised. By the time ice no longer supports the larger rocks, they are at least partially supported by the smaller particles that slipped below them. Repeated freeze-thaw cycles in a single year speeds up the process.
This phenomenon is one of the causes of inverse grading which can be observed in many situations including soil liquefaction during earthquakes or mudslides. Granular convection is also exemplified by debris flow, which is a fast moving, liquefied landslide of unconsolidated, saturated debris that looks like flowing concrete. These flows can carry material ranging in size from clay to boulders, including woody debris such as logs and tree stumps. Flows can be triggered by intense rainfall, glacial melt, or a combination of the two.
- Granular Convection and Size Separation. The University of Chicago
- Rosato, A.; Strandburg, K.J.; Prinz, F.; Swendsen, R.H. (1987). "Why the Brazil Nuts are on Top". Physical Review Letters. 58: 1038–41. doi:10.1103/PhysRevLet58.1038.
- Rietz, Frank; Stannarius, Ralf (2008). "On the brink of jamming: Granular convection in densely filled containers". Physical Review Letters. 100 (7): 078002. arXiv:1706.04978. Bibcode:2008PhRvL.100g8002R. doi:10.1103/PhysRevLett.100.078002. PMID 18352597.
- Baffling Patterns Form in Scientific Sandbox, Wired, Brandon Keim, October 28, 2009
- Grains of Sand Reveal Possible Fifth State of Matter, Wired, Brandon Keim, June 24, 2009
- "Sidney Nagel and Heinrich Jaeger Q&A". Pbs.org. Retrieved 2010-09-27.
- Abbott, Derek (2009). "Developments in Parrondo's Paradox". Applications of Nonlinear Dynamics. Springer. pp. 307–321. ISBN 978-3-540-85631-3.
- Ehrichs, E. E.; Jaeger, H. M.; Karczmar, G. S.; Knight, J. B.; Kuperman, V. Yu.; Nagel, S. R. (1995). "Granular Convection Observed by Magnetic Resonance Imaging". Science. 267 (5204): 1632–4. Bibcode:1995Sci...267.1632E. doi:10.1126/science.267.5204.1632. PMID 17808181.
- Nemiroff, R.; Bonnell, J., eds. (22 April 2007). "Smooth Sections of Asteroid Itokawa". Astronomy Picture of the Day. NASA.
- excerpt from Recollections of a Busy Life Archived 2012-09-10 at Archive.today, by Horace Greeley 1869
- on YouTube
- PhysicsWeb: The Brazil Nut Effect
- Yan, X.; Q. Shi; M. Hou; K. Lu; C. K. Chan (2003-07-03). "Effects of Air on the Segregation of Particles in a Shaken Granular Bed". Physical Review Letters. 91 (1): 014302. Bibcode:2003PhRvL..91a4302Y. doi:10.1103/PhysRevLett.91.014302. PMID 12906541. Retrieved 2010-08-12.
- The Brazil Nut Effect: Numerical Simulation Example of the numerical simulation of the Brazil Nut Effect.
- "Why brazils always end up on top", BBC News, 15 November 2001
- "Why does shaking a can of coffee cause the larger grains to move to the surface?", Scientific American, 9 May 2005
- "Of airbags, Avalungs and avalanche safety", Toronto Star, 13 January 2008
- Bowley, Roger (2009). "Γ – Ratio of Acceleration to Gravity (and the Brazil Nut effect)". Sixty Symbols. Brady Haran for the University of Nottingham.