AeroPython
CFDPython
Our great sponsors
AeroPython  CFDPython  

3  8  
846  2,753  
2.5%  1.7%  
0.0  1.7  
almost 3 years ago  7 days ago  
Jupyter Notebook  Jupyter Notebook  
GNU General Public License v3.0 or later  GNU General Public License v3.0 or later 
Stars  the number of stars that a project has on GitHub. Growth  month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
AeroPython
CFDPython

Poisson's Equation is the most powerful tool not yet in your toolbox
There are many different ways to do what you'd like. The easiest starting point would probably be this tutorial: https://github.com/barbagroup/CFDPython
But that won't handle turbulence. The real "turbulence problem" is that computing actual turbulent flows requires enormous computational resources. So instead of solving the NavierStokes equations, related equations with lower computational cost are solved. Because of how these equations are developed, they require modeling of "unclosed" terms, and this is a likely source of inaccuracy.
If you want something relatively simple, you could take the RANS approach and use the SpalartAllmaras model:
https://www.cfdonline.com/Wiki/Introduction_to_turbulence/R...

Complexity Explained
I sniff an air of condescension; what’s your goals therein? Are you posturing your ‘maths’ knowledge?
I thought I was explicit in my criticism of “notation only” explanations, but perhaps a positive example would be more explicit.
https://github.com/barbagroup/CFDPython
This repo explains computational fluid dynamics (an example of a complex system!) from “what is a python function” to “2d Navier stokes”.
It shows the work of how to discretize ‘latex beautified’ notation, shows the relationship between the computations and the notation, and even explains when their LaTex strays from “conventional use of notation” and why.
The authors even throw in traditional handwritten board lecture videos if that helps you learn better.
complexityexplained reads like it’s written by the SpiderMan points at SpiderMan meme.

AeroPython: Classical Aerodynamics with Python
See also by the same professor CFD Python: 12 Steps to NavierStokes: https://github.com/barbagroup/CFDPython
What are some alternatives?
AeroSandbox  Aircraft design optimization made fast through modern automatic differentiation. Composable analysis tools for aerodynamics, propulsion, structures, trajectory design, and much more.
Nalu  Nalu: a generalized unstructured massively parallel low Mach flow code designed to support a variety of open applications of interest built on the Sierra Toolkit and Trilinos solver Tpetra solver stack. The open source BSD, clause 3 license model has been chosen for the code base. See LICENSE for more information.
homemademachinelearning  🤖 Python examples of popular machine learning algorithms with interactive Jupyter demos and math being explained
poissoncanvas  Explore poisson equation with HTML canvas
py  Repository to store sample python programs for python learning
Flow  Flow is a sparse gridbased fluid simulation library for realtime applications.
poisson  Solve Poisson equation on arbitrary 2D domain using the finite element method.
wordlesolver  For educational purposes, a simple script that assists in solving the word game Wordle.
research  A catchall repo for holding research issues, papers, and works in progress