Sand, snow and mud#

Sand, snow, mud, jelly and clay are matter: a body of it is made of tens or hundreds of thousands of particles that each carry how they have been squeezed and stretched, so it piles, pours, packs, slumps, wobbles and squashes as the real thing does. It works in every kind of scene but the sky: sand poured from a hopper on an empty stage, a snowball thrown at a wall, a crate dragged through mud.

Sand from a hopper: forty litres of dry sand run out through a hole in the bottom of a hopper and heap up round its legs.

Making some#

Add a block from the Sand, snow & mud group in Create: a sand pile, a sand pour, a column of sand let go, a sand castle, sand into a sling, a snowball, a snow drift, mud, a block of jelly, a lump of clay, chocolate in a hot pan, chocolate letters in any font, or a mesh of your own filled with clay (Matter shape). Each is a matter object in the scene, with its settings in Properties:

Right-click one in the viewer for Made of, Let go at this frame, Pour it from here, and Start or Stop pouring at this frame. Its dashed outline in the viewer is where it starts; a pour shows its nozzle and an arrow the way it pours.

Create › Sand, snow & mud › Sand pour builds a heap; right-click it, Made of › Mud, and it pours mud.

What it is made of#

Made of What it does
Sand Dry grains: it pours, slides, and piles at its angle of repose (34°). Pulled apart, it falls apart.
Wet sand Holds a steeper heap (38°) and a little stretch, so it clumps and holds a cut edge.
Snow Fresh snow, 400 kg/m³: squeezed, it packs and gets harder; stretched, it breaks into lumps.
Packing snow Wet snow, 600 kg/m³, for snowballs: it squashes a little and sticks where it hits, and breaks up as it falls.
Mud Flows like a thick liquid until it is thin enough to hold itself up (its yield stress, 400 Pa), then stops.
Jelly Springs back from anything that squashes it, keeping its volume: it bounces and wobbles. It is clear and coloured.
Ballistic gel 10% ordnance gelatin, as ballistics tests use: firmer than jelly, nearly clear and pale amber. A bullet opens a cavity in it that swells and collapses, leaving its track (Bullets).
Clay Squashes and stays squashed: it holds a shape until it is pushed harder than 20 kPa.
Wax A firm solid, ivory and a little translucent. It melts at 60 °C into runny wax.
Chocolate A firm, glossy solid. It melts at 34 °C into thick melted chocolate, which slumps and runs slowly.
Aluminium Bright metal. It melts at 660 °C into runny, mirror-like molten aluminium, barely glowing.
Iron Dark metal. It melts at 1150 °C into molten iron, glowing yellow-orange.
Molten wax, Melted chocolate, Molten aluminium, Molten iron Their melts, to pour: they start hotter than their melting point and set as they cool.
Dry leaves A light, springy heap that catches at 260 °C and flares up in flames, burning down to a little ash.
Sawdust Catches at 290 °C and smoulders with a low flame and thick smoke.
Coal Catches at 450 °C, with a fire that lasts (or start it hot), and glows orange for a minute or more.
Ash What is left: light and grey.

What moves it#

Snow blowing off a heap: a 15 m/s gale carries the powder off its windward face in a white plume.
Sand into a sling: sand poured onto a cotton sheet tied to four posts heaps in the dip it makes, the sheet sagging under its weight.
Snowballs at a wall: three snowballs of packing snow thrown at a brick wall squash where they hit and stick to the bricks.

It is solid to the smoke and the water: smoke blown at a heap of sand goes round and over it, water poured on it runs off it and pools at its foot, and a pour pushes the air aside as it falls.

Sand gets wet. Dry sand the water touches is damp after half a second: darker and glossier, its grains held together by the water between them, so it stands steeper and holds a cut edge. The water seeps on into damp sand, a couple of centimetres a second, and sand it soaks through lets go: its grains part. A sand castle the water reaches stands at first, then is undermined, slumps into a mound and is carried by the flow. Away from the water, soaked sand drains back to damp in a few seconds.

Sand castle and a wave: a wall of water breaks over a castle of damp sand. It stands, then the water soaks into it and it slumps into a mound.

