/Computational-Fluid-Dynamics

This repository contains the MATLAB implementation of popular numerical methods in Computation Fluid dynamics. Starting from simple methods like Gauss Elimination, ADI method to advance methods like Rhie-chow interpolation, SIMPLE are implemented. This was done as a part of the CFD course offered at IIT Gandhinagar 2021.

Primary LanguageMATLABMIT LicenseMIT

Computational-Fluid-Dynamics

This repository contains the MATLAB implementation of popular numerical methods in Computational Fluid dynamics. Starting from simple methods like Gauss Elimination, ADI method to advance methods like Rhie-chow interpolation, SIMPLE-scheme for solving Navier Stokes equation are implemented. This was done as a part of the CFD course offered at IIT Gandhinagar 2021.

The contents of the folders in this repository are summarized as follows.

  • 2D-Heat Transfer
    In this project, the unsteady 2D heat conduction equation is solved using explicit and Alternating Direction Implicit scheme.

  • Project-1
    A 1D convection diffusion problem is solved using Finite Difference(FD) methods. Solutions were compared for different values of Peclet number.

  • Project-2
    A 2D convection diffusion eqution with a given source term and Dirichlet boundary conditions is solved using Finite Difference(FD) schemes.

  • Project-3
    A 2D scalar transport equation for the transport of a scalr quatity is solved using Finite Volume (FV) apporach.

  • Lid-driven-cavity
    The standard problem of lid-driven-cavity flow is solved using Finite Volume (FV) approches like (Quassi) Rhie-chow interpolation and SIMPLE methods.