CFDPython

I have been playing with Python for some years now. This page will sum up the work done in numerical analysis using this wonderful code.

12 Steps to Navier-Stokes equations
The original project is owned by Lorena Barba and the objective is to solve the NS equation using the finite difference method; the code is written from scratch and some improvements are made in some places. First the equations are decoupled and simplified and each steps make thinks more complicated. This project is the best combination of theory and application there is to learn CFD. The full codes can be forked or downloaded from my GitHub page.
Step1: Linear convection - 1D
Step2: Nonlinear convection - 1D
Step3: Difussion - 1D
Step4: Burgers' equation
Step5: Linear convection - 2D
Step6: Nonlinear convection - 2D
Step7: Diffusion only - 2D
Step8: Burgers' equation
Step9: Laplace equation
Step10: Poisson equation
Step11: Cavity flow
Step12: Channel flow
The first four steps are 1D and the others are 2D; all scripts have comments to be easy to understand the schemes; several plots are added to make things clearer; if there are questions please leave a comment on the post related with the problem.




0 comments:

Post a Comment