    Downloads : Numerical Solutions & Codes Many researchers have contacted me and requested the Fortran codes I have used in my researches. Click on the link below to goto download page for the Fortran codes that I wrote. Those Fortran codes solve the 2-D steady incompressible driven cavity flow problem using different numerical approaches. I have added many comments into the codes for easy understanding.

FORTRAN CODES FOR DRIVEN CAVITY FLOW
 Below you will find the fortran code I have used in this study (Study 2). The fortran code uses Successive Over Relaxation (SOR) method which is most probably the simplest and most easy to code numerical method. In this code in order to find a solution for a Reynolds number, a previously obtained smaller Reynolds number solution is used as an initial condition to start the iteration process. The relaxation parameters I have used at different Reynolds numbers are tabulated in this Table. At every 50000 iterations, the solution is written to a data file and also the residuals (error parameters) defined in the manuscript are written to an other data file in order to have an idea about the convergence level of the solution.

FORTRAN CODES FOR DRIVEN CAVITY FLOW

 sorcavity.f

Below you will find my numerical solution datas for 2-D steady incompressible driven cavity flow at Reynolds numbers from 1,000 to 20,000 obtained by solving the 2-D steady Navier-Stokes equations in streamfunction and vorticity formulation using Successive Over Relaxation (SOR) numerical method. In these solutions, the number of grids used is 1025´1025. The data files are binary. Use the fortran code to read the files and also to check the accuracy of the solution. These numerical solutions satisfy the steady incompressible streamfunction and vorticity equations with very very low residuals.

Email me if you need any help with these fortran codes or data files or if you have any comments or suggestions. Please acknowledge this web site if you use these files in your studies.

 DATA FILES (Left Click, Download On Next Page)   Re=1,000 Re=2,500 Re=5,000   Re=7,500 Re=10,000 Re=12,500   Re=15,000 Re=17,500 Re=20,000 Use the fortran code at the bottom to read the binary files and also to check the accuracy of the solution.

FORTRAN CODE FOR DATA FILES   (use this code to read the binary data files)  