As part of my department elective ME 704 : Computational Methods in thermal and fluid engineering, we have been asked to develop a code to simulate Lid driven incompressible fluid flow inside a cuboidal cavity and an L shaped cavity. Along with me my friend Arnav Kalgutkar (from mechanical department) has worked on this project (he did most of the work way before so I had to do on my own later). We are implementing 'vortex-stream function' based method on a Cartesian grid. Check out my GitHub repository for the codes.
y - component of velocity
x - Component of velocity
Vector field with stream line contours
Vorticity contours
Vorticity contours
Vector field with stream line contours
We have successfully devised straightforward Finite Difference Method (FDM) based solvers for addressing two-dimensional (2D) and one-dimensional (1D) heat transfer and convection problems. To corroborate the effectiveness and reliability of our computational tools, we have conducted extensive testing, resulting in the generation of informative plots that offer insights into the physical phenomena under consideration. Furthermore, these codes have been thoughtfully documented and are readily accessible through my GitHub repository for reference, enabling interested parties to explore and utilize our computational solutions for their own applications and educational purposes. These codes serve not only as a testament to our commitment to academic excellence but also as valuable resources for the broader scientific community.