{"id":16073344,"url":"https://github.com/larsgeb/rayleigh-bernard","last_synced_at":"2025-03-18T05:31:13.964Z","repository":{"id":106140781,"uuid":"122162993","full_name":"larsgeb/Rayleigh-Bernard","owner":"larsgeb","description":"A simple finite difference scheme for the Rayleigh-Bernard equations (buoyancy driven convection).","archived":false,"fork":false,"pushed_at":"2020-11-10T09:45:55.000Z","size":2041,"stargazers_count":17,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T07:34:30.419Z","etag":null,"topics":["fdtd","finite-difference","finite-difference-time-domain","porous-media","rayleigh-taylor","thermal-conductivity","thermal-convection","transport-equation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larsgeb.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":"2018-02-20T06:27:03.000Z","updated_at":"2025-02-12T10:54:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"67819680-4e46-4f65-be68-72fcab8b8493","html_url":"https://github.com/larsgeb/Rayleigh-Bernard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2FRayleigh-Bernard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2FRayleigh-Bernard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2FRayleigh-Bernard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larsgeb%2FRayleigh-Bernard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larsgeb","download_url":"https://codeload.github.com/larsgeb/Rayleigh-Bernard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243903171,"owners_count":20366436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["fdtd","finite-difference","finite-difference-time-domain","porous-media","rayleigh-taylor","thermal-conductivity","thermal-convection","transport-equation"],"created_at":"2024-10-09T08:06:49.853Z","updated_at":"2025-03-18T05:31:12.705Z","avatar_url":"https://github.com/larsgeb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A finite difference code to simulate 2D advection-convection, or Rayleigh-Bernard, systems.\nHas the dependencies:\n\n1. Python 3.7\n2. Numpy\n3. SciPy\n4. Matplotlib\n\nRun the code by changing the configuration values in `main.py` and entering the following on your terminal:\n\n```\npython main.py\n```\n\nMake a video out of the results by going into the `simulations` directory and using ffmpeg like this:\n\n```\nffmpeg -framerate 5 -pattern_type glob -i '*.png' \\\n  -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4\n```\n\nAn example simulation with an unstable initial condition and 3:1 aspect ratio (which will favour 3 convection cells) is given below. This is the parameters currently set in `main.py`.\n\n![](example_simulation.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsgeb%2Frayleigh-bernard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarsgeb%2Frayleigh-bernard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarsgeb%2Frayleigh-bernard/lists"}