Re:Encouraging students to understand the 1D wave equation
by tomthe on Wednesday December 20, 2023 @06:37AM
(#38707520)
Thank you and the sibling comment. These are interesting resources for practical and physical simulations of real phenomena.
I thought more about an idealized wave (which water waves are not) through a homogeneous euclidean medium of idealized single oscillators. Each oscillator can only communicate to its direct neighbors.
I should read through some of your materials as this might be what they talk about in the first chapters. But they focus too much on the actual physics and less about the implementation.
Re:Encouraging students to understand the 1D wave equation
by dsqrt on Wednesday December 20, 2023 @06:50AM
(#38707615)
The finite-differencing time-domain method [1] (sometimes also called leap-frog [2]) is easy to implement and robust for scalar and electromagnetic waves. This other book by LeVeque [3] is a great introduction on finite-differencing methods for linear equations.
--
[1] https://en.wikipedia.org/wiki/Finite-difference_time-domain_...
One of the open source codes from their research group is called Clawpack and is a good starting point for understanding things, and for cross-validation if you code something yourself.
But keep in mind, there are many different physical formulations of the wave equations that complicate matters quite a bit, especially beyond 1D. A shallow water wave has different physics from a deep water wave, which is again different from a sound wave. These require different numerical treatment. And e.g. if you go to large scale atmospheric (Rossby) waves, you need to solve on a sphere which is topologically a bit involved. It's a very rich field of study.
[1] https://www.cambridge.org/core/books/finite-volume-methods-f...