Skip to content
DimensionLab

RyuchiInterfaces & multiphaseCPU · f64

Free-surface standing wave: period against linear dispersion

Ryuchi's free-surface lattice Boltzmann model gives a standing-wave period of 2850 steps against 2862 from linear dispersion theory (0.40 %, gate 5 %); zero crossings give 2913 steps, also inside the gate; CPU, f64.

Fill level of the standing wave
Pass
2 of 2 gates met
0.00398Wave period, relative error against linear theory · gate |x| ≤ 0.05
8 %
Reference
H. Lamb
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Solver version
Ryuchi 0.1.0+ab209b49
Grid
D2Q9, 128 x 80 cells, depth 48, wavelength 128, amplitude 4 cells…

Results

Figures from the run.

Surface elevation vs linear-dispersion period

Surface elevation vs linear-dispersion period

Metrics and gates

Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.

MetricValueGateAllowance usedResult
Wave period, relative error against linear theorykey0.00398|x| ≤ 0.058 %✓ pass
Measured period from dominant frequency (steps)2850 stepsnot gatedreported onlyreported
Period from zero crossings (steps)2910 steps2860 ± 143 steps36 %✓ pass

Setup and reproducibility

Grid and numerics
D2Q9, 128 x 80 cells, depth 48, wavelength 128, amplitude 4 cells, BGK tau 0.51, g 1e-4
Solver
Ryuchi 0.1.0+ab209b49
Hardware
AMD EPYC Genoa server CPU, 4 vCPU
Precision
f64
Code revision
ab209b4951c9
Physics
Interfaces & multiphase · free surface, standing wave, dispersion
Run date

References

  • Analytic solution

    H. Lamb, Hydrodynamics, Cambridge University Press (first edition 1895), linear dispersion relation of standing waves in water of finite depth

    doi:10.5962/bhl.title.18729