A code that calculates the time-dependent motion of tides on a water planet according to the Laplace Tidal Equations.
This project was created in the context of the 2019 McGill Physics Hackathon, and was awarded the Astro Prize at the end of a grueling but fun 25 hours of coding. We plan on improving our code in the future.
Our presentation can be found here.
Mathieu Bergeron - MSc. student at Université de Sherbrooke
Oscar Céspedes - MSc. student at Polytechnique Montréal
Simon Guichandut - MSc. student at McGill University
Gabriel Laberge - MSc. student at Polytechnique Montréal
python main.py
Use ffmpeg or other software of choice to make movies from the saved frames in the .png folder
Arrows represent the velocity field of the fluid, and the color scale represents the local elevation of the tides.
Static planet and rotating moon
The solutions have the right behavior but are diverging due to a coordinate singularity at the poles. We have not yet found a solution to this problem.