The simulations [ Ссылка ] and [ Ссылка ] used, respectively, sources in 10 and 15 secondary cavities to induce rotating waves in a larger central cavity. This simulation uses the same principle, with only 3 secondary cavities. By placing the channels connecting the main cavity to the secondary ones at an angle, instead of radially, the waves excited in the main cavity have a tendency to rotate. The sources pulsate one third of a period out of phase, which may help the rotation.
This video has two parts, showing the same evolution with two different color gradients:
Wave height: 0:00
Averaged wave energy: 1:36
In the first part, the color hue depends on the height of the wave. In the second part, it depends on the energy of the wave, slightly averaged over a sliding time window.
Render time: 18 minutes 28 seconds
Compression: crf 23
Color scheme: Part 1 - Inferno by Nathaniel J. Smith and Stefan van der Walt
[ Ссылка ]
Part 2 - Twilight by Bastian Bechtold
[ Ссылка ]
Music: "Val Holla" by Geographer@geographermusic
See also
[ Ссылка ] for more explanations (in French) on a few previous simulations of wave equations.
The simulation solves the wave equation by discretization. The algorithm is adapted from the paper [ Ссылка ]
C code: [ Ссылка ]
[ Ссылка ]
Many thanks to Marco Mancini and Julian Kauth for helping me to accelerate my code!
#wave #resonator
Ещё видео!