FluxCell: A Single-Dispatch MUSCL-Hancock Solver for Shallow Flow and Scalar Transport in WebGPU
Depth-averaged shallow-water models support flood, dam-break, mixing, wake, and transport applications, but browser deployment imposes constraints on precision, synchronization, and GPU readback. This study presents FluxCell, a second-order WebGPU shallow-water solver with wetting and drying, conservative passive-scalar transport, and optional turbulence closure. The solver combines MUSCL-Hancock reconstruction, HLLC fluxes, hydrostatic reconstruction, and single-precision formulations designed to preserve lake-at-rest states. A fused tiled kernel advances each timestep in one dispatch, while GPU-resident timestep control and deterministic rollback avoid per-step host readback. Verification shows bitwise equivalence between fused and multi-pass implementations, batch-size invariance, second-order scalar convergence, Kelvin–Helmholtz growth within 1% of linear theory and expected island-wake shedding frequencies. The fused kernel sustains 610–700 million cell updates per second on an integrated laptop GPU. Flood benchmarks, laboratory wave experiments, and 2 m lidar simulations close water and tracer budgets without retries.
Authors
- Ibrahim Demir
- Carlos Erazo
Publication Details
- Journal
- EarthArXiv (California Digital Library)
- Published
- 2026-11-24
- DOI
- https://doi.org/10.31223/x56z5t
- Primary Topic
- Computational Fluid Dynamics and Aerodynamics
- Type
- preprint