FluidScale / README.md
ipingpong1's picture
Licence: CC0 1.0
56c58de verified
|
Raw History Blame Contribute Delete
4.43 kB
metadata
license: cc0-1.0
pretty_name: FluidScale Liquids4x
tags:
  - physics
  - fluid-simulation
  - sph
  - particles
size_categories:
  - 1K<n<10K

FluidScale: Liquids4x (2026-11)

Paired coarse / dense SPH liquid simulations for learning coarse-to-fine surface detail, with resolution ladders, chaotic twins, guided dense runs, hi-res references and per-scene divergence clocks.

Status: complete (1,583 scene tars, 1.06 TB). Licence: CC0 1.0 (public domain dedication). A held-out test set exists and is not part of this repository.

Contents

set scenes splits duration runs per scene
Ladder4x_2026-11 726: 363 dam breaks, 363 static-obstacle scenes (0-3 boxes / spheres / tori) train / val (val = last 3 + 3); nested rungs N = 45 ... 720 3.0 s, 25 fps (76 frames) dense (4x), GUIDE (F = 100, per-step trajectory), coarse ladder F = 8 / 27 / 64 / 125, twin (2 mm shift), T10/S25 guided dense; hi-res (16x) for 24
Jets4x_2026-11 96 here (of 120): 6 families (skew grazing, asymmetric jets, pulses, non-impact controls, jet into pool, jet onto plate) x 16 12 train / 4 val per family (ids 0-11 / 12-15 within each block of 20; ids 16-19 are the withheld test split) 3.0 s, 100 Hz (301 frames) coarse 0.04 m (guide, per-step trajectory), ladder 0.016 / 0.02 / 0.032 m, twin (inlets +-2 mm), free dense 0.008 m, guided dense; hi-res 0.005 m for 6

Solver and physics

SPlisHSPlasH 2.16 (source build c5a063d), DFSPH (simulationMethod 4), Bender volume-map boundaries, gravity -9.81 m/s^2 in y, rest density 1000 kg/m^3, 3 m cubic tank (CFL factor 1, time step 1e-4 ... 5 ms; jets: max step capped at 0.4 * 2r / v_inlet). Runs are exchangeable chaotic draws: multithreaded summation order makes re-runs differ after impact (that is what the twins measure).

Packaging

Every scene is one uncompressed tar; paths inside a tar are relative to the set's root. MANIFEST.sha256 lists the sha256 of every tar of the set (including tars that are not published here), MANIFEST.tsv gives tar, source path, file count and bytes.

  • Ladder4x_2026-11/sims__Ladder4x_2026-11__sim_XXXX.tar: the dense run of scene XXXX; sims__Ladder4x_2026-11_16x__sim_XXXX.tar: hi-res reference; scenes.tar, meta.tar, divclock.tar, gates.tar, meshes.tar, plan.json.tar, rung180_clips.json.tar, sims__rest.tar (set manifests).
  • Ladder4x_2026-11_task/task__XXXX.tar: coarse ladder, twin, GUIDE and guided dense runs of scene XXXX under task/XXXX/runs/<PROTOCOL>/.
  • Jets4x_2026-11/native__sim_XXXX.tar: all runs of configuration XXXX; plan files.

Files inside the tars

  • Ladder particles: sims/<SET>/sim_XXXX/partio/ParticleData_Fluid_<f>.bgeo (Houdini bgeo via partio; per point position float32 (m), velocity float32 (m/s), density float32 (kg/m^3), id int32 (stable)); frame f = 1 is t = 0. Coarse / twin / guided runs under task/XXXX/runs/<PROTOCOL>/<SET>/sim_XXXX/ (same format); the GUIDE's per-step trajectory traj.npz.
  • Jets particles: native/sim_XXXX/<run>/frames.npz (ragged: t (s), offsets, x, v, rho, ids sorted per frame), coarse also trajectory.npz at every solver step; record.json per run (gates, counts, timings, checksums, emitter window switches).
  • Metadata (Ladder): meta/sim_XXXX.json (plan parameters and seeds, solver build, threads, particle counts, solve times, every run's gate record, mesh checksums at frames 10 / 20 / 38 / 60 / 75); divclock/sim_XXXX.json (per frame 3D indicator IoU of every run vs the dense run, normalised by the thinning floor; impact frame; t_div).
  • Meshes: recipe pysplashsurf (smoothing length 2 r, cube size 0.5 r, iso 0.6); full meshes for the 6 Ladder val scenes at frames 10 / 20 / 38 / 60 / 75 (meshes/sim_XXXX/<run>_<f>.npz: verts float32, tris int32).

Known limitations

  • 25 fps (Ladder) and 100 Hz (Jets) saved frames, interpolated between solver steps (Jets) or solver output frames.
  • Hi-res references exist for a subset only; meshes are derived (rebuild from particles in ~0.4 s per frame).
  • Dense "4x" is 4x the particle count of an earlier 1x set (radius x 4^(-1/3)), not a converged solution.
  • Isolated wall-contact velocity spikes: in Jets, the maximum speed over all particles and frames reaches up to ~30 m/s in a few dense runs (asymmetric jets, pulses), always single particles touching a tank wall at one instant.