DekEn
āļāļĨāļąāļšāđ„āļ›āļŦāļ™āđ‰āļēāļāļēāļĢāļ•āļĢāļ§āļˆāļŠāļ­āļšāļ„āļ§āļēāļĄāļ–āļđāļāļ•āđ‰āļ­āļ‡
Multi-fluid Solver · Router / Classifier (capstone)

Multi-fluid Solver — Engine Router Validation

This page exercises the router / classifier — the integration capstone — live in the browser, calling the public /api/v1/solver-router/solve compute surface. The router inspects four axes (compressibility · phase-behaviour · energy-coupling · fluid-type), picks the right engine — the head-based GGA for incompressible liquids (Newtonian or non-Newtonian) or the marching-Newton engine for compressible / two-phase — and enforces the phase-change safety rule: an incompressible engine is never allowed to silently solve a fluid that might flash. Pick a regime and solve; the routing decision (engine, provider, reason, and whether it was forced by safety) is shown before the result.

Choose a regime

Cold water (ρ=998, Ξ=1e-3) at 3→2 bar, 293 K. Incompressible, isothermal, Newtonian → the fast head-based GGA. The cross-engine check also runs the marching engine on the same net and confirms they agree (~0.03%).

Expected routing: GGA (constant) — incompressible Newtonian liquid

Backend: backend/api/v1/endpoints/solver_router.py · core/router.py (classify + dispatch over the GGA + marching-Newton engines) · stateless, public, no auth.