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.
Results

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

Frequency deviation against resolution, with the gate band

Metrics
| Metric | Value | Gate | Allowance used | Result |
|---|---|---|---|---|
| Centre frequency deviation from third-order theorykey | -0.00372 | |x| ≤ 0.005 | 74 % | ✓ pass |
| Measured frequency over Lamb's linear value | 0.983 | not gated | reported only | reported |
| Liquid volume drift at 200 cells per wavelength | 4.27e-13 | |x| ≤ 1e-8 | <1 % | ✓ pass |
| Frequency at the left wall (rad/s) | 7.81 | not gated | reported only | reported |
| Frequency at the right wall (rad/s) | 7.81 | not gated | reported only | reported |
| Amplitude, last period over first | 0.996 | not gated | reported only | reported |
| Largest liquid-fraction overshoot | 1.3e-8 | not gated | reported only | reported |
| Largest liquid volume drift over the three grids | 4.27e-13 | |x| ≤ 1e-8 | <1 % | ✓ pass |
| Centre frequency deviation at 50 cells per wavelength | 2.72e-4 | not gated | reported only | reported |
| Centre frequency deviation at 100 cells per wavelength | -0.00209 | not gated | reported only | reported |
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
PassRyuchi · CPUFree-surface standing wave: period against linear dispersion
Wave period, relative error against linear theory: 0.00398
8 %free surface · standing wave