https://github.com/pmocz/cfd-comparison-python
Comparison of various numerical methods for computational fluid dynamics
https://github.com/pmocz/cfd-comparison-python
cfd finite-volume lattice-boltzmann smoothed-particle-hydrodynamics spectral-methods
Last synced: 10 days ago
JSON representation
Comparison of various numerical methods for computational fluid dynamics
- Host: GitHub
- URL: https://github.com/pmocz/cfd-comparison-python
- Owner: pmocz
- License: gpl-3.0
- Created: 2023-09-03T00:59:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-03T15:16:09.000Z (over 1 year ago)
- Last Synced: 2023-12-16T15:54:03.285Z (over 1 year ago)
- Topics: cfd, finite-volume, lattice-boltzmann, smoothed-particle-hydrodynamics, spectral-methods
- Language: Python
- Homepage: https://philip-mocz.medium.com/
- Size: 435 KB
- Stars: 30
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cfd-comparison-python
Comparison of various numerical methods for computational fluid dynamics. You are encouraged to add your own or improve the schemes below!## Create Your Own Computational Fluid Dynamics Simulations (With Python)
### Philip Mocz (2023), [@PMocz](https://twitter.com/PMocz) 👈 Follow me for more!
Simulate the isothermal compressible Euler equations with:
1. [Finite Volume Method](https://levelup.gitconnected.com/create-your-own-finite-volume-fluid-simulation-with-python-8f9eab0b8305)
```
python finitevolume.py
```
2. [Spectral Method](https://levelup.gitconnected.com/create-your-own-navier-stokes-spectral-method-fluid-simulation-with-python-3f37405524f4)
```
python spectral.py
```
3. [Lattice Boltzmann](https://medium.com/swlh/create-your-own-lattice-boltzmann-simulation-with-python-8759e8b53b1c)
```
python latticeboltzmann.py
```
4. [Smoothed-Particle-Hydrodynamics](https://philip-mocz.medium.com/create-your-own-smoothed-particle-hydrodynamics-simulation-with-python-76e1cec505f1)
```
python sph.py
```