https://github.com/iydon/cfdrust
A repository for practicing Rust, inspired by barbagroup/CFDPython.
https://github.com/iydon/cfdrust
cfd rust
Last synced: about 2 months ago
JSON representation
A repository for practicing Rust, inspired by barbagroup/CFDPython.
- Host: GitHub
- URL: https://github.com/iydon/cfdrust
- Owner: iydon
- License: gpl-3.0
- Created: 2022-02-15T06:59:37.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T01:50:26.000Z (almost 3 years ago)
- Last Synced: 2025-01-16T00:55:15.811Z (3 months ago)
- Topics: cfd, rust
- Language: Rust
- Homepage: https://github.com/barbagroup/CFDPython
- Size: 1.5 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CFDRust or CFDLearn
A repository for practicing [Rust](https://github.com/rust-lang/rust), inspired by [barbagroup/CFDPython](https://github.com/barbagroup/CFDPython).## [CFDPython](https://github.com/barbagroup/CFDPython) Lessons
| Python | Rust | Description |
|-----------------------------------------------------------------------------------------------------|------------------------|----------------------------------------------------------------------------------------------------------|
| [Step 1](https://github.com/barbagroup/CFDPython/blob/master/lessons/01_Step_1.ipynb) | [x1](src/lesson/x1.rs) | Linear convection with a step-function initial condition (IC) and appropriate boundary conditions (BCs). |
| [Step 2](https://github.com/barbagroup/CFDPython/blob/master/lessons/02_Step_2.ipynb) | [x2](src/lesson/x2.rs) | With the same IC/BCs, nonlinear convection. |
| [CFL Condition](https://github.com/barbagroup/CFDPython/blob/master/lessons/03_CFL_Condition.ipynb) | [x3](src/lesson/x3.rs) | Exploring numerical stability and the Courant-Friedrichs-Lewy (CFL) condition. |
| [Step 3](https://github.com/barbagroup/CFDPython/blob/master/lessons/04_Step_3.ipynb) | [x4](src/lesson/x4.rs) | With the same IC/BCs, diffusion only. |
| [Step 4](https://github.com/barbagroup/CFDPython/blob/master/lessons/05_Step_4.ipynb) | [x5](src/lesson/x5.rs) | Burgers’ equation, with a saw-tooth IC and periodic BCs (with an introduction to Sympy). |
| [Step 5](https://github.com/barbagroup/CFDPython/blob/master/lessons/07_Step_5.ipynb) | [x7](src/lesson/x7.rs) | Linear convection in 2D with a square-function IC and appropriate BCs. |
| [Step 6](https://github.com/barbagroup/CFDPython/blob/master/lessons/08_Step_6.ipynb) | [x8](src/lesson/x8.rs) | With the same IC/BCs, nonlinear convection in 2D. |
| [Step 7](https://github.com/barbagroup/CFDPython/blob/master/lessons/09_Step_7.ipynb) | [x9](src/lesson/x9.rs) | With the same IC/BCs, diffusion in 2D. |
| [Step 8](https://github.com/barbagroup/CFDPython/blob/master/lessons/10_Step_8.ipynb) | [xa](src/lesson/xa.rs) | Burgers’ equation in 2D |
| [Step 9](https://github.com/barbagroup/CFDPython/blob/master/lessons/12_Step_9.ipynb) | [xc](src/lesson/xc.rs) | Laplace equation with zero IC and both Neumann and Dirichlet BCs. |
| [Step 10](https://github.com/barbagroup/CFDPython/blob/master/lessons/13_Step_10.ipynb) | [xd](src/lesson/xd.rs) | Poisson equation in 2D. |
| [Step 11](https://github.com/barbagroup/CFDPython/blob/master/lessons/14_Step_11.ipynb) | [xe](src/lesson/xe.rs) | Solves the Navier-Stokes equation for 2D cavity flow. |
| [Step 12](https://github.com/barbagroup/CFDPython/blob/master/lessons/15_Step_12.ipynb) | [xf](src/lesson/xf.rs) | Solves the Navier-Stokes equation for 2D channel flow. |