Houdini 20.5 Nodes Geometry nodes

VDB Project Non-Divergent geometry node

Removes divergence from a Vector VDB.

Since 16.0

A Vector VDB can represent a velocity field. When you trace particles through the field, they may either expand from a voxel or collapse into a voxel. These sink/source behaviors represent divergence in the field.

This SOP computes a new vector field that is close to the input, but has no divergence. This can be used to fix flow fields to limit particle creation, creating more realistic flows. Combined with the VDB Advect Points, a simple FLIP solver can be built using the Solver SOP for feedback.

Parameters

Group

The group of vector VDBs to remove the divergence on.

Iterations

The maximum number of iterations to attempt. If it takes longer than this to converge, a warning is created and the partial result reported. A sensible maximum would be three times the longest distance between two connected voxels, as measured in voxels.

Or, put more simply, three times the resolution.

Collider Type

Bounding Box

Use the bounding box of the reference geometry as the collider.

Static VDB

Treat the active voxels of the VDB as solid. For SDF VDBs this will be the interior.

Dynamic VDB

If it is a vector VDB, treat active as solid and use the VDBs values as border conditions.

Collider

The VDB to use as a collider.

Invert Collider

Invert the sense of the collider, so inside becomes active and outside becomes inactive.

Output Pressure

Output the computed pressure field as a v_pressure VDB.

Geometry nodes