Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.04 KB

File metadata and controls

26 lines (14 loc) · 1.04 KB

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