{"id":19855841,"url":"https://github.com/ray-chew/mmidk","last_synced_at":"2026-05-09T03:39:13.871Z","repository":{"id":228615268,"uuid":"774432050","full_name":"ray-chew/mmidk","owner":"ray-chew","description":"Course material I created for the tutorial \"Mathematical Modelling in Climate Research\" at the Freie Universität Berlin","archived":false,"fork":false,"pushed_at":"2024-03-20T16:45:16.000Z","size":44577,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T12:44:23.356Z","etag":null,"topics":["burgers-equation","finite-difference-method","finite-volume-method","heat-equation","python","scientific-computing","shallow-water-equations","tutorial-course"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ray-chew.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-19T14:40:29.000Z","updated_at":"2024-03-21T08:27:29.000Z","dependencies_parsed_at":"2025-01-11T13:58:38.081Z","dependency_job_id":null,"html_url":"https://github.com/ray-chew/mmidk","commit_stats":null,"previous_names":["ray-chew/mmidk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ray-chew/mmidk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-chew%2Fmmidk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-chew%2Fmmidk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-chew%2Fmmidk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-chew%2Fmmidk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ray-chew","download_url":"https://codeload.github.com/ray-chew/mmidk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ray-chew%2Fmmidk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32806515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["burgers-equation","finite-difference-method","finite-volume-method","heat-equation","python","scientific-computing","shallow-water-equations","tutorial-course"],"created_at":"2024-11-12T14:13:51.305Z","updated_at":"2026-05-09T03:39:13.857Z","avatar_url":"https://github.com/ray-chew.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mathematische Modellierung in der Klimaforschung\nThis repository contains the course material I created as a voluntary lecturer for the tutorial *Mathematical Modelling in Climate Research* at the Freie Universität Berlin. The `.tex` files used to generate the lecture notes are available upon request.\n\n## Course outline\n|                             week                            | content                                                                                                                                                                                                         | exercise                                                                                                                                                                                                           | Python crash course                                                                                                          |\n|:-----------------------------------------------------------:|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|\n|    [w0](https://github.com/ray-chew/mmidk/tree/master/w0)   | [an introduction to Git](https://github.com/ray-chew/mmidk/blob/master/w0/notes.pdf)                                                                                                                            |                                                                                                                                                                                                                    |                                                                                                                              |\n|    [w1](https://github.com/ray-chew/mmidk/tree/master/w1)   | [introduction to numerics with a simple harmonic oscillator](https://github.com/ray-chew/mmidk/blob/master/w1/oscillator.ipynb)                                                                                 | Using `scipy.integrate.odeint` [[solution](https://github.com/ray-chew/mmidk/blob/master/w1/oscillator_soln.ipynb)]                                                                                                | [functions and lists](https://github.com/ray-chew/mmidk/blob/master/w1/functions_and_lists.ipynb)                            |\n|    [w2](https://github.com/ray-chew/mmidk/tree/master/w2)   | [discretising the simple harmonic oscillator; numerical stability](https://github.com/ray-chew/mmidk/blob/master/w2/discrete_oscillator.ipynb)                                                                  | [discretising and solving the Lotka-Volterra equations](https://github.com/ray-chew/mmidk/blob/master/w2/w2_ex4.pdf) [[solution]](https://github.com/ray-chew/mmidk/blob/master/w2/discrete_oscillator_soln.ipynb) | [for loops and list comprehension](https://github.com/ray-chew/mmidk/blob/master/w2/for-loops_and_list_comprehensions.ipynb) |\n|    [w3](https://github.com/ray-chew/mmidk/tree/master/w3)   | [order of accuracy and convergence; error analysis](https://github.com/ray-chew/mmidk/blob/master/w3/orders_and_errors.ipynb)                                                                                   |                                                                                                                                                                                                                    |                                                                                                                              |\n|    [w4](https://github.com/ray-chew/mmidk/tree/master/w4)   | [discretising and solving the heat equation](https://github.com/ray-chew/mmidk/blob/master/w4/heat_eqn.ipynb)                                                                                                   | implement an [FTCS scheme](https://en.wikipedia.org/wiki/FTCS_scheme) [[solution](https://github.com/ray-chew/mmidk/blob/master/w4/heat_eqn_soln.ipynb)]                                                           | [good programming practices](https://github.com/ray-chew/mmidk/blob/master/w4/good_practices.ipynb)                          |\n|    [w5](https://github.com/ray-chew/mmidk/tree/master/w5)   | [review of knowledge acquired]                                                                                                                                                                                  |                                                                                                                                                                                                                    |                                                                                                                              |\n|    [w6](https://github.com/ray-chew/mmidk/tree/master/w6)   | [conservation laws](https://github.com/ray-chew/mmidk/blob/master/w6/conservation_laws.pdf)                                                                                                                     |                                                                                                                                                                                                                    |                                                                                                                              |\n|    [w7](https://github.com/ray-chew/mmidk/tree/master/w7)   | [Burger's equation](https://github.com/ray-chew/mmidk/blob/master/w7/w7_burgers_eqn.pdf); [finite volume method, Lax-Friedrich, and the CFL condition](https://github.com/ray-chew/mmidk/blob/master/w7/w7.pdf) | [discretising and solving the Burgers' equation](https://github.com/ray-chew/mmidk/blob/master/w7/burgers_eqn.ipynb) [[solution](https://github.com/ray-chew/mmidk/blob/master/w7/burgers_eqn_soln.ipynb)]         |                                                                                                                              |\n|    [w8](https://github.com/ray-chew/mmidk/tree/master/w8)   | [error analysis of the Lax-Friedrich method](https://github.com/ray-chew/mmidk/blob/master/w8/w8_fdm_lxf_error.pdf)                                                                                             |                                                                                                                                                                                                                    |                                                                                                                              |\n|    [w9](https://github.com/ray-chew/mmidk/tree/master/w9)   | [using a debugger and profiler](https://github.com/ray-chew/mmidk/blob/master/w9/w9.pdf)                                                                                                                        | [modularising the exercise from w7](https://github.com/ray-chew/mmidk/tree/master/w9/heat_eqn)                                                                                                                     | [classes](https://github.com/ray-chew/mmidk/blob/master/w9/classes.ipynb)                                                    |\n|   [w10](https://github.com/ray-chew/mmidk/tree/master/w10)  | [shallow water equations; Richtmyer-Lax-Wendroff method](https://github.com/ray-chew/mmidk/blob/master/w10/w10.pdf)                                                                                             | [[final proj.](https://github.com/ray-chew/mmidk/tree/master/w10/swe)] implement the discretised shallow water equations                                                                                           |                                                                                                                              |\n|   [w11](https://github.com/ray-chew/mmidk/tree/master/w11)  | [dealing with boundary conditions and source terms](https://github.com/ray-chew/mmidk/blob/master/w11/w11_bc_src.pdf)                                                                                           | [[final proj.](https://github.com/ray-chew/mmidk/tree/master/w11/swe)] implement the discretised shallow water equations                                                                                           |                                                                                                                              |\n| [w12-15](https://github.com/ray-chew/mmidk/tree/master/w12) | implement and run the shallow water code; describe the simulation results                                                                                                                                       | [[final proj.](https://github.com/ray-chew/mmidk/tree/master/w12/swe)] implement the discretised shallow water equations                                                                                           |                                                                                                                              |\n\n## License\nThe material provided in this repository may be freely used, modified, and distributed, subject to an attribution to this repository.\n\n## References\nThe material from week ten onwards was adapted from [Paul Connolly's webpage](https://personalpages.manchester.ac.uk/staff/paul.connolly/teaching/practicals/shallow_water_equations.html) on the Shallow Water Equations.\n\nThe two textbooks I used extensively in preparing these material were Randall J. LeVeque's\n  * [Numerical Methods for Conservation Laws](https://link.springer.com/book/10.1007/978-3-0348-8629-1)\n  * [Finite Volume Methods for Hyperbolic Problems](https://www.cambridge.org/core/books/finite-volume-methods-for-hyperbolic-problems/97D5D1ACB1926DA1D4D52EAD6909E2B9)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-chew%2Fmmidk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fray-chew%2Fmmidk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fray-chew%2Fmmidk/lists"}