@NilsBerglund
  @NilsBerglund
Nils Berglund | Bloopers 19: Asteroid impact in the Indian Ocean, with a too strong Coriolis force @NilsBerglund | Uploaded September 2024 | Updated October 2024, 2 hours ago.
This attempt at simulating an asteroid impact in the Indean Ocean uses a strong Coriolis force. As it turns out, the Coriolis force is so strong that the waves created by the impact tend to move inward after initially moving outward, earning this simulation a spot in my list of bloopers youtube.com/playlist?list=PLAZp3rbgWLo0CUHGuFfPUUrjdRWNCelDr
The shallow water equations are nonlinear equations, which give a better description of the motion of water than the linear wave equation. In particular, unlike the linear wave equation, they conserve the total volume of water. The linear equation gives an approximation of the solutions, when the wave height remains close to its average over space. The initial state features velocities radiating outward from the impact point of the asteroid.
The equations used here include viscosity and dissipation, as described for instance in
en.wikipedia.org/wiki/Shallow_water_equations#Non-conservative_form , including the Coriolis force.
One difficulty is to model the wetting boundary, which separates regions that are under water and those which are not. This difficulty has been circumvented here by replacing the continents by a repulsive force field, directed downslope, instead of a sharp boundary.
The video has four parts, showing simulations at two different speeds and with two different visualizations:
Time lapse, 3D: 0:00
Time lapse, 2D: 0:12
Original speed, 3D: 0:25
Original speed, 2D: 1:15
The color hue and radial coordinate show the height of the water, on an exaggerated radial scale. The 2D parts use a projection in equirectangular coordinates. In the 3D parts, the point of view is slowly rotating around the Earth in a plane containing its center. In parts 1 and 2, the animation has been speeded up by a factor 4.
The velocity field is materialized by 2000 tracer particles that are advected by the flow.

Render time: 3D parts - 2 hour 38 minutes
2D parts - 3 hours 20 minutes
Color scheme: Viridis by Nathaniel J. Smith, Stefan van der Walt and Eric Firing
github.com/BIDS/colormap

Music: "Grand Avenue" by Text Me Records - Bobby Renz@socialxwork

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 2D shallow water equation by discretization (finite differences).

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!

#shallowwater #waves #Earth
Bloopers 19: Asteroid impact in the Indian Ocean, with a too strong Coriolis forceSorting hexagons by sizeA tide simulation with a more realistic lunar forcingCherenkov radiation of two particles moving in opposite directionsCoagulating falling hexagonsMartian weather - vorticity and wind directionWaves escaping a sunflower spiral of obstacles #art #waveequation #diffraction #fibonacciSimulation of an asteroid impact between Ireland and NewfoundlandThe asymmetric rock-paper-scissors-lizard-Spock equation on the sphere, with improved polar behaviorFalling trianglesFilming a moving source with a gradient index lensA gradient index lens with quadratic refractive index exposed to two light sources

Bloopers 19: Asteroid impact in the Indian Ocean, with a too strong Coriolis force @NilsBerglund

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER