I am applying fem in my studies. I did all the variational formulation of the problem (Navier stokes equations 2D), but now i do not know how to make the global stiffness matrix for four points quadrilateral elements and six points for triangular elements?.