@NilsBerglund
  @NilsBerglund
Nils Berglund | Creating rotating waves in a circle with fifteen angled secondary cavities @NilsBerglund | Uploaded October 2024 | Updated October 2024, 3 minutes ago.
This simulation of a resonating cavity implements a suggestion made by viewers of a previous simulation. It is a variant of the simulation youtu.be/cimKdtw04hg using 15 instead of 10 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 should have a tendency to rotate. It turns out that this works indeed quite well. Another difference with the previous video is the order in which the sources fire: instead of oscillating in the same order they are placed around the central cavity, the sources at odd positions fire before those at even positions. This different phase shift creates a larger angular velocity.
This video has two parts, showing the same evolution with two different color gradients:
Wave height: 0:00
Averaged wave energy: 1:43
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: 20 minutes 26 seconds
Compression: crf 23
Color scheme: Part 1 - Viridis by Nathaniel J. Smith, Stefan van der Walt and Eric Firing
github.com/BIDS/colormap
Part 2 - Turbo, by Anton Mikhailov
gist.github.com/mikhailov-work/6a308c20e494d9e0ccc29036b28faa7a

Music: "Electrosamba" by Quincas Moreira@QuincasMoreira

See also
https://images.math.cnrs.fr/des-ondes-dans-mon-billard-partie-i/ 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 hplgit.github.io/fdm-book/doc/pub/wave/pdf/wave-4print.pdf
C code: github.com/nilsberglund-orleans/YouTube-simulations
https://www.idpoisson.fr/berglund/software.html
Many thanks to Marco Mancini and Julian Kauth for helping me to accelerate my code!

#wave #resonator
Creating rotating waves in a circle with fifteen angled secondary cavitiesPentagonal foam with gravityAn equatorial asteroid impact in the Pacific OceanUnzipping DNA with enzymes (a simple model)Hexagons make nice sand pilesViewer request: Simulation of an asteroid impact off the coast of CaliforniaAn asteroid impact in the North Pacific Ocean, with tsunami-induced floodingCherenkov radiation of an even faster particleA slightly refracting magnetron-shaped resonator at higher wavelengthCherenkov radiationGrowing quasicrystals from pentagons in a central gravity fieldMagnetized squishy squares clogging a funnel

Creating rotating waves in a circle with fifteen angled secondary cavities @NilsBerglund

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER