OpenFOAM v2412Reference run (DimensionLab)
Two streams mixing in a channel: outlet mean against the closed form
OpenFOAM v2412 (pimpleFoam with scalarTransport) reproduces the outlet mean of a passive scalar from two mixing streams: 0.66662 against the closed form 0.66667, -6.3e-5 relative (gate 1 %); CPU, f64, 2026-11-18.
Reference case. This is a run of OpenFOAM v2412, another code, not of a DimensionLab solver. It is shown as a reference for the problem; it is not counted in our solvers' verdicts or totals.
Results

Gated quantity over time against the closed form

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Outlet flux-weighted scalar mean relative to the closed formkey | -6.26e-5 relative | |x| ≤ 0.01 relative | <1 % | ✓ pass |
| Outlet flow relative to the inlet flow | 1.25e-10 relative | |x| ≤ 0.005 relative | <1 % | ✓ pass |
Setup
- Code
- OpenFOAM v2412
- Grid and numerics
- 160 x 40 cells, cell 0.0025 m, 2D, laminar, two velocity inlets, pressure outlet, to t = 30 s
- Hardware
- x86-64 server CPU, 4 MPI ranks; f64
References
- Analytic solution
Steady state: the lower inlet scalar leaves through the outlet alone, so the flux-weighted outlet mean is Q1 / (Q1 + Q2) = 0.6667; the outlet passes the inlet flow Q1 + Q2
- Third-party code
OpenFOAM v2412 (ESI-OpenCFD edition), open-source finite-volume CFD toolbox
www.openfoam.com
Our solvers on this problem
PassRyuchi · GPUTwo streams mixing in a channel: outlet mean scalar against the closed form and OpenFOAM
Outlet flux-weighted mean scalar relative to the closed-form 2/3: -1.66e-4 relative
2 %open boundaries · passive scalar