{"id":19382889,"url":"https://github.com/locuslab/cfd-gcn","last_synced_at":"2025-04-23T20:32:36.135Z","repository":{"id":39623464,"uuid":"277929906","full_name":"locuslab/cfd-gcn","owner":"locuslab","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-28T13:47:50.000Z","size":2304,"stargazers_count":120,"open_issues_count":5,"forks_count":36,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T20:11:25.765Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/locuslab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-07-07T21:53:13.000Z","updated_at":"2025-01-17T09:14:22.000Z","dependencies_parsed_at":"2024-11-10T09:36:52.116Z","dependency_job_id":null,"html_url":"https://github.com/locuslab/cfd-gcn","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/locuslab%2Fcfd-gcn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locuslab%2Fcfd-gcn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locuslab%2Fcfd-gcn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/locuslab%2Fcfd-gcn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/locuslab","download_url":"https://codeload.github.com/locuslab/cfd-gcn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509871,"owners_count":21442514,"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":[],"created_at":"2024-11-10T09:23:48.121Z","updated_at":"2025-04-23T20:32:31.112Z","avatar_url":"https://github.com/locuslab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Combining Differentiable PDE Solvers and Graph Neural Networks for Fluid Flow Prediction\n\n\nThis is the repository for the ICML 2020 paper [Combining Differentiable PDE Solvers and Graph Neural Networks for Fluid Flow Prediction](https://arxiv.org/abs/2007.04439) by Filipe de Avila Belbute-Peres, Thomas D. Economon and J. Zico Kolter. If you like our work and want to cite it, you can use\n```\n@inproceedings{belbute_peres_cfdgcn_2020,\n  author = {Belbute-Peres, Filipe de Avila and Economon, Thomas D. and Kolter, J. Zico},\n  title = {Combining {Differentiable} {PDE} {Solvers} and {Graph} {Neural} {Networks} for {Fluid} {Flow} {Prediction}},\n  booktitle = {International Conference on Machine Learning (ICML)},\n  year = {2020}\n}\n```\n\nThe easiest way to run the experiments is to use the Dockerfile contained in this repository. To run straight from source, you can follow the procedures performed in the Dockerfile, though compatibility between dependencies might be harder to achieve.\n\n## Dockerfile\n\nTo build the docker image, run\n```\ndocker build --rm -t cfd-gcn .\n```\nThis will create an image with a working version of this repository, with all dependencies installed.\n\nTo access the repository in the container you can then run\n```\ndocker run --gpus '\"device=0\"' -v $PWD/logs/:/cfd-gcn/logs -u $(id -u):$(id -g) --ipc=host -it --rm cfd-gcn\n```\nThis uses GPU 0 (`device=0`) and the current user (`-u $(id -u):$(id -g)`), which can be changed. \nLogs will be saved to the `logs` directory in the current directory (`$PWD/logs`).\nTo run the experiments, you can either simply run the script\n```\nsh run.sh\n```\nor copy the commands inside that script to run a particular experiment.\n\n*Note:* Warning messages of the type `Read -1, expected XXXX, errno = 1` may show up, but are not harmful to execution. \nThese can be disabled or piped to `/dev/null` if desired. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocuslab%2Fcfd-gcn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocuslab%2Fcfd-gcn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocuslab%2Fcfd-gcn/lists"}