Skip to content
DimensionLab

RyuchiHeat transferNVIDIA GPU · f32 storage and scalar

Two streams mixing in a channel: outlet mean scalar against the closed form and OpenFOAM

On an NVIDIA GeForce RTX 5080 in f32, Ryuchi mixes a scalar-carrying stream with a clean one in a 2D channel: the outlet's flux-weighted mean is within 1.7e-04 of the closed-form 2/3 (gate 1 %), the outlet flow within 1.3e-07 of the inflow (gate 0.5 %) and the mean within 1.0e-04 of OpenFOAM v2412, 2026-11-18.

dye field at the end
Pass
2 of 2 gates met
-1.66e-4 relativeOutlet flux-weighted mean scalar relative to the closed-form 2/3 · gate |x| ≤ 0.01 relative
2 %
Reference
Closed form: at steady state the scalar brought by inlet 1 leaves only through the outlet
Hardware
NVIDIA GeForce RTX 5080
Solver version
Ryuchi 0.1.0+51cf184b
Grid
D2Q9, 160 x 40 cells of 2.5 mm, 48,000 steps (dt 0.625 ms), BGK…

Results

Figures from the run.

Gated quantity over time with OpenFOAM and the closed form

Gated quantity over time with OpenFOAM and the closed form

Metrics and gates

Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.

MetricValueGateAllowance usedResult
Outlet flux-weighted mean scalar relative to the closed-form 2/3key-1.66e-4 relative|x| ≤ 0.01 relative2 %✓ pass
Outlet flow rate relative to the inflow1.3e-7 relative|x| ≤ 0.005 relative<1 %✓ pass
Outlet mean scalar relative to OpenFOAM v2412 (not gated)-1.03e-4 relativenot gatedreported onlyreported

Setup and reproducibility

Grid and numerics
D2Q9, 160 x 40 cells of 2.5 mm, 48,000 steps (dt 0.625 ms), BGK, lattice speed 0.05, conservative scalar
Solver
Ryuchi 0.1.0+51cf184b
Hardware
NVIDIA GeForce RTX 5080
driver 580.65.06, CUDA 12.8
Precision
f32 storage and scalar
Code revision
51cf184b1fe7
Physics
Heat transfer · open boundaries, passive scalar, mixing, code comparison
Run date

References

  • Analytic solution

    Closed form: at steady state the scalar brought by inlet 1 leaves only through the outlet, so the outlet's flux-weighted mean is Q1 / (Q1 + Q2) = 2/3, and the outlet flow equals Q1 + Q2

  • Third-party code · reference, not our solver

    OpenFOAM v2412 (ESI release), run on the same case specification as an independent solver

    www.openfoam.com/