In this video we extend our previous 1D Linear Wave code to two spatial dimensions.
Slice notation for numpy arrays makes this a very quick conversion, and 3D axes in matplotlib make the solution easy to visualize.
Here is a link to the source code for the 1D Solution as well as the 2D solution (both codes are in the repository):
https://github.com/bpatricksullivan/1...
If you missed earlier episodes in this series, here they are:
• The Wave Equation & the Leapfrog Algorithm...
• The Leapfrog Algorithm with Numpy Arrays a...
• 1D Linear Wave Simulation in Python
• Testing Python Solution to the 1d Linear W...
• 2D Linear Wave Simulation in Python - Leap...
On this page of the site you can watch the video online 2D Linear Wave Simulation in Python - Leapfrog Integration with a duration of hours minute second in good quality, which was uploaded by the user Brian Sullivan 14 February 2024, share the link with friends and acquaintances, this video has already been watched 6,065 times on youtube and it was liked by 112 viewers. Enjoy your viewing!