Snow melts where hot gas touches it: in flames a snowball's surface melts away in a second or two, while snow beside a fire that its heat does not reach, or buried inside a heap, lasts. It melts from below where it rests on an object warmer than freezing (an object's Temperature): on a 150 °C steel plate a layer every few seconds, on a warm car bonnet slowly, on frozen ground not at all. In a liquid or fire-and-liquid box its water joins the liquid and runs off; in a fire box it is simply gone. (The fire's radiant heat is not counted, so snow a little way from a fire melts only where the hot gas reaches it.)

Things that melt#

Wax, chocolate, aluminium and iron have a temperature (Matter › Temperature, how hot each body starts). They warm in the fire, from the hot gas next to them and from the radiant heat on the side that faces it (the fire's, lava's, a hot object's), so a bar of chocolate beside a fire softens on that side first. They cool in the air, and much faster in water, and give off their own heat as they glow, which warms what is round them in turn. Objects warm or chill what touches them, as fast as the two conduct heat, and are warmed or chilled by it (objects' heat): chocolate on a 150 °C steel plate melts where it sits in moments, and on a wooden board as hot more slowly, while molten iron poured into a cold steel mould chills against its walls (warming them) and in an earth mould hardly at all. The ground takes heat too, as a large body of the floor's material: molten iron poured on concrete chills some 80 °C in its first second where it lies, its top staying bright. In a fire-and-liquid box lava heats what it touches. Heat evens out through them, quickly through metal and slowly through wax and chocolate. Past its melting point each melts into a liquid of the same stuff (runny wax and metal, thick melted chocolate) that runs and puddles, and it sets again where it cools below that point. A melt's puddle stays about as deep as its surface tension keeps it.

Hot metal glows as a blackbody at its temperature: dull red from about 600 °C, orange by 1000 °C, yellow-white over 1300 °C. It glows as bright as a flame that hot (Shading › Flame temperature, Emission, Fire exposure and Physical brightness set both), and it lights what is round it. Aluminium melts before it glows much, as the real metal does.

Melting runs Heat speed (Domain) times as fast as it really would: 4 unless set, so a chocolate bar by a campfire runs in seconds rather than a minute. Pouring molten iron pours a ladle of it into a mould, and Chocolate by a fire melts three pieces beside a small fire.

Chocolate in a hot pan: squares of chocolate in a steel pan at 180 °C melt from the bottom, slump into glossy pools and run together.

Things that burn#

Dry leaves, sawdust and coal catch where the fire's heat takes them past their ignition point: a lighter's flame lights a pile of dry leaves, while coal needs a fire that lasts (or start it hot with Temperature). Lit, each burns where the air reaches it, at its own burning temperature: leaves flare up and burn away in a second or two, sawdust smoulders, coal glows. Inside a heap they smoulder slowly. Their flames are the fire's own: what of them burns away each second goes into the gas as fuel, with Smoke from Spreading fire, as burning grass's does, so the flames heat the leaves next to them and the fire runs through the pile by itself. Most of what burns is gone, and what is left is a little grey ash: a heap burns down.

Pouring molten iron: molten iron poured from a ladle into a mould glows orange, lights the floor round it, and dims to red as its skin cools.

How it looks#

On the stage, matter is drawn in its material's look and lit like the objects: the key light with soft shadows (it shades itself and the floor, and the objects shade it), the sky, the fire and the lights in the set. Sand and snow glint where a grain catches the sun, snow lets the light into its shadows, mud is wet and glossy, and jelly is clear and coloured: you see the set through it, bent. In your footage it goes in as CG, its shadows on the real ground. It hides the fire and the liquid behind it.

Ball dropped on jelly: a steel ball squashes a block of jelly, is thrown back up and bounces.

Detail and speed#

Presets: Sand from a hopper, Snowballs at a wall, Ball dropped on jelly, Crate through mud, Sand castle and a wave, Sand into a sling, Snow blowing off a heap, Pouring molten iron, Chocolate in a hot pan, Chocolate by a fire.

Crate through mud: a crate dragged through a bed of mud ploughs a trench and leaves ridges.

Limits#

Under the hood: the material point method (MLS-MPM, Hu et al. 2018) on the GPU, with sand as Drucker–Prager plasticity (Klár et al. 2016), snow after Stomakhin et al. (2013), mud and clay as von Mises plasticity (mud relaxing toward it over time), and jelly as a neo-Hookean solid. Sand's friction angle is set from the angle of repose asked for, measured on poured heaps. Particle-to-grid sums are fixed-point integers, so a simulation is the same on any GPU, every time. The water pushes the matter with its pressure, on the faces of jelly and clay and as a gradient in sand, snow and mud (the water is between their grains as well as round them), and drags it with the stress of a flow over a bed; damp sand is Drucker–Prager sand with cohesion, soaked sand without. Melting matter's solid is clay's model and its melt mud's with next to no yield stress (melted chocolate keeps some viscosity); its surface takes heat from the gas by convection and from the fire as the radiation of its hot gas cut into blocks (an optically thin flame, 4κσT⁴ a cubic metre, by the inverse square of the distance), gives off σT⁴ as it absorbs, and its heat evens out through the matter's grid. Where it touches an object, its surface takes on the temperature of the face between them, where two bodies in contact meet (weighed by their thermal effusivities, √(kρc)), through half a particle's depth. Cloth is laid onto the matter's grid each frame as a thin sheet (the nodes within about one and a half node spacings of each vertex, each with its side of it), and the matter on its two sides never mixes (compatible particle-in-cell, after Hu et al. 2018): a particle by the sheet keeps the side it came from, gives its momentum only to the nodes on that side, takes the sheet's motion for the nodes across it, and is put back if it would cross. Where the matter lies on the sheet, the sheet holds its weight; where the sheet lies on the matter, it gives way. What the sheet takes from the matter over a frame pushes the cloth through the next, with that push's weight's worth of mass riding on the cloth and damping it as grains would.

Something wrong or missing on this page? Edit it on GitHub.