Skip to content

KevinGFripp/Finite-Volume-CFD-in-MATLAB

Repository files navigation

Finite-Volume CFD in MATLAB

A 2D time-dependent finite-volume MATLAB solver for the Navier-Stokes equations on non-uniform cartesian meshes with staggered grids.

Implementation

  • Uniform and non-uniform Cartesian 2D staggered grids.
  • Neumann and Dirichlet boundary conditions on grid boundaries or rectangular shapes.
  • All differential operators are 2nd order accurate.
  • Incompressibility is enforced by a pressure correction Poisson solve.
  • Explicit and Implicit Runge-Kutta methods of different orders can be used to perform time-integration on the Navier-Stokes equations with adaptive step size.

Validation : Lid Driven Cavity Re = 1000

LidDrivenCavityResult

Example : Flow Past a Square Cylinder Re = 120

FlowPastASquare.mp4

Example : Lid Driven Cavity Re = 10000

LidDrivenCavity.mp4

About

A 2D time-dependent CFD solver in MATLAB using a staggered grid and non-uniform Cartesian meshes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages