Make a Driver is difficult, it need some experients.
When you write it, you will be fault to other fault. i think that, this book is good to make driver use WDM(window driver model)
this program solves the steady-state navier-stokes eqn in 2d for the flow in a driven cavity problem.
the function solved for is the streamfunction.
the velocity may be obtained by differentiating
the streamfunction.