Change parameters · Explore the workshop parameters
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.
Python runs on this device. The first run loads the scientific libraries.
The optional OneSimulation calculation uses the local OneSimulation installation. Save this notebook to run that comparison in Jupyter.
Two linearly coupled scalar signals evolve on a periodic ring. The operator for each spatial Fourier mode is only two by two. Compare the wavelengths selected by the continuum equation with those selected by a finite-difference grid. The model describes small deviations; it contains no nonlinear saturation.
Compare a dispersion curve with an exact linear wave experiment
For each mode prepare the real part of its leading eigenvector and evolve the complex eigenmode before taking the real part. The phase and growth rates in this experiment follow the finite-grid operator exactly. The panels distinguish an incorrect spatial eigenvalue from time-stepping error. Initial amplitudes are small and intentionally comparable.
Verify the spatial operator independently
Assemble the full periodic matrix for the selected grid. Its most rapidly growing eigenvalue should agree with the Fourier block calculation. In OneSimulation the optional comparison uses its general dense eigensolver. A small positive cut-off avoids classifying roundoff at a neutral boundary as physical growth.