Invntr
Source

All instruments

channel2d

2D incompressible flow by the lattice Boltzmann method (D2Q9, BGK). mode=cylinder: flow past a cylinder, vortex street, Strouhal number, vorticity.png, probe.csv and scene.glb (the vorticity as a 3D surface). mode=poiseuille: channel flow checked against the exact parabola, profile.csv. All lengths in lattice cells, velocities in lattice units.

Field
Mechanics, CAD and finite elements
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
60 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replaychannel2d 0.1.0 · files 118be8721367…73b1
  1. r0001Poiseuille channel: peak speed within 1% of g H^2 / 8 nupassed

    rel_error≤ 0.010.000518023lockedinside the range
    profile_rms_error≤ 0.010.000514512lockedinside the range
  2. r0002Cylinder at Re 100, periodic sides, 20% blockage: a vortex street with St in 0.16-0.22 (unbounded 0.164; blockage raises it)passed

    strouhal0.16 to 0.220.200708lockedinside the range
    shedding_periods≥ 34lockedinside the range
    probe_amplitude_over_U≥ 0.10.702465lockedinside the range
2 of 2 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
modecylinder
Re1100Reynolds number U D / nu (cylinder mode).
nx1400
ny1100
diameter_cells120
u_lattice10.08Inflow speed (cylinder) or target peak speed (poiseuille), lattice units. Keep it under 0.1 so the flow stays nearly incompressible.
tau10.8Relaxation time (poiseuille mode; cylinder mode derives it from Re).
steps20000

Readings

NameUnitMeaning
strouhal1
u_max, u_max_exact, rel_error
vorticity.png
probe.csv
profile.csv

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call