Skip to content
/ CFDRust Public

A repository for practicing Rust, inspired by barbagroup/CFDPython.

License

Notifications You must be signed in to change notification settings

iydon/CFDRust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFDRust or CFDLearn

A repository for practicing Rust, inspired by barbagroup/CFDPython.

CFDPython Lessons

Python Rust Description
Step 1 x1 Linear convection with a step-function initial condition (IC) and appropriate boundary conditions (BCs).
Step 2 x2 With the same IC/BCs, nonlinear convection.
CFL Condition x3 Exploring numerical stability and the Courant-Friedrichs-Lewy (CFL) condition.
Step 3 x4 With the same IC/BCs, diffusion only.
Step 4 x5 Burgers’ equation, with a saw-tooth IC and periodic BCs (with an introduction to Sympy).
Step 5 x7 Linear convection in 2D with a square-function IC and appropriate BCs.
Step 6 x8 With the same IC/BCs, nonlinear convection in 2D.
Step 7 x9 With the same IC/BCs, diffusion in 2D.
Step 8 xa Burgers’ equation in 2D
Step 9 xc Laplace equation with zero IC and both Neumann and Dirichlet BCs.
Step 10 xd Poisson equation in 2D.
Step 11 xe Solves the Navier-Stokes equation for 2D cavity flow.
Step 12 xf Solves the Navier-Stokes equation for 2D channel flow.

About

A repository for practicing Rust, inspired by barbagroup/CFDPython.

Topics

Resources

License

Stars

Watchers

Forks

Packages