@NilsBerglund
  @NilsBerglund
Nils Berglund | Increasing the wavelength even more in a magnetron-shaped resonator @NilsBerglund | Uploaded August 2024 | Updated October 2024, 3 minutes ago.
In this simulation of a magnetron-shaped resonator, the frequency is lower by a factor of 3 than in the previous video youtu.be/dZ6nrlU8Wdw , leading wavelengths that become comparable to those of the channels connecting the resonating chambers. In real magnetrons, the wavelength is still a bit longer, but this would probably not work very well with the boundary conditions used here.
Magnetrons were used in early radars, and are still used in microwave ovens, as sources of the microwaves. Cavity magnetrons use a resonating cavity with several chambers, together with a magnetic field. In this simulation, there is no magnetic field, and waves are produced as pulses in the center of the device, so it does not represent a real magnetron. However, I still found it interesting to look at the effect of the resonating cavities on the output.
Since this simulation is in 2D, I added a channel at one side to act as an outlet for the waves. In 3D, my understanding is that the outlet would rather be along the axis of the device.
This video has two parts, showing the same evolution with two different color gradients:
Wave height: 0:00
Averaged wave energy: 1:39
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, averaged over a sliding time window. The contrast has been enhanced by a shading procedure, similar to the one I have used in videos of reaction-diffusion equations. The process is to compute the normal vector to a surface in 3D that would be obtained by using the third dimension to represent the field, and then to make the luminosity depend on the angle between the normal vector and a fixed direction.
There are absorbing boundary conditions on the borders of the simulated rectangle. The graph at the right shows a slightly time-averaged version of the signal.

Render time: 35 minutes 9 seconds
Compression: crf 23
Color scheme: Part 1 - Twilight by Bastian Bechtold
github.com/bastibe/twilight
Part 2 - Magma by Nathaniel J. Smith and Stefan van der Walt
github.com/BIDS/colormap

Music: "Royal" by Slenderbeats@slenderbodies

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 #magnetron
Increasing the wavelength even more in a magnetron-shaped resonatorUsing seven sources to excite resonant modes in a circleResonances in a circle, excited by four sourcesCharged interacting pentagonsGrowth of a mono-quasicrystal from pentagons: coloring by ageUsing three sources to excite resonant modes in a circleWaves of two different frequencies crossing a Poisson disc latticeAn asteroid impact in the South Pacific OceanA wave source on the boundary of a parabolic resonatorDNA-like molecules with random dissociationExciting resonant modes in a circle with five out of phase sourcesWinnowing 3: Throwing the particles from the ground

Increasing the wavelength even more in a magnetron-shaped resonator @NilsBerglund

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER