Coupling and Multiphysics
Coupling is what Continuum is designed around. One scene steps any combination of solvers together, and they push on each other.
Through the rigid world
Every solver couples to the rigid world through the same small exchange:
| Direction | What crosses |
|---|---|
| rigid world → solver | a snapshot of every collider: shape, pose, linear and angular velocity, centre of mass, mass and inertia, friction, restitution and collision filter |
| solver → rigid world | the impulses the solver applied to each body, collected per thread and combined in a fixed order |
Each solver couples as strongly as its physics needs: SPH relaxes pressure impulses with an added-mass estimate, FLIP imposes the solid's velocity in its pressure solve, the FEM solver puts each touching body's six degrees of freedom into its Newton system, and robots solve their contacts in joint space. The exchange happens once per coupling step (see Architecture).
| Solver | Pushed by rigid bodies | Pushes rigid bodies |
|---|---|---|
| Cloth, ropes, rods, soft bodies | ✓ | ✓ |
| SPH and FLIP liquids | ✓ | ✓ (buoyancy and drag emerge) |
| Smoke and fire | ✓ (moving obstacles) | ✓ |
| FEM solids | ✓ | ✓ (implicit two-body contact) |
| DEM grains | ✓ | ✓ |
| VFX particles | ✓ | ✓ |
| Shallow water | ✓ | ✓ |
| FFT ocean | buoyancy on bodies | – (one-way) |
| Lattice Boltzmann flow | ✓ (moving walls) | ✓ (momentum exchange) |
| Articulated robots | ✓ | ✓ |
Collision layers apply to every solver: a collider can be seen by rigid bodies only (a robot's link proxies), or by nothing (decoration).
Shared fields and blasts
Gravity, wind with gusts, vortices, attractors and turbulence are shared by every solver, each evaluating them on its own elements: a cloth triangle, a particle, an FEM node, a rigid body. A blast is a field too: one charge, given in kilograms of TNT, sends a pressure wave that every solver feels on the surfaces facing it, fractures breakable bodies before anyone looks at them, and can feed a fireball into the smoke.
A millisecond pulse is delivered as its exact impulse whatever each solver's step. Measured: a 0.4 m cube of water, sand or grains 3 m from 1 kg of TNT receives 12.0–12.9 N·s in five different particle solvers, against 12.71 N·s from the reference model.
Stepping rates
Each solver sub-steps at its own stability limit (the CFL condition for fluids, the Rayleigh step for grains, stiffness for cloth); a solver may also be stepped every N coupling steps with an N-times longer step, such as an ocean at frame rate while bodies couple at 240 Hz. The coupling rate trades cost for tightness: light bodies in heavy fluids and stiff contacts want more coupling steps per second.
In Divooka
The scene nodes couple rigid bodies, cloth and SPH water in one scene, with gravity, wind and blasts as triggers or session actions. The real-time liquid, smoke, ocean and shore scenes take bodies made by the same body nodes and push them both ways. Other solvers join as their nodes arrive.
Limits
- The scheme is partitioned and staggered: explicit in the exchange, each solver implicit or stabilised inside. Very light bodies in heavy fluids need a high coupling rate.
- A blast just outside a body is about ten times weaker than one just inside it; a blast needs a surface facing it.
Sample scenes
harbor-blast (explosion, fracture, smoke, FFT buoyancy, spray), blast-wall (explosion, fracture, cloth, smoke), demolition, dam-break-crates, xpbd-liquids, wind-tunnel.