Behavior · Published v1

ExposeFluidNeighbors

ExposeFluidNeighbors from Water Drop Tank.

From Water Drop Tank · v2. Edit this definition in its source simulation.

Source

behavior ExposeFluidNeighbors for FreeSurfaceWater
{
    update when self.kind == 2.0 && (sum n in neighbors[FreeSurfaceWater using D3Q19] { n.emptying }) > 0.0 {
        set self.nextKind = 1.0;
    }
}

Building blocks

These exact versions are included when you reuse this artifact.

PropertyFreeSurfaceWater@hyle · v1