Skip to content
DimensionLab

OpenFOAM v2412Reference run (DimensionLab)

Standing gravity wave: OpenFOAM interFoam reference run

OpenFOAM v2412 interFoam run of a standing gravity wave (A = 0.05 wavelength) at 200 cells per wavelength: oscillation frequency -0.37 % from the third-order Tadjbakhsh-Keller value 7.821 rad/s (gate 0.5 %); liquid volume drift 4.3e-13. Intel Core i7-6800K CPU, serial, f64.

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

Liquid fraction at t = 8 s

Centre-column surface elevation at each resolution against the reference frequency

Centre-column surface elevation at each resolution against the reference frequency

Frequency deviation against resolution, with the gate band

Frequency deviation against resolution, with the gate band

Metrics

MetricValueGateAllowance usedResult
Centre frequency deviation from third-order theorykey-0.00372|x| ≤ 0.00574 %✓ pass
Measured frequency over Lamb's linear value0.983not gatedreported onlyreported
Liquid volume drift at 200 cells per wavelength4.27e-13|x| ≤ 1e-8<1 %✓ pass
Frequency at the left wall (rad/s)7.81not gatedreported onlyreported
Frequency at the right wall (rad/s)7.81not gatedreported onlyreported
Amplitude, last period over first0.996not gatedreported onlyreported
Largest liquid-fraction overshoot1.3e-8not gatedreported onlyreported
Largest liquid volume drift over the three grids4.27e-13|x| ≤ 1e-8<1 %✓ pass
Centre frequency deviation at 50 cells per wavelength2.72e-4not gatedreported onlyreported
Centre frequency deviation at 100 cells per wavelength-0.00209not gatedreported onlyreported

Setup

Code
OpenFOAM v2412
Grid and numerics
2D tank 1 x 2 m (one wavelength), water 1 m deep, 200 x 400 cells (50 and 100 per wavelength also run), A = 0.05 m, slip walls, t = 8 s; interFoam
Hardware
Intel Core i7-6800K workstation CPU, serial run; f64

References

  • Third-party code

    S. S. Deshpande, L. Anumolu, M. F. Trujillo, Evaluating the performance of the two-phase flow solver interFoam, Computational Science and Discovery 5 (2012) 014016

    doi:10.1088/1749-4699/5/1/014016
  • Published benchmark

    I. Tadjbakhsh, J. B. Keller, Standing surface waves of finite amplitude, Journal of Fluid Mechanics 8 (1960) 442-451

    doi:10.1017/S0022112060000724

Our solvers on this problem

All reference cases