Continuum

Type: Physics engine (multiphysics)
Package: Divooka.Physics.Continuum (Physics toolbox)
Context: Dataflow and procedural
Status: Ships in Divooka Explore and Divooka Compute (Standard). The nodes are under the Physics heading of the node library; see the Physics toolbox.

Only in Divooka. Continuum's functionality is exposed through Divooka, Methodox's visual programming system, and nowhere else. Every body, cloth, water tank and trigger is a node.

Continuum is a multiphysics engine for visual effects and engineering. Rigid bodies and destruction, cloth and rods, liquids, smoke and fire, finite element solids, granular media, oceans and wind tunnels are simulated together in one scene, and they push on each other: water lifts a crate and the crate pushes the water back, a blast breaks a wall, throws its bricks, billows a curtain and feeds a fireball.

It is built for results you can trust and reproduce:

  • Physical units at real scale. Metres, kilograms, seconds; materials take Young's modulus, density and viscosity; a charge is given in kilograms of TNT.
  • Deterministic. The same scene gives bit-identical results on one thread or sixteen, so a graph can cache a simulation and a render farm agrees with a laptop.
  • Validated. Each solver is tested against analytic results, published experiments and other engines (see Validation).
  • Long runs without pauses. Steady steps allocate no memory, and the engine is compiled to native code.

What you can simulate

Domain Methods Page
Rigid bodies and destruction soft-step TGS solver, joints, vehicles, buoyancy, Voronoi fracture Rigid bodies
Cloth, ropes, rods and soft bodies XPBD, geometric contact, Cosserat rods, Neo-Hookean solids Cloth and rods
Liquids, smoke and fire DFSPH / WCSPH, APIC / FLIP, position-based fluids, smoke and combustion Fluids
Structural solids finite elements (Tet4, Tet10, Hex8), hyperelastic materials FEM
Granular media and particles DEM, VFX particle systems, N-body gravity Particles
Oceans and floods FFT ocean, Gerstner waves, shallow water Ocean
Air and flow lattice Boltzmann CFD with LES CFD
Robots and mechanisms reduced-coordinate articulated bodies, IK, URDF Robotics
All of the above together one scene, two-way coupling, shared force fields and blasts Coupling

In Divooka today: rigid bodies (breakable ones included), cloth and garments, and SPH water in one coupled scene, with triggers; and real-time smoke and fire, liquid tanks, VFX particles, an FFT ocean and a shoreline, on a graphics card that supports Vulkan. Finite element solids, granular media, CFD and robotics are in the engine but not yet in Divooka. Each domain page says what is in Divooka today and what is planned.

Two ways to use it

Divooka graphs are either dataflow (nodes are functions, wires carry values) or procedural (nodes are statements executed in order). Continuum supports both with one model:

  • Functional API: build an immutable scene description, run it once with Simulate, then read meshes, poses and events from the result.
  • Procedural API: start a session from the same description, step it, act on it between steps and react to events.

A session stepped frame by frame records exactly what Simulate records, so you can prototype in one style and render in the other.

Where to start

  1. Getting started: your first coupled scene in Divooka.
  2. Architecture: scenes, solvers, the coupling step, axes, units and determinism.
  3. Events and triggers: continuously triggered effects such as rain and impacts.
  4. Geometry and export: meshes in and out, OBJ and PLY sequences.
  5. The Simulation examples in Divooka Explore: a pinned cloth and a dam break you can open and change (Examples).