Skip to content
DimensionLab

OpenFOAM v2412Reference run (DimensionLab)

Darcy-Forchheimer plug in uniform flow: OpenFOAM against the closed-form pressure drop

OpenFOAM v2412 (pimpleFoam, DarcyForchheimer porosity source) gives a plug pressure drop of 0.02399 Pa against the closed-form 0.024 Pa (-0.04 %, gate 1 %), with outflow equal to inflow within 1e-9; CPU, f64, 2026-11-17.

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

Pressure field

Pressure along the channel against the closed form

Pressure along the channel against the closed form

Metrics

MetricValueGateAllowance usedResult
Plug pressure drop relative to closed formkey-4.1e-4 relative|x| ≤ 0.01 relative4 %✓ pass
Outflow over inflow minus one-7.6e-10|x| ≤ 0.005<1 %✓ pass
Drift of the plug pressure drop over the window (relative)-4.37e-9|x| ≤ 1.2e-4<1 %✓ pass

Setup

Code
OpenFOAM v2412
Grid and numerics
80 x 4 x 1 cells, dx = 5 mm, cyclic in y, 2D, pimpleFoam to t = 20 s
Hardware
x86-64 cloud server CPU, one core; f64

References

  • Analytic solution

    Uniform flow through a Darcy-Forchheimer plug: dp = rho (nu d U + f U^2 / 2) L = 0.024 Pa for rho 1.2, nu 1e-3, d 1000 1/m2, f 20 1/m, U 0.1 m/s, L 0.1 m

  • Third-party code

    OpenFOAM v2412, the OpenFOAM computational fluid dynamics toolbox (ESI-OpenCFD release), used as the solver under test

    www.openfoam.com

Our solvers on this problem

All reference cases