Fluid T3D¶
Summary¶
The Fluid T3D simulates smoke, fire and fluids in a volume. It moves a substance (smoke density, dye, temperature) through a swirling flow that you drive with forces, obstacles and buoyancy. The simulation advances every frame the operator cooks.
- Connect a source of smoke to the Substance input, for example a Sphere T3D or a Noise T3D. The simulation takes its size from the Forces input if connected, else from the Substance input. 2. Push it around: connect forces (X, Y, Z in RGB) to the Forces input, turn on Apply Buoyancy to let hot smoke rise, and raise Vorticity Confinement for curly detail. 3. Connect obstacles to the Obstacles input (solid where alpha is 1) for the smoke to flow around. 4. Render the Substance output with the Volume T3D: its alpha, the temperature, drives the Volume's Emission. For flames, turn on Fire (see Making fire).
A moving source pushes the smoke along with it (Use Substance Motion). Dissipation makes smoke fade over time, Viscosity makes the flow thicker and calmer. Press Reset to start over. The Common page's resolution and format settings have no effect: the inputs set the size and Precision the format.
Making fire¶
Turn on Fire, at the end of the Substance page, and the substance becomes a fuel that burns. Its channels then hold fuel (R), smoke (G), flame (B) and temperature (A).
- Make a burner. In fire mode the Substance input keeps the gas at least as full of fuel (red) and smoke (green), and at least as hot (alpha), as it says, wherever it is. Alpha 1 means Flame Temperature. Fuel burns only where the gas is hotter than Ignition Temperature, so fuel without heat never catches fire: fuel 1 with alpha 0.3 is a burner with a pilot flame. With a Sphere T3D, set Fill Color to red, Fill Alpha to 0.3 and turn off Pre-Multiply RGB by Alpha.
- Render it. Wire the Substance output into a Volume T3D and raise its Emission, with Emission Color on Blackbody or fire colours in its Emission Ramp. With Output for Volume on, the output holds smoke in RGB and temperature in alpha, as the Volume expects.
- Shape the flames. Burn Rate makes them short and sharp or lets fuel drift before it burns, Expansion gives them their push, Cooling shapes their tips, and Soot sets how much smoke they leave. Flame Temperature makes them hotter, faster and brighter.
The fire settings default to 1, a typical fire, except the three dissipations and Outflow. While Fire is on:
- Hot gas always rises: Apply Buoyancy greys out, while Buoyancy Factor, Up Vector and Smoke Weight still apply.
- Fuel Dissipation, Smoke Dissipation and Temperature Dissipation take the place of Dissipation.
- The simulation runs at a third of the speed, so the usual Step Size 0.1 gives flames their natural pace.
In a closed box, smoke collects under the lid. Set Boundary to Open to let flames and smoke rise out through the walls, with Open -Y Wall off as the floor. Or keep the box Closed and raise Outflow to let the smoke fade out at the top. Fire looks best with Boundary Closed or Open and Vorticity Confinement around 1.
Parameters - Fluid Page¶
Reset Reset - Starts the simulation over.
Step Size Stepsize - How far the simulation advances per frame. Larger values make everything faster.
Precision Precision ⊞ - Higher precision for large or slow, subtle simulations, at more memory.
- 16bit
16bit - 32bit
32bit
Pressure Solver Pressuresolver ⊞ - Quality of the flow. Multigrid gives more accurate swirls for the same cost.
- Jacobi
jacobi - Multigrid
multigrid
Pressure Projection Iterations Pressureprojectioniterations - Accuracy of the flow. More iterations keep smoke from spreading or shrinking.
V-Cycles Vcycles - Accuracy of the Multigrid solver. 2 is usually enough.
Viscosity Viscosity - Makes the flow thicker, like honey. 0 is thin like air.
Diffusion Iterations Diffusioniterations - Accuracy of Viscosity.
Vorticity Confinement Vorticityconfinement - Adds curly, swirling detail to the flow.
Velocity Damping Velocitydamping - Slows the flow down over time.
Use Substance Motion Usesubstancemotion - A moving or changing source pushes the smoke along with it.
Motion Scale Motionscale - How strongly the source's movement pushes the smoke.
Use Obstacle Velocity Useobstaclevelocity - Moving obstacles push the smoke, using the movement given in the Obstacles input.
Boundary Boundary ⊞ - What the walls of the domain do. Closed keeps smoke and flow inside the box. Repeat sends smoke leaving one side back in on the opposite side. Open lets smoke and flow leave through the walls turned on below, as if the box stood in open air, and draws clean air in through them.
- Closed
closed - Repeat
repeat - Open
open
Open -X Wall Openxmin - Lets smoke and flow leave through the -X wall while Boundary is Open.
Open +X Wall Openxmax - Lets smoke and flow leave through the +X wall while Boundary is Open.
Open -Y Wall Openymin - Lets smoke and flow leave through the -Y wall while Boundary is Open. Off by default: with the default Up Vector this wall is the floor, and smoke and fire rest on it.
Open +Y Wall Openymax - Lets smoke and flow leave through the +Y wall while Boundary is Open.
Open -Z Wall Openzmin - Lets smoke and flow leave through the -Z wall while Boundary is Open.
Open +Z Wall Openzmax - Lets smoke and flow leave through the +Z wall while Boundary is Open.
Parameters - Substance Page¶
Dissipation Dissipation1 Dissipation2 Dissipation3 Dissipation4 ⊞ - How quickly the smoke fades, per colour channel and temperature. While Fire is on, the Fuel, Smoke and Temperature Dissipation below take its place.
Diffusion Diffusion1 Diffusion2 Diffusion3 Diffusion4 ⊞ - How quickly the smoke spreads out and blurs, per channel.
Diffusion Iterations Substanceiterations - Accuracy of Diffusion.
Apply Buoyancy Applybuoyancy - Makes hot smoke rise. Always on while Fire is on.
Buoyancy Factor Buoyancy - How strongly hot smoke rises.
Up Vector Upvectorx Upvectory Upvectorz ⊞ - Which way is up.
Smoke Weight Smokeweight - Makes dense smoke sink, against the rise of hot smoke.
Fire Fireheader - Settings of the fire, used while Fire is on.
Fire Fire - Turns the substance into fuel that burns. The channels then hold fuel (R), smoke (G), flame (B) and temperature (A). The Substance input works as a burner, hot gas rises, and the simulation runs at a third of the speed, so the usual Step Size 0.1 gives flames their natural pace. See Making fire.
Ignition Temperature Ignitiontemperature - Fuel burns where the gas is hotter than this. 1 is a typical fuel; lower ignites more easily, higher needs a hotter spark.
Flame Temperature Flametemperature - How much heat burning fuel releases: higher burns hotter, rises faster and glows brighter. Also what alpha 1 means on the Substance input and output.
Burn Rate Burnrate - How fast hot fuel burns. Higher gives short, sharp flames; lower lets fuel drift before it burns.
Expansion Expansion - How much burning gas expands. It pushes flames outward and gives fireballs their billow.
Cooling Cooling - How fast hot gas loses its heat. The hottest parts cool fastest, which shapes the flame tips.
Soot Soot - How much smoke the fire makes. 0 burns clean.
Fuel Dissipation Fueldissipation - How quickly unburnt fuel fades on its own.
Smoke Dissipation Smokedissipation - How quickly the smoke fades.
Temperature Dissipation Temperaturedissipation - Cools the gas evenly, on top of Cooling.
Outflow Outflow - Smoke, heat and fuel fade out in a layer at the top of the domain, along Up Vector, as if they left it. Keeps smoke from pooling under the lid of a Closed box. 1 is about a third of the domain; 0 turns it off.
Output for Volume Renderoutput - Lays the Substance output out for Volume T3D: smoke in RGB, temperature in alpha. Off outputs fuel, smoke, flame and temperature as they are simulated.
Parameters - Common Page¶
Output Resolution Outputresolution ⊞ - Has no effect: the simulation takes its size from its inputs.
- Use Input
useinput - Custom
custom
Resolution Resolution1 Resolution2 Resolution3 ⊞ - Has no effect: the simulation takes its size from its inputs.
Input Smoothness Inputfiltertype ⊞ - Has no effect on this operator.
- Nearest Pixel
nearest - Interpolate Pixels
linear - Mipmap Pixels
mipmap
Passes Npasses - Has no effect on this operator.
Pixel Format Format ⊞ - Has no effect: Precision sets the format.
Bypass Bypass - Passes the first input through unchanged.
Version Version - The T3D version of this operator. Mention it when reporting a problem.
Help Help - Opens this operator's page in the T3D documentation.
Copyright Copyright - Author and licence.
Operator Inputs¶
- Input 0: Forces
in_forces- Optional. Forces that push the flow, X / Y / Z in RGB. Also sets the simulation's size. - Input 1: Obstacles
in_obstacle- Optional. Solid where alpha is 1; RGB can give the obstacle's own movement. - Input 2: Substance
in_substance- The smoke to add: density in RGB, temperature in alpha. With Fire on, the burner: fuel in red, smoke in green and heat in alpha.
Operator Outputs¶
- Output 0: Velocity
out_velocity- The flow, X / Y / Z in RGB, for Advect, Displace or your own effects. - Output 1: Substance
out_substance- The simulated smoke: density in RGB, temperature in alpha. Render it with Volume T3D. With Fire on, smoke in RGB and temperature in alpha, or fuel, smoke, flame and temperature with Output for Volume off.