Skip to content
DimensionLab

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.

Pass

Results

dye field at the end

Gated quantity over time against the closed form

Gated quantity over time against the closed form

Metrics

MetricValueGateAllowance usedResult
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 flow1.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

All reference cases