File:Tsunami (simplified).gif
Summary
Description |
English: The velocity of propagation of a sea wave depends on the depth of the water: the shallower the water the slower the wave. So if the depth reduces the wave will "accumulate" (like in a traffic jam).
Notice that this is just the propagation of a gaussian pulse with the shallow water dispersion relation, not a solution of the 1D Saint-Venant equations. |
Date | |
Source | https://twitter.com/j_bertolotti/status/1186229487874260992 |
Author | Jacopo Bertolotti |
Permission (Reusing this file) |
https://twitter.com/j_bertolotti/status/1030470604418428929 |
Mathematica 11.0 code
f = 0.5*Sum[(E^(I k x) E^(-(k - k0)^2/(2 \[Sigma]^2)) E^(-I \[Omega] t)) /. {\[Omega] -> Sqrt[g k Tanh[k (Erfc[0.2 (x - 25)]/1 + 0.1)]]} /. {\[Sigma] -> 0.2, k0 -> 2, g -> 1, h -> 2}, {k, 0, 15, 0.05}]; p1 = Table[ Show[ Plot[{Re[f], Erf[0.2 (x - 25)]/1 - 8}, {x, -20, 50}, PlotStyle -> {Directive[Blue, Thick], Directive[Brown]}, PlotRange -> {-11, 10}, Axes -> False, Filling -> {1 -> {{2}, Blue}, 2 -> {Bottom, Brown}}] ] , {t, 0, 100, 1}]; ListAnimate[p1, 10]
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|