This computes the decay of the 2D Taylor-Green vortex with a pseudospectral Navier-Stokes solver running on real WebGPU hardware in your browser, and compares the kinetic-energy decay against the closed-form analytic rate. A researcher gets a deterministic, no-install check of a spectral fluids method before committing to a full DNS or HPC run.
Max relative energy error 6.6e-7 vs analytic decay rate 4*nu Verified
An independent 2D pseudospectral Navier-Stokes solve reproduces the analytic Taylor-Green energy decay rate 4*nu to the f32 floor. Max sample-by-sample relative energy error 6.6e-7 at N=32^2, nu=0.01, t=2.0.
The solver integrates the incompressible Navier-Stokes equations in vorticity-stream form. Time advancement is RK4 in spectral space, with the nonlinear term 2/3 dealiased. The run is executed on WebGPU, and the simulated kinetic-energy decay is compared sample-by-sample against the analytic Taylor-Green decay rate 4*nu at N=32^2, nu=0.01, t=2.0.
This is a real GPU spectral solve validated against the closed-form decay. It is a bridge to a full DNS or HPC run, not a replacement.
The solve is deterministic and runs in your browser.
Open incompressible fluids (WebGPU) in GDBS See the full validation table