// MIXING FIELD VIEWPORT
Watch a channel mix
A solute slug (left half) advects and diffuses across a microchannel — the
same explicit advection-diffusion stencil openIE runs in
cad-sim, on CPU and on the GPU compute
kernel (they agree to f32 precision) — and that same Rust solver,
compiled to WebAssembly, runs it live in your browser here. Drag the
sliders; the field responds in real time.
Diffusivity
Flow → (ux)
Flow ↑ (uy)
Unmixedness —
Mixed —
Viridis colormap. This runs the actual cad-sim Rust solver
compiled to WebAssembly — the same AdvectionDiffusionField
the CPU, GPU, and MCP paths run, not a JS port.