Quasi-1D Unsteady Nozzle Shock Solver
Interactive quasi-1D unsteady Euler nozzle solver: a time-marching finite-volume scheme (Rusanov flux, real conservation of mass/momentum/energy across a variable-area duct) relaxes toward a steady normal shock, letting you watch the shock actually form and slide as back pressure and area ratio change, instead of jumping to a precomputed answer.
This simulator time-marches the unsteady quasi-1D Euler equations — real conservation of mass, momentum and energy in a converging-diverging duct — using an explicit finite-volume scheme with a Rusanov numerical flux. Instead of solving the steady-state isentropic and Rankine-Hugoniot relations algebraically and drawing the answer, the shock here actually forms and settles from the time-evolving flow field itself, exactly like a real CFD nozzle solver. Drag the back-pressure ratio or exit area ratio and watch the shock visibly slide to its new equilibrium position over several seconds of simulated time, rather than jumping there instantly.
A genuinely different computation from the 3D nozzle sim: this time-marches the unsteady quasi-1D Euler equations (real mass/momentum/energy conservation in a variable-area duct) with an explicit finite-volume Rusanov scheme, so the normal shock actually forms and relaxes to a steady position from the evolving flow field instead of being placed by an algebraic root-find. Drag back pressure or area ratio and watch the shock visibly slide over several seconds of simulated time.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install