Skip to content

2D incompressible Navier Stokes solver written in Python for a lid-driven cavity

Notifications You must be signed in to change notification settings

BYUignite/CFD_from_scratch

Repository files navigation

Files

  • CFD_from_scratch.ipynb: original staggered grid code that the videos are based on.

    • This solves a lid-driven cavity for u and v momentum components.
  • CFD_collocated_c.ipynb: collocated grid version.

  • cfd_julia.ipynb: julia version of the staggered CFD_from_scratch.ipynb code.

  • staggered_box.ipynb: newer version

    • four boundary condition types on each of the four boundaries: wall, in, out, open
    • includes a mixture fraction transport equation as a passive scalar.
    • staggered grid.
  • staggered_open_jet.ipynb: jet case with open sides.

  • staggered_box_jet.ipynb: case setup for a jet with wall sides.

  • collocated_new.ipynb: updated version of the collocated grid.

    • buggy though: profile off, and pressure instability.

About

2D incompressible Navier Stokes solver written in Python for a lid-driven cavity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published