Skip to content

Using FVM to solve navier stokes equations in the 2D lid driven cavity problem

Notifications You must be signed in to change notification settings

tarcisiofischer/lid_driven_cavity_problem

Folders and files

NameName
Last commit message
Last commit date
Jan 20, 2018
Jan 21, 2018
Jan 21, 2018
Aug 29, 2017
Jan 20, 2018
Aug 24, 2017
Jan 21, 2018
Jan 20, 2018
Jan 20, 2018
Jan 20, 2018
Jan 20, 2018
Jan 20, 2018
Jan 21, 2018
Jan 21, 2018
Aug 24, 2017
Aug 29, 2017
Jan 20, 2018

Repository files navigation

Lid Driven Cavity Problem

Solver for the Lid Driven Cavity Problem using several frameworks and libraries. Velocities U and V are solved using the Navier Stokes equations in an staggered grid. The Conservation of Mass is also solved as an equation for pressure. Everything is solved together (coupled) using a nonlinear solver.

Example results (100x100 mesh, Re=1000.0):

streamlines quiver

Comparing results with Ghia, Ghia and Shin (1982):

U V

Instructions

In order to build the Cython code, execute:

$ python setup.py build_ext --inplace