Skip to content

simonguichandut/TideCode

Repository files navigation

Description

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.

The team

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

How-to

python main.py

Use ffmpeg or other software of choice to make movies from the saved frames in the .png folder

Example results

Arrows represent the velocity field of the fluid, and the color scale represents the local elevation of the tides.

Static planet and static moon

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.

About

Modelling planetary tides from multiple moons

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages