Consider the initial boundary value problem Weak Formulation Matrix Form Semidiscrete problem.
Real Time Fluids in Games