What Is the Domain in Blender Mantaflow?

In Blender’s Mantaflow fluid simulation system, the Domain object is the dedicated bounding volume and computational engine where all fluid interactions take place. It defines the physical boundaries of the simulation, sets the global resolution and physics properties, processes the behavior of gases and liquids, and holds the final baked data. Without a domain object, Blender cannot calculate or render any fluid physics.

The Role of the Domain Object

The domain object acts as the computational container for your simulation. Any other simulation elements—such as Flow objects (which emit or absorb fluid) and Effector objects (which act as collision obstacles)—must reside entirely or partially inside this domain.

Key characteristics include:

  • Boundary Limits: Fluid cannot exist, move, or interact outside the outer edges of the domain's bounding box. Any fluid reaching the edge will either stop, pool, or disappear, depending on the boundary settings.
  • Calculation Space: Blender discretizes the domain into a 3D grid of cells called voxels. Calculations for velocity, pressure, temperature, and density are strictly performed within these cells.

Types of Domains in Mantaflow

When you assign the Fluid physics property to a mesh and set the type to Domain, Mantaflow requires you to choose between two domain types:

  1. Gas: Designed for smoke and fire simulations. It calculates atmospheric effects, temperature buoyancy, vorticity, and smoke dissipation.
  2. Liquid: Designed for water, viscous liquids, and splashing effects. It generates liquid particles that can subsequently be converted into a renderable surface mesh.

Core Settings Controlled by the Domain

  • Resolution Divisions: This setting determines the density of the voxel grid along the domain's longest axis. Higher values increase detail, splash complexity, and smoke fidelity at the cost of processing time and memory usage.
  • Time Scale and Frame Range: Controls the speed of the simulation and determines the starting and ending frames for physics calculations.
  • Caches and Baking: The domain manages how simulation data is saved to your drive. Mantaflow provides several cache types (Replay, Modular, and All) allowing you to bake the physics data, particle systems, noise, and liquid meshes in stages.
  • Secondary Elements: For liquids, the domain generates the final mesh, spray, foam, and bubble particles. For gases, it calculates upscaled noise and fire-to-smoke conversion.

Best Practices for Domain Setup

  • Apply Object Scale: Always apply the scale of your domain object (Ctrl + A > Scale) before running a simulation to prevent distortion in physics calculations.
  • Fit to Action: Keep the domain bounding box as small as possible while still containing the intended fluid motion. A smaller domain focuses the voxel resolution entirely on the active area, maximizing simulation quality while minimizing bake times.